[Samba] NT_STATUS_NETWORK_SESSION_EXPIRED

Rowland penny rpenny at samba.org
Mon Sep 7 09:41:55 UTC 2020


On 07/09/2020 09:51, David Mace via samba wrote:
> Hi,
>
> Looking for some help with this issue, been struggling for a few weeks
>
> We run a file server using Samba 4.9.5 (openSUSE Leap 15.2
> 4.9.5+git.343.4bc358522a9-lp151.2.27.1).
>
> Active Directory using Windows Server 2016. The Samba server is a
> member of the domain. Windows 10 desktops and Linux desktops are also
> domain members.
>
> Windows 10 desktops map network drives to the Samba server, no issues
> seen. Everything appears to be working.
>
> Linux desktops map shares using GVFS `gio mount` command and
> authenticate with user's kerberos ticket.
>
> After 10 hours or so, the gio mounts become inaccessible. GNOME
> Nautilus gives error "invalid argument".
>
> GVFS debug log shows
>
> smbc_stat(smb://fileserver.domain.co.uk/share)
> SMBC_getatr: sending qpathinfo
> map_errno_from_nt_status: 32 bit codes: code=c000035c
> smbc errno NT_STATUS_NETWORK_SESSION_EXPIRED -> 22
> smb: send_reply(0x7fb930002840), failed=1 (Invalid argument)
> smb: backend_dbus_handler org.gtk.vfs.Mount:QueryInfo (pid=24714)
> smb: Queued new job 0x7fb924007700 (GVfsJobQueryInfo)
>
>
> These Linux desktops also mount shares from a Windows Server 2012
> server, using gio mount, and do not experience the same issue. Only
> when Linux desktops map to the Samba server do we see this issue
>
> Thanks
> This e-mail and any files transmitted with it are confidential and may be legally privileged. If you receive it in error or are not the intended recipient you must not copy, distribute or take any action in reliance upon it. Instead, please notify us immediately by telephoning +44 (20) 7482 0077 and delete the material from your systems. Smartodds is a business carried on by Smartodds Limited, a company registered with the Registrar of Companies for England and Wales with number 05108548. Registered office: Unit 540 Highgate Studios, 53-79 Highgate Road, London NW5 1TL

Sounds like the ticket is expiring, can we see your smb.conf

Rowland





More information about the samba mailing list