[Samba] 4.10.2 not connecting to (old) NAS
Phil Dermott
pdermott at rogers.com
Wed May 8 11:08:17 UTC 2019
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 at rogers.com> 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 at rogers.com
http://dermottft2.duckdns.org
More information about the samba
mailing list