Hi, I tried roller-webapp-5.1.0-SNAPSHOT with LDAP Auth. First <authentication-provider ref="ldapAuthProvider"/> must be enabled to make LDAP work, which is above <!-- Uncomment & customize below beans if using LDAP --> There should be a comment here to enable the authentication-provider line !! I have enabled both <authentication-provider user-service-ref="rollerUserService"/> <authentication-provider ref="ldapAuthProvider"/> because the roller admin cannot be in our LDAP. Does this work, enabling both? Anyway, the admin user can log in. An LDAP user gets "The administrator of this site has disabled user registrations at this time. Please contact the system administrators if you think this is incorrect." Then I recreated the database. Now I can log in via LDAP, but a second user can't. The log for the second user: DEBUG 2014-06-03 14:41:35,142 AbstractAuthenticationProcessingFilter:successfulAuthentication - Authentication success. Updating SecurityContextHolder to contain: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@1c3a2503: Principal: org.springframework.security.ldap.userdetails.LdapUserDetailsImpl@51c9fbaa: Dn: cn=***********; Username: *******; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; CredentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: editor; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@0: RemoteIpAddress: *********; SessionId: **********; Granted Authorities: editor
but in the browser he is shown the user disabled message from above. I have users.registration.enabled=true What can I do? Thanks, Juergen
