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

Re: howto view slapd configuration : ldapsearch VS slapcat



Le 19/10/2011 14:55, Olivier a écrit :
Hello,

I have trouble to use slapcat to browse in my slapd configuration?

For example, with ldapsearch I use this to see ACL :

ldapsearch -x -LLL -D uid=admin,cn=config -W -s sub -b "cn=config"
"(olcDatabase=*)" olcAccess

What would be the equivalent with slapcat (run with "-F
/etc/openldap/slapd.d") ?

Thanks

---
Olivier

/usr/sbin/slapcat -F /etc/opendlap/slapd.d -n 0

It dumps everything (not selection). 0 is the number corresponding in you olcDatabase={0}config,cn=config.

Seb