On Mon, 2012-07-02 at 17:39 +0200, steve wrote: > Samba4 with Linux and Windows clients wanting to get the same home > folder data. > > Hi > A college has students arranged with Linux home directories according to > which year they belong to and which class within that year, a or b or > whatever, they belong to e.g.: > /home2/students/year7/year7a/student1 > /home2/students/year7/year7a/student2 > ... > ... > /home2/students/year13/year13a/student2500 > > To get at the same data on windows, I was thinking of a share for each > of the classes e.g. > [year7a] > path = /home2/students/year7/year7a > read only = No > browsable = No > ... > ... > [year13a] > path = /home2/students/year13/year13a > read only = No > browsable = No > > and mapping a drive letter to the share e.g. > map Z: to \\server\year7a\%USERNAME% >
Deal with it through your NSS mechanism so that the file server knows for \\server\%USERNAME% where the users home directory is actually located and then you can just use the special [homes] share. I do this with winbind and the unixHomeDirectory attribute in AD. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
