Smb.conf

From InteropWiki

Jump to: navigation, search

My relevant /etc/samba/smb.conf lines:

[global]
        workgroup = TREMONT
        realm = TREMONT.LOCAL
        server string = %h server (Samba %v)
        security = ADS
        wins server = thsdc1
#       password server = thsdc1
        obey pam restrictions = Yes
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        log level = 2 auth:4 winbind:8
        add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u
        dns proxy = no
        panic action = /usr/share/samba/panic-action %d
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        template homedir = /home/%D/%U
        template shell = /bin/bash
        winbind enum users = yes
        winbind enum groups = yes
        winbind use default domain = yes
#       winbind offline logon = true
        winbind refresh tickets = yes
        invalid users = root
        create mask = 0644
        printing = cups
        print command =
        lpq command = %p
        lprm command =
        include = /etc/samba/dhcp.conf
        use kerberos keytab = true
        message command = mail -s 'Samba Message from %f on %m' michael < %s; rm %s;
Personal tools