summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-05-16 09:42:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:48 -0500
commit582ef8ea88dfe4f3878928ade78aff91b1c12d88 (patch)
treef4b92ffd4356254330f3836dd702061042cd479e /source4/auth
parentd4fc084c81ad9a91f2b8ceb32c5119fa4c462ff6 (diff)
downloadsamba-582ef8ea88dfe4f3878928ade78aff91b1c12d88.tar.gz
samba-582ef8ea88dfe4f3878928ade78aff91b1c12d88.tar.bz2
samba-582ef8ea88dfe4f3878928ade78aff91b1c12d88.zip
r751: Fix debug message to print the right variable.
Andrew Bartlett (This used to be commit aa4b56a8736fb16134fae48165fe608912725895)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_sam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index f57afba425..3c35031643 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -249,7 +249,7 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
}
if (ret_domain > 1) {
- DEBUG(1,("Found %d records matching domain [%s]\n", ret, dom_sid_string(mem_ctx, domain_sid)));
+ DEBUG(1,("Found %d records matching domain [%s]\n", ret_domain, dom_sid_string(mem_ctx, domain_sid)));
samdb_close(sam_ctx);
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}