[Samba] Home share

Kristyan Osborne kris at longhill.brighton-hove.sch.uk
Mon Feb 23 10:23:03 GMT 2004

Hash: SHA1


I am sending this email again as our email server died over the weekend and I'm not sure if I had any responses.

I want to stop students from writing .bat .exe .com .jar etc files to their w drives but allow staff to do so. I have the normal homes share in the smb.conf file.

I decided to put the parameter include = /usr/local/samba/lib/%G_smb.conf

I have a staff_smb.conf and a students_smb.conf file.

In these files it has just the homes share in it. The only difference is in the students file it has veto files for the above.

It seems to work quite nicely except, after a few minutes of being logged on, you loose the mapped drive to your homes share.

If you put it back to just having one conf file it works all day.

Can someone suggest where I'm going wrong or a better solution to the problem.


- -------------
Kristyan Osborne - IT Technician / Community Manager
Longhill High School
01273 391672 / 304086

- ------
Computers are like airconditioners: They stop working properly if you open windows.
Win95:       A 32-bit patch for a 16-bit GUI shell running on top of an
             8-bit operating system written for a 4-bit processor by a
             2-bit company who cannot stand 1 bit of competition.

Version: GnuPG v1.2.4 (MingW32)


More information about the samba mailing list