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

Re: number of entries





s there an operational attribute or some way I can get a current count of
the number of entries in the directory?




This will do the trick:

ldapsearch -LLL '(objectClass=*)' dn  | grep "dn:" | wc -l

or:

ldapsearch -x -LLL '(objectClass=*)' dn  | grep "dn:" | wc -l