[Samba] Help to migrate from Centos 6 3.6.23-51.el6 to Debian 12 12 4.17.12-Debian

Rowland Penny rpenny at samba.org
Thu Feb 6 16:59:12 UTC 2025


On Thu, 6 Feb 2025 16:43:02 +0000
Rowland Penny via samba <samba at lists.samba.org> wrote:

> On Thu, 6 Feb 2025 17:32:41 +0100
> Lorenzo Fiorini via samba <samba at lists.samba.org> wrote:
> 
> > On 06/02/2025 17:13, Rowland Penny via samba wrote:
> > 
> > > [global]
> > >   server string = .....
> > >   security = USER
> > >   log file = /var/log/samba/log.%m
> > >   max log size = 50
> > >   client signing = required
> > >   cups options = raw
> > >   oplocks = No
> > >   level2 oplocks = No
> > >   # without the following line guest shares don't work
> > >   map to guest = bad user
> > >
> > > [server]
> > >   path =/var/server/ 
> > >   read only = No
> > >   create mask = 0777
> > >   directory mask = 0777
> > >   guest ok = Yes
> > 
> > Thank you Rowland for your fast reply but we still don't get the
> > anonymous access.
> > 
> > With systemctl status smb I get this:
> > Feb 06 17:22:38 pcserv16 systemd[1]: smbd.service: Deactivated
> > successfully. Feb 06 17:22:38 pcserv16 systemd[1]: Stopped
> > smbd.service - Samba SMB Daemon. Feb 06 17:22:38 pcserv16
> > systemd[1]: Starting smbd.service - Samba SMB Daemon... Feb 06
> > 17:22:38 pcserv16 smbd[31728]: [2025/02/06 17:22:38.570578,  0]
> > ../../source3/smbd/server.c:1741(main) (red color) Feb 06 17:22:38
> > pcserv16 smbd[31728]:   smbd version 4.17.12-Debian started.
> > 
> > Is it expected?
> > 
> > 
> 
> Yes, that is as expected, it shows that the Samba fileserver deamon
> 'smdb' has started.
> 
> Does the user you are trying to connect to the fileserver exist as a
> Samba user on the fileserver ?
> 
> Rowland
> 

After thinking about this, I think I see the problem, reopen the
smb.conf file again, find the line 'client signing = required' and put
a ';' or '#' in front of it, save and close the file, restart Samba.

Rowland




More information about the samba mailing list