Hi Abhijit,

By default WSO2 ESB 4.0.3  has been shipped, to connect with LDAP based
user store.  Therefore,  LDAP server is internally started in port 10389
(You can change the port using "carbon.xml" file which can be found at
<ESB_HOME>/repository/conf directory).  If you disable the internal LDAP
server using "embedded-ldap.xml" file, WSO2 ESB could not connect to LDAP
based user store and you would see errors.  Therefore you need to disable
the LDAP user store from WSO2ESB. you could do it using "user-mgt.xml" file
which can be found at <ESB_HOME>/repository/conf directory.
If you just go through the "user-mgt.xml" file, you would see that
 "org.wso2.carbon.user.core.ldap.ApacheDSUserStoreManager" configuration has
been uncommented (enabled) by default. Therefore you can comment it
(disable) and uncomment (enable)
"org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager" configuration.  Then
WSO2 ESB would try to connected to JDBC based user store. By default WSO2
ESB is shipped with H2 database that contains default schema to connect.
Now, you would be able to start ESB with JDBC user store. (Without internal
LDAP).  Also you can connect WSO2ESB to any external LDAP/AD by
doing proper configurations in user-mgt.xml file.

Thanks,
Asela.


On Wed, Sep 11, 2013 at 2:23 AM, Abhijit Diwan <[email protected]> wrote:

> Hi WSO2 Team
>
> We are trying to pass the Information Security review of our WSO2 ESB
> implementation. Looks like they do not like LDAP server being listening on
> the 10389.
>
> Is there way to Disable LDAP server which starts by defualt when WSO2 ESB
> is started?
>
> I found "embedded-ldap.xml" file in conf directory and there is switch
> enable LDAP but when I set "enable" property to false I start getting
> errors about User mgmt.
>
> Is thee a clean way to remove the LDAP and USer management from WSO2 4.0.3?
>
> thanks
>
> Abhijit
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,
Asela

ATL
Mobile : +94 777 625 933
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to