I have been trying to integrate sssd with LDAP. We use OUD in our environment.
The user containing 12 characters in its uid can not connect to the server resulting in error in the log: no uid provided ...
(Thu May 18 10:47:23 2017) [sssd[be[LDAP]]] [sdap_get_primary_name]
(0x0400): Processing object 820115302022
(Thu May 18 10:47:23 2017) [sssd[be[LDAP]]] [sdap_save_user] (0x0400):
Processing user 820115302022@ldap
(Thu May 18 10:47:23 2017) [sssd[be[LDAP]]] [sdap_save_user] (0x0020): no
uid provided for [820115302022@ldap] in domain [LDAP].
(Thu May 18 10:47:23 2017) [sssd[be[LDAP]]] [sdap_save_user] (0x0020):
Failed to save user [**820115302022**@ldap]
(Thu May 18 10:47:23 2017) [sssd[be[LDAP]]] [sdap_save_users] (0x0040):
Failed to store user 0. Ignoring.
So I created new user with less e.g. 5 characters in its uid that is uid=32001. This user connects successfully.
I was looking if there are some constraints on the uid length that users can have while using sssd but I still haven't found an answer. Does anybody knows what is the reason for this error and how can I solve it?
The Directory server that we use is OUD (Oracle Unified Directory) and the uid and gid used are attributes in the posixAccount and posixGroup object classes. We tested other users too and the problem appears when user has 11 od more chacaters in its uid. Here is the log for the user that has 11 characters and can not login.