I'm very new to Linux and networking in general. I have spent 5 hrs going through this forum trying to find a solution to my problem, with no success. I'm hoping someone out there will be able to point me in the right direction.
I have set up 3 I bays (Staff, Business, Trust) and linked these with groups (Instructors, Management, trustees. Various users have access to various files on various ibays
My problem is when the netlogon.bat is executed it halts on loading an ibay if the user doesn't have permission. It waits for a password and user ID if the user doesn't belong to all three groups.
I have tried using the "if" command but I can't get the syntax right. From reading posts I have tried
if group=instructors
net use G: \\sarinz-1\staff /persistent:no
end if
this didn't appare to work and have tried #ifg, ifg, if -g.
can someone give me an answere on how to test if a particular user belongs to a group and then load the relevant Ibay it would be much appreciated.