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

Re: Installation openLDAP in Debian



On Wed, Apr 20, 2011 at 4:34 PM, Dan White <dwhite@olp.net> wrote:
> On 20/04/11 16:01 -0430, Jose Ildefonso Camargo Tolosa wrote:
>>
>> Now, if there was a graphical LDAP administration tool that handled
>> the configuration: there would be a lot of happy people, and writing
>> that tool (even by creating a template for existing tools) is now
>> possible thanks to cn=config, it was not that easy with old slapd.conf
>> file.
>
> I've found ldapedit/ldiff, from:
>
> http://www.aput.net/~jheiss/krbldap/tools/
>
> to be indispensable in my own efforts to learn the new config backend.
>
> E.g.:
>
> LDAPBASE='cn=config' ./ldapedit objectClass=*
>
> opens up the entire config data within an editor (based on your EDITOR
> environment variable), and then performs the necessary ldap modifications
> for you after you save and exit.
>
> It does not properly handle changes to some of the more complex multi-line
> entries, such as the schema definitions.

All of this actually gives me an idea, if I use slapcat, create a
copy, edit the copy, and then use ldapdiff to get modification
script.... that could be simpler than writing the modification ldifs
every time I need to do a change.