diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-10-04 15:13:36 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-10-05 08:54:08 -0400 |
commit | c594ab88badcbd3f3be4e168615fdc0ab22f8afd (patch) | |
tree | a4c2dff5c16ec996f112eff4d6f796a6bbdb7b92 /daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h | |
parent | 3b38e74da5c9ad2c151a38af1b22492a1a69e55e (diff) | |
download | freeipa.git-c594ab88badcbd3f3be4e168615fdc0ab22f8afd.tar.gz freeipa.git-c594ab88badcbd3f3be4e168615fdc0ab22f8afd.tar.xz freeipa.git-c594ab88badcbd3f3be4e168615fdc0ab22f8afd.zip |
Add options to control NTLM hashes
By default LM hash is disabled.
Of course generation still depends on whether the SamAccount objectclass is
present in the user object.
Diffstat (limited to 'daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h index 450e7100..16e0efbe 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd.h @@ -47,6 +47,7 @@ #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> +#include <stdbool.h> #include <prio.h> #include <ssl.h> @@ -110,6 +111,8 @@ struct ipapwd_krbcfg { struct ipapwd_encsalt *pref_encsalts; char **passsync_mgrs; int num_passsync_mgrs; + bool allow_lm_hash; + bool allow_nt_hash; }; int ipapwd_entry_checks(Slapi_PBlock *pb, struct slapi_entry *e, |