> > Hi, > jep it can be done , use ifmember.exe from the resource kit, > and install printers by group membership > like this > > #defautllogin.bat > @echo off > ifmember /v /l "YOURDOMAINNAME\teachers" > if errorlevel 1 call teachers.bat >
this is fine but for the fact that you need to install the ifmember.exe in *all* the computers. We use the poorman's version of it which works fine and needs nothing at the client(1): net group /domain groupname | find /i "%username%" if errorlevel 0 call teachers.bat (1)win 2000 or newer only. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
