svn commit: samba r13624 - in branches/SAMBA_4_0/source/librpc: . idl

metze at samba.org metze at samba.org
Wed Feb 22 11:19:46 GMT 2006


Author: metze
Date: 2006-02-22 11:19:46 +0000 (Wed, 22 Feb 2006)
New Revision: 13624

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

Log:
as abartlet requested, move the saslauthd parsing stuff to a seperate file

metze

Added:
   branches/SAMBA_4_0/source/librpc/idl/sasl_helpers.idl
Modified:
   branches/SAMBA_4_0/source/librpc/config.mk
   branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/config.mk
===================================================================
--- branches/SAMBA_4_0/source/librpc/config.mk	2006-02-22 11:11:16 UTC (rev 13623)
+++ branches/SAMBA_4_0/source/librpc/config.mk	2006-02-22 11:19:46 UTC (rev 13624)
@@ -112,6 +112,11 @@
 NOPROTO = YES
 REQUIRED_SUBSYSTEMS = LIBNDR
 
+[SUBSYSTEM::NDR_SASL_HELPERS]
+OBJ_FILES = gen_ndr/ndr_sasl_helpers.o
+NOPROTO = YES
+REQUIRED_SUBSYSTEMS = LIBNDR
+
 [SUBSYSTEM::NDR_POLICYAGENT]
 OBJ_FILES = gen_ndr/ndr_policyagent.o
 NOPROTO = YES
@@ -314,7 +319,8 @@
 	NDR_REMACT NDR_WZCSVC NDR_BROWSER NDR_W32TIME NDR_SCERPC NDR_NTSVCS \
 	NDR_NETLOGON NDR_TRKWKS NDR_KEYSVC NDR_KRB5PAC NDR_XATTR NDR_SCHANNEL \
 	NDR_ROT NDR_DRSBLOBS NDR_SVCCTL NDR_NBT NDR_WINSREPL NDR_SECURITY \
-	NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_DCOM
+	NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_DCOM \
+	NDR_SASL_HELPERS
 
 [SUBSYSTEM::RPC_NDR_ROT]
 OBJ_FILES = gen_ndr/ndr_rot_c.o

Modified: branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl	2006-02-22 11:11:16 UTC (rev 13623)
+++ branches/SAMBA_4_0/source/librpc/idl/drsblobs.idl	2006-02-22 11:19:46 UTC (rev 13624)
@@ -1,7 +1,7 @@
 #include "idl_types.h"
 
 [
-  uuid("38578646-4566-4564-2244-275796345667"),
+  uuid("1-2-3-4-5"),
   version(0.0),
   pointer_default(unique),
   helpstring("Active Directory Replication LDAP Blobs"),
@@ -162,19 +162,4 @@
 	void decode_DsCompressed(
 		[in] DsCompressedBlob blob
 		);
-
-	typedef [public,flag(NDR_NOALIGN|NDR_BIG_ENDIAN|NDR_PAHEX)] struct {
-		[value(strlen_m(authid))] uint16 authid_length;
-		[charset(UTF8)] uint8 authid[authid_length];
-		uint16 passwd_length;
-		uint8 passwd[passwd_length];
-		[value(strlen_m(service))] uint16 service_length;
-		[charset(UTF8)] uint8 service[service_length];
-		[value(strlen_m(realm))] uint16 realm_length;
-		[charset(UTF8)] uint8 realm[realm_length];
-	} saslauthdRequest;
-
-	void decode_saslauthd(
-		[in] saslauthdRequest req
-		);
 }

Added: branches/SAMBA_4_0/source/librpc/idl/sasl_helpers.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/sasl_helpers.idl	2006-02-22 11:11:16 UTC (rev 13623)
+++ branches/SAMBA_4_0/source/librpc/idl/sasl_helpers.idl	2006-02-22 11:19:46 UTC (rev 13624)
@@ -0,0 +1,24 @@
+#include "idl_types.h"
+
+[
+  uuid("1-2-3-4-5"),
+  version(0.0),
+  pointer_default(unique),
+  helpstring("SASL helpers")
+]
+interface sasl_helpers {
+	typedef [public,flag(NDR_NOALIGN|NDR_BIG_ENDIAN|NDR_PAHEX)] struct {
+		[value(strlen_m(authid))] uint16 authid_length;
+		[charset(UTF8)] uint8 authid[authid_length];
+		uint16 passwd_length;
+		uint8 passwd[passwd_length];
+		[value(strlen_m(service))] uint16 service_length;
+		[charset(UTF8)] uint8 service[service_length];
+		[value(strlen_m(realm))] uint16 realm_length;
+		[charset(UTF8)] uint8 realm[realm_length];
+	} saslauthdRequest;
+
+	void decode_saslauthd(
+		[in] saslauthdRequest req
+		);
+}



More information about the samba-cvs mailing list