HP CIFS Server 2.2i Administrator's Guide version A.01.11.01

LDAP Integration Support
Installing your Samba Users in the Directory
Chapter 6 137
Installing your Samba Users in the Directory
This section describes how to install and verify your samba users in your
LDAP directory.
Adding Credentials
When you use the HP CIFS Server A.01.11 with the LDAP feature
support, the smbpasswd command manipulates user accounts
information on the LDAP directory rather than the
/var/opt/samba/private/smbpasswd file. You must add the directory
manager credentials to the /var/opt/samba/private/secrets.tdb file
before installing Samba users to the LDAP directory.
Run the following command to save the LDAP credentials for the user
who can modify the LDAP directory for samba information:
$ smbpasswd -w <password of the LDAP Directory Manager>
For example, the following command saves the credentials of the LDAP
directory manager:
$ smbpasswd -w dmpasswd
Where dmpasswd is the password of the LDAP directory manager.
NOTE You must ensure that the password correctly matches with the password
for the ldap admin directory manager. This password is for user
administration and is stored for later use. If the password is incorrect, no
error message is displayed, but the user administration will fail when
attempted.
Importing Samba Users
The import_smbpasswd.pl script has been provided to automatically
import users and passwords data from the existing
/var/opt/samba/private/smbpasswd file into the LDAP directory. To
use this perl script, perl on HP-UX 11.0/11i (PA-RISC) and HP-UX 11i
(IA) version 5.6.1 or greater is required. A free download software is
available at http://software.hp.com.