International

Testimonial

UMRA continues to be a valuable asset to our organization. With our growing number of students, we purchased additional UMRA licenses and even brought our high school business classes into the domain due to the fact UMRA makes expanding the AD painless.

Justin Myers

Joplin R8 Schools

We help you!

Want to know more? A price quote or online demo?

Call us +852 - 2512 8491 sales@logon-int.com Give me an online demo

Testimonial

UMRA has been a great help for us to get grip on our usermanagement. We use it to delegate usermanagement to our service department, to auto-update users with input from our personel files and for mass-edit -move and -check users. UMRA -and its support- has proven itself to be very flexible in use even in a complex environment.

Ing. A. Gotink ICT Expert / Productmanager Windows

Read more...

Previous Topic

Next Topic

Book Contents

Script to reset a password

The script to reset the password of the selected user account connects to the LDAP Service, initializes the attributes modification data and updates the directory service user account.

Figure 31: Script action to execute the script of project ResetPassword - InitializeVars.

With the Execute script action, the variables used to setup the LDAP session are initialized. The LDAP session is initialized using SSL.

Figure 32: Script action to setup the LDAP session.

The LDAP modification data is setup with a single attribute that is used for the user account password. The name of the attribute, as defined by the eDirectory schema is: userPassword. The type of modification is: replace since the current attribute value must be replaced by the new one.

Figure 33: Script action to initialize the LDAP modification data.

The value of the attribute is set equal to the specified variable %NewPassword%.

When the modification data is setup, the update can be made.

Figure 34: Script action to modify the directory service item.

The action is completely specified by the following variables:

  1. %LdapSession%: The data structure representing the LDAP session with the LDAP Server.
  2. %UserDN%: The distinguished name of the of the selected user account. The name identifies the directory service item, e.g. the user account.
  3. %LdapData%: The modification data, holding the new replacement value of the password attribute of the user account.

When the script is executed, the form is returned to allow the end-user to reset the password of the next user account.

See Also

Project: Novell eDirectory - Reset password

Table with user accounts

Setting a password submit button