summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-03-24 04:11:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:15 -0500
commit46b22b073cf0d0c93f2e70dd4d670dc373d5a26a (patch)
tree9dbc4e61d2f634b12b8a8d4a3c6402ab9ec2dcb2 /source4/libcli/auth
parentf82bafa0674947a932e0ee47a57d9485a31d8286 (diff)
downloadsamba-46b22b073cf0d0c93f2e70dd4d670dc373d5a26a.tar.gz
samba-46b22b073cf0d0c93f2e70dd4d670dc373d5a26a.tar.bz2
samba-46b22b073cf0d0c93f2e70dd4d670dc373d5a26a.zip
r6027: Add copyright, and add a useful debug message.
Andrew Bartlett (This used to be commit b5260cf0d4c4f2e81a310d1c94160c9fbaaa331f)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/ntlmssp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/libcli/auth/ntlmssp.c b/source4/libcli/auth/ntlmssp.c
index 91bc9eadbd..37374d9d39 100644
--- a/source4/libcli/auth/ntlmssp.c
+++ b/source4/libcli/auth/ntlmssp.c
@@ -1,10 +1,10 @@
/*
Unix SMB/Netbios implementation.
Version 3.0
- handle NLTMSSP, server side
+ handle NLTMSSP, client server side parsing
Copyright (C) Andrew Tridgell 2001
- Copyright (C) Andrew Bartlett 2001-2003
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2001-2005
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -148,6 +148,7 @@ NTSTATUS ntlmssp_set_username(struct ntlmssp_state *ntlmssp_state, const char *u
{
if (!user) {
/* it should be at least "" */
+ DEBUG(1, ("NTLMSSP failed to set username - cannot accept NULL username\n"));
return NT_STATUS_INVALID_PARAMETER;
}
ntlmssp_state->user = talloc_strdup(ntlmssp_state, user);