On Tue, Nov 19, 2013 at 12:03 PM, Thayalan <[email protected]> wrote:

> FYI, WSO2 Storage Server product also using Embedded LDAP
>
> Thanks Thayalan for pointing this and got the original issue sorted by
changing the following entry

<Property name="UserEntryObjectClass">wso2Person</Property>

to

<Property name="UserEntryObjectClass">inetOrgPerson</Property>

Regards,
/Pavithra



> ~ Thayalan
>
>
> On Tue, Nov 19, 2013 at 11:57 AM, Pavithra Madurangi <[email protected]>wrote:
>
>> Hi all,
>>
>> Embedded apacheds LDAP is no longer shipped with products (except with
>> IS). So can we please remove ReadWriteLDAPUserStoreManager config for
>> embedded-apacheds LDAP [1] (the first user store manager configuration found
>> in user-mgt.xml)  from user-mgt.xml.
>>
>> This config is bit misleading and most of the time people misuse this as
>> the user store manager configuration for external read/write ldap user
>> store which leads to many errors including user adding errors. Since embedded
>> ldap in IS have separate configuration, we can safely remove
>> this configuration and avoid lot of confusion. This concern is reported
>> in [2]
>>
>> [1] <!-- Following is the default user store manager. This user store
>> manager is based on embedded-apacheds LDAP. It reads/writes users and roles
>> into the      default apacheds LDAP user store. Descriptions about each
>> of the following properties can be found in user management documentation
>> of the  respective product. In case if user core cache domain is needed
>> to identify uniquely set property <Property
>> name="UserCoreCacheIdentifier">domain</Property>
>>      Note: Do not comment within UserStoreManager tags. Cause, specific
>> tag names are used as tokens when building configurations for products. -->
>>  <!--UserStoreManager
>> class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
>>             <Property
>> name="TenantManager">org.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager</Property>
>>              <Property
>> name="ConnectionURL">ldap://localhost:389</Property>
>>             <Property
>> name="ConnectionName">cn=admin,dc=wso2,dc=com</Property>
>>             <Property name="ConnectionPassword">secret</Property>
>>             <Property name="Disabled">false</Property>
>>             <Property name="passwordHashMethod">SHA</Property>
>>             <Property
>> name="UserNameListFilter">(objectClass=person)</Property>
>>
>> <Property name="UserEntryObjectClass">wso2Person</Property>
>>              <Property
>> name="UserSearchBase">ou=Users,dc=wso2,dc=com</Property>
>>             <Property
>> name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
>>             <Property name="UserNameAttribute">uid</Property>
>>             <Property
>> name="PasswordJavaScriptRegEx">^[\S]{5,30}$</Property>
>>             <Property
>> name="UsernameJavaScriptRegEx">^[\S]{3,30}$</Property>
>>     <Property name="UsernameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$</Property>
>>             <Property
>> name="RolenameJavaScriptRegEx">^[\S]{3,30}$</Property>
>>             <Property
>> name="RolenameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$</Property>
>>             <Property name="ReadGroups">true</Property>
>>     <Property name="WriteGroups">true</Property>
>>     <Property name="EmptyRolesAllowed">true</Property>
>>             <Property
>> name="GroupSearchBase">ou=Groups,dc=wso2,dc=com</Property>
>>             <Property
>> name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
>>             <Property name="GroupEntryObjectClass">groupOfNames</Property>
>>             <Property
>> name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
>>             <Property name="GroupNameAttribute">cn</Property>
>>             <Property name="SharedGroupNameAttribute">cn</Property>
>>             <Property
>> name="SharedGroupSearchBase">ou=SharedGroups,dc=wso2,dc=com</Property>
>>             <Property
>> name="SharedGroupEntryObjectClass">groupOfNames</Property>
>>             <Property
>> name="SharedGroupNameListFilter">(objectClass=groupOfNames)</Property>
>>             <Property
>> name="SharedGroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
>>             <Property
>> name="SharedTenantNameListFilter">(objectClass=organizationalUnit)</Property>
>>             <Property name="SharedTenantNameAttribute">ou</Property>
>>             <Property
>> name="SharedTenantObjectClass">organizationalUnit</Property>
>>     <Property name="MembershipAttribute">member</Property>
>>     <Property name="UserRolesCacheEnabled">true</Property>
>>     <Property
>> name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=com</Property>
>>             <Property name="MaxRoleNameListLength">100</Property>
>>             <Property name="MaxUserNameListLength">100</Property>
>>             <Property name="SCIMEnabled">false</Property>
>>         </UserStoreManager-->
>>
>> [2] https://wso2.org/jira/browse/IDENTITY-1903
>>
>>
>> Regards,
>> /Pavithra
>> --
>> *Pavithra Madurangi*
>> Senior Software Engineer - QA.
>> WSO2 Inc.: http://wso2.com/
>> Mobile: +94777207357
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
> Thayalan Sivapaleswararajah
> Associate Technical Lead - QA
> Mob: +94(0)777872485
> Tel : +94(0)(11)2145345
> Fax : +94(0)(11)2145300
> Email: [email protected]
>
> *Disclaimer*: *This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.*
>
>


-- 
*Pavithra Madurangi*
Senior Software Engineer - QA.
WSO2 Inc.: http://wso2.com/
Mobile: +94777207357
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to