Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a samba on debian setup with the following smb.conf

[global]
    workgroup = WORKGROUP
    # Debug logging information
    log level = 2
    max log size = 50
    debug timestamp = yes

[Company] 

    path = /mnt/usbHDD/SMB
    read only = no
    guest ok = no
[ETC]

    path = /mnt/usbHDD/SMBExclude
    read only = no
    guest ok = no
[Admin]

    path = /mnt/usbHDD/SMBAdmin
    read only = no
    guest ok = no

But somehow after a few hours, passwords stop working and nobody can login. I have to issue smbpasswd and reset everybody's password so that the service keeps up and running.

Am I missing something?

Thanks in advance!

EDIT: I've added the following suggestions but it still doesn't persist the passwords.

[global]
    workgroup = WORKGROUP
    # Debug logging information
    log level = 2
    max log size = 50
    debug timestamp = yes
    passwd program = /usr/bin/passwd %u
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE

[Cybertech] 

    path = /mnt/usbHDD/SMB
    read only = no
    guest ok = no
[ETC]
    path = /mnt/usbHDD/SMBExclude
    read only = no
    guest ok = no
[Admin]

    path = /mnt/usbHDD/SMB/Admin
    read only = no
    guest ok = no
share|improve this question
    
i don't know if this would help, but in my smb.conf global options are lines like these: "socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE" and "passwd program = /usr/bin/passwd %u" –  user16081-JoeT Feb 1 '13 at 19:34
    
Do you see any log file entries in the samba logs that might help? –  Sven Feb 1 '13 at 19:55
    
I tried socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE" and "passwd program = /usr/bin/passwd %u" but no cigar. This is the log it generates pastebin.com/MQ7DFWFN –  JuanKB1024 Feb 5 '13 at 21:58
    
Do you have any sort of system configuration application (i.e. puppet, chef, cfengine, etc) that might be ditching your local modifications? Or a backup/restore scheme? –  Stephan Feb 5 '13 at 23:41
    
I have cron-apt for system updates, aptutide for packages, and a script which just copies the SMB folder overnight through scp to another location. Pretty simple config I think, I don't know why I have so much trouble with this. –  JuanKB1024 Feb 6 '13 at 14:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.