[Fedora-directory-users] [HELP] creating partition by command line

Jorge Santos jorgecb at gmail.com
Sat Sep 23 14:58:18 UTC 2006


Hello all,
I tried create one partition by command line, but it doesn't work.
And when I've tried to restart the console admin, it doesn's work too and
when I did a search for cn=mapping tree,cn=config subtree, it didn't return
anything.
I Tried follow the tutorial at this site:
http://www.redhat.com/docs/manuals/dir-server/ag/7.1/entry_dist.html#17741

I Created the database for root suffix, the root suffix(dc=mg), sub
suffix(ou=bh,dc=mg) and the database link(Contain a Referral for other
Server) for sub suffix at Main Server .
In the other server I created the root suffix(ou=bh,dc=mg) and the database
for this root suffix.
The LDIF's that i used for create these partitions as follow:

./ldapmodify -a -D "cn=directory manager" -w- -f /tmp/partition.ldif
Configuration for the Main Server
#Create the database
dn: cn=particaoManual,cn=ldbm database,cn=plugins,cn=config
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: "ou=bh,dc=mg"

#Create root suffix
dn: cn="ou=bh,dc=mg",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: particaoManual
cn: ou=bh,dc=mg

#Create sub suffix
dn: cn="ou=bh,dc=mg",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: Referral
nsslapd-referral: ldap://172.25.0.13:389/ou=bh,dc=mg
nsslapd-backend: particaoLink
nsslapd-parent-suffix: "dc=mg"
cn: ou=bh,dc=mg

#Create Database link
dn: cn=particaoLink,cn=chaining database,cn=plugins,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: ou=bh,dc=mg
nsfarmserverurl: ldap://172.25.0.13:389/
nsmultiplexorbinddn: uid=replicator,cn=config
nsmultiplexorcredentials: secret
cn: particaoLink

Configuration for the Other Server
./ldapmodify -a -D "cn=directory manager" -w- -f /tmp/subpartition.ldif
#Create the database
dn: cn=particaoManual,cn=ldbm database,cn=plugins,cn=config
objectclass: extensibleObject
objectclass: nsBackendInstance
nsslapd-suffix: "ou=bh,dc=mg"

#Create root suffix
dn: cn="ou=bh,dc=mg",cn=mapping tree,cn=config
objectclass: top
objectclass: extensibleObject
objectclass: nsMappingTree
nsslapd-state: backend
nsslapd-backend: particaoManual
cn: ou=bh,dc=mg

att,
Jorge Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060923/b16f0866/attachment.htm>


More information about the Fedora-directory-users mailing list