[Samba] Which log file?

Andrew Bartlett
Wed, 09 Sep 2020 22:45:06 -0000

The other thing is NTLMv2, also required by default in modern Samba
versions.

Andrew Bartlett

On Wed, 2020-09-09 at 15:39 -0700, Kris Lou via samba
wrote:
> 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
> >
--
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT