user1662039
user1662039

Reputation: 329

Configuring LDAP server in WSO2 API1.7

I am trying to configure LDAP server in the WSO2 api manager so that I would be able to login with my LDAP username.
I made the configurations as per the docs available and I do not get any issues during server startup but when I try to login with the username, it fails to log me in and gives the error as below in the console :

 WARN - CarbonAuthenticationUtil Failed Administrator login attempt 'sm38553[-1234]' at [2016-03-31 15:51:42,564+0530] from IP address 10.42.47.196
[2016-03-31 15:51:42,566]  WARN - AuthenticationHandler Illegal access attempt at [2016-03-31 15:51:42,0566] from IP address 10.42.47.196 while trying to authenticate access to service LoggedUserInfoAdmin
[2016-03-31 15:51:42,567] ERROR - AUDIT_LOG Illegal access attempt at [2016-03-31 15:51:42,0566] from IP address 10.42.47.196 while trying to authenticate access to service LoggedUserInfoAdmin

Upvotes: 1

Views: 111

Answers (1)

Abimaran Kugathasan
Abimaran Kugathasan

Reputation: 32458

If you want to use different username for super admin, you have to change it in user-mgt.xml file

<Configuration>
     <AddAdmin>true</AddAdmin>
     <AdminRole>admin</AdminRole>
     <AdminUser>
       <UserName>abimaran</UserName>
       <Password>abimaran</Password>
     </AdminUser>
     <EveryOneRoleName>everyone</EveryOneRoleName> <!-- By default users in this role sees the registry root -->
     <Property name="dataSource">jdbc/WSO2CarbonDB</Property>
</Configuration>

Upvotes: 1

Related Questions