0

System: Ubuntu 10.10 OpenLDAP 2.4.23

I have a user that I want to give global read rights to. I used webmin to do so, but somehow that app corrupts the olcDatabase={1}hdb.ldif file, so I am looking for another way to do this.

Before this, I was used to a different verison of ldap and am a bit lost with where I need to make the change.

Can anyone give me a pointer?

:/etc/ldap/slapd.d/cn=config# ls -la
total 32
drwxr-x--- 3 openldap openldap 4096 2011-01-31 18:28 .
drwxr-x--- 3 openldap openldap 4096 2011-01-31 18:26 ..
-rw------- 1 openldap openldap  457 2011-01-20 01:24 cn=module{0}.ldif
drwxr-x--- 2 openldap openldap 4096 2011-01-31 18:26 cn=schema
-rw-r----- 1 openldap openldap  307 2011-01-20 01:09 cn=schema.ldif
-rw-r----- 1 openldap openldap  440 2011-01-22 20:24 olcDatabase={0}config.ldif
-rw-r----- 1 openldap openldap  583 2011-01-22 20:23 olcDatabase={-1}frontend.ldif
-rw------- 1 openldap openldap 1149 2011-01-31 18:26 olcDatabase={1}hdb.ldif

1 Answer 1

1

If you are using cn=config, then you shouldn't be editing files to change the configuration. Try reading some documentation, for example LDAP for Rocket Scientists.

2
  • That links talks about using a specific tool - I am wondering if there's a link to where I can learn how to manage this via the command line.
    – user68926
    Jan 31, 2011 at 20:17
  • ldapadd and ldapmodify ? I like to use ldapvi
    – ptman
    Feb 1, 2011 at 4:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .