summaryrefslogtreecommitdiff
path: root/plugins/sudoers/ldap.c
Commit message (Expand)AuthorAgeFilesLines
* Eliminate dead store. Coverity CID 315032.Todd C. Miller2023-05-081-1/+0
* Make path_ldap_conf and path_ldap_secret private to policy.c.Todd C. Miller2023-05-021-1/+1
* Pass around const struct sudo_nss pointers where possible.Todd C. Miller2023-03-171-6/+6
* Add LDAP-specific innetgr() implementation.Todd C. Miller2023-03-101-1/+10
* Move some functions from ldap.c to ldap_util.c.Todd C. Miller2023-03-101-142/+3
* Add per-source innetgr function pointer and use it in netgr_matches().Todd C. Miller2023-03-081-2/+4
* Eliminate a few harmless dead stores.Todd C. Miller2022-11-221-2/+4
* sudo_ldap_result_add_entry: check sudo_ldap_get_values_len() return value.Todd C. Miller2022-11-221-3/+3
* Make sudo pass -Wwrite-stringsTodd C. Miller2022-06-281-2/+2
* Add a source to struct sudo_nss and use it if getdefs() fails.Todd C. Miller2022-03-091-0/+1
* sudo_ldap_parse_options: fix memory leak of sudoRole cn string.Todd C. Miller2022-02-241-23/+18
* Add support in the LDAP filter for negated users.Todd C. Miller2022-01-181-31/+85
* Check snprintf() return values even if we preallocated the correct amount.Todd C. Miller2021-09-211-3/+1
* Check strftime(3) return value in all cases.Todd C. Miller2021-09-171-5/+10
* Use gmtime_r() and localtime_r() instead of gmtime() and localtime().Todd C. Miller2021-09-171-3/+3
* Make it possible to call the sudoers policy check function multiple times.Todd C. Miller2021-08-091-1/+1
* Move reference-counted string code from sudoers to libsudo_util.Todd C. Miller2021-04-061-3/+3
* Move new_member_all to ldap_util.c, it is only used by ldap/sssd.Todd C. Miller2021-01-311-1/+1
* Ignore sudoNotBefore and sudoNotAfter unless ldap.conf contains SUDOERS_TIMEDTodd C. Miller2020-11-111-6/+8
* Introduce new_member_all() for code that doesn't include gram.h.Todd C. Miller2020-11-101-3/+1
* Use ssl_err2string() in message on ldap_ssl_client_init() failure.Todd C. Miller2020-10-281-5/+7
* Fix some warnings from pvs-studioTodd C. Miller2020-08-121-4/+5
* Use angle quotes when including gram.h and def_data.c.Todd C. Miller2020-08-121-1/+1
* Avoid passing NULL to printf in match debug code for LDAP/SSSD.Todd C. Miller2020-06-041-0/+1
* When converting LDAP to sudoers, ignore entries with no sudoHost attribute.Todd C. Miller2020-06-031-79/+118
* Include string.h unconditionally and only use strings.h for strn?casecmp()Todd C. Miller2020-05-181-3/+1
* debug_decl and debug_decl_vars now require a semicolon at the end.Todd C. Miller2019-12-221-27/+27
* Refer to user-ID and group-ID instead of "user ID" and "group ID"Todd C. Miller2019-10-191-3/+3
* Add user ID to the search filter when matching sudoUser.Todd C. Miller2019-08-201-9/+15
* Fix special handling of ipa_hostname that was lost in sudo 1.8.24.Todd C. Miller2019-08-151-1/+1
* Add ssizeof macro that returns ssize_t.Todd C. Miller2019-06-251-1/+1
* Add SPDX-License-Identifier to files.Todd C. Miller2019-04-291-0/+2
* Minor snprintf() usage tweaks:Todd C. Miller2019-01-201-2/+2
* Convert PVS-Studio comment to ANSI C.Todd C. Miller2018-10-261-2/+4
* Add comments in .c files so PVS-Studio will check them.Todd C. Miller2018-10-211-0/+3
* If sudo_ldap_get_values_len() fails goto cleanup instead of oom.Todd C. Miller2018-10-181-2/+2
* Fix warnings on OpenIndiana (Illumos)Todd C. Miller2018-08-301-2/+3
* Correct ldap_to_sudoers() return value.Todd C. Miller2018-08-301-2/+2
* For conversion to a sudoers parse tree, ldap_entry_compare() nowTodd C. Miller2018-08-301-3/+4
* Include stddef.h for offsetof() definition.Todd C. Miller2018-08-221-0/+1
* Refactor code to convert defaults to tags and do conversion onTodd C. Miller2018-08-051-2/+1
* For ldap/sssd, include defaults in the generate privilege unlessTodd C. Miller2018-08-021-1/+1
* o Move userspecs, defaults and aliases into a new struct sudoers_parse_tree.Todd C. Miller2018-07-261-39/+40
* Avoid duplicate free when netgroup_base is invalid.Todd C. Miller2018-07-151-0/+1
* The getdefs() function now get called multiple times so use theTodd C. Miller2018-05-291-7/+11
* Remove a needless copy when parsing options.Todd C. Miller2018-05-291-12/+2
* Move cached userspecs and defaults into the handle object.Todd C. Miller2018-05-291-72/+71
* Reorder things to avoid the need to declare static functions.Todd C. Miller2018-05-281-50/+41
* Some ldap_get_values_len -> sudo_ldap_get_values_len that wereTodd C. Miller2018-05-161-3/+3
* Add free_userspecs() and free_default() and use them instead ofTodd C. Miller2018-05-151-32/+7