[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jessie installation working again



[Petter Reinholdtsen]
> The roaming workstation do not work out of the box because of bug
> #729982 in sssd, and the fix is waiting in unstable but blocked by bug
> #748671.  But fixing it is trivial, one just need to edit
> /lib/systemd/system/sssd.service to fix the path to the binary.

Here is a quick update on the roaming workstation.

I testet this right now with all the latest fixes in place in Jessie,
but could not log in after the installation.   The boot hang is gone,
and the login prompt showed up as it should. :)

The login problem is caused by network-manager changing default
behavior.  It will no longer automatically connect to eth0 when it is
plugged in.  A fix is to apply this patch to /etc:

diff --git a/NetworkManager/system-connections/eth0 b/NetworkManager/system-connections/eth0
new file mode 100644
index 0000000..278a3a7
--- /dev/null
+++ b/NetworkManager/system-connections/eth0
@@ -0,0 +1,10 @@
+[connection]
+id=eth0
+uuid=9ba51faa-15a0-44a8-b04a-74f52bb7b05f
+type=ethernet
+
+[ipv6]
+method=auto
+
+[ipv4]
+method=auto

I guess the UUID should be different for every machine, but the rest
seem to be generic setup.  When this file is in place, eth0 is enabled
at boot and sssd is able to connect to LDAP and Kerberos to allow login
to take place.

But there seem to be a problem with libpam-mklocaluser.  It updates
/etc/passwd, /etc/shadow and /etc/group to many times.  At least I ended
up with two entries for the LDAP user.  Not quite sure why.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: