[Samba] smb.conf for around 2500 users

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Tue Jul 3 02:41:18 MDT 2012


On 03/07/12 09:29, steve wrote:
> On 03/07/12 09:40, steve wrote:
>> 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
>>
>
> Hi
> OK I made the link in /home/students/data
> lrwxrwxrwx 1 root root 31 Jul 3 09:54 joseph ->
> /home2/students/year7/7a/joseph
>
> However, in xp browsing to Z: gives:
> access is denied
>
> Not even Administrator has access to it. If Administrator grants himself
> rights and gives full control to joseph, both he and joseph still get
> access denied.
>
> However, joseph can access his home folder with the share like this
> (without the link):
> [students]
>  > path = /home/students
>  > read only = No
>  > browsable = No
>
> Are we sure that the file server understands symlinks?
> Cheers,
> Steve

Hi Steve,
Check wide links smb.conf parameter

L


More information about the samba mailing list