Subscribe
pwl Former NetApp Employee
Accepted Solution

active directory auth: cannot connect to localhost:389

hello folks

i'm getting a a "connection refused" error trying to use active directory authentication.

here's an extract from the log:

2012-02-07 09:40:30,617 EST INFO  [com.netapp.wfa.ldap.LdapLoginModule] (http-0.0.0.0-443-1) Looking up user 'aadc\peter

.lees.admin' in LDAP servers

2012-02-07 09:40:31,647 EST ERROR [com.netapp.wfa.ldap.LdapLoginModule] (http-0.0.0.0-443-1) Failed to find user 'aadc\p

eter.lees.admin' using LDAP servers:

* ldap:/// - Connection refused: connect (localhost:389)

com.netapp.wfa.ldap.LdapException: Failed to find user 'aadc\peter.lees.admin' using LDAP servers:

* ldap:/// - Connection refused: connect (localhost:389)

        at com.netapp.wfa.ldap.LdapWrapper.findUserInLdap(LdapWrapper.java:103)

        at com.netapp.wfa.ldap.LdapLoginModule.validatePassword(LdapLoginModule.java:68)

[...]

is there some service that should be running on this windows 2008R2 server?

p

Re: active directory auth: cannot connect to localhost:389

Hi Peter,

Are you sure the LDAP-server is correctly configured in WFA and reachable (firewall etc.)? It's probably falling back to localhost because the LDAP server isn't correctly configured?

Regards

Hendrik

pwl Former NetApp Employee

Re: active directory auth: cannot connect to localhost:389

as per the installation & setup guide v1.4 (https://communities.netapp.com/docs/DOC-12839), the LDAP server is set to  ldap:///

Re: active directory auth: cannot connect to localhost:389

Indeed there was a typo in the install doc .it should be

LDAP server URI formatted as:

ldap://<ldap-server-address>[:port]

Fixed in 1.1 setup & install doc