On Fri, 2003-03-14 at 07:30, Haidenthaler Klaus wrote: > Yo! > > -----Ursprüngliche Nachricht----- > > Von: María Isabel López Sánchez-Huete [mailto:[EMAIL PROTECTED] > > Gesendet: Freitag, 14. März 2003 10:00 > > An: samba > > Betreff: Re: [Samba] subdirectory of home > > > > > > Thank you for your rapid answer, Tiago, but I suppose I don't well > > explain my doubt. > > > > What I want is to share a subdirectory of home instead the > > home itself. > > In this manner, when a user try connect to his home > > directory, he really > > will connect with, by example, /home/user/subdir. > > > > I don't now if it's possible to do that in the [homes] section, or I > > must create a new different section for every user. > > if your clients-machines are Windows2000 or later, you could run a > net use <drivename>: \\server\homes\your_subdir via netlogon.cmd > or even the local Startup-Folder without any changes to your samba-setup. > > Maybe you could add a "path = /home/%u/subdir" to the [Homes] segment, > dunno if this works, not even sure if the '%u' is the right variable. > > > > regards > > Klaus Haidenthaler > Softpoint electronics > Server / Netzwerke / IT-Security > > Phone: +43 732 / 79 44 79 - 81 > Fax: +43 732 / 79 44 80 > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
do not create a [homes] share. Instead, as Klaus suggests, [my-home] path = /home/%U/somedir valid users = %U browsable = true guest ok = false admin users = @your_admin_group_name If you're on a Windows domain, and you're using security = server, on the PDC in the user manager specify the UNC path to the home directory as in \\server\my-home -C -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba