After AD/LDAP Sync, users are not created

Summary
I am deploying a test Mattermost service on Ubuntu 22.04. I also installed on another computer an OpenLDAP Server, because I want to be able to login with the LDAP users credentials via AD/LDAP Sync.

Access with admin account works, and after filling the AD/LDAP requiring data, the synchronizing reads all the users and groups registered in the LDAP Server, when I check groups, they are ready to be edited, but on the users section, the users are not displayed.

I am using Mattermost v10.3.1.

I tried everything I found, changing the “uid” attribute for “sAMAccountName” but it hasn’t changed the result. I dont know what to do.

This is the error log I got:

{“timestamp”:“2025-01-15 09:11:48.567 +01:00”,“level”:“info”,“msg”:“Found users with LDAP configured”,“caller”:“ldap/ldap_sync_job.go:258”,“worker_name”:“EnterpriseLdapSync”,“job_id”:“5xxw1tgs8tyd9y1u1m45qrytir”,“job_type”:“ldap_sync”,“job_create_at”:“Jan 15 08:11:34.901”,“num_ldap_users”:0}

This is what I could check, the users are not being created, but the sync works fine. I can paste the extended log if needed.

I hope something knows how to fix this issue, thanks in advance.

The Mattermost user account isn’t actually created until the first time the user logs on.

1 Like