LATER s3:auth_util: DEBUG nt and unix token at a lower log level
authorStefan Metzmacher <metze@samba.org>
Thu, 24 May 2012 07:33:55 +0000 (09:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 15 Nov 2012 08:15:21 +0000 (09:15 +0100)
create_local_token() is a very important function,
as a lot of access decisions are made based on the result.

So better log the tokens without the need of "log level = 10"

metze

source3/auth/auth_util.c

index 4f33fd29b44172c5de0c5f4d664ebe523d8de1d0..22e1bb18c1be35d4f27a99a65974fc2a0cd437d0 100644 (file)
@@ -538,8 +538,8 @@ NTSTATUS create_local_token(struct auth_serversupplied_info *server_info)
                                        &server_info->security_token->num_sids);
        }
 
-       security_token_debug(DBGC_AUTH, 10, server_info->security_token);
-       debug_unix_user_token(DBGC_AUTH, 10,
+       security_token_debug(DBGC_AUTH, 4, server_info->security_token);
+       debug_unix_user_token(DBGC_AUTH, 4,
                              server_info->utok.uid,
                              server_info->utok.gid,
                              server_info->utok.ngroups,