summaryrefslogtreecommitdiff
path: root/source4/libcli/drsblobs.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-13 16:16:59 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-13 16:16:59 +1000
commitbf002d1173519a48bbcf00bfb9ec4164cea47d2c (patch)
treef9a83b1c739204b4116e699c4f2bcff805240cf6 /source4/libcli/drsblobs.h
parent5eb48615ea59610738d13d2a8780f268cb7db86c (diff)
downloadsamba-bf002d1173519a48bbcf00bfb9ec4164cea47d2c.tar.gz
samba-bf002d1173519a48bbcf00bfb9ec4164cea47d2c.tar.bz2
samba-bf002d1173519a48bbcf00bfb9ec4164cea47d2c.zip
Rework the trustAuthInOutBlob with the help of a hand parser.
This produces a C structure that is sane, while still parsing the wire blobs (as far as I can tell). Andrew Bartlett (This used to be commit b5dbe815e5dd3f865c7735bc76e02017a869f09b)
Diffstat (limited to 'source4/libcli/drsblobs.h')
-rw-r--r--source4/libcli/drsblobs.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/source4/libcli/drsblobs.h b/source4/libcli/drsblobs.h
new file mode 100644
index 0000000000..8fee4114be
--- /dev/null
+++ b/source4/libcli/drsblobs.h
@@ -0,0 +1,28 @@
+/*
+ Unix SMB/CIFS implementation.
+
+ Manually parsed structures found in the DRS protocol
+
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2008
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __LIBCLI_DRSBLOBS_H__
+#define __LIBCLI_DRSBLOBS_H__
+
+#include "librpc/gen_ndr/ndr_drsblobs.h"
+
+#include "libcli/drsblobs_proto.h"
+#endif /* __CLDAP_SERVER_PROTO_H__ */