[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Error while using relay

Hallvard B Furuseth wrote:
Right, Relay doesn't support slapadd.  But you can use ldapadd
to add the entries over the protocol.

Or you can slapadd to the bdb database.  That is, use slapadd -b
dc=example,dc=com and use entries ending with dc=example,dc=com.

I tried to add base entry like,

   ldapadd -xD uid=easypush,ou=public,dc=play,dc=com -w test
   dn: dc=play,dc=com
   o: play
   dc: play
   objectClass: top
   objectClass: organization
   objectClass: dcObject

it's give me error like

   adding new entry "dc=play,dc=com"
   ldap_add: No such object (32)

This is the configuration of relay database

moduleload /usr/lib/ldap/back_relay.so
database    relay
suffix      "dc=play,dc=com"
relay       "dc=example,dc=com"
rootdn      "uid=test,ou=public,dc=play,dc=com"
rootpw      test

access to dn.subtree="dc=play,dc=com"
   by dn="uid=test,ou=public,dc=play,dc=com" write
   by self write
   by users read

Venish Khant