Chinaunix

标题: samba怎么启动? [打印本页]

作者: everygreenyang    时间: 2005-10-28 11:41
标题: samba怎么启动?
我刚用port装了samba2并改了sam.conf
我想启动但是怎么启?(我使用了samba.sh start但提示命令没有找到 )
作者: hughr    时间: 2005-10-28 11:45
标题: samba怎么启动?
# cd /usr/local/etc/rc.d/
# ls -l
作者: congli    时间: 2005-10-28 11:49
标题: samba怎么启动?
原帖由 "everygreenyang" 发表:
我刚用port装了samba2并改了sam.conf
我想启动但是怎么启?(我使用了samba.sh start但提示命令没有找到 )

应该是smb.conf吧,看看/usr/local/etc/rc.d/samba.sh就知道该怎样做.
作者: congli    时间: 2005-10-28 12:14
标题: samba怎么启动?
# cat samba.sh

  1. #
  2. # Add the following lines to /etc/rc.conf to enable samba:
  3. #
  4. #samba_enable="YES"
  5. #
  6. # or, for fine grain control
  7. #
  8. #nmbd_enable="YES"
  9. #smbd_enable="YES"
  10. # You need to enable winbindd separately, by adding:
  11. #winbindd_enable="YES"
  12. #
复制代码





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2