Re: [python-win32] Extracting share permissions

2006-02-01 Thread Brad Tilley
Quoting Roger Upole [EMAIL PROTECTED]: - Original Message - From: Brad Tilley [EMAIL PROTECTED] To: Roger Upole [EMAIL PROTECTED] Cc: python-win32@python.org Sent: Tuesday, January 31, 2006 8:28 PM Subject: Re: [python-win32] Re: Extracting share permissions Quoting Roger Upole

Re: [python-win32] Extracting share permissions

2006-02-01 Thread Brad Tilley
Quoting Roger Upole [EMAIL PROTECTED]: [Sorry, somehow I massively screwed up the format the first time] There are a couple of different options for persisting a security descriptor. buffer(security_descriptor)[:] retrieves the raw bytes in binary form. This can be passed to

Re: [python-win32] Extracting share permissions

2006-01-31 Thread Brad Tilley
me how to incorporate the SHARE_INFO_502 into this? If so, it'd be a big help. Thanks, Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brad Tilley Sent: Tuesday, 31 January 2006 9:11 AM To: python-win32@python.org Subject: [python-win32

[python-win32] Extracting share permissions

2006-01-30 Thread Brad Tilley
Hi there, I've googled around a bit but I can't find an easy, straight-forward way of doing this in Python. Here's my situation: I want to be able to extract 'share permissions' (not file system permissions) from shares and then reapply them. We have a large file server that occasionally has to

Re: [python-win32] How to get Worgroup list?

2006-01-10 Thread Brad Tilley
Quoting Karlo Lozovina [EMAIL PROTECTED]: Friday, January 6, 2006, 9:33:26 AM, you wrote: http://groups.google.com/group/comp.lang.python/msg/d448ab26621ee8bf http://groups.google.com/group/comp.lang.python/msg/2aa365a285899845