不小心把samba玩坏了,各种报错,然后直接彻底删除重新安装搞定
删除命令:
apt-get remove --purge samba samba-*
假如报错:
/usr/sbin/smbd: error while loading shared libraries: libreplace.so.0: cannot open shared object file: No such file or directory
libreplace.so.0 被弄没有了的缘故,用下面代码给安装上即可
apt-get install --reinstall libwbclient0
文章评论