diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-05-29 16:49:37 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-05-29 17:08:10 -0400 |
commit | 33c633df0bb49551a833d1bf86db0825b8007546 (patch) | |
tree | f14fad347456e801260ec52b70d7c135a35ed484 /source3/auth/auth_unix.c | |
parent | bd38c0d47d6a22a68fea5d9d66a73a9e2521b239 (diff) | |
download | samba-33c633df0bb49551a833d1bf86db0825b8007546.tar.gz |
s3:auth make it easier to trace auth modules
Diffstat (limited to 'source3/auth/auth_unix.c')
-rw-r--r-- | source3/auth/auth_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c index 86c5a586d95..2bc2b06f155 100644 --- a/source3/auth/auth_unix.c +++ b/source3/auth/auth_unix.c @@ -91,6 +91,8 @@ static NTSTATUS check_unix_security(const struct auth_context *auth_context, NTSTATUS nt_status; struct passwd *pass = NULL; + DEBUG(10, ("Check auth for: [%s]\n", user_info->internal_username)); + become_root(); pass = Get_Pwnam_alloc(talloc_tos(), user_info->internal_username); |