When I ran univention-domain-join it complained about a missing /etc/ldap/ldap.conf file, which was not there.
I installed also libldap-common to have the file in place. So the domain join could find the file and write itās content to it. Not sure if this shouldnāt be added as dependency of the univention package or if there is a different issue within one of the scripts to join UCS.
After that I had some other issues, which I was not able to debug, because my time at this voluntary project at a small community driven school is very limited. But I couldnāt login as ucs user into the system eventough the domain join didnāt complain.
I had to install also additional dependencies before the domain join, to get the user login to work properly.
I have exactly the same issue. I also want to integrate my Linux Mint 21.1 Client to my UCS server (5.0-5 errata838), first the univention-domain-join also complained about the missing ldap.conf file, with your suggestion I tried to install libldap-common then the domain-join was successful, I could also find my Linux Mint client in the UMC module ->Computer.
However, when I tried to login as UCS user on the Linux Mint Client, it constantly said the password is incorrect. I have downloaded the additional dependencies which you suggested, but the problem has not been solved. Could you provide more information about how you solved this problem or do you have some idea?
Here is a copy from /var/log/auth.log
Oct 13 14:46:58 locutus lightdm: pam_succeed_if(lightdm:auth): requirement āuser ingroup nopasswdloginā not met by user āerikā
Oct 13 14:47:01 locutus lightdm: pam_unix(lightdm:auth): check pass; user unknown
Oct 13 14:47:01 locutus lightdm: pam_unix(lightdm:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
Oct 13 14:47:01 locutus lightdm: pam_sss(lightdm:auth): authentication success; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=erik
Oct 13 14:47:01 locutus lightdm: gkr-pam: error looking up user information
Oct 13 14:47:01 locutus lightdm: pam_unix(lightdm:account): could not identify user (from getpwnam(erik))
Oct 13 14:47:01 locutus lightdm: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Oct 13 14:47:01 locutus lightdm: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
I would be very grateful for some suggestions.
Thank you,
erik.
Hi Erik,
Iām not sure if I can help very fast at the moment.
Probably I can try a domain join at the weekend and verify if this still would work with these versions.
Or I would have to build up a virtual environment here.
Not sure if I can answer before the weekend.
Please answer if you found already a solution before.
I just encountered the same problem in a testing environment with virtualbox. I followed all the steps listed above but without success.
A Linux Mint 22 with xfce desktop was joined āsuccessfullyā to a freshly set up ucs but users cannot log in. syslog and auth.log on both sides donāt tell me much.
Does anybody have an idea?
Spawned a new UCS 5.2 environment in my Proxmox VE and tested a domain join with Mint 22 wilma.
And a User login with tesusers.
And it worked without issues.
But, I cloned a prepared VM which I already had prepared at my environment, so this wasnāt a fresh Linux Mint installation.
May I have time to prepare a fresh Mint installation tomorrow.
Sorry, i didnāt answer your questions. So do I now:
Yes, I did reboot the system.
In the logfile you mentioned there was nothing suspicious to be found.
So, by now I have set up a Kubuntu 24.04 (latest) and couldnāt manage to retrieve the domainjoin script: ārepository doesnā have a release fileā.
Okay, so I tried Mint 22.1 (xia) with Cinnamon Desktop with a freshly setup UCS 5.09 err 1125 and everything worked without obstacles.
Next I tried to join th formerly failed Mint 22 and succeeded.
As a (not exactly analytical) conclusion regarding your success and my failures, Iād say that ucs 5.2 might be kind of choosy which system to join with.
Iāve done this just last week with UCS 5.2, ucs@school and linux mint 22.1 for a small scale demo deployment and it worked flawlessly. Iām also using an NFS share as a shared home directory. Iāll attach my ansible script for joining the clients to the domain for reference. Keep in mind that this is just a temporary script for a demo.
Itās in not an attachment because new users canāt upload files.