Confluence Docs 3.0 : I am having a problem with Confluence LDAP integration This page last changed on Feb 24, 2009 by ggaskell. Find a solution to one of these problems below: I just added LDAP integration, why can't I login using my original account? Why do my LDAP users sees 'Not Permitted' screens when they login? Confluence fails to start with error 'Error creating bean with name 'userManager' defined in class path resource [atlassianUserContext.xml]'? Editing a user under Administration -> Manage Users throws an error 'org.apache.velocity.exception.MethodInvocationException' After setting up LDAP, I cannot see LDAP users or groups from the Confluence user or group browser I cannot see an LDAP/AD group in Confluence I cannot get my LDAP to work, where can I get technical support? ## I just added LDAP integration, why can't I login using my original account? If there is an LDAP user with the same username as your administrator account, you must now use their password to login. LDAP logins override internal logins. ## Why do my LDAP users sees 'Not Permitted' screens when they login? To login, the user must be a member of one or more groups that have been granted 'Can Use' permission from the Administration -> Global Permissions -> Group Permissions. ## Confluence fails to start with error 'Error creating bean with name 'userManager' defined in class path resource [atlassianUserContext.xml]'? Your atlassian.xml file may contain filters with characters that must be escaped from XML. Check here for details. ## Editing a user under Administration -> Manage Users throws an error 'org.apache.velocity.exception.MethodInvocationException' If you see an error: "org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isUserDeactivated' in class com.atlassian.confluence.user.actions.ViewUserAction threw exception class java.lang.NullPointerException : null" You should open \confluence\WEB-INF\classes\atlassian-user.xml and check that your Hibernate Repository is not wrapped in a comment tag (<!-- and -->). The line to uncomment is: <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" /> ## After setting up LDAP, I cannot see LDAP users or groups from the Confluence user or group browser Are your users or groups located in subtrees beneath the directory returned by the search filter? If so, you may need to add `<usersearchalldepths>TRUE</usersearchalldepths>` or `<groupsearchalldepths>TRUE</groupsearchalldepths>` to your `atlassian-user.xml` See Map LDAP Users and Groups for details. ## I cannot see an LDAP/AD group in Confluence Is the group in a subtree? If so, you will need to edit atlassian-user.xml and add a `groupSearchAllDepths=true` parameter to the LDAP repository to set Confluence to search subtrees of the base group namespace. See Map LDAP Users and Groups for details. ## I cannot get my LDAP to work, where can I get technical support? See Requesting External User Management Support for information on logging a support request.

Document generated by Confluence on Nov 05, 2009 23:34