Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-05 | utils: add is_host_in_domain() | Pavel Březina | 1 | -0/+15 | |
2013-08-28 | UTIL: Explicitly include header file sys/socket.h | Lukas Slebodnik | 1 | -0/+1 | |
We use constant AF_INET6 in util.c, but we do not explicitly include header file sys/socket.h. This header file was indirectly incuded by another header file netdb.h (netdb.h -> netinet/in.h -> sys/socket.h), but other platform can have other dependencies among header files. | |||||
2013-06-07 | Move domain_to_basedn outside IPA subtree | Jakub Hrozek | 1 | -0/+35 | |
The utility function will be reused to guess search base from the base DN of AD trusted domains. | |||||
2013-01-10 | Add function to safely wipe memory. | Simo Sorce | 1 | -0/+9 | |
This is useful for wiping passwords, as it prevents the compiler from optimizing out a memset to zero before a free() | |||||
2013-01-02 | failover: Protect against empty host names | Michal Zidek | 1 | -91/+70 | |
Added new parameter to split_on_separator that allows to skip empty values. The whole function was rewritten. Unit test case was added to check the new implementation. https://fedorahosted.org/sssd/ticket/1484 | |||||
2012-11-21 | MONITOR: Fix off-by-one error in add_string_to_list | Jakub Hrozek | 1 | -1/+4 | |
We need to allocate num_services+2 - one extra space for the new service and one for NULL. | |||||
2012-11-14 | Add string_in_list() and add_string_to_list() with tests | Sumit Bose | 1 | -0/+63 | |
string_in_list() and add_string_to_list() are two utilities for NULL terminated strings arrays. add_string_to_list() adds a new string to an existing list or creates a new one with the strings as only item if there is not list. string_in_list() checks if a given string is in the list. It can be used case sensitive or in-sensitive. | |||||
2012-08-23 | Fix: IPv6 address with square brackets doesn't work. | Michal Zidek | 1 | -0/+23 | |
https://fedorahosted.org/sssd/ticket/1365 | |||||
2012-04-20 | Move atomic io function to a separate module | Jakub Hrozek | 1 | -38/+0 | |
We'll be using it on various places of the SSSD. The function is in its own file to allow using just the one piece without having to drag in the whole util.c module. | |||||
2012-04-20 | sss_atomic_io: Do not fail reads with EPIPE if there is not enough data to read | Jakub Hrozek | 1 | -1/+2 | |
Also adds a unit test for sss_atomic_io() | |||||
2012-02-26 | UTIL: Add function for atomic I/O | Jan Cholasta | 1 | -0/+39 | |
2012-01-23 | Move sized_string declaration to utils | Stephen Gallagher | 1 | -0/+11 | |
2011-12-16 | sss_utf8_tolower utility function+unit tests | Jakub Hrozek | 1 | -0/+1 | |
2011-11-02 | Fix size return for split_on_separator() | Stephen Gallagher | 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. | |||||
2011-07-11 | Move IP adress escaping from the LDAP namespace | Jakub Hrozek | 1 | -0/+8 | |
2011-06-15 | Make parse_args skip extra spaces | Jakub Hrozek | 1 | -16/+24 | |
https://fedorahosted.org/sssd/ticket/871 | |||||
2010-12-20 | Introduce sss_hash_create_ex() | Sumit Bose | 1 | -6/+19 | |
2010-12-14 | Add missing break statement to sss_hash_create | Stephen Gallagher | 1 | -0/+1 | |
https://fedorahosted.org/sssd/ticket/720 | |||||
2010-11-15 | Add utility function to sanitize LDAP/LDB filters | Stephen Gallagher | 1 | -0/+52 | |
Also adds a unit test. | |||||
2010-10-08 | Add common hash table setup | Stephen Gallagher | 1 | -0/+53 | |
sss_hash_create() produces a dhash table living in the talloc hierarchy. | |||||
2010-08-03 | Add dup_string_list() utility function | Stephen Gallagher | 1 | -0/+31 | |
2010-08-03 | Add diff_string_lists utility function | Stephen Gallagher | 1 | -0/+196 | |
Includes a unit test | |||||
2010-05-27 | Move parse_args() to util | Sumit Bose | 1 | -0/+99 | |
2010-02-18 | Rename server/ directory to src/ | Stephen Gallagher | 1 | -0/+138 | |
Also update BUILD.txt |