Download [#IDENTITY-2384] [Secondary user store

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
[IDENTITY-2384] [Secondary user store - read/write ldap] "Cannot add user
store. Domain name already exists." when trying to edit the user store Created:
13/May/14 Updated: 26/Jul/15 Resolved: 29/Jan/15
Status:
Project:
Component/s:
Affects
Version/s:
Fix Version/s:
Resolved
WSO2 Identity Server
user-mgt
5.0.0-Beta
Type:
Reporter:
Resolution:
Labels:
Remaining
Estimate:
Time Spent:
Original
Estimate:
Environment:
Bug
Pavithra Madurangi
Fixed
None
Not Specified
Severity:
Estimated
Complexity:
Attachment
License:
Critical
Moderate
5.1.0-M1
Priority:
Assignee:
Votes:
Highest
Darshana Gunawardana
0
Not Specified
Not Specified
Operating System : Linux 3.11.0-17-generic x86_64 GNU/Linux
Java Version/Java VM : java version "1.7.0_03"/Java HotSpot(TM) 64-Bit
Server VM (build 22.1-b02, mixed mode)
Packs : WSO2 IS 5.0.0 beta 12th May
(https://svn.wso2.org/repos/wso2/scratch/IS-5.0.0/12-05-2014/nightlybuild/wso2is-5.0.0.zip)
DBMS/DBMS Driver :Mysql
Browser : Chrome Version 33.0.1750.117
Setup : Standalone
I agree to grant a license to WSO2 for this work for inclusion in WSO2
works as per the WSO2 Contributor License Agreement and the Apache
License 2.0
Test cases added: Not-applicable
Description
 Added open ldap as secondary user store (Read/write ldap)

Edit it

Following error is thrown
"Cannot add user store. Domain name already exists."
Comments
Comment by Suresh Attanayake [ 14/May/14 ]
Hi Pavithra,
Have you enabled dep-sync in this case ?
Comment by Suresh Attanayake [ 14/May/14 ]
Tested with and without DepSync , cannot reproduce.
Comment by Pavithra Madurangi [ 14/May/14 ]
Hi Suresh,
Tested without dep sync and this only happens for read/write ldap user store .. Error does not appear with jdbc u
Comment by Suresh Attanayake [ 20/Aug/14 ]
This is observed in one of the production environments.
Comment by Darshana Gunawardana [ 20/Aug/14 ]
ERROR
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - Cannot add user store. Domain namealready ex
{org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver}
org.wso2.carbon.user.api.UserStoreException: Cannotadd user store. Domain name already exists.
at org.wso2.carbon.user.core.config.XMLProcessorUtils.isValidDomain(XMLProcessorUtils.java:75)
at
org.wso2.carbon.identity.user.store.configuration.UserStoreConfigAdminService.addUserStore(UserStoreConfig
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment by Darshana Gunawardana [ 20/Aug/14 ]
Done a fix and created a pull request : https://github.com/wso2-dev/carbon-identity/pull/9
Needed to have round of testing before merging.
Comment by Darshana Gunawardana [ 29/Jan/15 ]
commited in 6642b2e4c1e4d64bab8aa40ebf77961696b096de
Generated at Fri May 12 18:08:31 IST 2017 using JIRA 7.2.2#72004sha1:9d5132893cc8c728a3601a9034a1f8547ef5c7be.