Le 19/10/2011 15:51, Olivier Guillard a écrit :
Hi Seb,
Isn't there any way to pass filters to slapcat see spécific part of the configuration ?
ldapsearch -x -LLL -D uid=admin,cn=config -W -s sub -b "cn=config" "(olcDatabase=*)" olcAccess
[snip ...]
Unfortunately not. Slapcat is meant to dump the whole context. You can eventualy use a small perl script to sort the relevant nodes afterwards.
Else ldapsearch with '*' '+' should give you all the attributes included in the database.
ldapsearch -x -LLL -D uid=admin,cn=config -W -s sub -b "cn=config" "(olcDatabase=*)" '*' '+'
The '+' adds the operational attributes.
S. Bernard