[CONC-314] Support for expired passwords Created: 2018-03-01  Updated: 2018-05-12  Resolved: 2018-04-18

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.4

Type: Task Priority: Major
Reporter: Georg Richter Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

Since version 5.6.6 the MySQL server supports password expiration.

Client applications needs an option to indicate, that they are able to handle expired passwords.
This happens by setting the client_capability CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS. If this capability is set, the server switches to a sandbox mode, in which a new password needs to be defined.

The capability will be set/unset via mysql_optionsv():

mysql_optionsv(mysql, MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS, 1);



 Comments   
Comment by Georg Richter [ 2018-04-18 ]

Available in C/C 3.0.4

Generated at Thu Feb 08 03:04:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.