Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sss_atomic_io: Do not fail reads with EPIPE if there is not enough data to read | Jakub Hrozek | 2012-04-20 | 1 | -1/+2 |
| | | | | Also adds a unit test for sss_atomic_io() | ||||
* | Clean up log messages about keytab_name | Stephen Gallagher | 2012-04-05 | 2 | -11/+21 |
| | | | | | | | | | There were many places where we were printing (null) to the logs because a NULL keytab name tells libkrb5 to use its configured default instead of a particular path. This patch should clean up all uses of this to print "default" in the logs. https://fedorahosted.org/sssd/ticket/1288 | ||||
* | Fix off-by-one error in principal selection | Jakub Hrozek | 2012-03-29 | 1 | -3/+3 |
| | | | | https://fedorahosted.org/sssd/ticket/1269 | ||||
* | Add sss_get_cased_name_list utility function | Jakub Hrozek | 2012-03-29 | 2 | -0/+41 |
| | |||||
* | Always initialize the returned data in sss_krb5_princ_realm() | Sumit Bose | 2012-03-26 | 1 | -0/+3 |
| | |||||
* | Make the string_equal() function public | Jakub Hrozek | 2012-03-21 | 2 | -0/+10 |
| | |||||
* | nsssrv: add handling of memory cache group map | Simo Sorce | 2012-03-19 | 1 | -0/+10 |
| | |||||
* | util: Helper headers for shared memory cache | Simo Sorce | 2012-03-19 | 1 | -0/+117 |
| | |||||
* | Handle cases where UID is -1 | Stephen Gallagher | 2012-02-29 | 1 | -6/+1 |
| | | | | | | | Also removes an unnecessary range check (since it's already handled by strtoint32() https://fedorahosted.org/sssd/ticket/1216 | ||||
* | SSH: Add missing break statements to sss_ssh_format_pubkey | Jan Cholasta | 2012-02-27 | 1 | -0/+2 |
| | |||||
* | SSH: Add more debugging messages | Jan Cholasta | 2012-02-27 | 1 | -0/+1 |
| | |||||
* | UTIL: Add function for atomic I/O | Jan Cholasta | 2012-02-26 | 2 | -0/+44 |
| | |||||
* | SSH: Refactor responder and client common code | Jan Cholasta | 2012-02-26 | 2 | -0/+233 |
| | |||||
* | Don't give memory context in confdb where not needed | Jan Zeleny | 2012-02-21 | 1 | -4/+4 |
| | |||||
* | Ensure NULL-termination in get_uid_from_pid() | Stephen Gallagher | 2012-02-14 | 1 | -0/+3 |
| | | | | Coverity #12399 | ||||
* | UTIL: Provide base64 encoding and decoding functions | Jan Cholasta | 2012-02-07 | 4 | -36/+139 |
| | |||||
* | Added some SELinux-related utility functions | Jan Zeleny | 2012-02-06 | 2 | -0/+232 |
| | |||||
* | UTIL: Add strtouint16 | Stephen Gallagher | 2012-01-23 | 2 | -0/+20 |
| | |||||
* | Move sized_string declaration to utils | Stephen Gallagher | 2012-01-23 | 2 | -0/+19 |
| | |||||
* | Fix invalid index in pidfile() | Stephen Gallagher | 2012-01-21 | 1 | -1/+3 |
| | | | | | | | If we hit the "read too much, this should never happen" line, we would write a NULL-terminator past the end of the static buffer. Coverity 12472 | ||||
* | Raise the debug level of two very noisy statements | Stephen Gallagher | 2012-01-17 | 1 | -2/+3 |
| | |||||
* | Log fixes for sdap_call_conn_cb | Stephen Gallagher | 2012-01-14 | 1 | -1/+2 |
| | |||||
* | util: Fix murmurhash3 on machines with old glibc | Simo Sorce | 2012-01-09 | 1 | -0/+10 |
| | |||||
* | util: add murmurhash3 hash function | Simo Sorce | 2012-01-09 | 2 | -0/+120 |
| | |||||
* | Add compatibility layer for Heimdal Kerberos implementation | Stephen Gallagher | 2011-12-22 | 2 | -12/+73 |
| | |||||
* | sss_get_cased_name utility function | Jakub Hrozek | 2011-12-21 | 2 | -0/+13 |
| | |||||
* | Reorder pidfile() function to guarantee NULL-termination | Stephen Gallagher | 2011-12-19 | 1 | -3/+3 |
| | | | | Coverity 12400 | ||||
* | Move child_common routines to util | Stephen Gallagher | 2011-12-19 | 2 | -0/+844 |
| | |||||
* | Use of uninitialized value in sss_ldap_dn_in_search_bases | Pavel Březina | 2011-12-16 | 1 | -3/+3 |
| | | | | https://fedorahosted.org/sssd/ticket/1112 | ||||
* | sss_utf8_tolower utility function+unit tests | Jakub Hrozek | 2011-12-16 | 5 | -0/+123 |
| | |||||
* | Added sss_ldap_dn_in_search_bases() | Pavel Březina | 2011-12-14 | 2 | -0/+132 |
| | |||||
* | Fix potential resource leak in backup_file.c | Stephen Gallagher | 2011-12-09 | 1 | -1/+1 |
| | |||||
* | Always attempt to connect in sdap_async_sys_connect_done | Jakub Hrozek | 2011-12-07 | 1 | -18/+6 |
| | | | | This syncs up with Samba commit 50e30afa608dfdeae8a260730ead9761ed424dad | ||||
* | Fixed an error in macro for merging double linked lists | Jan Zeleny | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | Allow using Glib for UTF8 support | Stephen Gallagher | 2011-12-05 | 2 | -0/+162 |
| | |||||
* | Cleanup: Remove unused parameters | Jakub Hrozek | 2011-11-22 | 1 | -4/+3 |
| | |||||
* | Fixed possible resource leak in get_uid_from_pid() | Jan Zeleny | 2011-11-07 | 1 | -4/+10 |
| | | | | https://fedorahosted.org/sssd/ticket/1069 | ||||
* | Add wrapper for krb5_get_init_creds_opt_set_canonicalize | Jan Zeleny | 2011-11-02 | 2 | -0/+13 |
| | |||||
* | Fix size return for split_on_separator() | Stephen Gallagher | 2011-11-02 | 1 | -1/+1 |
| | | | | | | | It was returning the size of the array, rather than the number of elements. (The array was NULL-terminated). This argument was only used in one place that was actually working around this odd return value. | ||||
* | Add option to follow symlinks to check_file() | Jakub Hrozek | 2011-10-13 | 2 | -3/+4 |
| | |||||
* | Multiline macro cleanup | Jakub Hrozek | 2011-09-28 | 3 | -5/+5 |
| | | | | | | | | | | 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. | ||||
* | DEBUG timestamps offer higher precision | Pavel Březina | 2011-09-08 | 3 | -13/+65 |
| | | | | | | | https://fedorahosted.org/sssd/ticket/956 Added: --debug-microseconds=0/1 Added: debug_microseconds to sssd.conf | ||||
* | sss_ldap_err2string() - ldap_err2string() to sss_ldap_err2string() | Pavel Březina | 2011-09-06 | 1 | -3/+3 |
| | | | | https://fedorahosted.org/sssd/ticket/986 | ||||
* | sss_ldap_err2string() - function created | Pavel Březina | 2011-09-06 | 2 | -0/+16 |
| | | | | https://fedorahosted.org/sssd/ticket/986 | ||||
* | New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0 | Pavel Březina | 2011-08-25 | 3 | -13/+11 |
| | | | | | | | | | | | | | | | | | | | | | Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level); | ||||
* | New DEBUG facility - conversion | Pavel Březina | 2011-08-25 | 3 | -21/+11 |
| | | | | | | | | | | https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT) | ||||
* | New DEBUG facility - modified DEBUG | Pavel Březina | 2011-08-25 | 1 | -6/+41 |
| | | | | | | | | | | | | | | | https://fedorahosted.org/sssd/ticket/925 Modified: DEBUG() macro to work with new levels There are several new macros in util/util.h: - DEBUG_MSG(level, function, message) which will format the debug message like "(time) [prg_name] [function] (level): message\n" - DEBUG_IS_SET(level) that you should use to check if the level is allowed to be logged You can use it like: if (DEBUG_IS_SET(SSSDBG_TRACE_LIBS)) {...} | ||||
* | New DEBUG facility - new levels | Pavel Březina | 2011-08-25 | 2 | -2/+89 |
| | | | | | | | | | | | | | | | | https://fedorahosted.org/sssd/ticket/925 Added functions: - debug_convert_old_level() to convert levels 0-9 to appropriate bitmask debug_convert_old_level(5) returns 0x03F0 (= 0 | 1 | 2 | 3 | 4 | 5) - debug_get_level() to convert old level number to its new value debug_get_level(5) returns 0x0200 (= 5) There are several new macros in util/util.h: - SSSDBG_* to reflect a debug level (same names as in the ticket) - please, don't use magic numbers anymore | ||||
* | Handle timeout during sss_ldap_init_send | Jakub Hrozek | 2011-08-15 | 2 | -2/+36 |
| | | | | | | | | | In some cases, where there would be no response from the LDAP server, there would be no R/W events on the LDAP fd, so sdap_async_sys_connect_done would never be called. This patch adds a tevent timer that cancels the connection after SDAP_NETWORK_TIMEOUT seconds. | ||||
* | Handle errno properly in set_debug_file_from_fd() | Jakub Hrozek | 2011-08-15 | 1 | -2/+5 |
| |