From 5fbdc5f35a122ff040c6120e2aa2cf5485e32097 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 3 Dec 2012 01:44:49 +0100 Subject: s3:passdb:pdb_ldap: treat "Unix User" and "Unix Group" in sid_to_id() Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/passdb/pdb_ldap.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/passdb') diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 5bbfb2bc3a..6899b26464 100644 --- 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")); -- cgit