A little fix to "add member to builtin group", samba-3.0.2pre1
Jianliang Lu
j.lu at tiesse.com
Thu Jan 15 07:51:06 GMT 2004
This fix solve the problem of failure of adding member on builtin group with
usrmgr.
Fix:
--- samba-3.0.2pre1/source/rpc_server/srv_samr_nt.c.orig Wed Jan 14
18:32:30 2004
+++ samba-3.0.2pre1/source/rpc_server/srv_samr_nt.c Wed Jan 14 18:33:17 2004
@@ -3354,7 +3354,7 @@
} else {
if (sid_compare(&alias_sid, &global_sid_Builtin)>0) {
DEBUG(10, ("adding member on BUILTIN SID\n"));
- if( !get_local_group_from_sid(&alias_sid, &map))
+ if( !get_builtin_group_from_sid(&alias_sid, &map))
return NT_STATUS_NO_SUCH_ALIAS;
} else
Jianliang Lu
TieSse s.p.a. Ivrea (To) - Italy
j.lu at tiesse.com luj at libero.it
http://www.tiesse.com
More information about the samba-technical
mailing list