HP CIFS Server Administrator's Guide (5900-1282, April 2011)

A Sample smb.conf File For a BDC
The following is a sample Samba configuration File, /etc/smb.conf, used for an HP CIFS Server
machine hostB acting as a BDC in the sample Samba Domain Model shown in Figure 9-5:
######################################
#
# Samba config file created using SWAT
# from 1.13.129.217
#
# Global Parameters
[global]
workgroup = SAMBA30_DOMAIN # Domain Name
server string = Samba Server hostB BDC
password server =
passdb backend = ldapsam:ldap://hptem128:389, smbpasswd
log level = 0
syslog = 0
log fie = /var/opt/samba/log.%m
max log size = 1000
domain logons = Yes
security = user
local master = No
domain master = No
wins server = 1.13.115.226 # Set the PDC as WINs Serer
wins support = yes
ldap admin dn = cn=Directory Manager
ldap group suffix = ou=Groups
ldap machine suffix = ou= Computers
ldap suffix = dc=org, dc=hp, dc=com
ldap user suffix = ou= People
read only = No
short preserve case = No
dos filetime resolution = Yes
#
[homes]
comment = Home Directory
browseable = No
[tmp]
comment = temporary file space
path = /tmp
Configuration Options
passdb backend: You must set this parameter to ldapsam_compat:ldap://<ldap
server name> if you want to use an old Samba subschema for the LDAP databases. If you
attempt to use the new subschema supported by HP CIFS Server A.02.01, you must set this
parameter to ldapsam:ldap://<ldap server name>
domain master: Set this parameter to no in order for the HP CIFS Server to act as a BDC.
WINs Server: If you attempt to use the PDC as the WINs server, set this parameter to the
PDC's machine name.
domain logon: You must set this parameter to yes to provide netlogon services.
A Sample smb.conf File for a Domain Member Server
When configuring the HP CIFS Server to act as a member server, you need to configure the relative
domain parameters in the /etc/opt/samba/smb.conf file by using the SWAT tool, or an
editor, or by running samba_setup.
The following is a sample Samba configuration File, /etc/smb.conf, used for an HP CIFS Server
machine hostC acting as a domain member server in the sample Samba Domain Model shown
in Figure 9-5:
Samba Domain Model 119