Hi
Confluence Sync with AD is working correctly.
However, every time an AD user attempts to log into Confluence they fail to authenticate.
Logfile error states :
'AD User' tried to login but they do not have USE permission or weren't found. Deleting remember me cookie.
Any ideas ???
Hi @Amir Antonir,
here you have another post with this problem. https://community.atlassian.com/t5/Questions/Jira-and-Confluence-Authentication-problems/qaq-p/324770
Hope it works!
Thanks
But the post above has no solution ...
it indicates a solution was provided by Atalassian support but the solution is not available
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Amir Antonir,
What I would check:
If everything is wrong, I recommend you to open a support ticket to Atlassian.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again
All checked and connector re-created citrectly
hoping someone in the community can assist
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how are you connected confluence to AD ? over https? If so, certs needs to be imported into java's keystore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No need for certs, standard internal LDAP (not over SSL) connector
As stated, connectivity and synchronisation works well.
However, AD users (that are members of the designated group synch'ed with Confluence)AR e not able to login.
ANY IDEAS ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, what is the impact of changing the order of the directories ?
If I push the internal directory below the AD entry, will I still be able to authenticate with local users ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amir,
Regarding directory order: Managing Multiple Directories
Effect of Directory Order
This section summarizes the effect the order of the directories will have on login and permissions, and on the updating of users and groups.Login
The directory order is significant during the authentication of the user, in cases where the same user exists in multiple directories. When a user attempts to log in, the application will search the directories in the order specified, and will use the credentials (password) of the first occurrence of the user to validate the login attempt.Permissions
Aggregating membership (default)
The directory order is not significant when granting the user permissions based on group membership as Confluence uses an aggregating membership scheme by default. If the same username exists in more than one directory, the application will aggregate (combine) group membership from all directories where the username appears.Example:
You have connected two directories: The Customers directory and the Partners directory.
The Customers directory is first in the directory order.
A username jsmith exists in both the Customers directory and the Partners directory.
The user jsmith is a member of group G1 in the Customers directory and group G2 in the Partners directory.
The user jsmith will have permissions based on membership of both G1 and G2 regardless of the directory order.
Is it possible that the AD users do not have Global Permission to use Confluence? A symptom would be if they can log in but see a "not permitted" page after authenticating.
Aggregating membership applies to permissions but not initial login. If the internal directory is on top and the user is in that directory without belonging to the group that has the global permission to use Confluence then they will see the Not Permitted screen.
Hope it helps!
Ann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ann,
Thanks for your reply.
no,i cannot see the AD users post a SUCCESSFUL AD sync (which is the primary problem I am seeking assistance with..)
Thanks for your note re directory order.
To clarify, if I only have 1 external directory (eg.. AD) and the internal confluence directory, as long as the same we do not have duplicate usernames (i.e. same username in both directories) , either directory will be able to authenticate their respective users , regardless of order ?
It is very possible that the AD users do not have global permissions, but given I can see them once the sync is completed, I am not sure how one can apply the relevant permissions to them....
Your assistance is appreciated !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To clarify, if I only have 1 external directory (eg.. AD) and the internal confluence directory, as long as the same we do not have duplicate usernames (i.e. same username in both directories) , either directory will be able to authenticate their respective users , regardless of order ?
Yes, when authenticating the user it first checks the user in first directory (order #1) and then if the user does not exist or found then it will go to next directory to authenticate the user. If there are duplicate users, then it authenticates the user in first order directory and verifies user name/password to authenticate. It won't go to next directory since the user was found in first directory
Typically, confluence users will be part of confluence-user group in order to see the content. Either you can make the user part of this group or if you have any custom group that contains all the users then make that group "Can Use" permissions under Global Permissions section. Refer below link;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update
AD Groups groups are now successfully showing in Confluence but AD users, members of these groups, are not..
Any ideas ??
LDAP filters ??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, LDAP filters and DNs. Please see this article for your user filter: How to write LDAP search filters and this guide for other settings: Connecting to an LDAP Directory such as:
Base DN
The root distinguished name (DN) to use when running queries against the directory server.
Examples:
o=example,c=com
cn=users,dc=ad,dc=example,dc=com
- For Microsoft Active Directory, specify the base DN in the following format:
dc=domain1,dc=local
. You will need to replace thedomain1
andlocal
for your specific configuration. Microsoft Server provides a tool calledldp.exe
which is useful for finding out and configuring the the LDAP structure of your server.Additional User DN
This value is used in addition to the base DN when searching and loading users. If no value is supplied, the subtree search will start from the base DN.
Example:
ou=Users
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.