1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/auth
Andreas Schneider b7c0330b74 BUG 9139: Fix the username map optimization.
If we successfully map a user. We call

set_last_from_to(user_in, unixname);

in the while loop reading the map file. After a successfull map we don't
stop and continue the loop to check all other mappings in the username
mapfile. But when we hit the end of the file and leave the loop we call:

set_last_from_to(user_in, user_in);

This overwrites the successful mapping, and the next time we call
map_username() we skip the username and no mapping is done.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
2013-04-09 14:34:38 +02:00
..
auth_builtin.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
auth_domain.c s3-auth Remove unused global_machine_account_needs_changing 2012-07-13 07:52:40 +02:00
auth_generic.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
auth_ntlmssp.c auth: Remove .get_challenge (only used for security=server) 2012-07-03 08:13:01 +10:00
auth_sam.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth_samba4.c s3: Fix a typo 2012-10-19 21:29:13 +02:00
auth_script.c More strlcat/strlcpy truncate checks. 2012-03-30 21:26:07 +02:00
auth_unix.c s3-auth: Fix account check over ncalrpc. 2011-07-13 14:09:35 +02:00
auth_util.c Fix bug #9039 'map untrusted to domain' treats WORKSTATION as bogus domain. 2013-02-28 00:10:48 +01:00
auth_wbc.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth_winbind.c s3-talloc Change TALLOC_ZERO_P() to talloc_zero() 2011-06-09 12:40:08 +02:00
auth.c auth: Remove .get_challenge (only used for security=server) 2012-07-03 08:13:01 +10:00
check_samsec.c s3-auth: remove crypto from serverinfo_to_SamInfoX calls. 2012-12-09 19:39:08 +01:00
pampass.c s3:auth: use const in smb_pam_xxx_session() 2012-10-19 12:14:58 +02:00
pass_check.c Correctly check for errors in strlower_m() returns. 2012-08-09 12:08:18 -07:00
proto.h s3-auth: remove crypto from serverinfo_to_SamInfoX calls. 2012-12-09 19:39:08 +01:00
server_info_sam.c s3-auth remove sanitized_username from auth_serversupplied_info 2011-08-03 18:48:04 +10:00
server_info.c s3:auth: wbcAuthenticateEx gives unix times (bug #9625) 2013-02-01 18:42:42 +01:00
token_util.c s3:auth small optimization in create_token_from_sid 2013-02-05 19:14:25 +01:00
user_info.c s3-auth: Pass the remote_address down to user_info. 2011-07-04 18:28:02 +10:00
user_krb5.c lib/param: Move all enum declarations to lib/param 2012-07-24 11:01:17 +02:00
user_util.c BUG 9139: Fix the username map optimization. 2013-04-09 14:34:38 +02:00
wscript_build BUG #9295: Build standard auth modules as internal modules. 2012-10-18 11:33:17 +02:00