LDAP: Use a different value for uid

Infos:

  • Used Zammad version: 6.4.1-1740502001.e4fbacf7.centos9
  • Used Zammad installation type: package
  • Operating system: Red Hat Enterprise Linux 9.5
  • Browser + version: Firefox Latest

I am looking to do the same thing that was mentioned in this post for the same reason, but it appears that this process no longer works? I get the following error instead:

pry(main)> Setting.get('ldap_config')['user_uid']
NoMethodError: undefined method `[]' for nil:NilClass
from (pry):1:in `__pry__'

Our company does not use UIDs for AD accounts, so I am unable to sync users with LDAP, and would like to use samaccountname instead.

Thanks!

Description unclear. Any way.

Zammad natively does support samaccountname like many others. Whatever it detects first.

Hi Marcel, thanks for the input. To peel back the onion on my issue a bit (I apologize for hastily posting this):

I have set up LDAP within the system and it appears that it works well, however, I am noticing that a handful of users are failing to be added:
image

From some very surface-level research, I found that the accounts that are failing do not have the uid attribute and the ones that are being created do have the uid attribute, but this is merely a hunch. If you have any insight/places to look to see why these users are failing, that would be very helpful. Thank you!

1 Like

Bumping this, thanks.

Please don’t bump threads. It won’t speed up anything.