[Samba] Samba as PDC and BDC on the same network.
mi.lists at alma.ch
Mon Mar 7 08:40:49 GMT 2005
>echo "Script de demarrage"
>net use T: \\PDC\temp /PERSISTENT:NO
>Then, if the PDC becomes down, this script wouldn't work and i must be
>there to change the name of the server in the script.
>So, what should I do ??
Maybe you could use errorlevel to try your preferred server first?
net use T: \\PDC\temp /PERSISTENT:NO
if errorlevel 1 net use T: \\%LOGONSERVER%\temp /PERSISTENT:NO
More information about the samba