From 92b8937bae9139e3f7464b8cba445e929c802381 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Thu, 15 Jul 1999 17:50:27 +0000 Subject: added %d %d to error message, try to track down the uid / smb_uid mismatch (This used to be commit ec918ba144e7c1bd1689007143ca2b8bee604768) --- source3/smbd/password.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/smbd/password.c b/source3/smbd/password.c index b10bc33a3a..1f1ca12713 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -504,7 +504,7 @@ BOOL pass_check_smb(char *user, char *domain, uchar *chal, } /* Quit if the account was disabled. */ - if(smb_pass->acct_ctrl & ACB_DISABLED) { + if (smb_pass->acct_ctrl & ACB_DISABLED) { DEBUG(3,("account for user %s was disabled.\n", user)); return False; } @@ -512,7 +512,7 @@ BOOL pass_check_smb(char *user, char *domain, uchar *chal, /* Ensure the uid's match */ if (smb_pass->unix_uid != pass->pw_uid) { - DEBUG(3,("Error : UNIX and SMB uids in password files do not match !\n")); + DEBUG(3,("Error : UNIX (%d) and SMB (%d) uids in password files do not match !\n", pass->pw_uid, smb_pass->unix_uid)); return False; } -- cgit