Samba netlogon startup.bat

cat /opt/samba/netlogon/startup.bat
echo %USERNAME%

if %USERNAME%==root (

echo rootroot

) else (

net use k: \\server-dat\data

net use q: \\server-eng\quality

net use r: \\server-eng\docs

net use s: \\server-eng\safety

net use m: /delete

net use m: \\server-adm\admin

net use z: /delete

net use z: \\server-prn\z_printerdrivers

)

dir k:

dir q:

dir r:

dir s:

dir m:

dir z:

Advertisements

~ by nambabwe on 2007/03/09.

 
%d bloggers like this: