[global]
workgroup = PCONSEIL
netbios name = Pavarotti
server string = %h-PDC
interfaces = lo, eth0
bind interfaces only = yes
passdb backend = ldapsam:ldap://127.0.0.1/
encrypt passwords = yes
passwd program = /opt/ipbox/scripts/samba/passwd.php %u
check password script = /opt/ipbox/scripts/samba/checkpasswd.php %U
passwd chat = *Password* %n\n *Password* %n\n *ok*
unix password sync = yes
;; log file = /var/log/samba/%m.log
log level = 0
max log size = 10
syslog = 4
syslog only = yes
enable privileges = yes
;; socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = yes
os level = 80
preferred master = yes
domain master = yes
local master = yes
dns proxy = no
wins support = yes
; SAMBA ACL & EXTENDED ATTRIBUTES
nt acl support = yes
profile acls = yes
map acl inherit = no
inherit acls = no
inherit permissions = no
ea support = yes
map archive = no
map hidden = no
map system = no
store dos attributes = yes
dos filemode = no
; SAMBA-LDAP declarations
ldap suffix = dc=peoplesconseil,dc=com
ldap admin dn = "cn=SMBManager,dc=peoplesconseil,dc=com"
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap group suffix = ou=Groups
ldap ssl = no
ldap passwd sync = yes
ldapsam:trusted = yes
load printers = yes
printing = bsd
dos charset = 850
unix charset = iso8859-15
logon path =
logon home =
logon drive =
include = /etc/samba/smb-print.conf