I have two photocopiers. Both have the facility to can to a file on a file server via smb. Both configured identically. One can write to a samba share, the other cannot (same server, same share) I'm searching for a log somewhere that might show me why the write is failing but I cannot see anything. Which log file on my fileserver would show me if the server is rejecting the connection, please?
On Wed, Sep 09, 2020 at 02:35:28PM -0700, Peter Pollock via samba wrote:> I have two photocopiers. > > Both have the facility to can to a file on a file server via smb. > > Both configured identically. > > One can write to a samba share, the other cannot (same server, same share) > > I'm searching for a log somewhere that might show me why the write is > failing but I cannot see anything. > > Which log file on my fileserver would show me if the server is rejecting > the connection, please?From the smb.conf man page: log file (G) This option allows you to override the name of the Samba log file (also known as the debug file). This option takes the standard substitutions, allowing you to have separate log files for each user or machine. No default Example: log file = /usr/local/samba/var/log.%m Set it as so, to get a separate log file for the incoming machine name.
I've found that some embedded devices have older CIFS clients, which can only talk over SMB1. So, you can adjust your server to allow it, or look for another file transport. Kris Lou klou at themusiclink.net On Wed, Sep 9, 2020 at 3:16 PM Jeremy Allison via samba < samba at lists.samba.org> wrote:> On Wed, Sep 09, 2020 at 02:35:28PM -0700, Peter Pollock via samba wrote: > > I have two photocopiers. > > > > Both have the facility to can to a file on a file server via smb. > > > > Both configured identically. > > > > One can write to a samba share, the other cannot (same server, same > share) > > > > I'm searching for a log somewhere that might show me why the write is > > failing but I cannot see anything. > > > > Which log file on my fileserver would show me if the server is rejecting > > the connection, please? > > From the smb.conf man page: > > log file (G) > > This option allows you to override the name of the Samba log > file (also known as the debug file). > > This option takes the standard substitutions, allowing you to > have separate log files for each user or machine. > > No default > > Example: log file = /usr/local/samba/var/log.%m > > Set it as so, to get a separate log file for the > incoming machine name. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
That's great. I was not aware of that! Thank you so much! On Wed, Sep 9, 2020, 3:15 PM Jeremy Allison <jra at samba.org> wrote:> On Wed, Sep 09, 2020 at 02:35:28PM -0700, Peter Pollock via samba wrote: > > I have two photocopiers. > > > > Both have the facility to can to a file on a file server via smb. > > > > Both configured identically. > > > > One can write to a samba share, the other cannot (same server, same > share) > > > > I'm searching for a log somewhere that might show me why the write is > > failing but I cannot see anything. > > > > Which log file on my fileserver would show me if the server is rejecting > > the connection, please? > > From the smb.conf man page: > > log file (G) > > This option allows you to override the name of the Samba log > file (also known as the debug file). > > This option takes the standard substitutions, allowing you to > have separate log files for each user or machine. > > No default > > Example: log file = /usr/local/samba/var/log.%m > > Set it as so, to get a separate log file for the > incoming machine name. >