HP CIFS Server Administrator's Guide (5900-1282, April 2011)
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:
######################################################
#
# An sample smb.conf file for an HP CIFS ADS member server
#
# Global Parameters
[global]
workgroup = hpcif23_dom # Domain Name
server string = CIFS Server as a member of NT domain
netbios name = hostM
# For NT specific option
workgroup = hostP_dom
security = domain
encrypt passwords = yes
passdb backend = smbpasswd
password server = hostP.org.hp.com
log level = 0
log fie = /var/opt/samba/log.%m
max log size = 1000
#
# For non winbind solution
# add user script = /usr/sbin/useradd -g users -c \
# add_user_script -d /tmp -s /bin/false %u
#
# For winbind specific options
winbind use default domain =yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind cache time = 300
template homedir = /home/%D/%U
template shell = /bin/false
#
[homes]
comment = Home Directory
create mode = 0664
directory mode = 0775
126 HP CIFS Deployment Models