Hello everyone,
We want to use the LDAP attribute "uid" (uid=firstnamelastname) as the login name. We don't want to use the email address as the login name.
The LDAP settings have been set up accordingly for login with the email address. That works too.
But what needs to be set so that the LDAP attribute uid can be used as the login name?
What should the ldap_adaptor.cfg look like?
Does somebody has any idea?
Our current ldap_adaptor.cfg;
ldap_host=ldap://example.com:389
ldap_bind_user=cn=admin,dc=example,dc=com
ldap_bind_pass=++++++
ldap_start_tls=False
ldap_search_base=dc=example,dc=com
ldap_object_id=uidNumber
ldap_mail_attr=mail
ldap_user_displayname=cn
ldap_user_filter=(objectClass=kopano-user)
ldap_contact_filter=
ldap_user_search_attrs=uid
ldap_user_search_attrs=cn
ldap_user_search_attrs=mail
ldap_user_search_attrs=gecos
ldap_user_templates=common
ldap_user_templates=OpenLDAP
ldap_user_aliases=
ldap_group_addr=mailPrimaryAddress
ldap_group_filter=(objectclass=posixgroup)
ldap_group_name=cn
ldap_group_memberof=memberOf
Thank you and best regards
Thomas