[Samba] smb.conf for around 2500 users
steve
steve at steve-ss.com
Tue Jul 3 01:40:24 MDT 2012
On 02/07/12 23:44, Lukasz Zalewski wrote:
> On 02/07/2012 21:20, steve wrote:
>> On 02/07/12 18:50, Lukasz Zalewski wrote:
>>> On 02/07/12 17:20, steve wrote:
>>>> On 02/07/12 17:49, Jonathan Buzzard wrote:
>>>>>
>>>>> On Mon, 2012-07-02 at 17:39 +0200, steve wrote:
> Hi Steve,
> Maybe I have misunderstood what you are trying to do but if you already
> have automounter doing the right thing - maybe for the sake of argument
> mapping
> /home2/students/year7/year7a/student1
> /home2/students/year7/year7a/student2
> ...
> ...
> /home2/students/year13/year13a/student2500
> to
> /homes/student1
> /homes/student2
> ...
> ...
> /homes/student250
>
> then you need only [homes] share in the smb.conf,
> and then (similarly to Matthieu's suggestion) provide
> \\servername\%username%
> for homeDirectory attribute (and profilePath if you want roaming profiles)?
>
>
> HTH
>
> L
Hi Lukasz
No, you have understood perfectly
Is you [homes] a winbind [homes]?
If so, we'd rather avoid having everyone in the same folder even if they
are only links to the real data. We'd like to separate students from
e.g. [staff] [admin] [webstuff] ... if only for readability purposes e.g.
[students]
path = /home/students/data
read only = No
browsable = No
then
ln -s /home2/students/year7/year7a/student1 /home/students/data/student1
In AD that becomes:
unixHomeDirectory: /home2/students/year7/year7a/student1
homeDirectory: \\server\students\student1
homeDrive: Z:
How does that look?
Cheers and thanks for your time,
Steve
More information about the samba
mailing list