On Tue, Aug 13, 2013 at 04:31:19PM +0900, Nigel Barker wrote:You'll have to use templates (one for each year) for csv import, see
> Could someone give me a brief outline like this: 1 add department, 2.
> create group..... and then I will try to figure it out and add to the
> documentation. At the moment I'm struggling with the concepts and
> getting a sinking feeling.
> This is what I'm trying to achieve
> student homes to be created in:
> groups corresponding to each year, so student A will be a member of
> the 2014group, and the students group.
> The above will hopefully work from csv import.
Theoretically, it should work somehow like outlined here:
Main menu: goto 'Directory structure', click the 'Students' department.
(The 'Base' field should show '/Students'.)
>From the drop box 'Actions' choose 'Create'/'Department'.
Fill in values for Name and Description fields, leave the Base field as
is (should be '/Students'). Save it clicking 'Ok'.
Now the new department below of /Students should show up, click it.
Choose 'Groups' from the main menu; 'Actions'/Create/Group.
Enter group name (leave 'Base' as is, should be /Students/<new
department>) and click the check box left of 'Samba group'. 'Ok' to save
Choose 'users' from the main menu. Change to 'Students' in the Base
field. An Entry 'NewStudent' should show up, click it. This is the
'students' template, not a real user. As you'll have to create such a
template (to be able to use csv import for your structure) based on this
one, notice all entries showing up in the Generic, POSIX and Samba tabs,
mabe take sreenshots.
Now change to /Students/<new department> in the Base field; choose
Create/Template and start to fill in your desired values, first the
Generic tab (add your new group, too), then add POSIX and Samba account.
Choose your new template when doing csv import; testing it with a few
Should be done using the template.
> samba access for every student to his own home
first one: see commented out examples in /etc/samba/smb-debian-edu.conf
> samba and linux access for all students to a shared folder
(end of file), second one: see manual.