HP UX Red Hat Direry Server Software manual Run ldapmodify1 to add a database link to server a

Models: UX Red Hat Direry Server Software

1 638
Download 638 pages 23.73 Kb
Page 104
Image 104

Chapter 3. Configuring Directory Databases

1.Run ldapmodify1 to add a database link to server A:

ldapmodify -a -p 389 -D "cn=directory manager" -w secret -h us.example.com

2.Specify the configuration information for the database link:

dn: cn=DBLink1,cn=chaining database,cn=plugins,cn=config

objectclass: top

objectclass: extensibleObject

objectclass: nsBackendInstance

nsslapd-suffix: l=Zanzibar,ou=people,dc=example,dc=com

nsfarmserverurl: ldap://africa.example.com:389/

nsmultiplexorbinddn: cn=proxy admin,cn=config

nsmultiplexorcredentials: secret

cn: DBLink1

dn: cn=l=Zanzibar,ou=people,dc=example,dc=com,cn=mapping tree,cn=config

objectclass: top

objectclass: extensibleObject

objectclass: nsMappingTree

nsslapd-state: backend

84

Page 104
Image 104
HP UX Red Hat Direry Server Software manual Run ldapmodify1 to add a database link to server a