#======================= Global Settings =======================
[global]
workgroup = TEST
server string = PDC %v (test.lan)
netbios name = PDC
time server = yes
#### Networking ####
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
security = user
########## Domains ###########
domain logons = yes
os level = 255
preferred master = yes
domain master = yes
local master = yes
encrypt passwords = true
passdb backend = ldapsam:ldap://192.168.1.25
ldapsam:trusted=yes
ldapsam:editposix=yes
ldap admin dn = cn=idmap-ldap,ou=idmap,dc=test,dc=lan
ldap delete dn = yes
ldap group suffix = ou=groups
ldap idmap suffix = ou=idmap
ldap machine suffix = ou=computers
ldap user suffix = ou=users
ldap suffix = dc=test,dc=lan
idmap domains = TEST
idmap config TEST:backend = ldap
idmap config TEST:readonly = no
idmap config TEST:default = yes
idmap config TEST:ldap_base_dn = ou=idmap,dc=test,dc=lan
idmap config TEST:ldap_user_dn = cn=idmap-ldap,ou=idmap,dc=test,dc=lan
idmap config TEST:ldap_url = ldap://192.168.1.25
idmap config TEST:range = 10000-50000
idmap alloc backend = ldap
idmap alloc config:ldap_base_dn = ou=idmap,dc=test,dc=lan
idmap alloc config:ldap_user_dn = cn=idmap-ldap,ou=idmap,dc=test,dc=lan
idmap alloc config:ldap_url = ldap://192.168.1.25
idmap alloc config:range = 10000-50000
ldap ssl = no
host msdfs = yes
logon path = \\%L\%U\profile
logon drive = H:
logon home = \\%L\%U
logon script = logon.cmd
########## Printing ##########
############ Misc ############
socket options = SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
max xmit = 16644
use sendfile = no
large readwrite = no
winbind enum groups = yes
winbind enum users = yes
#======================= Share Definitions =======================