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

Re: Problems with slapo-rwm



Am Fri, 11 Apr 2014 15:47:34 +1000
schrieb Fred Snilees <fredsnilees@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