JDBC Driver for LDAP

Build 24.0.9175

ResetPassword

Resets the password for a specific user identified by DN. Use this procedure for administrator-level resets when the current password is not required. The AdminUser or User in the connection settings must be a valid DN, and the connection must use SSL.

Input

Name Type Description
AdminUser String Specifies the Distinguished Name (DN) or username of an administrator account used to bind to the server for authentication. For example, 'Domain\BobF' or 'cn=Bob F,ou=Employees,dc=Domain'.
AdminPassword String The password for the administrator account used to authenticate and bind to the LDAP server.
User String Specifies the Distinguished Name (DN) or username of the user account for which the password is being reset. For example, 'Domain\BobF' or 'cn=Bob F,ou=Employees,dc=Domain'.
NewPassword String Specifies the new password to be assigned to the user account identified by the DN. Ensure that the new password complies with the LDAP server's password policies.
PasswordAttribute String Defines the specific password attribute used by your LDAP server for updating passwords. For example, Active Directory typically uses 'unicodePwd', while other LDAP servers may require 'userPassword'.

デフォルト値はunicodePwdです。

Result Set Columns

Name Type Description
Success String Indicates whether the password reset operation was successfully completed on the LDAP server.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175