[ldapvi] ldapvi - How to edit acl-entries within the cn=config backend

Axel Birndt towerlexa at gmx.de
Thu May 20 16:29:04 CEST 2010


Hi Dmitriy,

thank you very much for your answer, but the problem is still the same.

Dmitriy Kirhlarov schrieb:
> bash open {1} as "one element". Take a look slapd log? or tcpdump. I 
> suppose you'll find something like
> olcDatabase=hdb,cn=config

> 
> You can rewrite your command as:
> 
> $ ldapvi --user cn=admin,dc=2axels-company,dc=de -b \
> cn=config --scope sub --host localhost

ab at ubuntunb:~$ ldapvi --user cn=admin,dc=2axels-company,dc=de -b 
cn=config --scope sub --host localhost

--- Login
Type M-h for help on key bindings.

Filter or DN: cn=admin,dc=2axels-company,dc=de
     Password: ****
       0 entries read 

Search failed: No such object
No search results.
(Maybe use --add or --discover instead?)
ab at ubuntunb:~$


> 
> or
> 
> $ ldapvi --user cn=admin,dc=2axels-company,dc=de -b \
> 'olcDatabase={1}hdb,cn=config' --scope sub --host localhost

ab at ubuntunb:~$ ldapvi --user cn=admin,dc=2axels-company,dc=de -b 
'olcDatabase={1}hdb,cn=config' --scope sub --host localhost

--- Login
Type M-h for help on key bindings.

Filter or DN: cn=admin,dc=2axels-company,dc=de
     Password: ****
       0 entries read 

Search failed: No such object
No search results.
(Maybe use --add or --discover instead?)
ab at ubuntunb:~$

I don't understand what this means. Please remind, that i use ubuntu 
9.10 with the cn=config Ldap Backend. I don't use the slapd.conf 
configuration file.

Thank you very much for any hints...

--

regards Axel



More information about the ldapvi mailing list