Did some more testing before i enable RWM i can do this
ldapsearch -h ldap1 -D "cn=god,DC=snilees,DC=com" -x -w XXX -b "dc=snilees,dc=com" '(|(&(objectclass=groupOfUniqueNames)(o=fd))(cn=All Staff))' member and I can see all the member of the group after I add the RWM and run the same search I get no member nor do I get uniqueMember I am very confused. On Sat, Apr 12, 2014 at 11:08 AM, Fred Snilees <[email protected]>wrote: > 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 <[email protected]>wrote: > >> Am Fri, 11 Apr 2014 15:47:34 +1000 >> schrieb Fred Snilees <[email protected]>: >> >> > 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 >> >> >
