winbind returns PAM_AUTHINFO_UNAVAIL on first login after reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The following issue exists only on Ubuntu 18.04
I've upgraded ubuntu from 17.10 and noticed that winbind does not work well.
90% of the time I reboot my system I'm getting PAM_AUTHINFO_
clicking login again on the login screen most of the time succeeds (so the password is correct)
I've checked if it works if I wait 10 minutes before logging in, no success, so it is not a timing issue.
Also I've checked if winbind is working (log in with ssh using a local account)
getent passwd xy and wbinfo -K user%pwd both work always.
Now my workaround is putting
winbind request timeout = 3
in smb.conf, since the PAM_AUTHINFO_
To me it seems like deadlock, but I was unable to track it since it happens only on the first login. Then I would have to reboot (restarting winbind does not trigger it twice, also removing all caches in /run/samba does not trigger it twice)
Thanks for filing this bug in Ubuntu.
Is this perhaps a desktop system, where the network is only available after you login, because of network manager? Or is it a server?
Is it a fresh install of ubuntu bionic 18.04, or did you upgrade from a previous release? This matters because 18.04 uses netplan for networking by default if it's a fresh install.