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

######################################
#
# Samba config file created using SWAT
# from 1.13.129.217
#
# Global Parameters
[global]
workgroup = SAMBA30_DOMAIN # Domain Name
server string = Samba Server hostC Domian Member Server
password server = hostW hostB
security = Domain
netbios aliases = MOONEY
log level = 0
syslog = 0
log fie = /var/opt/samba/log.%m
max log size = 1000
domain logons = Yes
preferred master = No
domain master = No
wins server = 1.13.115.226 # Set the PDC ad Wins Server
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 ssl = no
ldap user suffix = ou= People
read only = No
short preserve case = No
dos filetime resolution = Yes
#
[homes]
comment = Home Directory
browseable = No
Configuration Options
workgroup: This parameter specifies the name of the domain in which the HP CIFS Server
is a domain member.
security: When the HP CIFS Server joins a domain as a member, you must set this parameter
to domain.
WINs Server: If you attempt to use the PDC as the Wins server, set this parameter to the
PDC's machine name.
password server: This parameter defines the NetBIOS names of the PDC and BDC machines
that perform the user name authentication and validation.
A Sample /etc/nsswitch.ldap File
When you set up the PDC, BDC and member servers using the LDAP backend support, you need
to configure the /etc/nsswitch.conf file to restrieve your user account information from
Netscape Directory Server.You can save a copy of the/etc/nsswitch conf file and edit the
original to specify the LDAP name service and other name services that you want to use. You may
just copy /etc/nsswitch.ldap to /etc/nsswitch.conf.
The following is a sample /etc/nsswitch.ldap used in the sample Samba Domain Model
shown in the Figure 9-5:
# /etc/nsswitch.ldap #
# You can copy this sample file to /etc/nsswitch.conf. #
# This sample file uses Lightweigh Directory Access #
# Protocol(LDAP) in conjunction with dns and files. #
passwd: files ldap
120 HP CIFS Deployment Models