--freebsd 5.4 --samba 3.0.20 1) when users are trying to connect from a windows machine (XP) they get prompted for username and password but it wont authenticate. 2) when I try to use smbpasswd to set password I get this error message: Failed to find entry for user bill. Failed to modify password entry for user bill 3) should I comment this line in smb.conf? encrypt passwords = yes 4) When users try to authenticate, why does it not show up in the log.smb file? when i run testparm --everything looks okay. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Fri, 2005-09-02 at 11:30 -0700, abid dar wrote:> --freebsd 5.4 > --samba 3.0.20 > > 1) when users are trying to connect from a windows > machine (XP) they get prompted for username and > password but it wont authenticate. > > 2) when I try to use smbpasswd to set password I get > this error message: > Failed to find entry for user bill. > Failed to modify password entry for user bill---- you need a unix user - bill ----> > > 3) should I comment this line in smb.conf? > encrypt passwords = yes---- shouldn't matter - yes is default - but I wouldn't ----> > 4) When users try to authenticate, why does it not > show up in the log.smb file?---- my guess is that it should show up on log.ip_address_of_machine_user_is_trying_to_log_in_from ----> > when i run testparm --everything looks okay. >---- sure - testparm doesn't check on validity of users Craig
On Fri, 2005-09-02 at 12:06 -0700, abid dar wrote:> Thanks for writing back. There is a user bill on the > system. Im logged in as root so if I do: > root@machine# ./smbpasswd bill > it gives the same error message > > in the smb.conf is says go to > /var/log/samba/log.userip however the directory that > gets updated is /usr/local/samba/var/log.smbd. > (although I dont see the users trying to connect). > > I would assume when starting the deamon is there way > to set the debugging level higher. > > would it be smbd -d9? >---- let's keep this on list - I'm leaving for a while anyway and someone else is certain to give you answers as well in smb.conf log file = /var/log/samba/%m.log max log size = 0 log level = 10 # or whatever getent passwd|grep bill # Is there a user bill? smbpasswd -a bill # is there an smbpasswd user bill? if both are true... smbpasswd bill # should allow you to set a password for smb user bill be sure to see documentation at http://www.samba.org/samba/docs/ the how-to and by-example are excellent docs Craig