FR 
 
Site navigation



User Management Resource Administrator: User Account Management for Windows 2003/XP/2000/NT

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


Home | Products | Support | Pricing | Download | Press | About Us | Contact | Sitemap
QUICK LINKS: Mass / Bulk Import Software | Network Monitoring Software | Disk Quota Management
QUICK LINKS: User and Active Directory Management | Active Directory Migration | SSRPM Documentation