summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-slapi-plugins/ipa-pwd-extop/encoding.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve keytab code to select the right principal.Simo Sorce2016-02-011-7/+16
| | | | | | | | | | | | Whe requesting a keytab the salt used is the NORMAL type (for backwards and AD compatibility), however since we added alias support we need to search for the krbCanonicalName in preference, hen nothing is specified, and for the requested principal name when a getkeytab operation is performed. This is so that the correct salt can be applied. (Windows AD uses some peculiar aliases for some special accounts to generate the salt). Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
* keytabs: Expose and modify key encoding functionSimo Sorce2014-06-261-7/+13
| | | | | | | | | | | Make it available outside of the encoding.c file for use in a follow-up patch. Add option to not pass a password and generate a random key instead. Related: https://fedorahosted.org/freeipa/ticket/3859 Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
* Remove generation and handling of LM hashesSumit Bose2013-11-011-33/+15
| | | | https://fedorahosted.org/freeipa/ticket/3795
* Remove unnecessary prefixes from ipa-pwd-extop filesNathaniel McCallum2013-05-171-0/+291