samba-technical@lists.samba.org
[Top] [All Lists]

Re: Home share sub-folder's

Subject: Re: Home share sub-folder's
From: Andrew Bartlett
Date: Tue, 11 Sep 2007 08:00:42 +1000
On Mon, 2007-09-10 at 16:28 +0200, Eddy PELAIC wrote:
> Hello,
> 
> excuse me for my english ;-)
> 
> I had a problem with smb.conf subtitution variables because I use 
> subfolder's in the home share of the user (easier to find home when you 
> have 5000 user in the same home share).
> 
> ex: for user 'toto' in share HOME, the path will be   // HOME / t / o / toto
> 
> but samba don't have regexp

But you don't need to set anything in smb.conf for this - [homes]
defaults to whatever the home directory is, whereever it it, as long as
it is listed in /etc/passwd (or equivalent) correctly.

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
<Prev in Thread] Current Thread [Next in Thread>