Samba 2.2.1a setup

Anthony J. Breeds-Taurima tony at cantech.net.au
Tue Oct 16 21:07:06 GMT 2001


On Tue, 16 Oct 2001, Eric Engen wrote:

> How can I set up Samba to enable NT users to save HTML files to their own
> home directories on our Linux web server? For example, I want to have them
> save to /home/teacher1/web/foo.html on our Linux machine, by saving it to
> L:\teacher1\foo.html on our NT 4 machine.
>
> I'm brand new to Samba (just installed Samba 2.2.1a on RedHat 6.2 OS, and am
> trying to get it set up and running), and I'm trying to wade through all the
> docs, but if anyone could give me some direct advice, I'd appreciate it!

Mostly.

Install samba and configure it to work on your network.  The info in
$doc/samba-2.2.1a/txtdocs/DIAGNOSIS.txt is _really_ good.

where "$doc" is where RedHat 6.2 puts it docs (prolly /usr/doc")

Assuming you've run the appropriate "net nse l: \\server\<share>" command on
your workstatiuons.

Simply edit the "[homes]" section and set the path to:
[homes]
    ....
	path = /home/%U/web

This will mean that the user can save files in "L:\" and they will be webable.

Or you can use the default "homes" declaration and the teachers can remeber
to place thier web files in "L:\web\"

Or you can comment out the homes share altogether and simply declare:

[Public]
	path = /home
    ... other required options ...

And the Staff  will be able to save web content in "L:\teacher1\web\"

I don't believe that there is any way to get the "L:\Teacher1\..." format you
requested.


Yours Tony.

/*
 * "The significant problems we face cannot be solved at the
 * same level of thinking we were at when we created them."
 * --Albert Einstein
 */





More information about the samba mailing list