Mailinglist Archive: opensuse (1702 mails)

< Previous Next >
[opensuse] Re: ldap slpd config
  • From: Linda Walsh <suse@xxxxxxxxx>
  • Date: Fri, 11 Sep 2009 00:18:46 -0700
  • Message-id: <4AA9F9D6.4000001@xxxxxxxxx>
Ralf Haferkamp wrote:
Am Montag 07 September 2009 13:33:30 schrieb Linda Walsh:
Ralf Haferkamp wrote:
You (your client, whatever tool you used) tried to authenticate using the
SASL/GSSAPI mechanism, but you server is not configured to use that
mechanism. What tool were you using to access the LDAP server?
If you were using the ldapsearch tool try adding the "-x" commandline
switch to use simple authentication and see if that works. For details
have a look in the ldapsearch man-page.
----
I was using the command listed below -- that YAST told me to use:
ldapsearch -Y external -H ldapi:/// -b
That command whould never ever give you the error message you pasted in your
first mail ("SASL [conn=1] Failure: GSSAPI Error: ....").
---
But it did. I cut and pasted the command and the error...

What does this command give you:

ldapsearch -x -H ldap://<your.ldapserver.address> -b "" -s base +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unfortunately you didn't answer this question.
---
Wow...that worked! Excellent...some output...
(I used "localhost" as my server, using the server name doesn't seem to work).

# extended LDIF
#
# LDAPv3
# base <> with scope baseObject
# filter: (objectclass=*)
# requesting: +
#

#
dn:
structuralObjectClass: OpenLDAProotDSE
configContext: cn=config
namingContexts: dc=site
supportedControl: 1.3.6.1.4.1.4203.1.9.1.1
supportedControl: 2.16.840.1.113730.3.4.18
supportedControl: 2.16.840.1.113730.3.4.2
supportedControl: 1.3.6.1.4.1.4203.1.10.1
supportedControl: 1.2.840.113556.1.4.319
supportedControl: 1.2.826.0.1.3344810.2.3
supportedControl: 1.3.6.1.1.13.2
supportedControl: 1.3.6.1.1.13.1
supportedControl: 1.3.6.1.1.12
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.4203.1.11.3
supportedExtension: 1.3.6.1.1.8
supportedFeatures: 1.3.6.1.1.14
supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
supportedFeatures: 1.3.6.1.4.1.4203.1.5.2
supportedFeatures: 1.3.6.1.4.1.4203.1.5.3
supportedFeatures: 1.3.6.1.4.1.4203.1.5.4
supportedFeatures: 1.3.6.1.4.1.4203.1.5.5
supportedLDAPVersion: 3
supportedSASLMechanisms: GSSAPI
supportedSASLMechanisms: DIGEST-MD5
supportedSASLMechanisms: CRAM-MD5
entryDN:
subschemaSubentry: cn=Subschema

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups