git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f4129
)
s3:passdb:pdb_ldap: treat "Unix User" and "Unix Group" in sid_to_id()
author
Michael Adam
<obnox@samba.org>
Mon, 3 Dec 2012 00:44:49 +0000
(
01:44
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 3 Dec 2012 07:48:31 +0000
(08:48 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 5bbfb2bc3aec931327cc5ef93c239b064dc692b9..6899b26464684d3c991d945d6a9d8dd81ce48095 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-4920,6
+4920,11
@@
static bool ldapsam_sid_to_id(struct pdb_methods *methods,
return false;
}
+ ret = pdb_sid_to_id_unix_users_and_groups(sid, id);
+ if (ret == true) {
+ return true;
+ }
+
mem_ctx = talloc_new(NULL);
if (mem_ctx == NULL) {
DEBUG(0, ("talloc_new failed\n"));