########################### /etc/samba/smb.conf ############################ # # A sample smb.conf file for our Samba-PDC # running on the same machine as the LDAP-Server. # # http://homex.subnet.at/~max/ldap/ [global] # LDAP: ldap admin dn = cn=manager,dc=subnet,dc=at ldap server = ldap.subnet.at ldap suffix = ou=People,dc=subnet,dc=at # LDAP: SSL-support, not needed locally #ldap port = 636 #ldap ssl = on workgroup = SUBLDAP # Our LDAP server is actually called "yellow"... netbios name = YELLOW server string = %h server (Samba 2.2.3a-12, LDAP-Test) # from the woody-config socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096 # Don't include "root" here, as joining clients need the "root" user... invalid users = bin daemon adm sync shutdown halt mail news uucp operator gopher hosts allow = 193.xxx.xxx.xxx/255.xxx.xxx.xxx localhost log file = /var/log/samba/log.%m max log size = 50 # Domain stuff domain logons = yes security = user os level = 255 local master = yes preferred master = yes domain master = yes logon home = logon path = logon drive = h: encrypt passwords = yes map system = no map hidden = yes map archive = yes [tmp] path = /tmp browseable = yes writeable = yes guest ok = yes [maxsmbdir] path = /etc browseable = yes writeable = no guest ok = no valid users = maxldap