diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-05-06 19:24:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:52 -0500 |
commit | dc9f30b8b0ace8d6e2c8c0cbed537fde68d1556a (patch) | |
tree | 32acdb2e8bde99fa8fe26c81219e5fde5be0caaf /source3/auth/auth_winbind.c | |
parent | 83e4ea7e852e4ae9a4ba6fd187787c76f2d54ef6 (diff) | |
download | samba-dc9f30b8b0ace8d6e2c8c0cbed537fde68d1556a.tar.gz |
r15475: Ugly and disgusting patch to fix the username map problem I created by
changing the token generation. I *hate* this code!
Jerry, you have been looking at this as well, can you double-check that I did
not screw it up?
Thanks,
Volker
(This used to be commit 2765c4ff8d44c970db3e075b0a2412662f1936c6)
Diffstat (limited to 'source3/auth/auth_winbind.c')
-rw-r--r-- | source3/auth/auth_winbind.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c index 2c584f54c2e..d8ac348d040 100644 --- a/source3/auth/auth_winbind.c +++ b/source3/auth/auth_winbind.c @@ -132,6 +132,9 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context, server_info, &info3); } + if (NT_STATUS_IS_OK(nt_status)) { + (*server_info)->was_mapped |= user_info->was_mapped; + } } } else if (NT_STATUS_IS_OK(nt_status)) { nt_status = NT_STATUS_NO_LOGON_SERVERS; |