summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-06-03 11:25:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:27 -0500
commit042ab1adbe9b06cf945006fd0752152ffb913c04 (patch)
tree04f37b93e0310035794c98a9340a2ec7416bfb83 /source4/smb_server
parent51fc6842277edf25486a48a5318e3570c256ea4e (diff)
downloadsamba-042ab1adbe9b06cf945006fd0752152ffb913c04.tar.gz
samba-042ab1adbe9b06cf945006fd0752152ffb913c04.tar.bz2
samba-042ab1adbe9b06cf945006fd0752152ffb913c04.zip
r7222: remove double call to the same function in the same place, probable cut&paste error
(This used to be commit 615618f192a05b95ab0e0fba68e339a6df1a3363)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/negprot.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c
index 8223f66dc7..0a33b105cd 100644
--- a/source4/smb_server/negprot.c
+++ b/source4/smb_server/negprot.c
@@ -44,12 +44,6 @@ static NTSTATUS get_challenge(struct smbsrv_connection *smb_conn, uint8_t buff[8
return nt_status;
}
- nt_status = auth_context_create(smb_conn, lp_auth_methods(), &smb_conn->negotiate.auth_context);
- if (!NT_STATUS_IS_OK(nt_status)) {
- DEBUG(0, ("auth_context_create() returned %s", nt_errstr(nt_status)));
- return nt_status;
- }
-
nt_status = auth_get_challenge(smb_conn->negotiate.auth_context, &challenge);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("auth_get_challenge() returned %s", nt_errstr(nt_status)));