[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ldapsearch -- troubles connecting to LDAP server (SASL config?)



Hello Debianistas!

We're a bit new to the LDAP world and are having trouble configuring a
connection to the LDAP server.

Using "ldapsearch" as a diagnostic tool, here's what we are getting:

# ldapsearch -h 10.3.1.37
SASL/EXTERNAL authentication started
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)

So we need a username/password pair to connect then, right? We've
figured out how to specify the password, but not a username:

# ldapsearch -x -h 10.3.1.37  -W -X u:ldapuser
ldapsearch: -X incompatible with authentication choice

# ldapsearch -x -h 10.3.1.37  -W -U ldapuser
ldapsearch: incompatible previous authentication choice

As you can see, the manpage seems to be assuming some background
information we don't know yet. :) And googling turned up some
questions with overlap to ours here, but the answers don't appear to
be posted in their entirety.

:(

Any pointers welcome -- thanks!


# ldapsearch -x -h 10.3.1.37  -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object
text: 0000208D: NameErr: DSID-031001A8, problem 2001 (NO_OBJECT), data 0, bes
 t match of:
        ''

# numResponses: 1



-- 
will trillich
"Tis the set of the sails / And not the gales / That tells the way we
go." -- Ella Wheeler Wilcox


Reply to: