Displaying 1 result from an estimated 1 matches for "hresum".
Did you mean:
resum
2007 Nov 26
1
DFS enumeration on a Samba hosted DFS tree.
...entries here.
As well I've written up a small tool to check each link in the DFS
tree (to detect broken links) using the Win32 API function NetDfsEnum.
Basically (this is going to get pretty mangled):
result = NetDfsEnum(argv[1],3,MAX_PREFERRED_LENGTH,(LPBYTE
*)&root,&numEntries,&hResume);
while(result==ERROR_SUCCESS) {
for(iterator=1;iterator<=numEntries;iterator++) {
info = dfsEntry->Storage;
for(numStorage=dfsEntry->NumberOfStorages;numStorage>0;numStorage--) {
swprintf_s(buffer,MAX_PATH,L"\\\\%s\\%s\\*",info->ServerName...