diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 15:31:29 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 01:12:37 +0200 |
commit | 242e3296108f513b286787ac12ea768b9c4ed954 (patch) | |
tree | 326069ebcf1a00836ba561173d829d4170a40504 /source3/smbd | |
parent | 2d8be31e880bcd1b7444ffd45295cc9948079b6f (diff) | |
download | samba-242e3296108f513b286787ac12ea768b9c4ed954.tar.gz samba-242e3296108f513b286787ac12ea768b9c4ed954.tar.bz2 samba-242e3296108f513b286787ac12ea768b9c4ed954.zip |
s3: Lift talloc_autofree_context() from make_auth_context_subsystem()
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/negprot.c | 2 | ||||
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 463e1c8083..51f2d0c1de 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -38,7 +38,7 @@ static void get_challenge(struct smbd_server_connection *sconn, uint8 buff[8]) DEBUG(10, ("get challenge: creating negprot_global_auth_context\n")); nt_status = make_auth_context_subsystem( - &sconn->smb1.negprot.auth_context); + sconn, &sconn->smb1.negprot.auth_context); if (!NT_STATUS_IS_OK(nt_status)) { DEBUG(0, ("make_auth_context_subsystem returned %s", nt_errstr(nt_status))); diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index b227d2bc9e..68b91b7f1b 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -1589,7 +1589,7 @@ void reply_sesssetup_and_X(struct smb_request *req) struct auth_context *plaintext_auth_context = NULL; nt_status = make_auth_context_subsystem( - &plaintext_auth_context); + talloc_tos(), &plaintext_auth_context); if (NT_STATUS_IS_OK(nt_status)) { uint8_t chal[8]; |