Hi Sorry work in progress
This is the ldif file I see to try and add rwm for a ldap backed DB dn: olcOverlay=rwm,olcDatabase={1}ldap,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcRwmConfig olcOverlay: rwm olcRwmRewrite: rwm-rewriteEngine "on" olcRwmMap: {1}objectClass group groupOfUniqueNames olcRwmMap: {2}attribute member uniqueMember olcRwmNormalizeMapped: FALSE when i do a ldapsearch I still get group and member not groupOfUniqueName nor uniqueMember On Fri, Apr 11, 2014 at 5:44 PM, Dieter Klünter <die...@dkluenter.de> wrote: > Am Fri, 11 Apr 2014 15:47:34 +1000 > schrieb Fred Snilees <fredsnil...@gmail.com>: > > > Hi > > > > I am trying to get slapo-rwm module working in a cn=config setup > > > > I have openldap with a local DB and ldap database backing onto a MS > > AD DB > > > > I am trying to rewrite objectclass group to groupOfUniqueNames and > > attribute member to uniqueMember > > > > this is what i use to set it up > > > > dn: cn=module{0},cn=config > > changetype: modify > > add: olcModuleLoad > > olcModuleLoad: {4}rwm > > > > > > dn: olcOverlay=rwm,olcDatabase={1}ldap,cn=config > > changetype: add > > objectClass: olcOverlayConfig > > objectClass: olcRwmConfig > > olcOverlay: rwm > > olcRwmRewrite: rwm-rewriteEngine "on" > > olcRwmMap: {1}objectclass group groupOfUniqueNames > > olcRwmMap: {2}attribute member uniqueMember > > olcRwmNormalizeMapped: FALSE > > > > > > but when i try a ldapsearch it doesn't work , the object class and > > attribute are not re written > > This is not a proper modify operation, the syntax is incorrect, see man > ldapmodify. > > -Dieter > > -- > Dieter Klünter | Systemberatung > http://sys4.de > GPG Key ID: E9ED159B > 53°37'09,95"N > 10°08'02,42"E > >