summaryrefslogtreecommitdiff
path: root/src/krb5_plugin
AgeCommit message (Collapse)AuthorFilesLines
2013-10-17krb5_locator: Allow socktype to be 0 (any)Benjamin Franzke1-1/+2
man 3 getaddrinfo: ai_socktype This field specifies the preferred socket type, for example SOCK_STREAM or SOCK_DGRAM. Specifying 0 in this field indicatesa that socket addresses of any type can be returned by getaddrinfo(). Heimdal makes use of this and passes socktype = 0. This makes the locator plugin usable with heimdal.
2013-09-11Fix formating of variables with type: longLukas Slebodnik1-1/+1
2012-07-06KRB5_LOCATOR: Print the filename that couldn't be openedStephen Gallagher1-1/+2
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