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

Re: Error while using relay



Venish Khant writes:
> database    relay
> suffix      "dc=play,dc=com
> relay       "dc=example,dc=com"
> (...)
> I tried to add some entries in relay database using this command.
>     slapadd  -b "dc=play,dc=com" -l ldap_relay.ldif  -f /etc/ldap/slapd.conf
> 
> But, it's give me error.
>     slapadd: database doesn't support necessary operations.

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.

-- 
Hallvard