mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r1235: as the pidl code init all output data.
we should do it manualy too.
metze
(This used to be commit d3b80fd40a
)
This commit is contained in:
parent
cf5fdae640
commit
db8c78c497
@ -294,7 +294,7 @@ static NTSTATUS netr_ServerAuthenticate(struct dcesrv_call_state *dce_call, TALL
|
||||
struct netr_ServerAuthenticate *r)
|
||||
{
|
||||
struct netr_ServerAuthenticate3 r3;
|
||||
uint32_t rid;
|
||||
uint32_t rid = 0;
|
||||
/* TODO:
|
||||
* negotiate_flags is used as an [in] parameter
|
||||
* so it need to be initialised.
|
||||
@ -320,7 +320,7 @@ static NTSTATUS netr_ServerAuthenticate2(struct dcesrv_call_state *dce_call, TAL
|
||||
struct netr_ServerAuthenticate2 *r)
|
||||
{
|
||||
struct netr_ServerAuthenticate3 r3;
|
||||
uint32 rid;
|
||||
uint32 rid = 0;
|
||||
|
||||
r3.in.server_name = r->in.server_name;
|
||||
r3.in.account_name = r->in.account_name;
|
||||
|
@ -790,7 +790,7 @@ static NTSTATUS samr_CreateUser(struct dcesrv_call_state *dce_call, TALLOC_CTX *
|
||||
struct samr_CreateUser *r)
|
||||
{
|
||||
struct samr_CreateUser2 r2;
|
||||
uint32_t access_granted;
|
||||
uint32_t access_granted = 0;
|
||||
|
||||
|
||||
/* a simple wrapper around samr_CreateUser2 works nicely */
|
||||
|
Loading…
Reference in New Issue
Block a user