I'm trying to set up a samba box at home to centralize my family's storage into one place. Every time I try to connect to the box I get an incorrect user name or password dialog and it doesn't matter what I put in but it won't let me connect. In the log files every time I connect I see something like (repeated several times)... [2003/07/05 13:20:11, 0] lib/debug.c:reopen_logs(348) Unable to open new log file /var/log/log.smbd: No such file or directory [2003/07/05 13:20:11, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369) unable to open passdb database. Of course this is logged in /var/log/log.smbd so I'm sure how it can't open it... and /etc/samba/private/smbpasswd does exist and contains the following (on one line): samba:1000:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UN ]:LCT-3F06FD70: Any ideas would be appreciated... Matt P.S. I have a few share sections that are all like so... [Matt] comment = Matt's Stuff volume = matt path = /samba/Matt And my global section looks like (I have tried both security=share and security=user) ... [global] smb passwd file = /etc/samba/private/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819 bind interfaces only = no netbios name = wally root directory = /samba workgroup = DNRC wins support = true dns proxy = no max log size = 50 security = share os level = 36 encrypt passwords = yes null passwords = yes browseable = yes writeable = yes guest account = samba guest ok = yes guest only = yes force group = users force user = samba domain master = yes local master = yes browse list = yes map hidden = no map system = no map archive = no
Did you create the samba passwords?? Take a look at my webpage for help.... Regards, Mark Samba Setup Guide www.samba.netfirms.com I'm trying to set up a samba box at home to centralize my family's storage into one place. Every time I try to connect to the box I get an incorrect user name or password dialog and it doesn't matter what I put in but it won't let me connect. In the log files every time I connect I see something like (repeated several times)... [2003/07/05 13:20:11, 0] lib/debug.c:reopen_logs(348) Unable to open new log file /var/log/log.smbd: No such file or directory [2003/07/05 13:20:11, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369) unable to open passdb database. Of course this is logged in /var/log/log.smbd so I'm sure how it can't open it... and /etc/samba/private/smbpasswd does exist and contains the following (on one line): samba:1000:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UN ]:LCT-3F06FD70: Any ideas would be appreciated... Matt P.S. I have a few share sections that are all like so... [Matt] comment = Matt's Stuff volume = matt path = /samba/Matt And my global section looks like (I have tried both security=share and security=user) ... [global] smb passwd file = /etc/samba/private/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819 bind interfaces only = no netbios name = wally root directory = /samba workgroup = DNRC wins support = true dns proxy = no max log size = 50 security = share os level = 36 encrypt passwords = yes null passwords = yes browseable = yes writeable = yes guest account = samba guest ok = yes guest only = yes force group = users force user = samba domain master = yes local master = yes browse list = yes map hidden = no map system = no map archive = no -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
>>Every time I try to connect to the box I get an incorrect user name or >>password dialog and it doesn't matter what I put in but it won't let me >>connect. In the log files every time I connect I see something like >>(repeated several times)... > >Did you create the samba passwords?? Take a look at my webpage for >help....Yup. My samba user is named samba... (I know real ingenious...) I have a regular user named samba... and I have a samba user named samba... The relevant line from /etc/passwd is: samba:x:1000:100::/samba:/bin/bash The relevant line from /etc/groups is: users::100: The relevant line from /etc/samba/private/smbpasswd is (stuff being a hash... of course): samba:1000:<stuff>:<stuff>:[U ]:LCT-3F07386E: For testing purposes I used smbpasswd to set the password on the samba user to samba and then passwd to set the same password on the actual unix user. Still no dice... Matt
Maybe Matching Threads
- Why is an extra 'home' dir showing up?
- How do I create a globally accessible directory [partly solved] (XP works/98 doesn't)
- NT domain migration to LDAP/SAMBA
- Win2k clients won't rejoin Samba PDC domain, "Remote Procedure Call Failed"?
- PDA-Logon: mal formed packet