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

rwm rewrite



Hi

I have googled and read over slapo-rwm man page, some great examples there BUT I cant seem too grasp the rewrite rule.

Basically I have merged a couple of individual openldap directories under a meta database which works fine. Some of the individual directories have clashing posix uidnumber attributes ie

uid=joe,dc=subdomain1,dc=test
uidnumber: 1023

uid=soap,dc=subdomain2,dc=test
uidnumber: 1023

uid=user2,dc=sudomain2,dc=test
uidnumber: 1024

what I am trying too do is create a rwm overlay that would rewrite the uidnumber attribute for subdomain2 so add a 10 in front of each uidnumber for each user in the subdomain database. ie

uid=soap,dc=subdomain2,dc=test
uidnumber: 101023

uid=user2,dc=sudomain2,dc=test
uidnumber: 101024

--
Thank you,

Mark Adrian Coetser
mark@tux-edo.co.za
http://www.tux-edo.co.za
http://www.tux-voip.co.za
cel: +27 76 527 8789
fax: +27 86 677 4117