HP CIFS Server 3.0d Administrator's Guide version A.02.02 (Edition 5)
LDAP Integration Support
LDAP management Tools
Chapter 6 145
LDAP management Tools
The HP CIFS Server provides LDAP management tools for you to
maintain users, groups and passwords in the Netscape Directory Server.
To use perl scripts, perl on HP-UX 11i (PA-RISC) and HP-UX 11i (IA)
version 5.6.1.E or greater is required. A free download software is
available at http://software.hp.com.
HP CIFS Server LDAP Tools
In addition to the LDAP-UX Integration product tools, many HP CIFS
Server management tools are available for management of CIFS data in
an LDAP directory including smbpasswd, net commands, pdbedit, and
CIFS scripts.
The Smbpasswd Tool
The smbpasswd will perform its operations on the LDAP directory if the
HP CIFS passdb backend is ldapsam or ldapsam_compat.
You must ensure that the POSIX user existing in the LDAP directory
before you run the smbpasswd -a command to add the
sambaSamAccount information to that posix user.
If the POSIX user does not exist in the LDAP directory, you can run the
smbldap-useradd.pl script to add the POSIX and Samba user account
to the LDAP directory.
Syntax
Run the following command to show help messages:
$smbpasswd -h
where run by root:
$smbpasswd [options] [username]
otherwise:
$ smbpasswd [options]
Net Commands
Several net commands are relevant for LDAP configurations.