Getting/setting Win32 Lanman share permissions

From: Charles LaCour (nospam_at_lacour.homelinux.com)
Date: 02/06/04


Date: Fri, 06 Feb 2004 02:33:45 GMT

I am looking for a way to list and possibly change the permissions on
file shares on Win2K servers via a perl script.

I have tried using Win32::OLE to access ADSI objects for the shares but
there is no permissions listed.

I have looked at Win32NetResource and that has no more info than I can
get via ADSI.

I have also looked at Win32::lanman and I did not find anything in there
but the package is so large I am probably missing something.

Any assistance would appreciated.

-- 
Thanks
Charles LaCour


Relevant Pages

  • Getting/setting Win32 Lanman share permissions
    ... I am looking for a way to list and possibly change the permissions on ... file shares on Win2K servers via a perl script. ... I have tried using Win32::OLE to access ADSI objects for the shares but ...
    (comp.lang.perl)
  • File permissions
    ... I have a issue which commonly occurs within our file shares which I'd ... We've setup network files shares and on the NTFS permissions we've ... added groups like domain admins, ... What we find is users often create folders and subfolders, ...
    (microsoft.public.windows.server.active_directory)
  • RE: NTFS permissions on cluster share? Illogical!!!
    ... File Shares and their respective permissions? ... 256926 Implementing Home Folders on a Server Cluster ... Windows NT/2000/2003 Cluster Technologies ...
    (microsoft.public.windows.server.clustering)
  • Re: File Server Cluster - shares "access denied" on a node.
    ... I just checked the permissions they are the same when I look on the ... Share permissions look the same and on the physical server I can ... Its just when it fails over to nodeA the file shares give an "access ...
    (microsoft.public.windows.server.clustering)