[python-win32] NetUseAdd() and DFS roots
Sean Peterson
sean729 at gmail.com
Wed Nov 7 05:20:30 CET 2007
Has anyone mapped a share via a DFS link using NetUseAdd()?
This is my scenario:
\\NTS-03.central.purdue.lcl\MI is a DFS link on a Win2003 Server that
transparently redirects clients to
\\itifs03.itap.purdue.edu\itea_zonedirs\MI
<code>
import win32net
# this works --
win32net.NetUseAdd(None,1,{'remote':r'//itifs03.itap.purdue.edu/itea_zonedirs/MI/TEAMDIRS/DCS
Zone','local':'W:'})
# this doesn't work --
win32net.NetUseAdd(None,1,{'remote':r'//NTS-03.central.purdue.lcl/MI/TEAMDIRS/DCS
Zone','local':'W:'})
</code>
Any help greatly appreciated.
-Sean.
More information about the python-win32
mailing list