summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 23:58:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 23:58:49 +0100
commitb45caa44e1a563a3af42e39bd61ee4a2b74db14f (patch)
tree7192b08a17144b826a6b60bacf0317a7aabe5c1b /source4/smb_server/smb
parent4147ad1e98f04627f9072784e69c72cd72ea206c (diff)
downloadsamba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.tar.gz
samba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.tar.bz2
samba-b45caa44e1a563a3af42e39bd61ee4a2b74db14f.zip
Fix the build.
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r--source4/smb_server/smb/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/sesssetup.c b/source4/smb_server/smb/sesssetup.c
index f34124b1a0..0767a187e5 100644
--- a/source4/smb_server/smb/sesssetup.c
+++ b/source4/smb_server/smb/sesssetup.c
@@ -382,7 +382,7 @@ static void sesssetup_spnego(struct smbsrv_request *req, union smb_sesssetup *se
status = gensec_start_mech_by_oid(gensec_ctx, req->smb_conn->negotiate.oid);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("Failed to start GENSEC %s server code: %s\n",
- gensec_get_name_by_oid(req->smb_conn->negotiate.oid), nt_errstr(status)));
+ gensec_get_name_by_oid(gensec_ctx, req->smb_conn->negotiate.oid), nt_errstr(status)));
goto failed;
}