Hi Victor, You configuration is having typo.
<UserStoreManager > class="org.wso2.carbon.user.core.ldap.LDAPUserStoreManager"> > <Property name="ConnectionURL">xxxxxxxxx</Property> > <Property name="ConnectionName">cn=admin,dc=domain,dc=cat</Property> > <Property name="ConnectionPassword">yyyyyy</Property> > <Property name="UserSearchBase">dc=fje,dc=cat</Property> > <Property name="UserNameListFilter">(objectClass=inetOrgPerson)</Property> > <Property name="UserNameAttribute">mail</Property> > <Property name="ReadLDAPGroups">false</Property> > <Property name="GroupSearchBase">dc=domain,dc=cat</Property> > <Property name="GroupSearchFilter">(objectClass=groupOfNames)</Property> > <Property name="GroupNameAttribute">ou</Property> > <Property name="MembershipAttribute">member</Property> > </UserStoreManager> > > This might be the reason for null result. Instead of the admin in your ConnectionName you need to have the user defined in user-mgt.xml in your LDAP UserSearchBase with appropriate UserNameFilter. Lahiru Lahiru > > i get the error : > > Carbon cannot function without an Admin Username > {org.wso2.carbon.user.core.ldap.LDAPUserStoreManager} > [2010-07-15 14:02:41,741] ERROR - Cannot create > org.wso2.carbon.user.core.ldap.LDAPUserStoreManager . Error is : null > {org.wso2.carbon.user.core.common.Defa > ultRealm} > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown > Source) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at > org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:149) > at > org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:102) > at > org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:68) > at > org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:185) > at > org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:89) > at > org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:28) > > > > Is not possible to identify admin user and standard users without same > attribute name? Carbon is trying to user the UserNameAttribute on the LDAP > connection? > > Thanks in advance > > -- > Víctor Álvarez > Incoming IT www.incomingIT.com > www.twitter.com/incomingIT > Escribiendo en y sobre Accesibilidad Web: > http://accesibilidad.blogspot.com > > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Lahiru Gunathilake Senior Software Engineer - WSO2 Inc. www.wso2.com Email:lah...@wso2.com <email%3alah...@wso2.com> Blog: www.lahiru.org Mobile: +94716381143 Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev