Dear openldap experts,
Recently, we are trying to setup a Openldap proxy using translucent overlay. The proxy was configured successfully and we can read remote ldap contents through local proxy.
However, we met a special scenario that the instruction didn't mention, and we didn't know how to fulfill it :
(1) Assuming there is a user stored in remote ldap server
user.ldif
dn:uid=user1,ou=People,dc=mydomain,dc=com
uid:user1
cn:user1
objectClass:account
objectClass:posixAccount
objectClass:top
objectClass:shadowAccount
(2) We would like to add a new attribute in proxy (local mdb database)
user_new.ldif
dn:uid=user1,ou=People,dc=mydomain,dc=com
changetype: modify
add: objectClass
objectClass: sambaSamAccount
The difference was that: the objectClass consists of multiple lines, and account/posixAccount/top/shadowAccount was stored in remote, we just wanted to add a new lines for sambaSamAccount in local mdb.
If I execute user_new.ldif then the user1 became that only contained objectClass: sambaSamAccount and account/posixAccount/top/shadowAccount was disappeared.
Is there a way to fulfill that ?
Thanks,
Adrian Liu