HP CIFS Server 3.0b Administrator's Guide version A.02.01.01
Winbind Support
Configuring HP CIFS Server with Winbind
Chapter 7164
A smb.conf Example
An example of smb.conf file is shown below:
[global]
workgroup = DomainA # Doamin name
security = domain
# Winbindd section
winbind separator = \
idmap uid = 500-1500
winbind cache
time
Specifies the number of seconds the winbindd
daemon caches user and group information
before querying a Windows NT server again.
By default, this parameter is set to 300.
winbind enable
local accounts
Controls whether or not winbindd acts as a
stand in replacement for the various account
management hooks in smb.conf (e.g. ’add user
script’). If enabled, winbindd supports the
creation of local users and groups as another
source of UNIX account information available
via getpwnam() or getgrgid(), etc. By
default, this parameter is set to No.
winbind use
default domain
Specifies whether the winbindd daemon
operates on users without domain component
in their username. Users without a domain
component are treated as a part of the
winbindd server’s own domain. By default,
this parameter is set to No
template homedir Specifies the winbind users a home direcotry.
For example, template homedir =
/home/%U.
template primary
group
Defines the default primary group for each
user created by winbindd’s local account
management functions. By default, this
parameter is set to nobody.
Table 7-1 Global Parameters (Continued) (Continued)
Parameter Description