Re: [python-win32] win32net

2007-05-29 Thread Tim Golden
Teodor Ivanov wrote: > The statement '"global group" can only contain domain users' is true only for > MS domains running in mixed mode ( I mean the OS of primary domain controller > is > Windows 2000 or 2003 ), but if it is in native 2000 or native 2003 mode, then > the global security groups c

Re: [python-win32] win32net

2007-05-29 Thread Teodor Ivanov
Tim Roberts probo.com> writes: > > Wolf, Matthias ALRT/ELD wrote: > > >Thanks for your answer! > > > >You are right, but in the group 'GROUP' are users and groups and I want to receive both. Probably I need > something like "win32net.NetGroupGetGroups" instead of "win32net.NetGroupGetUsers". Is

Re: [python-win32] win32net

2006-09-08 Thread Tim Roberts
Wolf, Matthias ALRT/ELD wrote: >Thanks for your answer! > >You are right, but in the group 'GROUP' are users and groups and I want to >receive both. Probably I need something like "win32net.NetGroupGetGroups" >instead of "win32net.NetGroupGetUsers". Is there any possible way to realise >this? >

Re: [python-win32] win32net

2006-09-07 Thread Mark Hammond
Try something like: >>> import win32net >>> win32net.NetGroupGetUsers(win32net.NetGetAnyDCName(), 'domain users', 1) Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wolf, Matthias ALRT/ELD Sent: Thursday, 7 September 2006 11:55 PM To: python-win32@py

Re: [python-win32] win32net

2006-09-07 Thread querdenker
Wolf, Matthias ALRT/ELD wrote: > Hallo, > > I try to print every member of a windows doamin-group, the username as > well as the group > name. But I just receive the usernames and no groupnames, where is my > fault? > > Here is a small codesnip from a large script of attemps. > > > codesnip:

Re: [python-win32] win32net

2006-09-07 Thread Tim Roberts
Wolf, Matthias ALRT/ELD wrote: > Hallo, > > I try to print every member of a windows doamin-group, the username as > well as the group > name. But I just receive the usernames and no groupnames, where is my > fault? > > Here is a small codesnip from a large script of attemps. > > > codesnip: > ###