2.0.4b: "null passwords = yes" -> confusing LOG

Giulio Orsero giulioo at tiscalinet.it
Wed Jun 30 06:49:17 GMT 1999


linux 2.0.33, user level, encrypted pass, guest user ftp.
map to guest = bad user

All works fine.

I needed to put a user with a null password in smbpasswd with "smbpasswd -n"
so I added the parameter
null passwords = yes


Now all works as expected but samba does more logging:

1) Everytime a user logins with a right password it logs that the password is
wrong, however the user can login just fine, the problem is in the log only:

[1999/06/30 06:42:55, 1] smbd/password.c:pass_check_smb(532)
  smb_password_check failed. Invalid password given for user 'go'
[1999/06/30 06:42:55, 1] smbd/service.c:make_connection(488)
  b (10.0.0.2) connect to service go as user go (uid=105, gid=100) (pid 11821)

2) It complains it doesn't find the guest user in the smbpasswd file (before
null passwords = yes, it never complained); however the user is able to access
the share as before -> the problem is in the log only:
(there is a "force user = cdi" for the "giulio" which is guest ok)

[1999/06/30 06:44:29, 1] smbd/password.c:pass_check_smb(496)
  Couldn't find user 'gokkkkk' in UNIX password database.
[1999/06/30 06:44:29, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'ftp' in smb_passwd file.
[1999/06/30 06:44:29, 1] smbd/service.c:make_connection(488)
  b (10.0.0.2) connect to service giulio as user cdi (uid=100, gid=100) (pid
11825)

These are not real problems but the log file grows too much for nothing
important.



More information about the samba mailing list