summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-11-08 13:41:34 -0800
committerJeremy Allison <jra@samba.org>2010-11-08 22:24:34 +0000
commit3a5f03015bf400268eb9d00747189aa5aefdeda9 (patch)
treea13118adc375e284c46a8ab63c8d815d3090561d /source3/winbindd/idmap.c
parent092507c65a1a2fe2c3731248578a265a20bbe14e (diff)
downloadsamba-3a5f03015bf400268eb9d00747189aa5aefdeda9.tar.gz
samba-3a5f03015bf400268eb9d00747189aa5aefdeda9.tar.bz2
samba-3a5f03015bf400268eb9d00747189aa5aefdeda9.zip
Second part of fix for bug #7777 - When requesting lookups for BUILTIN sids, winbindd allocates new uids/gids in error.
Ensure we return after calling passdb for SID lookups for which we are authoritative. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Nov 8 22:24:34 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/winbindd/idmap.c')
-rw-r--r--source3/winbindd/idmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index feaf297a7b..102ae8aefa 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -643,7 +643,9 @@ NTSTATUS idmap_backends_sid_to_unixid(const char *domain, struct id_map *id)
return status;
}
- DEBUG(10, ("passdb could not map, asking backends...\n"));
+ DEBUG(10, ("passdb could not map.\n"));
+
+ return NT_STATUS_NONE_MAPPED;
}
dom = idmap_find_domain(domain);