[Samba] 2nd smb server
Sascha Bieler
sascha.bieler at radiogong.de
Tue Jun 10 10:14:30 GMT 2008
Take this as a hint:
[global]
interfaces = lo eth0
bind interfaces only = Yes
name resolve order = wins bcast lmhosts host
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
load printers = Yes
unix charset = UTF-8
display charset = UTF-8
workgroup = DOMAIN
netbios name = NETBIOSNAME
admin users = @"Domain Admins"
guest account = gast
server string = FileServer %v
security = user
encrypt passwords = Yes
log level = 1 vfs:1
log file = /var/log/samba/log.%m
syslog = 0
max log size = 100000
domain logons = No
os level = 32
preferred master = No
domain master = No
local master = No
wins server = 192.168.10.1
dns proxy = Yes
time server = Yes
#ldap##
passdb backend = ldapsam:"ldap://192.168.10.1"
ldap admin dn = cn=admin,dc=domain,dc=name
ldap suffix = dc=domain,dc=name
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
ldap ssl = no
ldap delete dn = Yes
ldap passwd sync = Yes
utmp = Yes
idmap uid = 1000-20000
idmap gid = 1000-20000
idmap backend = ldap:"ldap://192.168.10.1"
shutdown script = /sbin/shutdown
abort shutdown script = /sbin/shutdown -c
nt acl support = yes
kernel oplocks = yes
enable privileges = Yes
template shell = /bin/false
ldap passwd sync = Yes
utmp = Yes
idmap uid = 1000-20000
idmap gid = 1000-20000
idmap backend = ldap:"ldap://192.168.10.1"
shutdown script = /sbin/shutdown
abort shutdown script = /sbin/shutdown -c
nt acl support = yes
kernel oplocks = yes
enable privileges = Yes
template shell = /bin/false
logon script =
logon path =
logon home =
############################
/etc/samba/smbldap.conf
############################
slaveLDAP="192.168.10.1"
slavePort="389"
masterLDAP="192.168.10.1"
masterPort="389"
Also set your ldap.conf and nsswitch.conf to the appropiate values.
More information about the samba
mailing list