HP CIFS Server 3.0f Administrator's Guide verison A.02.03

A smb.conf Example
An example of smb.conf file is shown below:
[global]
workgroup = DomainA # Doamin name
security = domain or ADS
# Winbindd section
idmap uid = 50000-60000
idmap gid = 50000-60000
idmap backend =
winbind enum users = no
winbind enum groups = no
winbind use default domain = no
winbind cache time = 300
winbind separator = \
template homedir = /home/%D/%U
template shell = /sbin/sh
[shareA]
path = /tmp/shareA
guest ok = no
writable = yes
Configuring Name Service Switch
To use winbind support, you need to configure the Name Service Switch control file,/etc/nsswitch.conf,
to use winbind as the name services for user or group name lookup.
For example, you can set up the /etc/nsswitch.conf file as follows:
passwd: files winbind
group: files winbind
In this example, NSS first checks the files, /etc/passwd and /etc/group, and if no entry is found, it
checks winbind.
For detailed information on how to configure NSS, refer to switch(4) and "Configuring the Name Service
Switch" in
NFS Services Administrator's Guide
at:
http://docs.hp.com/hpux/netcom/
108 Winbind Support