Web lists-archives.com

Re: [Samba] Windows Server 2019 / Windows 10 LTSC can't access samba shares on Debian stable 4.5.12




On Sat, 13 Oct 2018 09:17:21 +0200
Thomas Glanzmann via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Hello,
> my smb.conf is:
> 
> [global]
>         workgroup = DIRECTORY
>         interfaces = 10.10.10.1
>         security = user
>         map to guest = Bad User
>         rndc command = /bin/true
> 
> [iso]
>         comment = ISO
>         browseable = No
>         public = Yes
>         guest only = Yes
>         writable = No
>         directory = /export/ISO
> 
> I'm using Debian 9.5 with samba version 4.5.12+dfsg-2+deb9u3. I can
> access the share find with windows xp - windows server 2016. However

So it works here

> with Windows Server 2019 and Windows 10 LTSC I can't access it. Any

and stops working here

> idea what I have to change? 

Very probably something on Windows, as it works with earlier versions
of Windows.


>I already tried to use samba-4.9.1 with
> the following configuration:
> 
> [global]
>         workgroup = DIRECTORY
>         interfaces = 10.10.10.1
>         security = user
>         map to guest = Bad User
>         rndc command = /bin/true
>         # server role = STANDALONE
>         netbios name = filer
> 
>         cache directory = /local/samba-config/common/cache
>         lock directory = /local/samba-config/common/lock
>         log file = /local/samba-config/common/log/%m
>         ntp signd socket directory = /local/samba-config/common/signd
>         pid directory = /local/samba-config/common/pid
>         private dir = /local/samba-config/common/private
>         state directory = /local/samba-config/common/state
> 
> [iso]
>         comment = ISO
>         browseable = No
>         public = Yes
>         guest only = Yes
>         writable = No
>         directory = /export/ISO

Where did you get 'directory' from, it should be 'path'

> 
> Afterwards I started smbd and nmbd with the options '-c' and they did
> work for me with the following error message:
> 
> [2018/10/11 12:30:58.556337,
> 0] ../source3/lib/interface.c:652(load_interfaces) WARNING: no
> network interfaces found
> 
> 10.10.10.1 is configured on the interface lo:
> 
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
> group default qlen 1 link/loopback 00:00:00:00:00:00 brd
> 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo
>        valid_lft forever preferred_lft forever
>     inet 10.10.10.1/32 brd 10.10.10.1 scope global lo:0
>        valid_lft forever preferred_lft forever
>     inet6 ::1/128 scope host
>        valid_lft forever preferred_lft forever

I suppose the question is how did '10.10.10.1' get set to the loopback
device and not to an ethernet device ?
Does the error message go away if you remove the 'interfaces' line ?

> 
> I want users without authentication to access shares. One is r/w, all
> others are r/o.

Good luck with that, your share is only accessible by the 'guest' user.

Rowland



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba