[THIN] Re: OT: populate AD user info

  • From: "Allan Stephens" <algs@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jan 2004 11:08:18 +0800

There's a VBScript library on MSDN that will show you how to do this in a
web page.

Think it's vbscript.chm - a search should do it.

AS>


----- Original Message ----- 
From: "Euan Cooper" <Euan.Cooper@xxxxxxxxxxxx>
To: <thin@xxxxxxxxxxxxx>
Sent: Thursday, January 15, 2004 9:42 AM
Subject: [THIN] Re: OT: populate AD user info


> I seem to recall seeing something like this for Exchange 5.5 some years
ago
>
> Basically you published a form that users could fill in once the submitted
> the form it would automatically update the exchange directory.
>
> IIR the form only allowed you to update your own info - and only the
fields
> that the admin had configured to allow updating.
>
> As I mentioned, this was a few years back - I'll see if I can dig up any
> more info on this.
>
> -Ec
>
> -----Original Message-----
> From: Jeff Durbin [mailto:techlists@xxxxxxxxxxxxx]
> Sent: Thursday, 15 January 2004 2:35 p.m.
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: populate AD user info
>
>
> Definitely! Actually, you could probably configure it to be self-service
via
> a web page.
>
> JD
>
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
> Of Roger Riggins
> Sent: 15 January 2004 11:23 AM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: populate AD user info
>
>
> Thanks. I was envisioning IT sending a form to all staff to fill out and
> send back and then use a script similar to this to parse the files and
enter
> that info into their existing accounts. Sound feasible?
>
> R
>
>
>
> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
> Of Paul DeHaan
> Sent: Wednesday, January 14, 2004 4:12 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT: populate AD user info
>
> Nothing like a slick vbscript using a little adsi!  If you're not into
> scripting... good luck and start with cwashington.netreach.net.  Here's a
> sample of how you would create a user and add info to a few fields. You'll
> have to look around to figure out the other field names I don't list.  The
> code might wrap.
>
> 'On error resume next
> Set ou = GetObject("LDAP://OU=Users,OU=,dc=ms,dc=com";)
> Set usr = ou.Create("user", "CN=jSmith")
>
> '--- Mandatory Attributes----
> usr.Put "samAccountName", "jsmith"
>
> '---- Optional Attributes, you can optionally skip these----
>
> usr.Put "sn", "Smith - SN"
> usr.Put "givenName", "John - given"
> usr.Put "displayname", "John Smith - display"
> usr.Put "name", "jsmith"
> usr.Put "description", "Charlotte - description 1"
> usr.Put "userPrincipalName", "jsmith@xxxxxx"
> usr.Put "physicalDeliveryOfficeName", "Charlotte"
> usr.Put "title", "Test account - Paul D."
> usr.Put "homedirectory", "\\rober\script\jsmith"
> usr.Put "homedrive", "H:"
> usr.Put "scriptpath", "slogon.bat"
> usr.SetInfo
>
> '--Now that the user is created, reset the user's password and '--enable
its
> account
>
> usr.SetPassword "secret***!"
> usr.AccountDisabled = True
> usr.SetInfo
>
> Have fun!
>
> Paul DeHaan CISSP, CCNA, CCA...
> Network Administrator
> J.M. Huber Corp.
>
> ------------>
> "The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential, proprietary, and/or
> privileged material.  Any review, retransmission, dissemination or other
use
> of, or taking of any action in reliance upon, this information by persons
or
> entities other than the intended recipient is prohibited.  If you received
> this in error, please contact the sender and delete the material from all
> computers."
>
> >>> roger.riggins@xxxxxxxxxx 01/14/04 03:08PM >>>
> Anybody know of a way to get user info (name, job title, phone numbers,
> etc.) entered into AD other than us manually entering the stuff?
>
>
>
> Roger Riggins
>
> Network Administrator
>
> CCA, CCNA, MCSE
>
> w: 319.352.2630 x306
>
> c: 319-290-5687
>
>
>
> Lutheran Services in Iowa
>
> http://www.lsiowa.org
>
>
>
>
>
>
> Notice of Confidentiality:
> This e-mail and any attachments may contain privileged and/or confidential
> information. This e-mail is intended solely for the use of the individual
or
> entity to which it is addressed. If you are not the intended recipient of
> this e-mail, you are hereby notified that any copying, distribution,
> dissemination or action taken in relation to the contents of this e-mail
and
> any of its attachments is strictly prohibited and may be unlawful. If you
> have received this e-mail in error, please notify the sender immediately
and
> permanently delete the original e-mail and destroy any copies or printouts
> of this e-mail as well as any attachments. Please note Lutheran Services
in
> Iowa does not endorse any opinions, conclusions or other information
> contained within this message that does not pertain to official business.
>
>
> ********************************************************
> This Week's Sponsor - RTO Software / TScale
> What's keeping you from getting more from your terminal servers? Did you
> know, in most cases, CPU Utilization IS NOT the single biggest constraint
to
> scaling up?! Get this free white paper to understand the real constraints
&
> how to overcome them. SAVE MONEY by scaling-up rather than buying more
> servers. http://www.rtosoft.com/Enter.asp?ID=147
> *********************************************************
> Useful Thin Client Computing Links are available at:
> http://thethin.net/links.cfm
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thethin.net/citrixlist.cfm
> ********************************************************
> This Week's Sponsor - RTO Software / TScale
> What's keeping you from getting more from your terminal servers? Did you
> know, in most cases, CPU Utilization IS NOT the single biggest constraint
to
> scaling up?! Get this free white paper to understand the real constraints
&
> how to overcome them. SAVE MONEY by scaling-up rather than buying more
> servers. http://www.rtosoft.com/Enter.asp?ID=147
> *********************************************************
> Useful Thin Client Computing Links are available at:
> http://thethin.net/links.cfm
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thethin.net/citrixlist.cfm
> ********************************************************
> This Week's Sponsor - RTO Software / TScale
> What's keeping you from getting more from your terminal servers? Did you
> know, in most cases, CPU Utilization IS NOT the single biggest constraint
to
> scaling up?! Get this free white paper to understand the real constraints
&
> how to overcome them. SAVE MONEY by scaling-up rather than buying more
> servers. http://www.rtosoft.com/Enter.asp?ID=147
> *********************************************************
> Useful Thin Client Computing Links are available at:
> http://thethin.net/links.cfm
> ***********************************************************
> For Archives, to Unsubscribe, Subscribe or
> set Digest or Vacation mode use the below link:
> http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers. http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: