diff options
author | Günther Deschner <gd@samba.org> | 2008-10-29 02:44:59 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-10-29 08:57:53 +0100 |
commit | 5772c73e84736fe6b74cbe5946cd05029d9c130b (patch) | |
tree | 8ed0a5b31dd07e9877b7fb5125ec241254ca12f6 /source3/librpc/gen_ndr/srv_netlogon.c | |
parent | 8be9cefd98260e41615c45ec9ad94f6611ad885e (diff) | |
download | samba-5772c73e84736fe6b74cbe5946cd05029d9c130b.tar.gz samba-5772c73e84736fe6b74cbe5946cd05029d9c130b.tar.bz2 samba-5772c73e84736fe6b74cbe5946cd05029d9c130b.zip |
s3-build: re-run make samba3-idl.
Guenther
Diffstat (limited to 'source3/librpc/gen_ndr/srv_netlogon.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_netlogon.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/librpc/gen_ndr/srv_netlogon.c b/source3/librpc/gen_ndr/srv_netlogon.c index d99aeb7ae8..b740e7b333 100644 --- a/source3/librpc/gen_ndr/srv_netlogon.c +++ b/source3/librpc/gen_ndr/srv_netlogon.c @@ -45,7 +45,7 @@ static bool api_netr_LogonUasLogon(pipes_struct *p) } ZERO_STRUCT(r->out); - r->out.info = talloc_zero(r, struct netr_UasInfo); + r->out.info = talloc_zero(r, struct netr_UasInfo *); if (r->out.info == NULL) { talloc_free(r); return false; @@ -691,7 +691,7 @@ static bool api_netr_DatabaseSync(pipes_struct *p) ZERO_STRUCT(r->out); r->out.return_authenticator = r->in.return_authenticator; r->out.sync_context = r->in.sync_context; - r->out.delta_enum_array = talloc_zero(r, struct netr_DELTA_ENUM_ARRAY); + r->out.delta_enum_array = talloc_zero(r, struct netr_DELTA_ENUM_ARRAY *); if (r->out.delta_enum_array == NULL) { talloc_free(r); return false; @@ -2146,7 +2146,12 @@ static bool api_netr_ServerAuthenticate3(pipes_struct *p) } ZERO_STRUCT(r->out); - r->out.credentials = r->in.credentials; + r->out.return_credentials = talloc_zero(r, struct netr_Credential); + if (r->out.return_credentials == NULL) { + talloc_free(r); + return false; + } + r->out.negotiate_flags = r->in.negotiate_flags; r->out.rid = talloc_zero(r, uint32_t); if (r->out.rid == NULL) { |