[Samba] lookup_name_smbconf for <user> failed
Rowland Penny
rpenny at samba.org
Fri Feb 22 16:26:49 UTC 2019
On Fri, 22 Feb 2019 17:12:56 +0100
Hans Schou via samba <samba at lists.samba.org> wrote:
> On Fri, 22 Feb 2019 at 14:51, Rowland Penny via samba
> <samba at lists.samba.org> 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
More information about the samba
mailing list