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

Re: Mailing list query



Stelios A. wrote:
I figure out how to accommodate the mailing list but that needs to
update my ldap schema to use groupOfNames/member as suggested along
with a change to the dn.
Is there a way to change automatically all the dn to the new format in
order to avoid editing the whole entries (1000+ users)?
This is going from:
dn: cn=Firstname Lastname,ou=Users,dc=mydomain,dc=edu,dc=com
to
dn: uid=flastname,ou=Users,dc=mydomain,dc=edu,dc=com

nothing smarter than slapcat | sed | slapadd (with appropriate options, of course; and stop slapd first).


p.


Ing. Pierangelo Masarati OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------