Samba 2.2.1a setup

Christian Barth barth at cck.uni-kl.de
Tue Oct 16 23:49:02 GMT 2001


> 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.
At a first glace: This mapping won't work. (Or is going to be tricky)
The path statement of the share allway defines the first part of the 
Unix-Path to the file, the path after the drive letter the secend 
part. And so you some how get problems leaving out the "web" in the 
path.

But you can define a share [my_web] with path = /home/%u/web in 
smb.conf, map this share to L: with %u as teacher1 an access the file 
with L:\foo.html. May be you have to use %U.

Or simply use [homes] with out any path and share the home 
Directories completly (I asume /home/teacher1 is the home directory) 
and access L:\web\foo.html

> 
> 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!
For general advice about samba look at the docs that come with the 
source, at samba.org escecially the PDF-Howto and at the books about 
samba. One comes as html with the source.

Christian


> 
> Thanks.
> 
> Eric Engen
> Platte Valley Academy
> Shelton, Nebraska
> http://www.plattevalley.org/
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




More information about the samba mailing list