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

Re: ldapsearch not working ??



On Tuesday 25 October 2005 15:48, Matt Ingram wrote:
> I have a SuSE 9.3 box running openldap 2.2.23-6.   I have phpldapadmin
> configured which displays all the groups and everything I've setup for
> smb domains, but if I type:
>
> ldapsearch -x -b "dc=mydomain,dc=com" "(ObjectClass=*)"
>
> it only returns
>
> # extended LDIF
> #
> # LDAPv3
> # base <dc=mydomain,dc=com> with scope sub
> # filter: (ObjectClass=*)
> # requesting: ALL
> #
>
> # mydomain.com
> dn: dc=mydomain,dc=com
> objectClass: dcObject
> objectClass: organization
> o: mydomain
> dc: mydomain
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
>
> any ideas ?


Maybe anonymous access is limited by ACLs (and you are binding when using 
phpLDAPAdmin)? Without any useful information (slapd.conf extracts, log 
extracts etc) it's hard to tell.

-- 
Buchan Milne
ISP Systems Specialist
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpS6fi2l8VBQ.pgp
Description: PGP signature