Title: RE: get share permission

The attached is the script I have been testing to get listing of remote shares and permissions. It works well in returning permissions, but, if the permissions are granted to a non local account or group, the name/group is not listed.

I have not found the fix for that yet.

run the script with the remote server's name or ip address as argument.

I will print to screen and produce an HTML file with the table of information.

This is 1 sub routine of the larger server assessment tool I use and constantly add to that provides information on our servers.


_________________________________________________
Bobby Brown
Security Analyst
Deloitte & Touche



-----Original Message-----
From: Louie Iturzaeta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 4:35 PM
To: 'Timothy Johnson'; Louie Iturzaeta;
[EMAIL PROTECTED]
Subject: RE: get share permission


Thanks for everyones help!

-----Original Message-----
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 2:16 PM
To: 'Louie Iturzaeta'; [EMAIL PROTECTED]
Subject: RE: get share permission



Try Win32::Perms on http://www.roth.net/perl.

-----Original Message-----
From: Louie Iturzaeta [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 1:44 PM
To: [EMAIL PROTECTED]
Subject: get share permission


I'm trying to write a perl script that gets a list of shares on a remote
machine and displays the share permissions. I can get the list of shares,
but I'm having a hard time trying to figure out how to get the permissions.
Can anyone show me where to look or have a bit of code that could get me
going?

-Louie

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin


----------------------------------------------------------------------------
----
This email may contain confidential and privileged
material for the sole use of the intended recipient.
If you are not the intended recipient, please contact
the sender and delete all copies.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
- This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  - If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.

 

 

Attachment: getshareinfo.pl
Description: Binary data

Reply via email to