Ralf Haferkamp wrote:
> On Montag, 19. November 2007, David C. Rankin wrote:
>> Listmates,
>>
>> I have lost a great amount of hair trying to determine why I cannot
>> connect to/add anything to ldap on a 10.0 server, where the exact same
>> setup works fine on another 10.0 server. Something a simple as a search
>> fails to bind with or without a password. Here as the symptoms and errors:
>>
>> [EMAIL PROTECTED]:/home/david # ldapsearch -x -b dc=3111skyline,dc=com
>> "(objectClass=*)"
>> ldap_bind: Can't contact LDAP server (-1)
> You don't give the hostname of the LDAP server that you want to contact. Are
> you sure that the correct hostname is in /etc/openldap/ldap.conf? If not, use
> the "-h <hostname>" or "-H <ldap-url>" option on the commandline.
>
>
You did it! I did get the search to work and I think it will help
diagnose the problem -- I still haven't a clue where the problem lies.
Here is how I got it to work. The first attempt *FAILED*. This is where
I need help. I don't know why it failed or what the error means:
09:28 Rankin-P35a~> ssh nemesis
Last login: Tue Nov 20 01:00:35 2007 from nemesis.3111skyline.com
Have a lot of fun...
[EMAIL PROTECTED]:~> ldapsearch -h nemesis "(objectClass=*)"
SASL/DIGEST-MD5 authentication started
Please enter your password:
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
additional info: SASL(-13): user not found: no secret in database
Adding simple authentication *WORKED!* Where have I screwed up the
setting the prevents the -b dc=3111skyline,dc=com search from working??
[EMAIL PROTECTED]:~> ldapsearch -x -h nemesis "(objectClass=*)"
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: (objectClass=*)
# requesting: ALL
#
# 3111skyline.com
dn: dc=3111skyline,dc=com
objectClass: dcObject
objectClass: organization
dc: 3111skyline
o: Rankin Law Firm PLLC
description: Rankin Law Firm PLLC
# ldapconfig, 3111skyline.com
dn: ou=ldapconfig,dc=3111skyline,dc=com
objectClass: organizationalUnit
ou: ldapconfig
<snip>
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]