summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <christian.ambach@de.ibm.com>2011-03-18 14:46:47 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-18 16:30:36 +0100
commit8ae1f32229cf960f212235e7d792513a395643cb (patch)
tree30bc2425dd6ccfc60961600d86c29ab8965aadcd /source3
parent5006dcff4e15b7f840093e0c6c4e6f46a4088120 (diff)
downloadsamba-8ae1f32229cf960f212235e7d792513a395643cb.tar.gz
samba-8ae1f32229cf960f212235e7d792513a395643cb.tar.bz2
samba-8ae1f32229cf960f212235e7d792513a395643cb.zip
s3:autorid make sure we set the mapping status correct on early exit
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 18 16:30:36 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_autorid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/winbindd/idmap_autorid.c b/source3/winbindd/idmap_autorid.c
index b162b62355..ff33a5d14f 100644
--- a/source3/winbindd/idmap_autorid.c
+++ b/source3/winbindd/idmap_autorid.c
@@ -162,6 +162,7 @@ static NTSTATUS idmap_autorid_id_to_sid(struct autorid_global_config *cfg,
DEBUG(4, ("id %d belongs to range %d which does not have "
"domain mapping, ignoring mapping request\n",
map->xid.id, range));
+ map->status = ID_UNKNOWN;
return NT_STATUS_OK;
}