[
https://issues.apache.org/jira/browse/TRAFODION-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904155#comment-15904155
]
Arvind Narain commented on TRAFODION-2531:
------------------------------------------
Searching a user works since the search password is used in the search
connection, but the authentication fails since the initial bind being done for
authentication connection is without user/password information.
ldapcheck --username=admin
INFO: Authentication request: externalUser admin, result 0 (Authentication
successful)
> Authentication fails if connecting to Apache Knox Demo ldap server
> ------------------------------------------------------------------
>
> Key: TRAFODION-2531
> URL: https://issues.apache.org/jira/browse/TRAFODION-2531
> Project: Apache Trafodion
> Issue Type: Bug
> Affects Versions: any
> Reporter: Arvind Narain
> Assignee: Arvind Narain
>
> Connection fails if authenticating using Apache Knox Demo ldap server or
> server that does not allow anonymous binds.
> tested via ldapcheck:
> ldapcheck --username=admin --password
> Password:
> INFO: Authentication request: externalUser admin, result 2 (Unexpected error
> returned from LDAP)
> Configuration file used:
> ====
> # One or more identically configured hosts must be specified here,
> # one name: value pair for each host.
> LDAPHostName:10.1.30.67
> # Default is port 389, change if using 636 or any other port
> LDAPPort:33389
> # Must specify one or more unique identifiers, one name: value pair for each
> UniqueIdentifier:uid=,ou=people,dc=hadoop,dc=apache,dc=org
> # If the configured LDAP server requires a username and password to
> # to perform name lookup, provide those here.
> LDAPSearchDN:uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
> LDAPSearchPwd:*****
> # If configured LDAP server requires TLS(1) or SSL (2), update this value
> LDAPSSL:0
> ====
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)