s3-auth Remove seperate guest boolean
[mat/samba.git] / source3 / auth / auth_util.c
index d5ca1a206b9092079e406dfb58c6d3468926b3b7..b0deb2c8ab19a4066298e49a4b0ca248dcdfa883 100644 (file)
@@ -504,7 +504,6 @@ NTSTATUS create_local_token(TALLOC_CTX *mem_ctx,
                return NT_STATUS_NO_MEMORY;
        }
 
-       session_info->unix_info->guest = server_info->guest;
        session_info->unix_info->system = server_info->system;
 
        if (session_key) {
@@ -993,8 +992,8 @@ static struct auth_serversupplied_info *copy_session_info_serverinfo_guest(TALLO
        /* This element must be provided to convert back to an auth_serversupplied_info */
        SMB_ASSERT(src->unix_info);
 
-       dst->guest = src->unix_info->guest;
-       dst->system = src->unix_info->system;
+       dst->guest = true;
+       dst->system = false;
 
        /* This element must be provided to convert back to an
         * auth_serversupplied_info.  This needs to be from hte