[Samba] After upgrading samba 4.5.10 to 4.9.13

Rowland penny rpenny at samba.org
Sun Oct 13 12:25:45 UTC 2019


On 13/10/2019 12:34, Милькин Дмитрий wrote:
> Calculate Linux gentoo based
>
>   $ cat /etc/samba/smb.conf
> # Global parameters
> [global]
>          workgroup = 404
>          realm = 404.LOCAL
>          netbios name = SRV
>          ntlm auth = yes
>          server role = active directory domain controller
>          server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
>          idmap_ldb:use rfc2307 = yes
>          interfaces = 192.168.1.254/24
>
> [netlogon]
>          path = /var/lib/samba/sysvol/404.local/scripts
>          read only = No
>
> [sysvol]
>          path = /var/lib/samba/sysvol
>          read only = No
>
> [home]
>          path = /data/samba/home
>          read only = No
>          hide files = /$RECYCLE.BIN/desktop.ini/
>
> [public]
>          path = /data/samba/public
>          read only = No
>          hide files = /$RECYCLE.BIN/desktop.ini/
>
> [base]
>          path = /data/samba/base
>          read only = no
>          browseable = no
>          hide files = /$RECYCLE.BIN/desktop.ini/
>
> [2gis]
>          path = /.back/2Gis
>          read only = No
>          hide files = /$RECYCLE.BIN/desktop.ini/
>
> [Profiles]
>          path = /data/samba/profiles
>          read only = No
>          hide files = /$RECYCLE.BIN/desktop.ini/
>
> [Distr]
>          path = /mnt/public/samba/Distr
>          read only = no
>          browseable = no
>          printable = no
>          create mask = 0660
>          directory mask = 0770
>
> [dist]
>          comment = Дистрибутивы
>          path = /.back/distr
>          read only = no
>          browseable = no
>          printable = no
>          create mask = 0660
>          directory mask = 0770
>          hide files = /$RECYCLE.BIN/desktop.ini/

Apart from you using a Samba DC as a fileserver (this isn't 
recommended), there isn't much wrong there (I would set the share 
permissions from Windows).

You seem to be running '/etc/init.d/samba', now I do not use Gentoo, but 
are you sure this is the correct start script. I ask this because Debian 
used to use a similarly named script to start the smbd & nmbd binaries, 
it now uses separate scripts these and a new one 'samba-ad-dc' to start 
the 'samba' binary required for an AD DC. Starting the 'samba' binary 
will then start the smbd and winbind binaries.

If this isn't the case, can you raise the logging (add 'log level = 3' 
to smb.conf for a start) and see what pops out.

Rowland





More information about the samba mailing list