summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-06 17:37:00 +0200
committerVolker Lendecke <vl@samba.org>2008-05-07 14:47:29 +0200
commit64ddd381b74ca94e8ff8ae62d8f019a9b5290a80 (patch)
tree37e07a70b9b67c65d1a0674025f2fcfb4e01ce1c /source3/auth/auth_domain.c
parent4f731150bdc4e7257e1fc87e6ea6944d33cb1e34 (diff)
downloadsamba-64ddd381b74ca94e8ff8ae62d8f019a9b5290a80.tar.gz
samba-64ddd381b74ca94e8ff8ae62d8f019a9b5290a80.tar.bz2
samba-64ddd381b74ca94e8ff8ae62d8f019a9b5290a80.zip
Rename server_info->was_mapped to server_info->nss_token
"nss_token" from my point of view much better reflects what this flag actually represents (This used to be commit b121a5acb2ef0bb3067d953b028696175432f10d)
Diffstat (limited to 'source3/auth/auth_domain.c')
-rw-r--r--source3/auth/auth_domain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index f526677eca..f483718552 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -270,9 +270,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
info3);
if (NT_STATUS_IS_OK(nt_status)) {
- if (user_info->was_mapped) {
- (*server_info)->was_mapped = user_info->was_mapped;
- }
+ (*server_info)->nss_token |= user_info->was_mapped;
if ( ! (*server_info)->guest) {
/* if a real user check pam account restrictions */