[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Getting Solaris to use Openldap
- To: Stuart Cherrington <stuart_cherrington@hotmail.co.uk>, openldap-technical@openldap.org
- Subject: Re: Getting Solaris to use Openldap
- From: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
- Date: Wed, 01 Sep 2010 11:35:42 +0100
- In-reply-to: <BAY158-w37867E5DE832A75F334079A38B0@phx.gbl>
- References: <BAY119-W3874333E42B5F07331A377A3860@phx.gbl>, , , , <4C778676.4060907@ianshome.com>, , , <BAY119-W15D24DC6C7EF59BDE728BDA3860@phx.gbl>, , , <4C77946B.3050208@ianshome.com>, , <BAY119-W30900A4C106DDE78A2FA38A3860@phx.gbl>, , <4C781F74.2000901@ianshome.com>, <BAY158-w123BB52EBF0B09BB0C14A5A38A0@phx.gbl>, <4C7D7506.2040407@ianshome.com> <BAY158-w37867E5DE832A75F334079A38B0@phx.gbl>
- User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)
Stuart Cherrington wrote:
OK - so I tried
ldapsearch2.4 -h 10.2.250.15 -x -b 'dc=ldn,dc=sw,dc=com'
# extended LDIF
#
# LDAPv3
# base <dc=ldn,dc=sw,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
What I don't understand is 'which' object is missing?
Hi Stuart,
AIUI from reading above then the following LDAP search works:
ldapsearch2.4 -h 10.2.250.15 -x -b 'dc=ldn,dc=sw,dc=com' -D
'cn=proxyagent,ou=profile,dc=ldn,dc=sw,dc=com'
whereas the following doesn't:
ldapsearch2.4 -h 10.2.250.15 -x -b 'dc=ldn,dc=sw,dc=com'
Since it appears to fail when not specifying a bind DN with -D, this
suggests to me that you have an ACL on 'dc=ldn,dc=sw,dc=com' which does
not allow access to that part of the tree for anonymous binds - hence
the "No such object" message.
For security reasons, we tend to disable anonymous binds on all our
installations; however it seems as if the Solaris libraries require
anonymous access to the 'cn=default,ou=profile...' part of the tree
before they will rebind using proxyDN.
HTH,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs