venish khant writes:
I am trying to access LDAP search using email address instead of DN. For that I am using overlay rwm, and relay. When I gave relay "dc=example,dc=com", slapd give me error like(unknown directive <relay> inside backend database definition). I all ready enabled modules for relay(back_relay.so) and rwm(rwm.so).
I can only guess since you don't show your slapd.conf, but it sounds like you didn't put database relay above relay "dc=example,dc=com" but instead put the relay directive under some other database.