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

LDAP Integration Support
Extending Samba subschema into Your Directory Server
Chapter 6132
Extending Samba subschema into Your
Directory Server
You now need to extend the Netscape Directory Server schema with the
sambaAccount subschema from the HP CIFS Server to your Netscape
Directory Server. Ensure that you have configured your LDAP directory
and LDAP-UX Client Services, and migrated your data to the LDAP
directory before extending the schema.
The sambaAccount subschema is the /opt/samba/LDAP/98samba.ldif
file in the HP CIFS Server.
Complete the following steps to extend the sambaAccount subschema to
the Netscape Directory Server:
Step 1. Run the ftp commands to get the /opt/samba/LDAP/98samba.ldif file
from the HP CIFS Server and place it in the Netscape Directory Server:
For example, the following commands copy
/opt/samba/LDAP/98samba.ldif file from the HP CIFS Server to the
/var/opt/netscape/servers/sldapd-hostA.hp.com/config/schema
/98samba.ldif file in the Netscape Directory Server, hostA.hp.com:
cd /opt/samba/LDAP
ftp hostA.cup.hp.com
user root
rootpasswd
cd /var/opt/netscape/servers/sldapd-hostA.hp.com/config/schema
bin
put 98samba.ldif
quit
Step 2. Login to your Netscape Directory Server and restart the daemon, slapd.
This is to ensure that the sambaAccount subschema is recognized by
the LDAP directory.
$ /var/opt/netscape/servers/slapd-<server name>/restart-slapd
For example:
/var/opt/netscape/servers/slapd-hostA.cup.hp.com/restart-slapd
Step 3. Use the following ldapsearch command to verify that you have updated
the schema in the Netscape Directory Server with the sambaAccount
subschema: