HP CIFS Server 3.0b Administrator's Guide version A.02.01.01

LDAP Integration Support
Extending Samba subschema into Your Directory Server
Chapter 6 135
Extending Samba subschema into Your
Directory Server
You now need to extend the Netscape Directory Server schema with the
sambaSamAccount 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 A.01.* versions. For HP CIFS Server A.02.*
versions, the sambaSamAccount subschema is the
/opt/samba/LDAP3/98samba3.ldif file.
Complete the following steps to extend the sambaSamAccount subschema
to the Netscape Directory Server:
Step 1. Run the ftp commands to get the /opt/samba/LDAP3/98samba3.ldif
file from the HP CIFS Server and place it in the Netscape Directory
Server:
For example, the following commands copy
/opt/samba/LDAP3/98samba3.ldif file from the HP CIFS Server to the
/var/opt/netscape/servers/sldapd-hostA.hp.com/config/schema
/98samba3.ldif file in the Netscape Directory Server, hostA.hp.com:
cd /opt/samba/LDAP3
ftp hostA.cup.hp.com
user root
rootpasswd
cd /var/opt/netscape/servers/sldapd-hostA.hp.com/config/schema
bin
put 98samba3.ldif
quit
Step 2. Login to your Netscape Directory Server and restart the daemon, slapd.
This is to ensure that the sambaSamAccount 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