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

Re: some problem with slapd



> However
> # ldapsearch -x -D 'cn=admin,o=sferacarta' -W
> Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base <> with scope sub

        ^^^^
you didn't specify any "base", so an empty (i.e. "") base is being used ...

> # filter: (objectclass=*)
> # requesting: ALL
> #
>
> # search result
> search: 2
> result: 32 No such object
         ^^^^^^^^^^^^^^^^^^^
... which does not exist in your database.  Use "-b <baseObject>" as
specified in most HOWTOs and in ldapsearch's man page.

p.

>
> # numResponses: 1
>
> and changing user i have this
>
> # ldapsearch -x -D 'cn=zope,o=sferacarta' -W
> Enter LDAP Password:
> ldap_bind: Invalid credentials (49)

Does the user "cn=zope,o=sferacarta" exist?  Are you using the correct
credentials?  You may look at server logs for more detaild reasons of
failure.  Unsuccessful binds return "invalid credentials" for many reasons
of failure, to avoid disclosing sensitive information to malicious
clients.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497