Rocket.Chat's Community Open Call 🎤 Jan 19th, 2022 Join us!

Import user's "nickname" from"Department" of Active Directory user

Description

Please tell me how to import user’s “nickname” from"Department" of Active Directory user.

Server Setup Information

  • Version of Rocket.Chat Server: 3.18.2
  • Operating System: CentOS 7
  • Deployment Method: docker-compose
  • Number of Running Instances: 1
  • DB Replicaset Oplog: on
  • NodeJS Version: v12.22.1
  • MongoDB Version: 4.0.22
  • Proxy: nginx
  • Firewalls involved: no

Any additional Information

I tried to set LDAP → Sync / Import → User Data Field Map {“displayName”:“name”, “mail”:“email”, “Department”:“nickname”}.

I20211213-03:36:02.152(0) server.js:204 LDAPSync ➔ debug user attribute not whitelisted: nickname

Hi! welcome to our forums!

Do you want to set the user name as the department?

Or the other way around? This was not clear to me, sorry.

Also, this function was moved to EE on latest versions.

You can always use our APIs for advanced data mapping and some scripting magick :wink:

Thank you.
I gave up LDAPsync, but I could change nickname by API.