svn commit: samba r13136 - in branches/SAMBA_3_0/source/utils: .
idra at samba.org
idra at samba.org
Wed Jan 25 21:24:52 GMT 2006
Author: idra
Date: 2006-01-25 21:24:51 +0000 (Wed, 25 Jan 2006)
New Revision: 13136
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13136
Log:
Fix handling user sid and user gid
Modified:
branches/SAMBA_3_0/source/utils/pdbedit.c
Changeset:
Modified: branches/SAMBA_3_0/source/utils/pdbedit.c
===================================================================
--- branches/SAMBA_3_0/source/utils/pdbedit.c 2006-01-25 20:43:03 UTC (rev 13135)
+++ branches/SAMBA_3_0/source/utils/pdbedit.c 2006-01-25 21:24:51 UTC (rev 13136)
@@ -28,7 +28,7 @@
#define BIT_SPSTYLE 0x00000010
#define BIT_CAN_CHANGE 0x00000020
#define BIT_MUST_CHANGE 0x00000040
-#define BIT_RESERV_3 0x00000080
+#define BIT_USERSIDS 0x00000080
#define BIT_FULLNAME 0x00000100
#define BIT_HOMEDIR 0x00000200
#define BIT_HDIRDRIVE 0x00000400
@@ -52,7 +52,7 @@
#define BIT_LOGONHOURS 0x10000000
#define MASK_ALWAYS_GOOD 0x0000001F
-#define MASK_USER_GOOD 0x00405F60
+#define MASK_USER_GOOD 0x00405FE0
/*********************************************************
Add all currently available users to another db
@@ -819,6 +819,8 @@
(user_name ? BIT_USER : 0) +
(list_users ? BIT_LIST : 0) +
(force_initialised_password ? BIT_FIX_INIT : 0) +
+ (user_sid ? BIT_USERSIDS : 0) +
+ (group_sid ? BIT_USERSIDS : 0) +
(modify_user ? BIT_MODIFY : 0) +
(add_user ? BIT_CREATE : 0) +
(delete_user ? BIT_DELETE : 0) +
More information about the samba-cvs
mailing list