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

How to move a user from internal directory to LDAP directory in Confluence with API

Hi,

How is it possible to move a user from a directory (internal) to another (LDAP) in Confluence with using a confluence API.

I wrote a Python program using xmlrpc api to create a user and it has been created into the internal directory (should be the default one with addUser xmlrpc method). But now I need to move it to the LDAP one (because authentication with password, etc).

Thanks for your help,

Fabien

2 answers

1 accepted

0 votes
Answer accepted
Ann Worley Atlassian Team Jul 07, 2017

The best way to add a user to an LDAP directory is via the LDAP tools. You may add a user with the same name as the internal user to your LDAP directory and providing the LDAP directory is higher in the User Directory hierarchy, the LDAP user will be "seen" as the same user. Please see Managing Multiple Directories for the effects of directory order on group memberships and logins.

Please check out the different types of LDAP User Directories to make sure you configure the one that is best for your use case: The difference between connector and delegated LDAP user directories

Many thanks for your reply Ann,

I moved up the LDAP directory in the first position and that makes the trick.

 

Best,

Fabien

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Portfolio for Jira

Program managers, we need your help! We want to learn about how you plan work for a team of teams

Hi community members, My name is Erika and I’m a product manager at Atlassian. We’re currently investigating how teams are planning work at the program level. We understand that every team in a tea...

146 views 0 5
Join discussion

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