[389-users] Variables in ldif files

Rich Megginson rmeggins at redhat.com
Fri Aug 20 18:45:36 UTC 2010


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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>   




More information about the 389-users mailing list