list groups and users of NT domain

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marko Faldix

    list groups and users of NT domain

    Hello,

    I am looking for a language to achieve lists of all NT users and groups of a
    given NT domain on a Windows 2000 Server. It has to run within a webscript,
    so vbscript with windows scripting host is considered first. But before I
    dive into this, isn't it possible to do it with win32all?

    An ideal result would be something like the listings one get while changing
    file permissions on a file on a NT machine. I think, this extends too far,
    because you browse all accessible domains (isn't it?), but maybe it is
    sufficient enough to concentrate on one given known NT domain.

    Must I really use WSH and this combined with vbscript?


    Thanks for suggestions,

    --
    Marko Faldix
    M+R Infosysteme
    Hubert-Wienen-Str. 24 52070 Aachen
    Tel.: 0241-93878-16 Fax.:0241-875095
    E-Mail: marko.faldix@mp lusr.de


  • Waldemar Osuch

    #2
    Re: list groups and users of NT domain

    "Marko Faldix" <mf@mrinfo.de > wrote in message news:<bhdaer$10 objp$1@ID-108329.news.uni-berlin.de>...[color=blue]
    > Hello,
    >
    > I am looking for a language to achieve lists of all NT users and groups of a
    > given NT domain on a Windows 2000 Server. It has to run within a webscript,
    > so vbscript with windows scripting host is considered first. But before I
    > dive into this, isn't it possible to do it with win32all?[/color]

    Look into <Python>\Lib\si te-packages\win32\ demos folder.
    In your case you are most interested in win32netdemo.py but it will not hurt
    if you browse other files.
    There is a lot of useful examples there
    [color=blue]
    > An ideal result would be something like the listings one get while changing
    > file permissions on a file on a NT machine. I think, this extends too far,
    > because you browse all accessible domains (isn't it?), but maybe it is
    > sufficient enough to concentrate on one given known NT domain.
    >
    > Must I really use WSH and this combined with vbscript?
    >
    >
    > Thanks for suggestions,[/color]

    Waldemar Osuch

    Comment

    • Sean 'Shaleh' Perry

      #3
      Re: list groups and users of NT domain

      On Wednesday 13 August 2003 05:22, Marko Faldix wrote:[color=blue]
      > Hello,
      >
      > I am looking for a language to achieve lists of all NT users and groups of
      > a given NT domain on a Windows 2000 Server. It has to run within a
      > webscript, so vbscript with windows scripting host is considered first. But
      > before I dive into this, isn't it possible to do it with win32all?
      >
      > An ideal result would be something like the listings one get while changing
      > file permissions on a file on a NT machine. I think, this extends too far,
      > because you browse all accessible domains (isn't it?), but maybe it is
      > sufficient enough to concentrate on one given known NT domain.
      >
      > Must I really use WSH and this combined with vbscript?
      >
      >[/color]

      If you are using Active Directory you can easily access the data via LDAP.
      Not sure if you are since you said NT domain, but worth a shot.


      Comment

      • Marko Faldix

        #4
        Re: list groups and users of NT domain

        Hi,

        "Sean 'Shaleh' Perry" <shalehperry@co mcast.net> schrieb im Newsbeitrag
        news:mailman.10 60804824.4307.p ython-list@python.org ...[color=blue]
        > On Wednesday 13 August 2003 05:22, Marko Faldix wrote:[color=green]
        > > Hello,[/color][/color]

        [looking für list of NT Domain Groups/Users with python or WSH]
        [color=blue]
        > If you are using Active Directory you can easily access the data via LDAP.
        > Not sure if you are since you said NT domain, but worth a shot.[/color]

        I checked this point again. Indeed, OS will be switched to Active Directory.
        I had forgotten to distinguish between these two possibilities. The major
        scripts are already written with vbscript. Now I found this:



        With active directory installed, it works simple with vbscript, so switching
        to python is still not needed.
        Thanks for all suggestions,

        --
        Marko Faldix
        M+R Infosysteme
        Hubert-Wienen-Str. 24 52070 Aachen
        Tel.: 0241-93878-16 Fax.:0241-875095
        E-Mail: marko.faldix@mp lusr.de


        Comment

        Working...