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

Dmitriy Kirhlarov dimma at higis.ru
Thu May 20 07:17:52 CEST 2010


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

or

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

WBR

19.05.2010 23:10, Axel Birndt пишет:
> Hello @all,
>
> i have a problem, because i'am not able to edit the acl-entries.
>
> If i try to call ldapvi to edit the acl-entries, i got the following
> error messages:
>
> 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?)
>
> I'am using Ubuntu 9.10 with the new cn=config Backend, and i don't use
> the slapd.conf config file.
>
> But of course ldapvi is generally working. I'am able to edit all other
> entries within the ldap-server, but not the acl-entries.
>
> Any kind of help is very appreciated.
>
> Thank you very much
>
> Axel Birndt
>



More information about the ldapvi mailing list