[K12OSN] SMB-LDAP and allowing Teachers to view Students home directories

Julian Yap julian_yap at yahoo.com
Thu Dec 14 08:06:28 UTC 2006


Hi all,

I'm helping with the upgrade of a local school's single K12LTSP server
to using a LDAP server and more K12LTSP labs.

Currently they have the standard Linux convention for students in that
their user name is the same as their primary group.

For example:
uid=1001(student) gid=1001(student) groups=1001(student)

The Teacher for that Student is then a member of that Student's primary
group:
uid=2001(teacher) gid=2001(teacher) groups=2001(teacher),1001(student)

A Teacher can than access the Student's home directory as the Student's
home directory's Group permissions are turned on.
eg.
$ ls -ld ~student
drwsrws--- 56 student student 4096 Dec 13 19:35 /home/student


Here's the rub.  I'm having problems thinking of how this would best
translate to a SMB-LDAP environment.  Both security wise and simplicity
wise.  That is, how can I best allow Teachers the ability to access
Student's home directory files.

This is an example student in the new system:
uid=1004(student) gid=513(Domain Users) groups=914(Students),513(Domain
Users)

This is an example teacher in the new system:
uid=1005(teacher) gid=513(Domain Users) groups=523(Staff),513(Domain
Users)

These are the default permissions for a Student's home directory:
$ ls -ld ~student
drwx------  3 student Domain Users 4096 Dec 13 20:53 /home/student

Any help would be great.

Thanks,

Julian




More information about the K12OSN mailing list