Active Directory sync not populating "jira-users" group

Current setting up AD sync with JIRA 6.4.6 and the population fo default groups doesn't happen when I do a full synchronise.

Set up is as follows (domain name has been sanitised:

  • Server Settings
    • Name: EU AD Sync
    • Directory Type: Microsoft Active Directory
    • Hostname: eu.tbs.mydomain.com
    • Port: 389
    • Username: eu\service-account-name
    • Password: As given
  • LDAP Schema
    • Base DN: ou=accounts,dc=eu,dc=TBS,dc=myDomain,dc=com
  • LDAP Permissions
    •  Read Only, With Local Groups
    • Default Group Memberships: jira-users
  • Advance settings
    • Synchronisation Interval (minutes): 15

With these setting, i can see all of my users being imported, along with their groups. But they are not being put into the "jira-users" group as I have requested.

Any ideas why this isn't happening ?

Update:

I am seeing this error in the log, however the sync is working correctly in terms that all LDAP groups and users being imported.

 

2015-06-24 15:42:58,576 atlassian-scheduler-quartz1.clustered_Worker-4 ERROR ServiceRunner     

[com.atlassian.scheduler.JobRunnerResponse] Unable to synchronise directory

    java.lang.NullPointerException

        at com.atlassian.jira.crowd.embedded.JiraDirectorySynchroniser.runJob(JiraDirectorySynchroniser.java:67)

        at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136)

        at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)

        at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80)

        at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:223)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

    2015-06-24 15:42:58,576 atlassian-scheduler-quartz1.clustered_Worker-4 ERROR ServiceRunner     

[atlassian.scheduler.core.JobLauncher] Scheduled job with ID 'com.atlassian.jira.crowd.embedded.JiraDirectoryPollerManager.10014' failed

    java.lang.NullPointerException

        at com.atlassian.jira.crowd.embedded.JiraDirectorySynchroniser.runJob(JiraDirectorySynchroniser.java:67)

        at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:136)

        at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:101)

        at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:80)

        at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:223)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

1 answer

1 accepted

This widget could not be displayed.

Hi,

This error being logged, it does not look like it's the cause of memberships not being set correctly.

Connecting to a LDAP Directory page says that:

Note: You can only assign LDAP users to local groups when 'External Management User Management' is not selected.

Start by checking this setting. Next, you might want to set debug logging for crowd under "Logging and Profiling" and see if you can find something in logs. 

Thanks Piotr, That article clarified the management process and actually helped make a decision about how we manage users. Keeping it switched to off is fine, and I can handle the creation of tickets via groups, which I thought I needed the jira-users populated for. Thanks again, Rob

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

176 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you