Web lists-archives.com

Re: [Samba] 4.10.2 not connecting to (old) NAS




Thank you Rowland - adding "ntlm auth = yes" in the global section and rebooting the machine has provided access once again to the NAS.

In answer to your questions - the smb.conf was from the PCLOS machine.  Question - I had tried sec=ntlm in the mount statement without it being in the smb.conf - did that not work because ntlmv1 had not been enabled?

As to the question marks, that is something to do with the mail client (Thunderbird) - I do not see the question marks when composing the message to send but only see them when the message is distributed from the list server.

Rowland Penny via samba wrote on 5/8/19 3:07 AM:
On Tue, 7 May 2019 18:06:35 -0400
Phil Dermott <pdermott@xxxxxxxxxx> wrote:

As requested - smb.conf

# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
  ?????????????? workgroup = HOME
  ?????????????? server string = Samba Server Version %v
  ?????????????? netbios name = LP

# log files split per-machine:
  ?????????????? log file = /var/log/samba/log.%m
  ?????????????? max log size = 50

  ?????????????? security = user

  ?????????????? passdb backend = tdbsam

  ?????????????? printing = cups
  ?????????????? printcap name = cups
  ?????????????? load printers = yes
  ?????????????? cups options = raw

[homes]
  ?????????????? comment = Home Directories
  ?????????????? valid users = %S, %D%w%S
  ?????????????? browseable = No
  ?????????????? read only = No
  ?????????????? inherit acls = Yes

[printers]
  ?????????????? comment = All Printers
  ?????????????? path = /var/tmp
  ?????????????? printable = Yes
  ?????????????? create mask = 0600
  ?????????????? browseable = No

[print$]
  ?????????????? comment = Printer Drivers
  ?????????????? path = /var/lib/samba/drivers
  ?????????????? write list = @printadmin root
  ?????????????? force group = @printadmin
  ?????????????? create mask = 0664
  ?????????????? directory mask = 0775

[Elements]
  ?????? path = /media/Elements
  ?????? comment = Extra drive
  ?????? browseable = yes
  ?????? public = yes
  ?????? writable = yes
[Vuze]
  ?????? path = /mnt/extradasd/Vuze
  ?????? comment = Vuze storage
  ?????? browseable = yes
  ?????? public = yes
  ?????? writable = yes
[Extradasd]
  ?????? path = /mnt/extradasd
  ?????? comment = Additional storage
  ?????? browseable = yes
  ?????? public = yes
  ?????? writable = yes

Is the above from the NAS or the PCLOS computer ?
As it refers to printers, I think it is most likely from the PCLOS.

I think what is going on here is that your NAS is expecting NTLMv1 and
your new Samba 4.10.2 now has this turned off by default.

Try adding 'ntlm auth = yes' to the smb.conf

Rowland

PS What's with all the '?' marks

--
Philip Dermott
pdermott@xxxxxxxxxx
http://dermottft2.duckdns.org
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba