Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Kavitha Subramaniyam
Hi Darshana/ Maduranga, I have been checked this scenario in kernal rc2 pack (wso2is-5.1.0-kernel-4.2.0-SNAPSHOT) and I could not reproduce the same as it is. Now, user can login to console either with RW/read only domains[1] or without domain. So, can I assume that the user (login permission gra

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Darshana Gunawardana
User: userkavirw2 NOT in role: rolekavirw [2015-10-14 13:25:46,039] DEBUG {org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager} - RWLDAP.COM/userkavirw2 user is not in role : rwldap.com/rolekavirw So even you added userkavirw2 user to rolekavirw role,

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Kavitha Subramaniyam
Hi Darshana, please find the log for login with RW domain. [2015-10-14 13:25:46,003] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Authenticating user userkavirw2 [2015-10-14 13:25:46,004] DEBUG {org.wso2.carbon.user.core.ldap.ReadOnlyLDAPUserStoreManager} - Cache hit. U

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Darshana Gunawardana
And it seems you do not pr used the domain name when authenticating in the last case. Can you login providing the domain of the RW userstore and share the log. On Wednesday, 14 October 2015, Darshana Gunawardana wrote: > There seems to issue with domain handling as per following log, > > DEBUG {

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Darshana Gunawardana
There seems to issue with domain handling as per following log, DEBUG {org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager} - ROLDAP.COM/userkavirw2 user is not in role : rwldap.com/rolekavirw Please raise a JIRA. Thanks, Darshana On Wednesday, 14

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Darshana Gunawardana
On Wednesday, 14 October 2015, Maduranga Siriwardena wrote: > Hi Kavitha, > > Have you assigned login permission to the user? > As Maduranga mentioned, user "http://rwldap.com/userkavirw3"; doesn't seems to have given login permission caused this behavior. Thanks, > > Thanks, > Maduranga. > >

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-14 Thread Kavitha Subramaniyam
Hi Maduranga, Yes, I have created a role with admin permission in R/W user store and assigned to relevant user (here role name: rolekavirw ; user name: userkavirw2). check the debug log[1] [1] [2015-10-14 12:33:08,494] DEBUG {org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager} - SELECT * FROM

Re: [Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-13 Thread Maduranga Siriwardena
Hi Kavitha, Have you assigned login permission to the user? Thanks, Maduranga. On Wed, Oct 14, 2015 at 10:09 AM, Kavitha Subramaniyam wrote: > Hi IS team, > > I have configured both R/W and Read only LDAP secondary user store manager > by using same ldap connection and I could not be able to l

[Dev] [DEV] [IS] [user store] Login failed for user from secondary store when same ldap used for R/W & Read only

2015-10-13 Thread Kavitha Subramaniyam
Hi IS team, I have configured both R/W and Read only LDAP secondary user store manager by using same ldap connection and I could not be able to login via user created under RW ldap user store. But note that I could view the same user under both secondary store's domain (Users & Roles -> List -> se