SilleBille / pki

Dogtag PKI Issues should be reported to the Dogtag PKI Pagure Issues site
https://pagure.io/dogtagpki/issues
GNU General Public License v2.0
1 stars 1 forks source link

Unable to configure sharedToken plugin in console when CA is enabled with nuxwdog #418

Closed SilleBille closed 4 years ago

SilleBille commented 5 years ago

This issue was migrated from Pagure Issue #2924.Originally filed by mharmsen on 2018-02-06

Unable to configure sharedToken plugin in pki console when CA is enabled with nuxwdog.

Steps to Reproduce:

1. Install CA
2. Enable nuxwdog
3. Using pki-console add sharedToken plugin
Configuration tab -> Authentication -> Click Add -> Select SharedToken -> next
Authentication InstanceID=Sharedtoken
shrTokAttr=shrTok
ldap.ldapconn.host=ccnontms-1.rhcs93.com
ldap.ldapconn.port=389
ldap.ldapconn.secureConn=false
ldap.ldapauth.bindDN=cn=Directory Manager
password=SECret.123
ldap.ldapauth.authtype=BasicAuth
ldap.basedn=ou=People,dc=example,dc=org

Actual results:

pki console shows this error:
Could not connect to LDAP server host ccnontms-1.rhcs93.com port 389 Error netscape.ldap.LDAPException: error result (49)

LDAP access logs has this:
[05/Feb/2018:16:24:20.350410049 -0500] conn=37 op=0 BIND dn="cn=Directory Manager" method=128 version=3
[05/Feb/2018:16:24:20.350494682 -0500] conn=37 op=0 RESULT err=49 tag=97 nentries=0 etime=0.0000235743 - Invalid credentials

Expected results:

Configuring sharedToken plugin should be successful when nuxwdog is enabled.