summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_renew_tgt.c
Commit message (Collapse)AuthorAgeFilesLines
* Making the authtok structure really opaque.Lukas Slebodnik2013-04-021-3/+2
| | | | | | | | | | | | | | | | | | | | Definition of structure sss_auth_token was removed from header file authtok.h and there left only declaration of this structure. Therefore only way how to use this structure is to use accessory function from same header file. To creating new empty authotok can only be used newly created function sss_authtok_new(). TALLOC context was removed from copy and setter functions, because pointer to stuct sss_auth_token is used as a memory context. All declaration of struct sss_auth_token variables was replaced with pointer to this structure and related changes was made in source code. Function copy_pam_data can copy from argument src which was dynamically allocated with function create_pam_data() or zero initialized struct pam_data allocated on stack. https://fedorahosted.org/sssd/ticket/1830
* Fix initialization of multiple variablesOndrej Kos2013-03-131-2/+1
|
* Remove sysdb as a be context structure memberSimo Sorce2013-01-211-2/+2
| | | | The sysdb context is already available through the 'domain' structure.
* Change pam data auth tokens.Simo Sorce2013-01-101-13/+5
| | | | Use the new authtok abstraction and interfaces throught the code.
* krb5 tgt renewal: fix usage of ldb_dn_get_component_val()Sumit Bose2012-12-201-4/+4
| | | | | For some reason I was under the impression that the DN components are counted backwards in libldb. This patch corrects this.
* Use find_or_guess_upn() where neededSumit Bose2012-10-261-10/+28
|
* check_ccache_files: search sub-domains as wellSumit Bose2012-10-261-4/+14
| | | | | If sssd is configured to renew Kerberos tickets automatically ticket of sub-domain uses should be renewed as well.
* sysdb refactoring: deleted domain variables in sysdb APIJan Zeleny2011-08-151-2/+1
| | | | | The patch also updates code using modified functions. Tests have also been adjusted.
* Add online callback only once for TGT renewalSumit Bose2011-06-021-25/+44
|
* Return pam data to the renewal item if renewal failsSumit Bose2011-05-021-4/+9
| | | | | | | | | A previous patch changed a talloc_steal() into a talloc_move(). Now it is not enough to change the parent memory context with talloc_steal to give back the data, but it has to be assigned back too. Additionally this patch uses the missing pam data as an indication that a renewal request for this data is currently running.
* Check ccache file for renewable TGTs at startupSumit Bose2011-02-221-0/+138
|
* Remove renewal item if it is not re-addedSumit Bose2011-02-181-1/+34
|
* Fixes for automatic ticket renewalSumit Bose2010-12-201-23/+56
| | | | | | - 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/+380