This is a discussion on Re: [Samba] Multiple Login scripts within the Samba forums, part of the Networking and Network Related category; > > Hi, > jep it can be done , use ifmember.exe from the resource kit, > and install printers ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>
> 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 an= d 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 |