svn commit: samba r22677 - in branches: SAMBA_3_0/source/nsswitch
SAMBA_3_0_25/source/nsswitch SAMBA_3_0_26/source/nsswitch
idra at samba.org
idra at samba.org
Fri May 4 22:41:39 GMT 2007
Author: idra
Date: 2007-05-04 22:41:35 +0000 (Fri, 04 May 2007)
New Revision: 22677
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22677
Log:
One line fix to make net idmap restore work again
Jerry, please add this for 3.0.25 final
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_async.c
branches/SAMBA_3_0_25/source/nsswitch/winbindd_async.c
branches/SAMBA_3_0_26/source/nsswitch/winbindd_async.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_async.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_async.c 2007-05-04 22:15:33 UTC (rev 22676)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_async.c 2007-05-04 22:41:35 UTC (rev 22677)
@@ -163,6 +163,7 @@
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;
Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd_async.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd_async.c 2007-05-04 22:15:33 UTC (rev 22676)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd_async.c 2007-05-04 22:41:35 UTC (rev 22677)
@@ -163,6 +163,7 @@
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;
Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd_async.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd_async.c 2007-05-04 22:15:33 UTC (rev 22676)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd_async.c 2007-05-04 22:41:35 UTC (rev 22677)
@@ -163,6 +163,7 @@
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;
More information about the samba-cvs
mailing list