[389-users] Modify dse.ldif using commands

Ulf Weltman ulf.weltman at hp.com
Mon Jun 21 16:19:51 UTC 2010


It's not required to stop the server and manually edit dse.ldif to 
change nsslapd-cachememsize (entry cache size).  Additionally, changing 
this parameter over LDAP takes effect immediately, no restart required.  
Maybe you were thinking of other parameters?

On 6/21/2010 5:07 AM, Juan Asensio Sánchez wrote:
> OK, I'll take a look.
>
> Thanks.
>
> 2010/6/15 Rich Megginson <rmeggins at redhat.com 
> <mailto:rmeggins at redhat.com>>
>
>     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
>     provided with 389-ds-base.
>     >
>     ------------------------------------------------------------------------
>     >
>     > --
>     > 389 users mailing list
>     > 389-users at lists.fedoraproject.org
>     <mailto:389-users at lists.fedoraproject.org>
>     > https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>     --
>     389 users mailing list
>     389-users at lists.fedoraproject.org
>     <mailto:389-users at lists.fedoraproject.org>
>     https://admin.fedoraproject.org/mailman/listinfo/389-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20100621/c407116e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6112 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20100621/c407116e/attachment.p7s>


More information about the 389-users mailing list