From dd2e1d3aaa6253d4e7f9bccad33a2ec129f1597e Mon Sep 17 00:00:00 2001 From: Thomas Woerner <twoerner@redhat.com> Date: Thu, 31 Oct 2019 11:39:09 +0100 Subject: [PATCH] ipauser: Add info about version limitation of passwordexpiration The information about the version limitation of the passwordexpiration parameter has been missing. The parameter is only usable for IPA versions 4.7 and up. --- README-user.md | 2 +- plugins/modules/ipauser.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README-user.md b/README-user.md index 528f0998..e7a934ba 100644 --- a/README-user.md +++ b/README-user.md @@ -332,7 +332,7 @@ Variable | Description | Required `email` | List of email address strings. | no `principal` \| `principalnam` \| `krbprincipalname` | The kerberos principal sptring. | no `principalexpiration` \| `krbprincipalexpiration` | The kerberos principal expiration date. Possible formats: `YYYYMMddHHmmssZ`, `YYYY-MM-ddTHH:mm:ssZ`, `YYYY-MM-ddTHH:mmZ`, `YYYY-MM-ddZ`, `YYYY-MM-dd HH:mm:ssZ` or `YYYY-MM-dd HH:mmZ`. The trailing 'Z' can be skipped. | no -`passwordexpiration` \| `krbpasswordexpiration` | The kerberos password expiration date. Possible formats: `YYYYMMddHHmmssZ`, `YYYY-MM-ddTHH:mm:ssZ`, `YYYY-MM-ddTHH:mmZ`, `YYYY-MM-ddZ`, `YYYY-MM-dd HH:mm:ssZ` or `YYYY-MM-dd HH:mmZ`. The trailing 'Z' can be skipped. | no +`passwordexpiration` \| `krbpasswordexpiration` | The kerberos password expiration date. Possible formats: `YYYYMMddHHmmssZ`, `YYYY-MM-ddTHH:mm:ssZ`, `YYYY-MM-ddTHH:mmZ`, `YYYY-MM-ddZ`, `YYYY-MM-dd HH:mm:ssZ` or `YYYY-MM-dd HH:mmZ`. The trailing 'Z' can be skipped. Only usable with IPA versions 4.7 and up. | no `password` | The user password string. | no `random` | Generate a random user password | no `uid` \| `uidnumber` | The UID integer. | no diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index 4a25ed7b..9d4574f0 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -92,6 +92,7 @@ options: - (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ, - YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ, - YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped. + - Only usable with IPA versions 4.7 and up. required: false aliases: ["krbpasswordexpiration"] password: @@ -247,6 +248,7 @@ options: - (possible formats: YYYYMMddHHmmssZ, YYYY-MM-ddTHH:mm:ssZ, - YYYY-MM-ddTHH:mmZ, YYYY-MM-ddZ, YYYY-MM-dd HH:mm:ssZ, - YYYY-MM-dd HH:mmZ) The trailing 'Z' can be skipped. + - Only usable with IPA versions 4.7 and up. required: false aliases: ["krbpasswordexpiration"] password: -- GitLab