HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
LDAP Integration Support
Migrating Your data to the Netscape Directory
Chapter 6128
NOTE Before you run the migration scripts, you must edit the
/opt/ldapux/migrate/migrate_common.ph file to change the default
group objectclass under $RFC2307BIS structure from ou=Group to
ou=Groups. By doing this, it can match with the Samba organizational
unit defaults.
An Example
The following example shows the necessary steps to import your data
into the LDAP directory using the migration script,
migrare_all_online.sh:
Step 1. Set the environment variable, LDAP_BASEDN, to specify where you want
to store your data:
For example, the following command sets the LDAP base DN to
cup.hp.com:
$ export LDAP_BASEDN=”dc=cup, dc=hp, dc=com”
Step 2. Run the following script, migrate_all_online.sh, to migrate all name
service data files in the /etc file to the LDIF file:
$ migrate_all_online.sh
Reply as appropriate to the script. In our example, use cn=Directory
Manager and crednetials to bind with means the Directory Manager
password.
NOTE At this point, you have an LDAP directory server with everything you
need to use as a backend for pam and nsswitch. You need this first as
the HP CIFS Server shares some attributes from the posixAccount
objectclass with the sambaAccount objectclass.