Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to fetch groups and users on a win2k system

by OzzyOsbourne (Chaplain)
on Oct 11, 2002 at 17:59 UTC ( #204609=note: print w/replies, xml ) Need Help??


in reply to How to fetch groups and users on a win2k system

Admin::Misc won't pull correct info on a 2000 domain even in mixed mode. It will pull data from the PDC emmulator, but if you have users that were created in AD, you won't get them. You have to access ADSI directly.

I did this in a script found here. Pull out the first 2 subs. One will do NT4, and the other will do win2k via ADSI. The ADSI stuff was kind of hard to figure out, as there isn't a lot of info out there on Perl vs. ADSI.

-OzzyOsbourne

  • Comment on Re: How to fetch groups and users on a win2k system

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://204609]
help
Chatterbox?
[stevieb]: I don't know what you mean. I write the code in C/C++ that accesses the ICs per the datasheet, wrap it for Perl, then use them. My code ensures that the functions/methods from Perl do the right thing for the chips/sensors etc
[stevieb]: At least that's what I'm working on right now. I've also been updating my automated test software Test::BrewBuild so it handles this work properly. It's not really easy meshing high level languages with low-level hardware :)
[stevieb]: this link is probably better for an overview of my test software
[stevieb]: the top-level Raspberry Pi distribution, that sucks in all sub modules. All of this software have imminent updated releases coming

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-06-25 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (572 votes). Check out past polls.