HP CIFS Server Administrator's Guide Version A.03.01.04 (5900-2303), April 2012

The following is a sample /etc/nsswitch.conf used in the sample ADS Domain Model shown
in Figure 9-7:
# /etc/nsswitch.conf #
# #
# This sample file uses Lightweigh Directory Access #
# Protocol(LDAP) in conjunction with dns and files. #
passwd: files winbind [NOTFOUND=return] ldap
group: files winbind [NOTFOUND=return] ldap
hosts: files dns [NOTFOUND=return]
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
NOTE: HP CIFS Server supports several ways to allocate and map POSIX users and groups. If
winbind is used, winbind name service is required in /etc/nsswitch.conf. If winbind is
not used, a local POSIX account associated with each Windows user and group must be created.
One way to create these accounts automatically is to define the "add user script" and "add
group script" options in smb.conf. See the SWAT help text for more information.
An example of Windows NT domain model
Figure 9-8 shows an example of the Windows NT Domain Model which has a Windows NT server
named hostP as a PDC, an HP CIFS Server machine hostM acting as a domain member server.
The ID maps are saved in the local file, idmap.tdb.
Figure 30 An example of the Windows NT domain model
Windows
windows
users
HP CIFS
Member Server
“hostM”
winbind
NT Server/
winbind daemon
libnss_winbind
idmap.tdb
PDC
“hostP”
A Sample smb.conf file for an HP CIFS member server
The following is a sample Samba configuration File, /etc/smb.conf, used for an HP CIFS Server
machine hostM acting as a member server in the sample Windows NT Domain Model shown in
Figure 9-8:
126 HP CIFS deployment models