[Samba] CIFS share disconnects on Linux client, but is still accessible via SMBCLIENT
rpenny at samba.org
Sun Jul 18 17:42:58 UTC 2021
On Sun, 2021-07-18 at 19:23 +0200, Gene Poole via samba wrote:
> Well I've removed everything you suggested I remove, except for
> timestamp" since I seem to need that,
That is interesting, it should already be set, if you read 'man
smb.conf', you will find this:
This parameter is a synonym for timestamp logs.
timestamp logs (G)
Samba debug log messages are timestamped by default. If you are running
at a high debug level these timestamps can be distracting. This boolean
parameter allows timestamping to be turned off.
Default: timestamp logs = yes
> and I'm still getting the same
> results: the share mounts at boot, disappears after maybe 20
> but can still be accessed with smbclient. If I unmount and try to
> remount I get "no such file or directory."
> I've disabled SMBv1 in Windows. Re your mount suggestion, I have no
> set up on the Windiws box. My dns is my modem-router. According to
> Windows my FQDN ("Full Computer Name") is just "ETHIQUABLE".
> Looking at the samba log, I see something that seems odd -
> "Authentication for user [alarm] -> [alarm] FAILED with error
> NT_STATUS_NO_SUCH_USER, authoritative=1"
> I've created a user called "alarm" (the base user on my Linux box)
> the Windows machine and assigned him the same _samba password_ I've
> assigned on the Linux box - which is NOT the same as "alarm"'s Linux
> password (which is how I understood things were supposed to be set
They can have the same password, but they do not have to, but the
password sent from the client must the Samba password (if you are using
passwords and not using guest access)
> I can send part of the samba log if you want. Thanks very much for
> help so far.
By all means send me the log, but do not send it to the list, send it
direct. If required, sanitise it, but if you do, change all occurrences
and as a like for like basis e.g. use the same case.
More information about the samba