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.
I work on an Linux Mint unattended installer for a small school nearby.
The project is based on AntonioCarlini linux-mint-unattended-installer work.
The goal in our case is the unattended installation of devices within this school and make univention domain joins possible. It is not a generic project. But maybe this is also interesting to others. Keep in mind there are still a lot of todoās in this project.
Relate to the domain join, this is not automated yet. But it can be done via the univention-domain-join gui. Thank you for sharing the ansible snippets of the domain join, I was already thinking in this direction.
During creation of the scripts I figured out an issue with the univention-domain-join when /etc/ldap/ldap.conf is missing.
In our case I just included a workaround to fix it.
mkdir /etc/ldap
touch /etc/ldap/ldap.conf
The Domain Join worked with Linux Mint 22.2 āZaraā and an UCS 5.2.
The server has been upgraded from 5.0 to 5.2 before.
Hope this will help others with their univention-domain-join story.