CData Python Connector for LDAP

Build 24.0.9060

ChangePassword

Changes the password of the current user, provided the current password is known. To set the password without a current password (requires an administrator), use ResetPassword. Note that the User set in the connection settings must be a valid DN. Additionally, you must be connected to the server using SSL.

Input

Name Type Description
NewPassword String The new password for the user specified by DN.
PasswordAttribute String The password attribute defined by your LDAP server. Active Directory uses unicodePwd but your server may require a different value such as userPassword

The default value is unicodePwd.

Result Set Columns

Name Type Description
Success String Indicates whether the attributes were modified successfully or not.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060