Hello

I've been trying to get the Appfuse generated webapp to authenticate users
against our AD server. I read all related postings in this forum, seems like
for all users the solution presented here works:
http://appfuse.org/display/APF/LDAP+Authentication

Not for me however. I have been getting fewer and fewer exceptions since I
started but this last one stumps me:
"[myproject] WARN [btpool0-1] LoggerListener.onApplicationEvent(60) |
Authentication event AuthenticationFailureBadCredentialsEvent: daniel.g;
details: [EMAIL PROTECTED]:
RemoteIpAddress: 127.0.0.1; SessionId: sw0bku8q9w30; exception: Bad
credentials
I get this for any user/password I enter in the login screen.

These are my settings, I have used them with an LDAP browser and they work:

<bean id="initialDirContextFactory"
class="org.acegisecurity.ldap.DefaultInitialDirContextFactory">
       <constructor-arg
value="ldap://DC01:389/ou=Internal_Users,DC=main,DC=mycompany,DC=corp"/>
       <property name="managerDn" value="CN=bind
user,CN=Users,DC=main,DC=mycompany,DC=corp"/>
       <property name="managerPassword" value="password" />
</bean>

The "ldapProvider" bean is unchanged from the example.

I tried not using a "managerDN' but our server does not accept anonymous
user binding.
I'm using Spring MVC model.

Any help would be appreciated.

Thanks

-- 
View this message in context: 
http://www.nabble.com/Getting-LDAP-Bad-Credentials-exception...-tf4643726s2369.html#a13264210
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to