HP CIFS Server Administrator's Guide Version A.03.01.01 (5900-1282, May 2011)

######################################################
#
# 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 domain member of hpcif23_dom
realm = HPCIF23DOM.ORG.HP.COM
security = ADS
netbios name = hpcif54
encrypt passwords = yes
password server = *
passdb backend =smbpasswd
log level = 0
syslog = 0
log fie = /var/opt/samba/log.%m
max log size = 1000
host msdfs = yes
# For LDAPSAM
# passdb backend = ldapsam:/ldap://hptem128
# ldap admin dn = cn=Directory Manager
# ldap user suffix = ou=People
# 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
# ldap delete dn = no
# ldap passwd sync = no
# ldap replication sleep = 1000
# ldap timeout = 15
# For idmap configuration of winbind
idmap backend = ldap:ldap://hptem128
idmap uid = 1000-10000
idmap gid = 1000-10000
ldap server = hptem128
ldap admin dn = "cn=Directory Manager"
ldap suffix = dc=org, dc=hp, dc=com
ldap idmap suffix = ou=ldmap
#
# For non winbind solution
# add user script = /usr/sbin/useradd -g users -c \
# winbind_create -d /tmp -s /bin/false %u
# For winbind solution
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/false
[homes]
comment = Home Directory
browseable = no
writable = yes
valid users = /home/%D/%U
create mode = 0664
directory mode = 0775
[share1]
path = /tmp
124 HP CIFS Deployment Models