HP CIFS Server Administrator's Guide (5900-1282, April 2011)

NOTE: The HP CIFS Server does not support the ad option for idmap backend. For Windows
ADS environments, you can consider to use idmap rid. See the “idmap rid Backend Support”
section for detailed information
Configuring the LDAP Backend
To manage ID maps in an LDAP backend server, set idmap backend = ldap:ldap://<LDAP server
name>. The following is an example of /etc/smb.conf file which has machine
ldaphostA.company.com as the idmap backend:
[global]
workgroup = DomainA # Doamin name
security = domain
# idmap section
ldap user suffix = ou=Pepole
ldap grup suffix = ou=Groups
idmap uid = 50000-60000
idmap gid = 50000-60000
idmap backend = ldap:ldap://ldaphostA.company.com
ldap idmap suffix = Idmap
ldap admin dn = "cn=Directory Manager"
ldap suffix = dc=org, dc=company, dc=com
Starting and Stopping Winbind
This section describes how to start or stop the HP CIFS Server with winbind support.
Starting Winbind
Use the startsmb -winbind or startsmb -w command to start the winbind daemon on the
HP CIFS server as follows:
$ startsmb -winbind
or
$ startsmb -w
The startsmb command without specifying any option will start both smbd and nmbd daemons
only.
Stopping Winbind
Use the stopsmb -winbind or stopsmb -w command to stop the winbind daemon on the HP
CIFS server as follows:
$ stopsmb -winbind
or
$ stopsmb -w
The stopsmb command without specifying any option will stop both smbd and nmbd daemons
only.
NOTE: Use the scripts startwinbind and stopwinbind to start or stop the winbind daemon
only. For example, use the following command to start the winbind daemon only:
$ startwinbind
Automatically Starting Winbind at System Startup
The RUN_WINBIND parameter can be specified in /etc/rc.config.d/samba to control whether
the winbind daemon, winbindd, will start at system startup.
Starting and Stopping Winbind 107