svn commit: samba r5879 - in branches/SAMBA_4_0/source: librpc/idl rpc_server/samr torture/rpc

abartlet at samba.org abartlet at samba.org
Fri Mar 18 04:25:10 GMT 2005


Author: abartlet
Date: 2005-03-18 04:25:10 +0000 (Fri, 18 Mar 2005)
New Revision: 5879

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5879

Log:
Rename SAMR_FIELD_WORKSTATION to SAMR_FIELD_WORKSTATIONS - it is a list.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/librpc/idl/samr.idl
   branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
   branches/SAMBA_4_0/source/torture/rpc/samr.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/samr.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/samr.idl	2005-03-18 04:09:52 UTC (rev 5878)
+++ branches/SAMBA_4_0/source/librpc/idl/samr.idl	2005-03-18 04:25:10 UTC (rev 5879)
@@ -671,7 +671,7 @@
 		SAMR_FIELD_COMMENT      = 0x00000020,
 		SAMR_FIELD_LOGON_SCRIPT = 0x00000100,
 		SAMR_FIELD_PROFILE_PATH = 0x00000200,
-		SAMR_FIELD_WORKSTATION  = 0x00000400,
+		SAMR_FIELD_WORKSTATIONS = 0x00000400,
 		SAMR_FIELD_LOGON_HOURS  = 0x00002000,
 		SAMR_FIELD_ACCT_FLAGS   = 0x00100000,
 		SAMR_FIELD_PARAMETERS   = 0x00200000,

Modified: branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c	2005-03-18 04:09:52 UTC (rev 5878)
+++ branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c	2005-03-18 04:25:10 UTC (rev 5879)
@@ -2690,7 +2690,7 @@
 			SET_STRING(msg, info21.logon_script.string, "scriptPath");
 		IFSET(SAMR_FIELD_PROFILE_PATH)      
 			SET_STRING(msg, info21.profile_path.string, "profilePath");
-		IFSET(SAMR_FIELD_WORKSTATION)  
+		IFSET(SAMR_FIELD_WORKSTATIONS)  
 			SET_STRING(msg, info21.workstations.string, "userWorkstations");
 		IFSET(SAMR_FIELD_LOGON_HOURS)  
 			SET_LHOURS(msg, info21.logon_hours,         "logonHours");
@@ -2722,7 +2722,7 @@
 			SET_STRING(msg, info23.info.logon_script.string, "scriptPath");
 		IFSET(SAMR_FIELD_PROFILE_PATH)      
 			SET_STRING(msg, info23.info.profile_path.string, "profilePath");
-		IFSET(SAMR_FIELD_WORKSTATION)  
+		IFSET(SAMR_FIELD_WORKSTATIONS)  
 			SET_STRING(msg, info23.info.workstations.string, "userWorkstations");
 		IFSET(SAMR_FIELD_LOGON_HOURS)  
 			SET_LHOURS(msg, info23.info.logon_hours,         "logonHours");
@@ -2776,7 +2776,7 @@
 			SET_STRING(msg, info25.info.logon_script.string, "scriptPath");
 		IFSET(SAMR_FIELD_PROFILE_PATH)      
 			SET_STRING(msg, info25.info.profile_path.string, "profilePath");
-		IFSET(SAMR_FIELD_WORKSTATION)  
+		IFSET(SAMR_FIELD_WORKSTATIONS)  
 			SET_STRING(msg, info25.info.workstations.string, "userWorkstations");
 		IFSET(SAMR_FIELD_LOGON_HOURS)  
 			SET_LHOURS(msg, info25.info.logon_hours,         "logonHours");

Modified: branches/SAMBA_4_0/source/torture/rpc/samr.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samr.c	2005-03-18 04:09:52 UTC (rev 5878)
+++ branches/SAMBA_4_0/source/torture/rpc/samr.c	2005-03-18 04:25:10 UTC (rev 5879)
@@ -328,7 +328,7 @@
 	TEST_USERINFO_STRING(14, workstations,  5, workstations, "14workstation4", 0);
 	TEST_USERINFO_STRING(14, workstations, 21, workstations, "14workstation21", 0);
 	TEST_USERINFO_STRING(21, workstations, 21, workstations, "21workstation21", 
-			   SAMR_FIELD_WORKSTATION);
+			   SAMR_FIELD_WORKSTATIONS);
 
 	TEST_USERINFO_STRING(20, parameters, 21, parameters, "xx20-21 parameters", 0);
 	TEST_USERINFO_STRING(21, parameters, 21, parameters, "xx21-21 parameters", 
@@ -385,6 +385,7 @@
 	TEST_USERINFO_INT(9, primary_gid,  5, primary_gid, 513);
 	TEST_USERINFO_INT(9, primary_gid, 21, primary_gid, 513);
 #endif
+
 	return ret;
 }
 



More information about the samba-cvs mailing list