git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f401e
)
TODO(richtig so? - oder auch user?) s3:passdb: set ID_TYPE_BOTH for groups from own...
author
Michael Adam
<obnox@samba.org>
Mon, 3 Dec 2012 00:50:24 +0000
(
01:50
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 13 Aug 2018 14:19:42 +0000
(16:19 +0200)
This way, one can set groups as file owners.
Signed-off-by: Michael Adam <obnox@samba.org>
source3/passdb/pdb_interface.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_interface.c
b/source3/passdb/pdb_interface.c
index d97a463cfcfca92373658442f98ee514057857d7..39474173585a1f291943199b6a97e00e2daaea09 100644
(file)
--- a/
source3/passdb/pdb_interface.c
+++ b/
source3/passdb/pdb_interface.c
@@
-1513,7
+1513,7
@@
static bool pdb_default_sid_to_id(struct pdb_methods *methods,
switch (type) {
case SID_NAME_DOM_GRP:
case SID_NAME_ALIAS:
- id->type = ID_TYPE_
GID
;
+ id->type = ID_TYPE_
BOTH
;
id->id = gid;
break;
case SID_NAME_USER: