[Samba] Multiple Login scripts

Robert Schetterer robert at schetterer.org
Sat Nov 19 15:31:10 GMT 2005


Paul Gienger schrieb:

>>>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 
>>    
>>
>
>You could put this on a network share, which is either called via UNC
>(speculation, don't know if this works) or you could map the drive before
>running the ifmember tests.  There are no files requiring an install, just
>the ifmember.exe.
>
>  
>
for sure ifmember.exe must be sit in the netlogon share, i used simular 
setups in wide smb installs and it works like charme with multiple
funktions, its easy to setup as it only depends on bat coding.
Regards


More information about the samba mailing list