Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual page 284

Table of Contents

Advertisement

Chapter 14. Samba
Note
Implementing LDAP in this
has been successfully installed on
3.3.3. Backup Domain Controller (BDC) using LDAP
A BDC is an integral part of any enterprise Samba/LDAP solution. The
the PDC and BDC are virtually identical except for the
PDC has a value of
Yes
the
directive is useful in setting the BDC election priority. The higher the value, the
os level
higher the server priority for connecting clients.
Note
A BDC can either use the LDAP database of the PDC or have its own LDAP
database. This example uses the LDAP database of the PDC as seen in the
passdb backend
[global] workgroup = DOCS
netbios name = DOCS_SRV2
passdb backend = ldapsam:ldap://ldap.example.com
username map = /etc/samba/smbusers
security = user
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = \
/usr/sbin/useradd -s /bin/false -d /dev/null \
-g machines %u
# The following specifies the default logon script
# Per user logon scripts can be specified in the
# user account using pdbedit
logon script = scripts\logon.bat
# This sets the default profile path.
# Set per user paths with pdbedit
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
260
smb.conf
and the BDC has a value of
directive.
file assumes that a working LDAP server
.
ldap.example.com
smb.conf
directive. Make sure the
domain master
. If you have multiple BDCs for a PDC,
No
files between

Advertisement

Table of Contents
loading

Table of Contents