Net*Enum APIs, can't link FileEnum user to host
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hello all, I just built a small program to log SMB connects. Using NetFileEnum I can pretty much log which user opens which directories and which files. But now I want to link this information to the host PC of the user. I can get all the users with their PCs using NetSessionEnum, but I can't link both. Situation; I have a public account on a big network, called LAN. Now with the thing I built I can see which files and dirs are opened by user LAN, yet I can't see from which PC it comes. And user LAN can be logged in from loads of PCs at the same time. I can use NetSessionEnum to get the PCs, but then I can't link it to the files they opened. Does anyone have any idea how I can get this information full? Thanks, - Fahr