URN Logo
UNIX Resources » Linux » Linux Forum » Samba Help » Page.1 » [Samba] how to set share folder for every user ?
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
[Samba] how to set share folder for every user ?
Subject: [Samba] how to set share folder for every user ?
Author: msaravanan    Posted: 2006-02-01 21:20:09    Length: 1,819 byte(s)
[Original] [Print] [Top]
Dear Member,

Thanks for your help.

I have some problem in user folder maping, help me.

My Smb share is

[netf]
path = /netf/user

here i have folder for all the users right now i have 4 users for all the
4 users i have 4 folders this is their home folder while creating linux
user i have specfied this path. i have 1 more folder named scan which is
to be shared by all the users.

1) canny
2) willy
3) harris
4) magda
5) scan

is it possible to set in such a way that automatically the scan folder
should be mapped to f: , their home directory in g: depends on user.


example for canny
f:  /netf/user/scan
g:  /netf/user/canny

if another user login example magda for her it should be like this
f:  /netf/user/scan
g:  /netf/user/magda


this should be assigned automatically, all the clinet machines are windows
(some are win xp, some are win 98).

User can go to any computer and login then automatically their f: and g:
should get assigned.

Can it be done using samba?. Should we have seperate batch file under
netlogon folder for every user.

Pls help me.

Waiting for the tips


Saravanan.


--
M.Saravanan
CCAT LTD,
4204 Hong Kong Plaza,
188,Connaught Road West,Hong Kong.
Phone : 2851 6318.
Mobile: 6100 0856
email: saravanan@ccatgroup.com

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
Subject: [Samba] how to set share folder for every user ?
Author: Christian Walther    Posted: 2006-02-02 04:20:06    Length: 1,409 byte(s)
[Original] [Print] [Top]
This isn't a samba issue, what you're trying to accomplish is to mount
the shares automatically into the right place. You can either do this
graphically using the Windows-GUI, or from the command line. See the
help about the "net use" command.

An example would be: mount f: \[server]scan /user [username] /persistent

/persistent will reconnected to the share after a reboot.

This would require that you set up the mounts on all workstations. The
alternative is to setup a logon script that contains commands such as
the one above (without the /persistent because the logon script is
executed every time someone logs on).
FYI: There is a "special" share called HOMES available, if you set
this up. It is mapped to the unix users home directory automatically.
A proper netlogon.bat script for you would be:

net use f: \serverscan
net use g: \serverhomes

See the Samba manual of how to set up a netlogon-script (it will
require another share) and more information about users home
directories (smb.conf.example is a nice place to start with).
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Original] [Print] [Top]
« Previous thread
[Samba] disk space limit
Samba Help
Page. 1
Next thread »
[Samba] DFS redirection to sub-folders beyond share
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:58:53, cost 0.021897077560425 ms.