diff options
author | Gerald Carter <jerry@samba.org> | 2004-07-06 21:43:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:08 -0500 |
commit | 600e904aa1ddf620df2ed6e5a02d0fe00e627dbb (patch) | |
tree | 4167ca72887ed629c930d157eb2420dbbe71425b /source3/smbd | |
parent | 39354eaa6ca1559d2f9419734639391e08c181f0 (diff) | |
download | samba-600e904aa1ddf620df2ed6e5a02d0fe00e627dbb.tar.gz samba-600e904aa1ddf620df2ed6e5a02d0fe00e627dbb.tar.bz2 samba-600e904aa1ddf620df2ed6e5a02d0fe00e627dbb.zip |
r1370: BUG 1297 - prevent map_username() from being called twice during logon
(This used to be commit e1364ff774b62f46c0f50864695da49972352126)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 49acd371a5..0122b662eb 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -242,6 +242,8 @@ static int reply_spnego_kerberos(connection_struct *conn, /* lookup the passwd struct, create a new user if necessary */ + map_username( user ); + pw = smb_getpwnam( user, real_username, True ); if (!pw) { |