summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-24 13:19:35 +0200
committerStefan Metzmacher <metze@samba.org>2007-10-24 16:14:29 +0200
commit6a6c549cdc24ae49aced26020cc7b08da921e537 (patch)
tree0b8a5399d5a7cce6ea75fdffb0dcfa151181cf3e
parentcd8a2b5ffeb88923d3e233e00aaa5f7f049d9b16 (diff)
downloadsamba-6a6c549cdc24ae49aced26020cc7b08da921e537.tar.gz
samba-6a6c549cdc24ae49aced26020cc7b08da921e537.tar.bz2
samba-6a6c549cdc24ae49aced26020cc7b08da921e537.zip
handle wellknown sids in winbindd_passwd.c
metze (This used to be commit 251bd4ea4cdd0a751ed3b91562272221af148e37)
-rw-r--r--source3/winbindd/winbindd_passdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_passdb.c b/source3/winbindd/winbindd_passdb.c
index cfb934eb60..f925ac2153 100644
--- a/source3/winbindd/winbindd_passdb.c
+++ b/source3/winbindd/winbindd_passdb.c
@@ -140,7 +140,8 @@ static NTSTATUS sid_to_name(struct winbindd_domain *domain,
!sid_check_is_in_unix_users(sid) &&
!sid_check_is_unix_users(sid) &&
!sid_check_is_in_unix_groups(sid) &&
- !sid_check_is_unix_groups(sid) )
+ !sid_check_is_unix_groups(sid) &&
+ !sid_check_is_in_wellknown_domain(sid))
{
DEBUG(0, ("Possible deadlock: Trying to lookup SID %s with "
"passdb backend\n", sid_string_static(sid)));