summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 16:20:18 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:58 +0100
commit181aab56d528c3a270ff9f349c8e91ecb402142b (patch)
tree678d2acc26d521f331a92a5a531a7ecff11307fe /source4/smb_server/smb
parent4ab0b47ffd812350dce0255d4c654c16da102717 (diff)
downloadsamba-181aab56d528c3a270ff9f349c8e91ecb402142b.tar.gz
samba-181aab56d528c3a270ff9f349c8e91ecb402142b.tar.bz2
samba-181aab56d528c3a270ff9f349c8e91ecb402142b.zip
r26221: Add loadparm_context parameter to auth_context_create.
(This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r--source4/smb_server/smb/negprot.c1
-rw-r--r--source4/smb_server/smb/sesssetup.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c
index de70dfe5f6..7ab4c7d352 100644
--- a/source4/smb_server/smb/negprot.c
+++ b/source4/smb_server/smb/negprot.c
@@ -47,6 +47,7 @@ static NTSTATUS get_challenge(struct smbsrv_connection *smb_conn, uint8_t buff[8
nt_status = auth_context_create(smb_conn,
smb_conn->connection->event.ctx,
smb_conn->connection->msg_ctx,
+ global_loadparm,
&smb_conn->negotiate.auth_context);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("auth_context_create() returned %s", nt_errstr(nt_status)));
diff --git a/source4/smb_server/smb/sesssetup.c b/source4/smb_server/smb/sesssetup.c
index 57e2f28b8a..d96ebb6cce 100644
--- a/source4/smb_server/smb/sesssetup.c
+++ b/source4/smb_server/smb/sesssetup.c
@@ -246,6 +246,7 @@ static void sesssetup_nt1(struct smbsrv_request *req, union smb_sesssetup *sess)
status = auth_context_create(req,
req->smb_conn->connection->event.ctx,
req->smb_conn->connection->msg_ctx,
+ global_loadparm,
&auth_context);
if (!NT_STATUS_IS_OK(status)) goto failed;
} else {