steve | 19 Jun 2012 13:33
Favicon

winbind template homedir liimitations

Hi
Is it possible to specify more than one
template homedir = xxx
in smb.conf?

Everyone seems to have their Linux home directories created in the same 
folder, which makes administration difficult. We'd like to organise 
users into sub folders.

Cheers,
Steve
--

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

NdK | 19 Jun 2012 14:47
Picon
Gravatar

Re: winbind template homedir liimitations

Il 19/06/2012 13:33, steve ha scritto:

> Is it possible to specify more than one
> template homedir = xxx
> in smb.conf?
I don't think so.
It could be useful for me, too, if possible (say: to have a web-home dir
for some users, on a separate share than their data-home).
But I couldn't define a clear semantic for multiple [homes], even if at
all possible.

> Everyone seems to have their Linux home directories created in the same
> folder, which makes administration difficult. We'd like to organise
> users into sub folders.
You can differentiate on the domain and other info, replacing parts of
path with macros. Maybe not much, but it's a start.

BYtE,
 Diego.
--

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

steve | 19 Jun 2012 16:41
Favicon

Re: winbind template homedir liimitations

On 19/06/12 14:47, NdK wrote:
> Il 19/06/2012 13:33, steve ha scritto:
>
>> Is it possible to specify more than one
>> template homedir = xxx
>> in smb.conf?
> I don't think so.
> It could be useful for me, too, if possible (say: to have a web-home dir
> for some users, on a separate share than their data-home).
> But I couldn't define a clear semantic for multiple [homes], even if at
> all possible.
>
>> Everyone seems to have their Linux home directories created in the same
>> folder, which makes administration difficult. We'd like to organise
>> users into sub folders.
> You can differentiate on the domain and other info, replacing parts of
> path with macros. Maybe not much, but it's a start.
>
> BYtE,
>   Diego.

Hi Diego
The macro idea sounds good.

What we are doing at the moment with Samba4 is storing the
unixHomeDirectory attribute in the directory and pulling it back out 
with nss-pam-ldapd:

/etc/nslcd.conf
map	passwd	uid              samAccountName
(Continue reading)


Gmane