summaryrefslogtreecommitdiff
path: root/libcli/netlogon
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-02 20:07:42 +0100
committerGünther Deschner <gd@samba.org>2011-11-03 18:35:08 +0100
commit2ecd50116c22536f9a77131bc14a64915a2fc12e (patch)
tree2f245dcc73fdd086367e325ebb2e7f4f3b427678 /libcli/netlogon
parente426f37b64ea76e0dda19ec06b6da69f0822d599 (diff)
downloadsamba-2ecd50116c22536f9a77131bc14a64915a2fc12e.tar.gz
samba-2ecd50116c22536f9a77131bc14a64915a2fc12e.tar.bz2
samba-2ecd50116c22536f9a77131bc14a64915a2fc12e.zip
librpc: remove nbt dependency to samr.
Guenther
Diffstat (limited to 'libcli/netlogon')
-rw-r--r--libcli/netlogon/ndr_netlogon.c4
-rw-r--r--libcli/netlogon/netlogon.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/libcli/netlogon/ndr_netlogon.c b/libcli/netlogon/ndr_netlogon.c
index 7d6aa974b0..cab159f3a3 100644
--- a/libcli/netlogon/ndr_netlogon.c
+++ b/libcli/netlogon/ndr_netlogon.c
@@ -48,7 +48,7 @@ enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_REQUEST(struct ndr_push *ndr, int
NDR_CHECK(ndr_push_string(ndr, NDR_SCALARS, r->mailslot_name));
ndr->flags = _flags_save_string;
}
- NDR_CHECK(ndr_push_samr_AcctFlags(ndr, NDR_SCALARS, r->acct_control));
+ NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->acct_control));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_size_dom_sid0(&r->sid, ndr->flags)));
if (ndr_size_dom_sid0(&r->sid, ndr->flags)) {
struct ndr_push *_ndr_sid;
@@ -93,7 +93,7 @@ enum ndr_err_code ndr_pull_NETLOGON_SAM_LOGON_REQUEST(struct ndr_pull *ndr, int
NDR_CHECK(ndr_pull_string(ndr, NDR_SCALARS, &r->mailslot_name));
ndr->flags = _flags_save_string;
}
- NDR_CHECK(ndr_pull_samr_AcctFlags(ndr, NDR_SCALARS, &r->acct_control));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->acct_control));
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->sid_size));
if (r->sid_size) {
uint32_t _flags_save_DATA_BLOB = ndr->flags;
diff --git a/libcli/netlogon/netlogon.h b/libcli/netlogon/netlogon.h
index 9bf346af26..30f716cceb 100644
--- a/libcli/netlogon/netlogon.h
+++ b/libcli/netlogon/netlogon.h
@@ -27,7 +27,6 @@
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "librpc/gen_ndr/ndr_svcctl.h"
-#include "librpc/gen_ndr/ndr_samr.h"
struct netlogon_samlogon_response
{