On 18/02/2012 23:22, Rod Person wrote:
On Fri, 17 Feb 2012 20:20:09 +
Tim Goldenm...@timgolden.me.uk wrote:
On 17/02/2012 18:26, Rod Person wrote:
import win32security as win32s
sd =
win32s.GetFileSecurity(sh,win32security.GROUP_SECURITY_INFORMATION)
Assuming that sh here is the name
On Mon, 20 Feb 2012 11:53:46 +
Tim Golden m...@timgolden.me.uk wrote:
Let's see. I think where we're at is this: you have a number of shares
on server1 (sharea, shareb) which you wish to set up on server2 so
that, in effect, the same users can access them in the same way. (And,
if you
On Mon, 20 Feb 2012 11:53:46 +
Tim Golden m...@timgolden.me.uk wrote:
code
import win32net
def shares (system):
share_infos, total, hResume = win32net.NetShareEnum (system, 2, 0)
for share_info in share_infos:
if share_info['type'] == 0:
yield share_info
while
On Fri, 17 Feb 2012 20:20:09 +
Tim Golden m...@timgolden.me.uk wrote:
On 17/02/2012 18:26, Rod Person wrote:
import win32security as win32s
sd =
win32s.GetFileSecurity(sh,win32security.GROUP_SECURITY_INFORMATION)
Assuming that sh here is the name of of the share
(eg
Hi,
I'm trying to get a list of User Groups that have access to shares on a
remote server. I am able to get a listing of all the shares on the
server using wmi. This is the cloesest I got so far:
import win32security as win32s
sd =
On 17/02/2012 18:26, Rod Person wrote:
Hi,
I'm trying to get a list of User Groups that have access to shares on a
remote server. I am able to get a listing of all the shares on the
server using wmi. This is the cloesest I got so far:
import win32security as win32s
sd =