1.  在启动的时候出现:
/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.1:
cannot open shared object file: No such file or directory
在/etc/ld.so.conf 中加入/usr/local/samba/lib 然后运行 ldconfig 就OK了 http://www.aiezu.com