Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Managed to enter 2 IPs into the directory configuration and now get a stack trace when click on conn

Hi There,

I was looking at ways to get crowd to connect to 2 ldap servers and i tried to put both ips of my ldap servers into the connector part of directory. It accepted the 2 ips and continues to work, but when i click on connecter in the specific directory, i get a stack trace with the following error:

java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in authority at index 7: ldap://10.224.0.5 10.224.0.15:389

as you can see, it's the 2 ips that i entered with a space. how can i reset that configuration so that it only uses the first ip? Not sure which xml file contains the configuration so that i can fix the issue?

1 answer

0 votes

It's in the database, but you should be able to change it by editing the connector.

You'll need to put in a valid address for a single ldap server, without a protocol named.

Thanks Nic,

Where can i change it? if on the webpage i click on the connector, it immediately gives me a stack trace:-

java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in authority at index 7: ldap://10.224.0.5 10.224.0.15:389

So i cannot edit the connector as i cannot get to it. Or am i missing something?

 

thanks

NP worked it out, The hint that this configuration is in the database was useful!

Found a table in the database that had the info i needed. cwd_directory_attribute

found the line that was bad and updated it using the following:

update cwd_directory_attribute

Set attribute_value = 'ldap://10.224.0.5:389'

where directory_id= 557057 and attribute_name = 'ldap.url'

 

the directory_id is unique to the specific directory, and each directory has a 'ldap.url', so set this back and it worked.

thanks

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

239 views 12 14
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you