Yes, I have never gotten it to return anything but 0. The ACL is hiding in the SecurityDescriptor field as a binary value so I am not sure what the point of the Permissions field is (perhaps a placeholder). If you want to see who has permissions to the share I have had better success using Win32::Perms by Dave Roth.
 
-Andrew
-----Original Message-----
From: Allen, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 11:52 AM
To: '[EMAIL PROTECTED]'
Subject: NetShareGetInfo

When I call the NetShareGetInfo function of the Lanman module, the permissions info always returns "0" regardless of the actual permissions.

 

Anyone else run into this?

 

Thanks!

 

Matthew Allen

303-462-6000 x46645

Enterprise Systems Management

Gateway Computers

 

Reply via email to