diff options
author | Simo Sorce <idra@samba.org> | 2007-05-04 22:41:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:54 -0500 |
commit | 327e232e4014c21d1c998d268731e5ea1e860159 (patch) | |
tree | bd337ecbf0e8842b1a01fd9f676f0334630dd0ee | |
parent | 92999cee8de0b67d2e7c99c0b093a54b5e8681a3 (diff) | |
download | samba-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)
-rw-r--r-- | source3/nsswitch/winbindd_async.c | 1 |
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; |