summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2007-05-04 22:41:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:54 -0500
commit327e232e4014c21d1c998d268731e5ea1e860159 (patch)
treebd337ecbf0e8842b1a01fd9f676f0334630dd0ee /source3/nsswitch
parent92999cee8de0b67d2e7c99c0b093a54b5e8681a3 (diff)
downloadsamba-327e232e4014c21d1c998d268731e5ea1e860159.tar.gz
samba-327e232e4014c21d1c998d268731e5ea1e860159.tar.bz2
samba-327e232e4014c21d1c998d268731e5ea1e860159.zip
r22677: One line fix to make net idmap restore work again
Jerry, please add this for 3.0.25 final (This used to be commit e04ca2d7f8ea2d4c70c2a35201a98c5ecd672d59)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_async.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_async.c b/source3/nsswitch/winbindd_async.c
index 393479c63d..eb8631ab86 100644
--- a/source3/nsswitch/winbindd_async.c
+++ b/source3/nsswitch/winbindd_async.c
@@ -163,6 +163,7 @@ enum winbindd_result winbindd_dual_set_mapping(struct winbindd_domain *domain,
map.sid = &sid;
map.xid.id = state->request.data.dual_idmapset.id;
map.xid.type = state->request.data.dual_idmapset.type;
+ map.status = ID_MAPPED;
result = idmap_set_mapping(&map);
return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;