1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

s3:passdb:pdb_ldap: treat "Unix User" and "Unix Group" in sid_to_id()

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Michael Adam 2012-12-03 01:44:49 +01:00 committed by Stefan Metzmacher
parent a0f4129448
commit 5fbdc5f35a

View File

@ -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"));