Hiya, 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. Cheers ------------- 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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hiya, 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. Cheers - ------------- 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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFAOdZYqrr+KdRYU5gRAtf4AKCjgeAOfhNHHONAWjV9I+/KSgRdZACff8wY W7DnmIwtSv2psYIzCoT+8uY=3EtV -----END PGP SIGNATURE-----