diff options
author | Günther Deschner <gd@samba.org> | 2008-02-15 23:32:02 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-15 23:32:02 +0100 |
commit | bc69f754001f6c999b1f914bde97648abe8f488d (patch) | |
tree | 9da699797db1868e6d9ee6d389e63d9d17be871e /source3/librpc/gen_ndr/srv_netlogon.c | |
parent | ab09585d82f675d47d14ca3d6ff16e70d6203f5f (diff) | |
download | samba-bc69f754001f6c999b1f914bde97648abe8f488d.tar.gz samba-bc69f754001f6c999b1f914bde97648abe8f488d.tar.bz2 samba-bc69f754001f6c999b1f914bde97648abe8f488d.zip |
Re-run make idl.
Guenther
(This used to be commit b7818ec598fc942ba9c86dac0d47e239a6953301)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_netlogon.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_netlogon.c | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/source3/librpc/gen_ndr/srv_netlogon.c b/source3/librpc/gen_ndr/srv_netlogon.c index 98ba48aa17..67876f11ef 100644 --- a/source3/librpc/gen_ndr/srv_netlogon.c +++ b/source3/librpc/gen_ndr/srv_netlogon.c @@ -367,7 +367,12 @@ static bool api_netr_ServerReqChallenge(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.result = _netr_ServerReqChallenge(p, r); if (p->rng_fault_state) { @@ -442,7 +447,12 @@ static bool api_netr_ServerAuthenticate(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.result = _netr_ServerAuthenticate(p, r); if (p->rng_fault_state) { @@ -1280,7 +1290,12 @@ static bool api_netr_ServerAuthenticate2(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.result = _netr_ServerAuthenticate2(p, r); |