[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Data access issue
- To: openldap-software@openldap.org
- Subject: Re: Data access issue
- From: Harry Jede <walk2sun@arcor.de>
- Date: Tue, 3 Nov 2009 16:40:56 +0100
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1257262862; bh=3p5Arr0UmkYs0u7MQWuLBNR/99FxKHB59gmPl2n2ogo=; h=From:To:Subject:Date:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=e80BDQuxr6vDAn9wErYq9sJAtZU7YUXhUQ3RAL4OaSMbPUSv594WEQvhBTvRq+rF6 NWmgN5SXkO1yAu/sT0mddnVgqwzqI4EY3/GOgMQFFRY/6OtxnbRwBt4iC/cFdCxwDT IR9BzpigQvCgJfjddRCX70PqRMTrDc0M01TUEOno=
- In-reply-to: <4AEF3AA0.3090108@morinie.fr>
- References: <4AEF3AA0.3090108@morinie.fr>
- User-agent: KMail/1.9.9
Hi Vincent,
> Hi,
>
> I have an issue to get data from my LDAP server. With root account
> everything is fine:
>
> [vincent@titan ~]$ ldapsearch -x -h ldap.morinie.fr -W -D
> "cn=Directory Manager,dc=morinie,dc=fr" -b
> "ou=personnes,dc=morinie,dc=fr" uid=vincent Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base <ou=personnes,dc=morinie,dc=fr> with scope subtree
> # filter: uid=vincent
> # requesting: ALL
> #
>
> # vincent, personnes, morinie.fr
> dn: uid=vincent,ou=personnes,dc=morinie,dc=fr
> ...
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
> But when I try with my own account, I get no result:
>
> [vincent@titan ~]$ ldapsearch -x -h ldap.morinie.fr -W -D
> "uid=vincent,ou=personnes,dc=morinie,dc=fr" -b
> "ou=personnes,dc=morinie,dc=fr" uid=vincent
> Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base <ou=personnes,dc=morinie,dc=fr> with scope subtree
> # filter: uid=vincent
> # requesting: ALL
> #
>
> # search result
> search: 2
> result: 32 No such object
>
> # numResponses: 1
>
> Here is my access configuration file:
>
> # The root DIT should be accessible to all clients
> access to dn.exact=""
> by * read
>
> # So should the schema
> access to dn.subtree="cn=Subschema"
> by * read
>
> access to attr=userpassword
> by self write
> by anonymous auth
> by * none
>
> access to attr=x500uniqueIdentifier
> by self write
> by * none
>
> access to dn.one="ou=personnes, dc=morinie, dc=fr"
Remove the spaces:
access to dn.one="ou=personnes,dc=morinie,dc=fr"
> by anonymous auth
> by self write
> by users write
>
> I don't understand why I can't get the data!
A space is a regular and valid character :-( .
>
> Can you help me on this?
>
> Best regards,
> Vincent
--
regards
Harry Jede