summaryrefslogtreecommitdiff
path: root/source3/auth/auth_domain.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_domain.c
parentbd38c0d47d6a22a68fea5d9d66a73a9e2521b239 (diff)
downloadsamba-33c633df0bb49551a833d1bf86db0825b8007546.tar.gz
s3:auth make it easier to trace auth modules
Diffstat (limited to 'source3/auth/auth_domain.c')
-rw-r--r--source3/auth/auth_domain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index ef58250ce0f..a42f3a1169b 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -393,6 +393,8 @@ static NTSTATUS check_ntdomain_security(const struct auth_context *auth_context,
return NT_STATUS_INVALID_PARAMETER;
}
+ DEBUG(10, ("Check auth for: [%s]\n", user_info->internal_username));
+
/*
* Check that the requested domain is not our own machine name.
* If it is, we should never check the PDC here, we use our own local
@@ -461,6 +463,8 @@ static NTSTATUS check_trustdomain_security(const struct auth_context *auth_conte
return NT_STATUS_INVALID_PARAMETER;
}
+ DEBUG(10, ("Check auth for: [%s]\n", user_info->internal_username));
+
/*
* Check that the requested domain is not our own machine name or domain name.
*/