Solved

user to update own AD profile

Posted on 2008-06-11
8
259 Views
Last Modified: 2011-10-19
Hello, we have a script that updates information on active directory for admin users. Not admin users are not able to update their own profile. is it possible to give them access to only update their AD profile? all comments are appreciated.
0
Comment
Question by:hherrera
  • 4
  • 4
8 Comments
 
LVL 65

Expert Comment

by:RobSampson
ID: 21765117
Can you use the HTA from here:
http://www.scriptinganswers.com/vault/AD%20Administration/

The second script is the HTA, just rename that frin VBS to HTA.

This HTA doesn't seem to change any delegation of accounts though....

Regards,

Rob.
0
 

Author Comment

by:hherrera
ID: 21773647
thank you for your comment, I was able to use that code but unfortunatelly it gives me the same result, which is that the profile does not update.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 21774478
Do you get any error with your VBScript if you just run a simple update?

Rob.
Set objAD = CreateObject("ADSystemInfo")

Set objUser = GetObject("LDAP://" & objAD.UserName)

objUser.TelephoneNumber = InputBox("Enter Telephone number:", "Telephone Number", "xxxx")

objUser.SetInfo

MsgBox "Done"

Open in new window

0
 

Author Comment

by:hherrera
ID: 21774494
I tryied the code you provided, no errors. it displays the "DONE" windows but it does not update the users info in AD.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 65

Accepted Solution

by:
RobSampson earned 40 total points
ID: 21774561
Hmmm, OK, remote directly into a Domain Controller, and run AD Users and Computers.
Go to a normal user account, and double-click it.  On the Security tab, see if SELF has necessary Write permissions, such as Write Personal Information and Write Phone and Mail Options

Regards,

Rob.
AD-User-Security.jpg
0
 

Author Closing Comment

by:hherrera
ID: 31466388
Thank you very much, that was it. in the SELF  properties, there was no write permissions enabled. thank you again.
0
 

Author Comment

by:hherrera
ID: 21774580
Thank you very much, that was it. in the SELF properties, there was no write permissions enabled. thank you again.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 21774599
No problem.

Thanks for the grade.

Regards,

Rob.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike scripting languages such as C# where a semi-colon is used to indicate the end of a command, Microsoft's VBScript language relies on line breaks to determine when a command begins and ends. As you can imagine, this quickly results in messy cod…
When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now