HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
LDAP Integration Support
LDAP management Tools
Chapter 6 141
You must edit the
/opt/samba/LDAP/smbldap-tools/smbldap_conf.pm configuration file
with appropriate configuration values before you attempt to run these
tools. You can use the tool option, -?, for the detailed usage of each tool.
For more information on how to use these tools, refer to
/opt/samba/LDAP/smbldap-tools/FILES and
/opt/samba/LDAP/smbldap-tools/README.
NOTE In order to run these management tools, 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.
The smbldap_conf.pm
Before you run Samba management tools, you can edit the script
configuration file,
/opt/samba/LDAP/smbldap-tools/smbldap_conf.pm, to set the
$masterLDAP, $suffix, $binddn and $bindpasswd local site
variables with the LDAP directory server name, LDAP base Distinguish
Name (DN), directory manager name and password. Ensure that the
organizational units (ou) are consistent with your LDAP subschema,
particularly three units, usersou, groupsou, and computersou. The
values of these three units are as follows:
• $usersou = q (People);
• $groupsou = q (Groups);
• $computersou = q (Computers).
Consider the following example which sets the LDAP directory server
name to “hostA.cup.hhp.com”, the LDAP base DN to “cup.hp.com”,
the directory manager name to “Directory Manager”, and the password
to “dmpasswd”:
• $masterLDAP=”dc=cup, dc=hp, dc=com”
• $suffix=”cup.hp.com”
• $binddn=””cn=Directory Manager”
• $bindpasswd=”dmpasswd”