Gerrard Geldenhuis wrote:
Hi
Is there any standard script that comes with 389 that can take a set of parameters and
replace those parameters in a ldif file? For example the parameters specified in
/usr/share/dirsrv/data/template-suffix-db.ldif
dn: cn=%ds_bename%,cn=ldbm database,cn=plugins,cn=config
I can write my own but if there is something I can just adopt that would be very useful.
It's in perl - look at DSUtil.pm - the function getMappedEntries()
Regards
________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.
________________________________________________________________________
--
389 users mailing list
389-users(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users