summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_auth.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for krb5 1.11's responder callback.Nathaniel McCallum2013-03-081-0/+1
| | | | | | | | | | | krb5 1.11 adds support for a new method for responding to structured data queries. This method, called the responder, provides an alternative to the prompter interface. This patch adds support for this method. It takes the password and provides it via a responder instead of the prompter. In the case of OTP authentication, it also disables the caching of credentials (since the credentials are one-time only).
* Fix tevent_req style for krb5_authSimo Sorce2012-12-041-3/+3
| | | | | | No functionality changes, just make the code respect the tevent_req style and naming conventions and enhance readability by adding some helper functions.
* Use find_or_guess_upn() where neededSumit Bose2012-10-261-1/+1
|
* krb5_child: send back the client principalSumit Bose2012-10-261-0/+1
| | | | | | | | | | | | | In general Kerberos is case sensitive but the KDC of Active Directory typically handles request case in-sensitive. In the case where we guess a user principal by combining the user name and the realm and are not sure about the cases of the letters used in the user name we might get a valid ticket from the AD KDC but are not able to access it with the Kerberos client library because we assume a wrong case. The client principal in the returned credentials will always have the right cases. To be able to update the cache user principal name the krb5_child will return the principal for further processing.
* krb5_auth: check if principal belongs to a different realmSumit Bose2012-10-261-0/+1
| | | | | | Add a flag if the principal used for authentication does not belong to our realm. This can be used to act differently for users from other realms.
* Add a credential cache back end structureJakub Hrozek2012-06-141-0/+1
| | | | | | To be able to add support for new credential cache types easily, this patch creates a new structure sss_krb5_cc_be that defines common operations with a credential cache, such as create, check if used or remove.
* Split parse_krb5_child_response so it can be reusedJakub Hrozek2012-06-141-0/+11
| | | | | krb5-child-test will be another consumer. It also makes the code more readable by splitting a huge function.
* Move child_common routines to utilStephen Gallagher2011-12-191-1/+1
|
* Serialize requests of the same user in the krb5 providerSumit Bose2010-12-201-0/+6
|
* Fixes for automatic ticket renewalSumit Bose2010-12-201-1/+2
| | | | | | - do not recreate the ccache file when renewing the TGT - use user principal name as hash key instead of ccfile name - let krb5_child return Kerberos error codes
* Add support for automatic Kerberos ticket renewalSumit Bose2010-12-031-0/+5
|
* Make handle_child_* request publicSumit Bose2010-11-041-6/+8
| | | | | | I took the opportunity to move everything related to the handling of the krb5_child into a separate file and cleaned the interfaces and related structures a bit.
* Make krb5_setup() publicSumit Bose2010-11-041-0/+3
|
* Add infrastructure for Kerberos access providerSumit Bose2010-11-041-0/+8
|
* Remove krb5_changepw_principal optionJakub Hrozek2010-06-141-1/+0
| | | | Fixes: #531
* Add callback to remove krb5 info files when going offlineSumit Bose2010-05-271-40/+0
|
* Fix handling of ccache file when going offlineSumit Bose2010-05-261-0/+1
| | | | | | | The ccache file was removed too early if system is offline but the backend was not already marked offline. Now we remove the ccache file only if the successfully got a new one and it is not the same as the old one.
* Add support for delayed kinit if offlineSumit Bose2010-05-261-0/+10
| | | | | | | If the configuration option krb5_store_password_if_offline is set to true and the backend is offline the plain text user password is stored and used to request a TGT if the backend becomes online. If available the Linux kernel key retention service is used.
* Make Kerberos authentication a tevent_reqSumit Bose2010-05-161-1/+6
| | | | | To allow other providers to include Kerberos authentication the main part is put into a tevent request.
* Add krb5_kpasswd optionSumit Bose2010-03-121-0/+2
|
* Add expandable sequences to krb5_ccachedirSumit Bose2010-03-111-0/+6
| | | | | | | As with krb5_ccname_template sequences like %u can be used in the krb5_ccachedir parameter which are expanded at runtime. If the directory does not exist, it will be created. Depending on the used sequences it is created as a public or private directory.
* Remove unneeded items from struct pam_dataSumit Bose2010-02-191-0/+3
|
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+91
Also update BUILD.txt