Web lists-archives.com

Re: [Samba] lookup_name_smbconf for <user> failed




On Fri, 22 Feb 2019 17:12:56 +0100
Hans Schou via samba <samba@xxxxxxxxxxxxxxx> wrote:

> On Fri, 22 Feb 2019 at 14:51, Rowland Penny via samba
> <samba@xxxxxxxxxxxxxxx> wrote:
> 
> Its working now with smbclient from Linux without using password.
> Thanks! On Windows I have to use fqdn but it might be that the search
> path on Windows is wrong. (the word "search" in resolv.conf - I don't
> know what that is called on Windows)
> 
> It was a lot changes to make. I just copied the old smb.conf to the
> new server but it was obviously not a good idea.
> 
> >         include = /etc/samba/smb.conf.%h
> >
> > What is in '/etc/samba/smb.conf.%h' ?
> >
> 
> On the old system all servers uses the same smb.conf and then all the
> uniq shares are defined in smb.conf.<hostname>
> 
> The content can then be seen with this command
> 
> # grep -v "#" smb.conf.$(hostname -s)
> [global]
>   server string = Samba %v paa %L(%h): udvhome
> [homes]
>    comment = Home Directories
>    browseable = no
>    writable = yes
>    read only = no
>    create mask = 0775
> 
> If any interest my smb.conf is now:
> 
> [global]
>         log level = 3
>         unix charset = UTF8
>         dos charset = ISO-8859-1
>         workgroup = ACME.DOM

Sorry, but you cannot use a workgroup with a dot in it.

Rowland


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