Juan Asensio Sánchez wrote:
> Hi
>
> To modify some parameters of the conguration, like
> nsslapd-cachememsize, it is required to stop the server and
manually
> change the setting in the dse.ldif. Is there any
way/command/utility
> to modify that file without using grep and sed? I say this because
> when doing this, we must be careful to check if the attribute is
> defined, if not create or replace its value using sed; or change
that
> value only for certain databases, not for all. It should be like an
> ldapmodify, but not using an LDAP server, just loading the
specified
> dse.ldif file and applying the changes specified in other ldif
file.
>
> Any suggestion? Regards.
If you are a perl hacker, you could use the FileConn.pm perl module