Open sudhagarc opened 6 years ago
@sudhagarc -- Please can you provide you LDAP AuthConfig(Make sure to mask sensitive information in it). Just wanted to check if there is any syntactical error which is causing the issue.
Can you also verify that on your GoCD server ldap.thefacebook.com
is resolved to the right host IP address?
@bdpiparva Thanks for prompt response. Please find the details below. Btw, I have set log level to DEBUG for ldap plugin, but didn't get additional information in logs to provide here.
<authConfig id="auth-id-fb-ldap" pluginId="cd.go.authentication.ldap">
<property>
<key>Url</key>
<value>ldaps://ldap.thefacebook.com:636</value>
</property>
<property>
<key>SearchBases</key>
<value>OU=FacebookAdmins,DC=TheFacebook,DC=com</value>
</property>
<property>
<key>ManagerDN</key>
<value>CN=#MASKED#,OU=#MASKED#,DC=TheFacebook,DC=com</value>
</property>
<property>
<key>Password</key>
<encryptedValue> #MASKED# </encryptedValue>
</property>
<property>
<key>UserSearchFilter</key>
<value>(sAMAccountName={0})</value>
</property>
<property>
<key>UserLoginFilter</key>
<value>(sAMAccountName={0})</value>
</property>
<property>
<key>DisplayNameAttribute</key>
<value>displayname</value>
</property>
<property>
<key>EmailAttribute</key>
<value>mail</value>
</property>
</authConfig>
Confirmed that hostname resolves to right host IP address. FWIW, ldapsearch tool using the same hostname and similar parameters on GoCD server works fine.
@bdpiparva Just checking whether there is any update on the above issue. I appreciate it.
I'm running into the following error when I do "Check connection" for my corporate LDAP authentication. Proper CA certs are installed. For e.g., ldapsearch on the same host with similar parameters works fine. I'm not sure whether I'm overlooking something. Stack trace is attached too. I would appreciate any support in resolving the issue. Please feel free to let me know if additional information is required.