summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorChristopher R. Hertel (crh) <crh@samba.org>2012-02-14 21:51:35 -0600
committerSimo Sorce <idra@samba.org>2012-02-16 08:29:41 +0100
commitb5b204184aa6d0f14e7d3bd08322a98dc4f432e6 (patch)
tree61216abd884217599c4e489716fdb0e64e90b7d4 /source3/auth
parent95d3096f9881fcf7717c55d6f6281b799236fff7 (diff)
downloadsamba-b5b204184aa6d0f14e7d3bd08322a98dc4f432e6.tar.gz
samba-b5b204184aa6d0f14e7d3bd08322a98dc4f432e6.tar.bz2
samba-b5b204184aa6d0f14e7d3bd08322a98dc4f432e6.zip
Rename obscure defined constants.
Replaced the undescriptive SMB_PORT1 and SMB_PORT2 defined constants with the slightly more descriptive names NBT_SMB_PORT and TCP_SMB_PORT. Also replaced several hard-coded references to the well-known port numbers (139 and 445, respectively) as appropriate. Small changes to clarify some comments regarding the two transport types. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Feb 16 08:29:41 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_ntlmssp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index 00a99c3f37..b5935e6b28 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -143,8 +143,8 @@ static NTSTATUS auth_ntlmssp_check_password(struct ntlmssp_state *ntlmssp_state,
NTSTATUS nt_status;
bool username_was_mapped;
- /* the client has given us its machine name (which we otherwise would not get on port 445).
- we need to possibly reload smb.conf if smb.conf includes depend on the machine name */
+ /* The client has given us its machine name (which we only get over NBT transport).
+ We need to possibly reload smb.conf if smb.conf includes depend on the machine name. */
set_remote_machine_name(gensec_ntlmssp->ntlmssp_state->client.netbios_name, True);