Re: enumerate Domain Users



I agree with Pegasus, multi-posting is poor netiquette and can waste
people's time. He has a right to comment on it to minimize its impact. Doing
so does not prevent people from offering additional answers if they so
desire.

If you multi-post, you should at least explain what you are doing so that
people hear it from you and don't waste their time.

This is one of many netiquette guidelines that were documented in this RFC:
http://tools.ietf.org/html/rfc1855#section-3.1.3

An RFC is a "Request For Comments" publically available to the Internet
community and as such, can be commented upon, discussed and edited before
being finalised. So although I cannot say it is representative of the wishes
of the whole community, it's the closest thing we have.

What you did is somewhat similar to going into an office building, entering
multiple offices asking for help, then becoming argumentative when it is
pointed out to you that you are interrupting multiple people's work and it
is against company policy and that you should instead enter the appropriate
department and, if referred to another department, inform them of what you
have already learned and from whom. A lot of people multi-post without
understanding the consequences, but the hope is that most do not become
argumentative when it is pointed out to them.

Paul

"Al Dunbar" <AlanDrub@xxxxxxxxxxxxxxxxxxx> wrote in message
news:%23VEP$vTbIHA.1204@xxxxxxxxxxxxxxxxxxxxxxx

"Spacewalker" <I_hate_spam@xxxxxxxxxxx> wrote in message
news:O8HsEKObIHA.1132@xxxxxxxxxxxxxxxxxxxxxxx
I am always surprised how much time people waste to educate others :-)

Muilt-posting wastes the time of those who wind up solving a problem
already solved elsewhere, hence the desire to point out that multi-posting
is, ultimately, the cause of much time-wastage.

Mr. horse: if you feel responsible for saving the world - then let people
at least know WHERE my abhorrent "multi-posted" (2 NGs) questions was
answerd :

Whether or not Pegasus even remembers where he saw the other post is one
thing. But if you have posted and *you* don't remember where, well, what
is the point?

microsoft.public.scripting.vbscript (thx to the guy there....)

Oh, I see you did remember. Good then.

/Al

"Pegasus (MVP)" <I.can@xxxxxxxxxx> schrieb im Newsbeitrag
news:%23eCxADNbIHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
Multi-posted and answered in great detail elsewhere - see
here why multi-posting is not good:
http://www.blakjak.demon.co.uk/mul_crss.htm


"Steffen Meier" <test@xxxxxxxx> wrote in message
news:uD$xLeMbIHA.1168@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I need a VBS script that can enumerate all Users of a win2000 and
win2003 domain.
I would need the following 3 attributes from the ADS for each
Domainuser :

sAMAccountname,Description,Department


I have tried some LDAP queries... but I dont get these 3 attributes....

the code I use enumerates all Users for a group, but I dont get the 3
attributes that I need.
Also I need all users of the domain - not of a group (though I think
each Domain user is by default in the Domain Users group...?)

Currenty I use something like this:

strContainer = (points to Domain Users Group)
Set objRootDSE = GetObject("LDAP://RootDSE";)
Set objGroup = GetObject ("LDAP://"&; strContainer)

objGroup.getInfo

arrMemberOf = objGroup.GetEx("member")

wscript.echo strContainer & ":"
For Each strGroupMember in arrMemberOf
wscript.echo strGroupMember
Next


How should I modify this code - or write some new code, that enumerats
all Domain users with the attributes that I need?
(Would be perfect if I dont have to hardcode the domain name..but use
DefaultDomain....)

thank you









.



Relevant Pages

  • Re: enumerate Domain Users
    ... solved elsewhere, hence the desire to point out that multi-posting is, ... I need a VBS script that can enumerate all Users of a win2000 and ... but I dont get these 3 attributes.... ... each Domain user is by default in the Domain Users group...?) ...
    (microsoft.public.scripting.wsh)
  • Re: enumerate Domain Users
    ... here why multi-posting is not good: ... I need a VBS script that can enumerate all Users of a win2000 and win2003 ... but I dont get these 3 attributes.... ... Domain user is by default in the Domain Users group...?) ...
    (microsoft.public.scripting.wsh)
  • Re: how do I rename a sheet
    ... Please don't waste everyone's time by multi-posting. ... > an invalid name, that it must be 31 characteres or less, certain forbidden ...
    (microsoft.public.excel.newusers)
  • Re: help,ImageIO
    ... I am helping others, not to waste theirs. ... has a limit, but stupidity". ... ...and multi-posting, apparently. ...
    (comp.lang.java.help)