summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-15 17:50:27 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-15 17:50:27 +0000
commit92b8937bae9139e3f7464b8cba445e929c802381 (patch)
tree3d2a23f8c29384984bf635f22a2ff9d2025a64e5 /source3
parent1f33d5a8aaa6b9a94dde21529fe2aa407fb5ffa1 (diff)
downloadsamba-92b8937bae9139e3f7464b8cba445e929c802381.tar.gz
samba-92b8937bae9139e3f7464b8cba445e929c802381.tar.bz2
samba-92b8937bae9139e3f7464b8cba445e929c802381.zip
added %d %d to error message, try to track down the uid / smb_uid mismatch
(This used to be commit ec918ba144e7c1bd1689007143ca2b8bee604768)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/password.c4
1 files changed, 2 insertions, 2 deletions
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;
}