summaryrefslogtreecommitdiff
path: root/source3/auth/auth_winbind.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_winbind.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_winbind.c')
-rw-r--r--source3/auth/auth_winbind.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 20faa95b01..d1b00a3268 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -120,9 +120,7 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
return nt_status;
}
- if (user_info->was_mapped) {
- (*server_info)->was_mapped = user_info->was_mapped;
- }
+ (*server_info)->nss_token |= user_info->was_mapped;
return nt_status;
}