我的samba服务终于成功了,但再在存在点小问题

由 lanmaster 在 09-12-2002 14:38 发表:

我的samba服务终于成功了

经过我很多天的努力,和各位老大帮助,小弟终于把那个samba服务配置出来,但只的在输入的密码之后能进行登录里面还没有什么内容,而且我是用win2k 测试的,还不知道win98能不能好使,下面我就把在各位老大帮助下改好的那个文件给大家看一下,希望能对大家有点用,对了,还有就是我的linux是RedHat 7.3.94的一个测试版,文件如下:

This is the main Samba configuration file. You should read the

smb.conf(5) manual page in order to understand the options listed

here. Samba has a huge number of configurable options (perhaps too

many!) most of which are not shown in this example

Any line which starts with a ; (semi-colon) or a # (hash)

is a comment and is ignored. In this example we will use a

for commentry and a ; for parts of the config file that you

may wish to enable

NOTE: Whenever you modify this file you should run the command "testparm"

to check that you have not made any basic syntactic errors.

#======================= Global Settings =====================================

[global]

workgroup = NT-Domain-Name or Workgroup-Name

workgroup = Master(改过的)

server string is the equivalent of the NT Description field

server string = Samba Server

This option is important for security. It allows you to restrict

connections to machines which are on your local network. The

following example restricts access to two C class networks and

the "loopback" interface. For more examples of the syntax see

the smb.conf man page

; hosts allow = 192.168.1. 192.168.2. 127.

if you want to automatically load your printer list rather

than setting them up individually then you'll need this

printcap name = /etc/printcap

load printers = yes

It should not be necessary to spell out the print system type unless

yours is non-standard. Currently supported print systems include:

bsd, sysv, plp, lprng, aix, hpux, qnx

printing = lprng

Uncomment this if you want a guest account, you must add this to /etc/passwd

otherwise the user "nobody" is used

; guest account = pcguest

this tells Samba to use a separate log file for each machine

that connects

log file = /var/log/samba/%m.log

Put a capping on the size of the log files (in Kb).

max log size = 50(改过的)

Security mode. Most people will want user level security. See

security_level.txt for details.

security = user

.

.

.

.

.

.

[public]

comment = Public Stuff

path = /public

public = yes

writable = yes

printable = no

write list = @staff

...

.

.

..

其它的都没不变。希望对大家有用。

不过还有一个问就是。不知道怎么改这个共享文件夹的读写权限 。希望知道怎么改的老鸟能告诉一下,我在这儿先谢谢了


成长中的菜鸟!

E-Mail:qcy_[email protected]

QQ :7118899


由 lanmaster 在 09-12-2002 15:16 发表:

各位老大,我在配置完samba之后出现一个问题,应该怎么解决?

各位老大,我在配置完samba之后出现这样的一个问题,因我为建立了三个用户,每当用一个用户登录的时候我在所看到的共享文件时都会看到一个以该用户名为名称的文件夹还有一个共享文件夹(public),每换一个用户都会看到不同的文件夹但不变的是 public,请问我应该怎么做才能不管用什么用户登录都只能看到一个共享文件夹public,对了,怎么设置对这个文件夹(public)设置不同的读写权限.这个权限设置是不是也和什么文件有关,如果是这样,那个文件又在那个位置?

<font face="腩戾,verdana, arial, hel

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus