[Samba] Samba4 Domain member only usable with ip

Reindl Harald h.reindl at thelounge.net
Mon Jul 27 15:57:36 UTC 2015



Am 27.07.2015 um 17:50 schrieb zorg:
>> Are you actually using a domain that ends in .local ? if so, try
>> turning off Avahi on the member server and then try again.
>>
> yes it end with .local
> I don't have avahi
> samba is running in the lxc container

check /etc/nsswitch.conf

i place dns in front of mdns4_minimal and remove the [NOTFOUND=return] 
on any machine because otherwise my vmware.local would not work

[root at srv-rhsoft:~]$ cat /etc/nsswitch.conf
# Valid entries include:
#
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far

passwd:     files
shadow:     files
group:      files
hosts:      files dns mdns4_minimal myhostname
bootparams: files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   nisplus
publickey:  nisplus
automount:  files
aliases:    files

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20150727/aadad4bc/signature.sig>


More information about the samba mailing list