summaryrefslogtreecommitdiff
path: root/source3/auth/auth_unix.c
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-29 16:49:37 -0400
committerSimo Sorce <ssorce@redhat.com>2010-05-29 17:08:10 -0400
commit33c633df0bb49551a833d1bf86db0825b8007546 (patch)
treef14fad347456e801260ec52b70d7c135a35ed484 /source3/auth/auth_unix.c
parentbd38c0d47d6a22a68fea5d9d66a73a9e2521b239 (diff)
downloadsamba-33c633df0bb49551a833d1bf86db0825b8007546.tar.gz
samba-33c633df0bb49551a833d1bf86db0825b8007546.tar.bz2
samba-33c633df0bb49551a833d1bf86db0825b8007546.zip
s3:auth make it easier to trace auth modules
Diffstat (limited to 'source3/auth/auth_unix.c')
-rw-r--r--source3/auth/auth_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c
index 86c5a586d9..2bc2b06f15 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);