[Bug 803471] New: network not always ready when desktop logon apears for network based authentication
https://bugzilla.novell.com/show_bug.cgi?id=803471 https://bugzilla.novell.com/show_bug.cgi?id=803471#c0 Summary: network not always ready when desktop logon apears for network based authentication Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Usability AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rob.verduijn@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 it might be an idea when switching to network based logons (winbind/samba/ldap/nis/whatever) to add the network.service requirement to the systemd runlevel5.target ie change the wants line in /usr/lib/systemd/system/runlevel5.target to Wants=xdm.service network.service Because the network is not always ready by the time the login appears when using hotplug ethernet devices (thunderbolt/usb) , wireless devices and sometimes wired devices. Since a network based authentication is a bit difficult when there is no network available. workaround : grab a cup of coffee/thea/milk and drink it slowly before logging in to give the system time to establish the network connection Regards Rob Reproducible: Always Steps to Reproduce: 1. use a hotplug network device 2. configure network based logon (ie samba/winbind/ldap/nis) 3. reboot and try to logon as soon as the logon appears 4. see message about network unavailable or using cached credentials etc Actual Results: message stating that the domain is unavailable and that cached credentials will be used Expected Results: network based authentication -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c
Michal Hrusecky
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c2
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c3
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c4
--- Comment #4 from Rob Verduijn
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c5
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c6
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c7
--- Comment #7 from Frederic Crozat
I'm using ifup and NIS and also had the problem that after bootup, NIS/autofs was not ready. This looked like some timing issue.
This looks similar to bnc#806725 (but reporter was initially having NM running instead of NM). Please attach dmesg after booting with systemd.log_level=debug systemd.log_target=kmsg -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c8
--- Comment #8 from Frederic Crozat
I'm discussing with upstream regarding nss-user-lookup.target if it should be pulled by some specific "user lookup" services (like winbind, ypbind, ..) when installed or if it should be the job of YaST, when configuring auth for such services.
so, upstream is in agreement with me. The fix for this should be to add to "network user service" (ypbind.service / winbind / openldap / ...) the following lines in the [Unit] serction: Wants=nss-user-lookup.target Before=nss-user-lookup.target This way, nss-user-lookup.target will be correctly used as a sync point, preventing user login until network user service is available. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=803471
https://bugzilla.novell.com/show_bug.cgi?id=803471#c
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com