Forum Discussion

bswetman's avatar
bswetman
Occasional Contributor
12 years ago

[CodeReviewer] How can admin enable "Create New User" to manually create user accounts when configured with LDAP?


How can admin enable "Create New User" to manually create user accounts when configured with LDAP?


 


When Collaborator is configured with LDAP authentication, by default, the "Create New User" function is disabled. So when a user logs in for the first time, a user account is created for them automatically in Collaborator to store their user preferences.


 


But sometimes, the admin wants to control this process and manually create each user account instead. To enable the Create New User function:


 


1. Stop the Collaborator service.


2. Edit <MyCollabInstallDir>/tomcat/conf/Catalina/localhost/ROOT.xml


3. Find: <Parameter description="Is the Code Collaborator database used for authentication?" name="collaborator-authentication" override="false" value="false"/>


4. Change to value="true"


5. Save file and restart the service.


 


Important notes:


a) When editing your ROOT.xml file, make sure to stop the Collaborator service first. And when saving backups, make sure to name it something like .bak since you can only have one file in the localhost directory with the .xml extension, that is ROOT.xml.


 


b) Collaborator will not automatically create accounts when users login so the admin (you) must create user accounts manually.


 


c) The "change password" function in Collaborator will be visible but since you're authenticating through LDAP, this function will not work for the users. So let your users know that they must change their password directly through the LDAP server, outside of Collaborator.


 


d) You will want to set Admin > General Setting > Global "Create User" to "Hide". This will hide the "Create User" button from the main login screen.

 

No RepliesBe the first to reply