https://www.linuxidc.com/Linux/2017-03/142253.htm sudo apt-get install winbind , sudo apt-get install libnss-winbind libpam-winbind 最近装了两台Linux虚拟机分别CentOS7和Ubuntu 14.04,都装了samba服务,文件共享都正常,虚拟机上互联网也正常,能以ping 通局域网的ip,却都ping不通主机名,其他电脑(Windows/Linux)都能pin