svn commit: samba r18680 - in branches/SAMBA_3_0/source/rpc_server: .

gd at samba.org gd at samba.org
Tue Sep 19 17:29:31 GMT 2006


Author: gd
Date: 2006-09-19 17:29:31 +0000 (Tue, 19 Sep 2006)
New Revision: 18680

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

Log:
Fix last struct uuids (in uncommented code).

Guenther

Modified:
   branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c	2006-09-19 17:27:17 UTC (rev 18679)
+++ branches/SAMBA_3_0/source/rpc_server/srv_lsa_nt.c	2006-09-19 17:29:31 UTC (rev 18680)
@@ -487,7 +487,7 @@
 
 static void init_dns_dom_info(LSA_DNS_DOM_INFO *r_l, const char *nb_name,
 			      const char *dns_name, const char *forest_name,
-			      struct uuid *dom_guid, DOM_SID *dom_sid)
+			      struct GUID *dom_guid, DOM_SID *dom_sid)
 {
 	if (nb_name && *nb_name) {
 		init_unistr2(&r_l->uni_nb_dom_name, nb_name, UNI_FLAGS_NONE);
@@ -512,7 +512,7 @@
 
 	/* how do we init the guid ? probably should write an init fn */
 	if (dom_guid) {
-		memcpy(&r_l->dom_guid, dom_guid, sizeof(struct uuid));
+		memcpy(&r_l->dom_guid, dom_guid, sizeof(struct GUID));
 	}
 	
 	if (dom_sid) {
@@ -1879,7 +1879,7 @@
 	char *dns_name = NULL;
 	char *forest_name = NULL;
 	DOM_SID *sid = NULL;
-	struct uuid guid;
+	struct GUID guid;
 	fstring dnsdomname;
 
 	ZERO_STRUCT(guid);



More information about the samba-cvs mailing list