diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-02-04 15:40:16 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-02-11 11:03:58 +0100 |
commit | 2e8daeb2bb30f57284f80cac51eb005f775e155f (patch) | |
tree | 75ac7779e3fa8335df5c1b10eedb5b3af121cc4b /docs-xml | |
parent | cef1d2ab8c46dda741ca901f71eccb8a8abeba1d (diff) | |
download | samba-2e8daeb2bb30f57284f80cac51eb005f775e155f.tar.gz |
docs-xml/smbdotconf: document export of SAMBA_CPS_{ACCOUNT,USER_PRINCIPAL,FULL}_NAME for check password script
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Feb 11 11:03:58 CET 2019 on sn-devel-144
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/smbdotconf/security/checkpasswordscript.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/security/checkpasswordscript.xml b/docs-xml/smbdotconf/security/checkpasswordscript.xml index 54f1096802b..1e9031fda42 100644 --- a/docs-xml/smbdotconf/security/checkpasswordscript.xml +++ b/docs-xml/smbdotconf/security/checkpasswordscript.xml @@ -15,6 +15,23 @@ <citerefentry><refentrytitle>samba</refentrytitle> <manvolnum>8</manvolnum> </citerefentry> without any substitutions.</para> + <para>Note that starting with Samba 4.11 the following environment variables are exported to the script:</para> + + <itemizedlist> + <listitem><para> + SAMBA_CPS_ACCOUNT_NAME is always present and contains the sAMAccountName of user, + the is the same as the %u substitutions in the none AD DC case. + </para></listitem> + + <listitem><para> + SAMBA_CPS_USER_PRINCIPAL_NAME is optional in the AD DC case if the userPrincipalName is present. + </para></listitem> + + <listitem><para> + SAMBA_CPS_FULL_NAME is optional if the displayName is present. + </para></listitem> + </itemizedlist> + <para>Note: In the example directory is a sample program called <command moreinfo="none">crackcheck</command> that uses cracklib to check the password quality.</para> |