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

openldap 2.4.16, rwm, syncrepl



Hello everybody,

I'm front a problem with my openldap 2.4.16 server and i hope you can give me help to solve it.

The problem is the following one: I use a schema for email addresses but i need to make it compliant with another one.

I found some matching fields from my current model to the other one but i wouldn't like to duplicate them or define a schema for the new model.

I tried to use rwm module in this way:


include         /usr/local/../schema/core.schema
include         /usr/local/../schema/cosine.schema
include         /usr/local/../schema/inetorgperson.schema
include         /usr/local/../schema/my_email.schema

...

...

database        bdb
suffix            "dc=mydomain,dc=it"
rootdn          "cn=manager,dc=mydomain,dc=it"
rootpw          xxxxxx
directory       /openldap/data/mydomain
index objectClass,uid eq
index entryCSN eq
index entryUUId eq

overlay         rwm
rwm-map attribute myemail theNewEmail
rwm-map attribute mypassword theNewPassword

...

Searching for theNewEmail in dc=mydomain,dc=it nothing appears.

What do i wrong?

Another question: are there any problem if i use rwm overlay in a delta-syncrepl mode?

Thank you!


                         M.