Hey guys,
i´ve got a problem with our mac labs.
We have three smb home directorys four our students.
stud1-uni...
stud2-uni...
stud3-uni...
The student accounts are seven digit, like s324218.
But not all student accounts have there home directory on every stud1-3-uni... - directory.
If the student account ends with 1, 2 or 3 (like s324212) then the home directory is on stud1
If the student account ends with 4, 5 or 6 (like s324216) then the home directory is on stud2.
and so on...
Does anyone has an idea how to detect the student account number and map the right home directory with a script?
