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

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.
To configure winbind to start automatically at system startup, set RUN_WINBIND to 1.
An Example for file ownership by Winbind users
In the following example, use /opt/samba/bin/smbclient to connect to a share, shareA,
on the HP CIFS Server, Server1, as the user, John, from the domain, DomA:
$ cd /opt/samba/bin
$ ./smbclient //Server1/shareA -U DomA\\John
The output is as follows:
Domain=[DomainA] OS=[Unix] Server=[Samba 3.4.3 based HP CIFS Server A.03.01]
$ smb:\>put JohnTest
$ smb:\>quit
108 Winbind support