From f47662f363a433f43568b62af14be979c33109e1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 15 Jul 2011 17:57:35 +1000 Subject: s3-auth Restore nss_token behaviour by reading from server_info The implementation of copy_serverinfo(), used to copy server_info into session_info never copied the nss_token variable, and so 17d8f0ad30847bb940f645ee1817d782ddaaee74 introduced this regression. Andrew Bartlett Signed-off-by: Andrew Tridgell --- source3/auth/auth_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 2b5f0a7c21..59850bb20e 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -502,7 +502,7 @@ NTSTATUS create_local_token(TALLOC_CTX *mem_ctx, */ if (((lp_server_role() == ROLE_DOMAIN_MEMBER) && !winbind_ping()) || - (session_info->nss_token)) { + (server_info->nss_token)) { status = create_token_from_username(session_info, session_info->unix_name, session_info->guest, -- cgit