Has anyone had success using NetUseAdd() on shares that were replica links on a Windows 2003 DFS root? In my code, I'm getting error:
pywintypes.error: (67, 'NetUseAdd', 'The network name cannot be found.') This is my scenario: Win2003 Server hosting DFS root #NTS-03 \\NTS-03.central.purdue.lcl\MI Win2003 Server hosting file share \\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. -- http://mail.python.org/mailman/listinfo/python-list