Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libipa_hbac: Support case-insensitive comparisons with UTF8 | Stephen Gallagher | 2011-07-29 | 2 | -16/+107 |
| | |||||
* | Handle allocation error in python HBAC bindings | Jakub Hrozek | 2011-07-27 | 1 | -0/+3 |
| | | | | https://fedorahosted.org/sssd/ticket/934 | ||||
* | Remove dead code from python HBAC bindings | Jakub Hrozek | 2011-07-27 | 1 | -4/+0 |
| | | | | https://fedorahosted.org/sssd/ticket/935 | ||||
* | Explicitly ignore groups with gidNumber=0 | Jakub Hrozek | 2011-07-27 | 2 | -11/+18 |
| | | | | https://fedorahosted.org/sssd/ticket/916 | ||||
* | Set gidNumber of non-posix groups to 0 even on updates | Jakub Hrozek | 2011-07-27 | 1 | -8/+44 |
| | |||||
* | silence compilation warnings on RHEL5 | pbrezina | 2011-07-27 | 1 | -12/+13 |
| | | | | https://fedorahosted.org/sssd/ticket/930 | ||||
* | Fix indexing of skipped groups | Jakub Hrozek | 2011-07-21 | 1 | -2/+4 |
| | | | | https://fedorahosted.org/sssd/ticket/928 | ||||
* | fo_get_server_name() getter for a server name | Jakub Hrozek | 2011-07-21 | 6 | -4/+32 |
| | | | | | Allows to be more concise in tests and more defensive in resolve callbacks | ||||
* | Rename fo_get_server_name to fo_get_server_str_name | Jakub Hrozek | 2011-07-21 | 7 | -11/+11 |
| | |||||
* | Only print server address if one is available | Jakub Hrozek | 2011-07-21 | 1 | -0/+7 |
| | |||||
* | Do not add a NULL host parsed from LDAP URI | Jakub Hrozek | 2011-07-21 | 1 | -1/+8 |
| | | | | https://fedorahosted.org/sssd/ticket/911 | ||||
* | Fix python HBAC bindings for python <= 2.4 | Jakub Hrozek | 2011-07-13 | 5 | -84/+311 |
| | | | | | | | | | | | | | | | Several parts of the HBAC python bindings did not work with old Python versions, such as the one shipped in RHEL5. The changes include: * a compatibility wrapper around python set object * PyModule_AddIntMacro compat macro * Py_ssize_t compat definition * Do not use PyUnicode_FromFormat * several function prototypes and structures used to have "char arguments where they have "const char *" in recent versions. This caused compilation warnings this patch mitigates by using the discard_const hack on python 2.4 | ||||
* | Fixes for python HBAC bindings | Jakub Hrozek | 2011-07-13 | 2 | -12/+105 |
| | | | | | | | | | These changes were proposed during a review: * Change the signature of str_concat_sequence() to const char * * use a getsetter for HbacRule.enabled to allow string true/false and integer 1/0 in addition to bool * fix a minor memory leak (HbacRequest.rule_name) * remove overzealous discard consts | ||||
* | Use ares_search instead of ares_query for hostname resolution | Jakub Hrozek | 2011-07-13 | 1 | -1/+1 |
| | | | | | | | ares_query does not take search or domain directives from /etc/resolv.conf into account https://fedorahosted.org/sssd/ticket/922 | ||||
* | Remove unused krb5_service structure member | Jakub Hrozek | 2011-07-13 | 3 | -7/+1 |
| | |||||
* | Check DNS records before updating | Jakub Hrozek | 2011-07-11 | 4 | -25/+470 |
| | | | | https://fedorahosted.org/sssd/ticket/802 | ||||
* | Allow returning arbitrary address from resolv_hostent as string | Jakub Hrozek | 2011-07-11 | 2 | -3/+10 |
| | |||||
* | Split reading resolver family order into a separate function | Jakub Hrozek | 2011-07-11 | 3 | -23/+52 |
| | |||||
* | Do not hardcode default resolver timeout | Jakub Hrozek | 2011-07-11 | 2 | -1/+3 |
| | |||||
* | Escape IP address in kdcinfo | Jakub Hrozek | 2011-07-11 | 2 | -14/+36 |
| | | | | https://fedorahosted.org/sssd/ticket/909 | ||||
* | Move IP adress escaping from the LDAP namespace | Jakub Hrozek | 2011-07-11 | 5 | -14/+14 |
| | |||||
* | Allow NULL memctx in sysdb_custom_subtree_dn | Stephen Gallagher | 2011-07-08 | 1 | -3/+11 |
| | | | | ldb_dn_new_fmt() has a bug and cannot take a NULL memory context | ||||
* | Add LDAP access control based on NDS attributes | Sumit Bose | 2011-07-08 | 9 | -3/+253 |
| | |||||
* | Add support for experimental features | Sumit Bose | 2011-07-08 | 2 | -0/+10 |
| | | | | | | | | | | | | New experimental features should have their own configure switch to enable or disable them at compile time. Additionally they can check if the configure variable build_all_experimental_features is set and enable the feature. This variable will be set if the command line option --enable-all-experimental-features is used to configure sssd. This will make it easy to enable all experimental features. Experimental features should be marked in the man pages. To simplify this include/experimental.xml can be used. | ||||
* | Provide python bindings for the HBAC evaluator library | Jakub Hrozek | 2011-07-08 | 2 | -0/+2209 |
| | |||||
* | Treat NULL or empty rhost as unknown | Stephen Gallagher | 2011-07-08 | 2 | -11/+25 |
| | | | | | | | Previously, we were assuming this meant it was coming from the localhost, but this is not a safe assumption. We will now treat it as unknown and it will fail to match any rule that requires a specified srchost or group of srchosts. | ||||
* | Add ipa_hbac_treat_deny_as option | Stephen Gallagher | 2011-07-08 | 6 | -2/+42 |
| | | | | | | By default, we will treat the presence of any DENY rule as denying all users. This option will allow the admin to explicitly ignore DENY rules during a transitional period. | ||||
* | Add ipa_hbac_refresh option | Stephen Gallagher | 2011-07-08 | 7 | -1/+38 |
| | | | | | This option describes the time between refreshes of the HBAC rules on the IPA server. | ||||
* | Add new HBAC lookup and evaluation routines | Stephen Gallagher | 2011-07-08 | 2 | -124/+398 |
| | |||||
* | Remove old HBAC implementation | Stephen Gallagher | 2011-07-08 | 2 | -1595/+1 |
| | |||||
* | Add helper functions for looking up HBAC rule components | Stephen Gallagher | 2011-07-08 | 6 | -0/+2616 |
| | |||||
* | Add HBAC evaluator and tests | Stephen Gallagher | 2011-07-08 | 4 | -0/+1004 |
| | |||||
* | Add helper function msgs2attrs_array | Stephen Gallagher | 2011-07-08 | 2 | -0/+33 |
| | | | | | This function converts a list of ldb_messages into a list of sysdb_attrs. | ||||
* | ipa_dyndns: Use sockaddr_storage for storing IP addresses | Jakub Hrozek | 2011-07-05 | 1 | -12/+17 |
| | | | | https://fedorahosted.org/sssd/ticket/915 | ||||
* | Call ldap_install_tls() on ldaps connections | Sumit Bose | 2011-07-05 | 1 | -0/+15 |
| | |||||
* | Replace system() function with fork and execl call. | Matthew Ife | 2011-07-01 | 1 | -22/+30 |
| | | | | | | | | | | This is much more selinux friendly as it allows policy makers to call nscd_domtrans to transition to nscd_t instead of giving more access to the system via the corcmd_exec_bin macro. Modified-by: Simo Sorce <ssorce@redhat.com> Signed-off-by: Simo Sorce <ssorce@redhat.com> | ||||
* | Do not access state after tevent_req_done() is called. | Sumit Bose | 2011-07-01 | 1 | -10/+16 |
| | |||||
* | Do not attempt to close() a file descriptor < 0 | Stephen Gallagher | 2011-07-01 | 1 | -1/+3 |
| | | | | Coverity 10886 | ||||
* | Use ldap_init_fd() instead of ldap_initialize() if available | Sumit Bose | 2011-06-30 | 6 | -38/+435 |
| | |||||
* | Use name based URI instead of IP address based URIs | Sumit Bose | 2011-06-30 | 2 | -38/+3 |
| | |||||
* | Add sdap_call_conn_cb() to call add connection callback directly | Sumit Bose | 2011-06-30 | 2 | -0/+40 |
| | |||||
* | Add sockaddr_storage to sdap_service | Sumit Bose | 2011-06-30 | 5 | -0/+62 |
| | |||||
* | fix typos | Simo Sorce | 2011-06-27 | 1 | -5/+5 |
| | |||||
* | Fall back to polling when inotify fails | Jan Zeleny | 2011-06-24 | 1 | -28/+68 |
| | |||||
* | Log nsupdate message | Jakub Hrozek | 2011-06-21 | 1 | -0/+3 |
| | | | | https://fedorahosted.org/sssd/ticket/893 | ||||
* | Test NULL server hostname in fail over tests | Jakub Hrozek | 2011-06-16 | 1 | -8/+16 |
| | |||||
* | Provide TTL structure names for c-ares < 1.7 | Jakub Hrozek | 2011-06-16 | 2 | -0/+11 |
| | | | | | | | | | | | https://fedorahosted.org/sssd/ticket/898 In c-ares 1.7, the upstream renamed the addrttl/addr6ttl structures to ares_addrttl/ares_addr6ttl so they are in the ares_ namespace. Because they are committed to stable ABI, the contents are the same, just the name changed -- so it is safe to just #define the new name for older c-ares version in case the new one is not detected in configure time. | ||||
* | Do not check pwdAttribute | Sumit Bose | 2011-06-16 | 1 | -9/+0 |
| | | | | | | | It is not safe to check pwdAttribute to see if server side password policies are active. Only if a LDAP_CONTROL_PASSWORDPOLICYRESPONSE is present the bind response we can assume that there is a server side password policy. | ||||
* | Switch resolver to using resolv_hostent and honor TTL | Jakub Hrozek | 2011-06-15 | 10 | -276/+401 |
| | |||||
* | Resolve hosts by name from DNS into resolv_hostent | Jakub Hrozek | 2011-06-15 | 1 | -0/+254 |
| |