[Samba] Breaking up user homes by letter

Ali Bendriss ali.bendriss at gmail.com
Tue Apr 23 06:22:17 MDT 2013


On Monday, April 22, 2013 04:45:15 PM Christopher Horsager wrote:
> Hi,
> 
> 
hello,
> 
> I've been digging all over and I can't seem to find an answer to this.
> 
> 
> 
> Is there a way to have Samba assign home  directory paths by the first
> letter of a username and then the actual username underneath? Like this:
> 
I use bind mount and symlink for that.
but I've done the split to ease the backup not for performance reason.

> 
> 
> /Users/j/Johnson
> 
> 
> 
> If I can, is there a way for Samba to also still direct the user right into
> that folder if in Windows they were to enter \\sbmserver\username
> <file:///\\sbmserver\username> ?
> 
> 
> 
> I'm just trying to separate out the home directories as this may possibly be
> used by 1000+ at once and I'm worried about performance having all the
> homes in one directory.
> 
Listing 1000+ directories may be slow but (on my system a least) chdir in one 
of them is fast wathever the number is.

> 
> 
> Chris


More information about the samba mailing list