From 777e1c23beb86a543515e02f2b90728d05e0d17d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 22 Feb 2006 11:19:46 +0000 Subject: r13624: as abartlet requested, move the saslauthd parsing stuff to a seperate file metze (This used to be commit 3c8bc98c1bc654287a3a16277c7c63c476ddfff4) --- source4/librpc/idl/sasl_helpers.idl | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 source4/librpc/idl/sasl_helpers.idl (limited to 'source4/librpc/idl/sasl_helpers.idl') diff --git a/source4/librpc/idl/sasl_helpers.idl b/source4/librpc/idl/sasl_helpers.idl new file mode 100644 index 0000000000..c57cee0b0e --- /dev/null +++ b/source4/librpc/idl/sasl_helpers.idl @@ -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 + ); +} -- cgit