由 hgkrt 在 01-22-2003 14:56 发表:
贴出smb.conf,寻求帮助...
下面是我的smb.conf...
>
> 源码:
>
> * * *
>
> #
> >
> #======================= Global Settings =====================================
> >
> [global]
> >
>
> >
>
> >
> # netbios name = SMBServer
> >
>
> >
> netbios name = SMBServer
> >
>
> >
> # workgroup = NT-Domain-Name or Workgroup-Name
> >
>
> >
> workgroup = MYGROUP
> >
>
> >
>
> >
> # server string is the equivalent of the NT Description field
> >
>
> >
> server string = Samba Server
> >
>
> >
>
> >
> # language support
> >
>
> >
> client code page = 936
> >
>
> >
>
> >
>
> >
> # Put a capping on the size of the log files (in Kb).
> >
>
> >
> max log size = 30
> >
>
> >
>
> >
> # Security mode. Most people will want user level security. See
> >
>
> >
> # security_level.txt for details.
> >
>
> >
> security = user
> >
>
> >
>
> >
> # Do not enable this option unless you have read those documents
> >
>
> >
> encrypt passwords = yes
> >
>
> >
> smb passwd file = /etc/samba/smbpasswd
> >
>
> >
>
> >
> # The following is needed to keep smbclient from spouting spurious errors
> >
>
> >
> # when Samba is built with support for SSL.
> >
>
> >
> ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
> >
>
> >
> # map to guest
> >
>
> >
> map to guest = Bad User
> >
>
> >
>
> >
>
> >
> # Most people will find that this option gives better performance.
> >
>
> >
> # See speed.txt and the manual pages for details
> >
>
> >
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> >
>
> >
>
> >
>
> >
> #============================ Share Definitions ==============================
> >
> [
> >
> homes]
> >
>
> >
> comment = Home Directories
> >
> path = /home/%U
> >
>
> >
> browseable = no
> >
>
> >
> writable = yes
> >
>
> >
>
> >
> [myshare]
> >
>
> >
> comment = shared file
> >
>
> >
> path = /home/shared
> >
>
> >
> public = yes
> >
>
> >
> writable = yes
> >
>
> >
> create mask = 0777
> >
>
> >
> force create mode = 0777
> >
>
> >
>
> >
>
>
> * * *
现在可以在linux下使用smbmount等加载XP下的共享...但是从XP下就是不行...
<f