From 3a5f03015bf400268eb9d00747189aa5aefdeda9 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 8 Nov 2010 13:41:34 -0800 Subject: 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 Autobuild-Date: Mon Nov 8 22:24:34 UTC 2010 on sn-devel-104 --- source3/winbindd/idmap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/winbindd') 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); -- cgit