ah Ic I thought that only works for LDAP. cool I'll use that.

thanks,
/Nuwan


On Wed, Mar 27, 2013 at 9:50 PM, Hasini Gunasinghe <[email protected]> wrote:

> Hi Nuwan,
>
> It is the "ReadOnlyLDAPUserStoreManager" that you need to use for read
> only access to AD.
>
> Thanks,
> Hasini.
>
> On Wed, Mar 27, 2013 at 9:08 PM, Nuwan Bandara <[email protected]> wrote:
>
>> Hi Guys,
>>
>> My configurations is,
>>
>> <UserStoreManager
>> class="org.wso2.carbon.user.core.ldap.ActiveDirectoryUserStoreManager">
>>             <Property name="ReadOnly">true</Property>
>>             <Property name="defaultRealmName">WSO2.ORG</Property>
>>             <Property name="DomainName">bar.com</Property>
>>             <Property name="Disabled">false</Property>
>>
>>             <Property name="kdcEnabled">false</Property>
>>             <Property name="ConnectionURL">ldaps://10.100.3.131:636
>> </Property>
>>             <Property
>> name="ConnectionName">CN=#####,CN=Users,DC=WSO2,DC=Com</Property>
>>             <Property name="ConnectionPassword">#####</Property>
>>     <Property name="passwordHashMethod">PLAIN_TEXT</Property>
>>             <Property
>> name="UserSearchBase">CN=Users,DC=WSO2,DC=Com</Property>
>> ...........................
>>
>>
>> Even though the readonly property is true, I can add new users to the AD.
>> I am testing in multiple user store mode with AD as the secondary store.
>>
>> Regards,
>> /Nuwan
>>
>> --
>> *Thanks & Regards,
>>
>> Nuwan Bandara
>> Associate Technical Lead & Member, MC, Development Technologies
>> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763
>> 9629
>> *
>> <http://www.nuwanbando.com/>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Thanks & Regards,

Nuwan Bandara
Associate Technical Lead & Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 9629
*
<http://www.nuwanbando.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to