[Samba] PAM Offline Authentication in Ubuntu 22.04...
Rowland Penny
rpenny at samba.org
Thu Jun 1 14:38:07 UTC 2023
On 01/06/2023 15:11, Eduardo Moraes via samba wrote:
>> OK, but... further investigation in what direction?!
>
> Greetings, friends!
>
> Sorry for butting in on the discussion, but I'm also interested in solving
> this problem, as users of my project (CID -
> https://sourceforge.net/projects/c-i-d/) have also been reporting the same
> difficulty.
>
> I've been researching it and it looks like the problem has been around for
> a long time and is specific to Debian-like distributions, as these two bug
> reports suggest:
>
> https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1165461
> https://bugzilla.samba.org/show_bug.cgi?id=14618
>
> I tried to make the suggested changes to the "lock directory" and even
> adapted it to my scripts, but according to reports the users, it doesn't
> always work.
>
> I've tested other distributions, like Fedora and OpenSuse, and everything
> seems to work just fine.
>
> I stopped researching some time ago, so I can't contribute more than that,
> but I hope that at least I helped them to find a way to a solution.
>
> Good luck!
The plot thickens, I am testing using an Oracle VM with a bridged
adapter, which can connect to either wifi or ethernet. Whilst doing
further testing I just discovered something. If I logon as a domain user
with the bridged adapter connected to wifi (wlan0), the user gets logged
in. If I then log out and switch the bridged adapter to eth0 with the
cable disconnected, the user can still logon and quickly. However if the
cable isn't disconnected, then the user can still logon, but after a
considerable amount of time and there is a similar pause when the user
logs out.
I am surmising that the pause is coming from something searching for the
network and then, finally, giving up.
Now to try and find the 'something' and stop it doing it.
Rowland
More information about the samba
mailing list