diff options
-rw-r--r-- | librpc/gen_ndr/ndr_drsblobs.h | 1 | ||||
-rw-r--r-- | librpc/idl/drsblobs.idl | 1 | ||||
-rw-r--r-- | librpc/ndr/ndr_drsblobs.h | 27 |
3 files changed, 29 insertions, 0 deletions
diff --git a/librpc/gen_ndr/ndr_drsblobs.h b/librpc/gen_ndr/ndr_drsblobs.h index 2f6cf991d6..27c13c8397 100644 --- a/librpc/gen_ndr/ndr_drsblobs.h +++ b/librpc/gen_ndr/ndr_drsblobs.h @@ -6,6 +6,7 @@ #ifndef _HEADER_NDR_drsblobs #define _HEADER_NDR_drsblobs +#include "../librpc/ndr/ndr_drsblobs.h" #define NDR_DRSBLOBS_UUID "12345778-1234-abcd-0001-00000001" #define NDR_DRSBLOBS_VERSION 0.0 #define NDR_DRSBLOBS_NAME "drsblobs" diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl index 7e9c2fe9bb..fb37500fea 100644 --- a/librpc/idl/drsblobs.idl +++ b/librpc/idl/drsblobs.idl @@ -6,6 +6,7 @@ import "drsuapi.idl", "misc.idl", "samr.idl", "lsa.idl"; uuid("12345778-1234-abcd-0001-00000001"), version(0.0), pointer_default(unique), + helper("../librpc/ndr/ndr_drsblobs.h"), helpstring("Active Directory Replication LDAP Blobs") ] interface drsblobs { diff --git a/librpc/ndr/ndr_drsblobs.h b/librpc/ndr/ndr_drsblobs.h new file mode 100644 index 0000000000..27532257de --- /dev/null +++ b/librpc/ndr/ndr_drsblobs.h @@ -0,0 +1,27 @@ +/* + 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/>. +*/ + +_PUBLIC_ void ndr_print_AuthenticationInformationArray_with_count(struct ndr_print *ndr, const char *name, int count, const struct AuthenticationInformationArray *r); +_PUBLIC_ enum ndr_err_code ndr_push_trustAuthInOutBlob(struct ndr_push *ndr, int ndr_flags, const struct trustAuthInOutBlob *r); +_PUBLIC_ enum ndr_err_code ndr_pull_trustAuthInOutBlob(struct ndr_pull *ndr, int ndr_flags, struct trustAuthInOutBlob *r); +_PUBLIC_ void ndr_print_trustAuthInOutBlob(struct ndr_print *ndr, const char *name, const struct trustAuthInOutBlob *r); +_PUBLIC_ enum ndr_err_code ndr_pull_trustDomainPasswords(struct ndr_pull *ndr, int ndr_flags, struct trustDomainPasswords *r); + |