summaryrefslogtreecommitdiff
path: root/src/krb5_plugin/sssd_krb5_locator_plugin.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-07krb5 locator: Do not leak addrinfoJakub Hrozek1-0/+2
2012-05-07Kerberos locator: Include the correct krb5.h header fileJakub Hrozek1-0/+1
https://fedorahosted.org/sssd/ticket/1325
2012-04-20Convert read and write operations to sss_atomic_readJakub Hrozek1-13/+9
https://fedorahosted.org/sssd/ticket/1209
2011-09-28Multiline macro cleanupJakub Hrozek1-1/+1
This is mostly a cosmetic patch. The purpose of wrapping a multi-line macro in a do { } while(0) is to make the macro usable as a regular statement, not a compound statement. When the while(0) is terminated with a semicolon, the do { } while(0); block becomes a compound statement again.
2011-05-23Set _GNU_SOURCE globallySumit Bose1-1/+3
2010-06-10Make sure to close varargs before returning from a functionStephen Gallagher1-2/+1
https://fedorahosted.org/sssd/ticket/528
2010-06-10Properly handle read() and write() throughout the SSSDStephen Gallagher1-1/+1
We need to guarantee at all times that reads and writes complete successfully. This means that they must be checked for returning EINTR and EAGAIN, and all writes must be wrapped in a loop to ensure that they do not truncate their output.
2010-05-27Krb5 locator plugin returns KRB5_PLUGIN_NO_HANDLESumit Bose1-6/+6
To allow a fallback to the setting in krb5.conf the locator plugin returns KRB5_PLUGIN_NO_HANDLE in nearly all error conditions. Only if the call back fails the error code of the callback is returned.
2010-03-25Fix kinit after password changeSumit Bose1-2/+6
In an environment with slave KDCs and a central server where password changes are allowed the request for a new TGT immediately after the password change should be made against this server, because the slave server might not know the new password. To achieve this the Kerberos localtor plugin now returns the address of the kpasswd server as master_kdc.
2010-03-15Fix segfault in the locator pluginJakub Hrozek1-25/+26
2010-03-12Add krb5_kpasswd optionSumit Bose1-37/+139
2010-03-11Write the IP address of the KDC to the kdcinfo fileSumit Bose1-39/+42
2010-02-18Rename server/ directory to src/Stephen Gallagher1-0/+289
Also update BUILD.txt