[Samba] Samba, Kerberos, Autofs: Shares get disconnected
Kees van Vloten
keesvanvloten at gmail.com
Thu Feb 29 13:00:35 UTC 2024
Op 29-02-2024 om 11:22 schreef Rowland Penny via samba:
> On Thu, 29 Feb 2024 08:30:14 +0100
> "Pluess, Tobias via samba" <samba at lists.samba.org> wrote:
>
>> Hi Rowland,
>>
>> thanks!
>> also, I would be highly interested in your manual how to set up a
>> computer for testing this, as you announced yesterday, when you have
>> some time!
>>
>> thanks
>> best
>> Tobias
>>
>> On Wed, Feb 28, 2024 at 4:48 PM Rowland Penny via samba <
>> samba at lists.samba.org> wrote:
>>
>>> On Wed, 28 Feb 2024 16:32:57 +0100
>>> "Pluess, Tobias via samba" <samba at lists.samba.org> wrote:
>>>
>>>> Hi Rowland,
>>>>
>>>> unfortunately, the DCs in use are Windows Servers, and
>>>> furthermore, I don't have access rights. I just have the right to
>>>> join computers. So therefore, I cannot run code on them,
>>>> unfortunately! :-( Maybe this is the reason why it does not work
>>>> properly for me? because the Windows AD DC is not working as
>>>> expected?
>>>>
>>> It shouldn't matter what the DCs are, kerberos should work the
>>> same. I am just using two Samba AD DCs because they are the only
>>> computers that run 24/7 here.
>>>
>>> I will setup the computer I am typing this on (which is turned off
>>> overnight) to mount the share at boot and see if it mounts at boot
>>> tomorrow. I will carry out the same procedure I used on the DC
>>> client.
>>>
> And guess what, it didn't work, So I checked the logs to find this:
>
> Feb 29 09:43:41 testdm12 mount[570]: mount error(126): Required key not
> available
>
> Which is understandable when you find this lower down:
>
> Feb 29 09:43:45 testdm12 systemd[1]: Started winbind.service - Samba
> Winbind Daemon.
>
> Unless I can find a way to get winbind started before the attempt to
> mount the share is carried out, the machines ticket is never going to
> be there and the mount will never work.
>
> Any one got any ideas ??
Try adding noauto,x-systemd.automount to the mount options in
/etc/fstab. It wil delay the mount until the path is used and systemd
will then "auto mount" it.
See info at: https://www.suse.com/support/kb/doc/?id=000020402
- Kees.
>
> Rowland
>
>
>
>
>
More information about the samba
mailing list