Forum Discussion

Hannah's avatar
Hannah
SmartBear Alumni (Retired)
14 years ago

How do I change administrative control in LDAP?

Here's one from the "How Do I...?" section in our manual. With LDAP, the special administrative account is a named user instead of "admin" as with Internal authentication. This makes it a bit trickier to change the account owner, so how do I do it?
  • Hannah's avatar
    Hannah
    SmartBear Alumni (Retired)

    To change the special system administrator assignment, go to the ROOT.xml configuration file at $INSTALLDIR/tomcat/conf/Catalina/localhost/ROOT.xml. Near the bottom of that file is a line:


       <Parameter description="The name of the Code Collaborator system administrator who is always allowed to log in." name="system-administrator" override="false" value="admin"/>


    Change the value to the login name you'd like to set the account to:


       <Parameter description="The name of the Code Collaborator system administrator who is always allowed to log in." name="system-administrator" override="false" value="XXXXXXXXXXXX"/>


    where XXXXXXXXXXXX is the login name of the System Administrator. Then restart the service.