| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Tweak /etc/ldap/certs/ FILES entry. | 2016-10-17 | 1 | -2/+2 | |
| | | |||||
| * | In FILES mention /etc/ldapd.conf first, then /etc/ldap/ entries | 2016-10-17 | 1 | -3/+3 | |
| | | |||||
| * | Fix a few mistakes and add a FILES entry for /etc/ldap/certs | 2016-10-17 | 1 | -5/+7 | |
| | | | | | From Rob Pierce, help & ok jmc@ | ||||
| * | Pull in <sys/time.h> for gettimeofday() | 2016-08-27 | 1 | -1/+2 | |
| | | | | | ok deraadt@ | ||||
| * | Adjust existing tls_config_set_cipher() callers for TLS cipher group | 2016-07-13 | 1 | -2/+2 | |
| | | | | | | | | changes - map the previous configuration to the equivalent in the new groups. This will be revisited post release. Discussed with beck@ | ||||
| * | do not allow whitespace in macro names, i.e. "this is" = "a variable". | 2016-06-21 | 1 | -1/+9 | |
| | | | | | | | | | change this in all config parsers in our tree that support macros. problem reported by sven falempin. feedback from henning@, stsp@, deraadt@ ok florian@ mikeb@ | ||||
| * | convert ldapd to use the libtls api, bringing in a copy of the evbuffer_tls | 2016-05-01 | 10 | -792/+559 | |
| | | | | | | | code from syslogd. ok beck@ benno@ | ||||
| * | Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0]) | 2016-03-20 | 1 | -2/+2 | |
| | | | | | | | | | | | idioms. Adopt the more concise fcntl(n, F_GETFL) over fcntl(n, F_GETFL, 0) where it is obvious further investigation will not yield and even better way. Obviousness evaluation and ok guenther@ | ||||
| * | Minor ldapd -r tweaks | 2016-02-04 | 2 | -5/+5 | |
| | | | | | | | | - fix style - the string pointed to by datadir shouldn't be modified, use const - initialize datadir at compile time - in namespace.c, move the extern datadir decl above local decls | ||||
| * | use stat(2) instead of chdir(2) to check if given the directory is valid. | 2016-02-02 | 1 | -3/+7 | |
| | | | | | OK landry@ jca@ | ||||
| * | some -r fixes; | 2016-02-01 | 1 | -6/+7 | |
| | | |||||
| * | Add -r argument to ldapd, to specify an alternative directory to | 2016-02-01 | 3 | -9/+23 | |
| | | | | | | | | | | | store/read the database, still defaulting to /var/db/ldap. This will allow running totally separate instances, to be used by an upcoming regress suite for example. With a tweak from gsoares@ to check that the directory exists. ok dlg@ semarie@ jca@ | ||||
| * | Properly remove unix sockets (control & listening) upon exit of the | 2016-01-17 | 2 | -3/+25 | |
| | | | | | | | | | | | parent process. Child process was killed by pledge because it tried to remove the control socket and didnt have cpath - anyway it couldnt remove it since it had chrooted.. ok jmatthew@ deraadt@ | ||||
| * | SSL_CTX_free() and SSL_free() check for null so dont do it in ldapd | 2015-12-30 | 1 | -5/+3 | |
| | | | | | ok jung@ tedu@ deraadt@ | ||||
| * | bzero -> memset. No binary change. | 2015-12-24 | 12 | -50/+50 | |
| | | |||||
| * | use strndup instead of malloc/strncpy/nul | 2015-12-24 | 1 | -4/+3 | |
| | | | | | ok krw@ | ||||
| * | commiting -> committing | 2015-12-22 | 1 | -3/+3 | |
| | | |||||
| * | Remove NULL-checks before free(). ok tb@ | 2015-12-10 | 2 | -6/+4 | |
| | | |||||
| * | #include <string.h> not strings.h | 2015-12-05 | 1 | -2/+2 | |
| | | |||||
| * | use SOCK_NONBLOCK instead of fcntl | 2015-11-02 | 6 | -33/+12 | |
| | | | | | ok dlg@ | ||||
| * | Both ldapd processes need "stdio" to talk to clients and each other. | 2015-11-02 | 2 | -2/+9 | |
| | | | | | | | | | | | | The parent process opens database files ("rpath wpath cpath"), sends fds to the child ("sendfd"), and does bsd auth on behalf of the child ("getpw proc exec"). The child process accepts client connections ("inet unix"), receives fds from the parent ("recvfd") and locks database files ("flock"). ok deraadt@ | ||||
| * | The <ctype.h> is*() interfaces expect EOF or an unsigned char; cast to | 2015-10-11 | 1 | -2/+2 | |
| | | | | | | | (unsigned char) as required found by Michael McConville (mmcconv1 (at) sccs.swarthmore.edu) w/Coccinelle | ||||
| * | Do not assume that asprintf() clears the pointer on failure, which | 2015-06-03 | 4 | -10/+22 | |
| | | | | | | is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@ | ||||
| * | ber_printf_elements should return NULL if any of its parts fail. | 2015-02-12 | 1 | -14/+31 | |
| | | | | | | | Leave the error handling up to its callers. ok reyk | ||||
| * | initialize a variable in case "goto done" makes us compare it | 2015-02-11 | 1 | -2/+3 | |
| | | | | | found by clang, ok henning | ||||
| * | Remove ssl_by_mem_ctrl() and x509_mem_lookup to unbreak the build. It | 2015-01-28 | 1 | -60/+1 | |
| | | | | | | | | caused a conflict with a new function in LibreSSL but wasn't even used by ldapd. No functional change. OK deraadt@ | ||||
| * | change to <limits.h> universe. The only changes in the binary are due | 2015-01-16 | 8 | -18/+15 | |
| | | | | | | to the heavy use of assert. ok millert | ||||
| * | Don't allow embedded nul characters in strings. | 2014-11-20 | 1 | -1/+4 | |
| | | | | | | | | Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@ | ||||
| * | Convert the logic in the error function of the ldap schema parser. | 2014-11-16 | 1 | -7/+6 | |
| | | | | | | | Instead of creating a temporary format string, create a temporary message. OK doug@ | ||||
| * | Add gcc printf format attributes to yyerror() in parse.y files. | 2014-11-14 | 1 | -2/+4 | |
| | | | | | | | No yyerror() calls needed to be changed. ok bluhm@ | ||||
| * | Convert the logic in yyerror(). Instead of creating a temporary | 2014-11-03 | 1 | -6/+6 | |
| | | | | | | format string, create a temporary message. OK claudio@ | ||||
| * | eliminate the use of a gcc C extension (conditionals with omitted | 2014-09-21 | 4 | -17/+17 | |
| | | | | | | | operands). ok deraadt@ | ||||
| * | Replace all queue *_END macro calls except CIRCLEQ_END with NULL. | 2014-09-13 | 1 | -3/+3 | |
| | | | | | | | | | CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@ | ||||
| * | Delete secret or secret-derived data with explicit_bzero. | 2014-08-25 | 1 | -2/+2 | |
| | | | | | | concept ok deraadt@ diff looks ok tedu@ | ||||
| * | add a caveat about databases; | 2014-08-11 | 1 | -2/+5 | |
| | | | | | | | From: Matthew Weigel ok gilles | ||||
| * | zap trailing newlines; "go for it" deraadt | 2014-07-16 | 1 | -2/+1 | |
| | | |||||
| * | When the three possible return values are -1, 0, and 1, != 1 is the same | 2014-07-13 | 1 | -1/+1 | |
| | | | | | | | as <= 0. And the latter is the normal idiom so use that. ok claudio@ henning@ | ||||
| * | add additional includes required to build with -DOPENSSL_NO_DEPRECATED | 2014-07-11 | 1 | -1/+3 | |
| | | |||||
| * | rfc 4512, not 4712; | 2014-06-11 | 1 | -4/+4 | |
| | | | | | From: route dylanharris org | ||||
| * | Remove workarounds for ld reaching MAXDSIZ on vax, now that MAXDSIZ is | 2014-04-15 | 1 | -5/+1 | |
| | | | | | | more comfortable. Reminded by brad@ | ||||
| * | relax the cfg file secrecy check slightly to allow group readability | 2014-01-22 | 1 | -3/+3 | |
| | | | | | | default permissions and mtree NOT changed. prodded by benno, ok phessler benno jmatthew theo pelikan florian | ||||
| * | deal with msgbuf_write EAGAIN, ok gilles benno | 2013-11-26 | 1 | -1/+1 | |
| | | |||||
| * | use u_char for buffers in yylex, for ctype calls | 2013-11-25 | 1 | -7/+7 | |
| | | | | | found by millert@, ok deraadt@ | ||||
| * | unsigned char casts for ctype | 2013-11-23 | 2 | -10/+12 | |
| | | | | | ok jca | ||||
| * | bunch of format string cleanups, removing %i, signed vs unsigned, and even | 2013-11-02 | 7 | -28/+30 | |
| | | | | | | a few long long's ok jmatthew | ||||
| * | Change default ciphers to HIGH:!aNULL. | 2013-09-07 | 1 | -2/+2 | |
| | | | | | reyk@ ok | ||||
| * | replace a predefined string with a mdoc macro; ok jmc, schwarze, sobrado | 2013-08-20 | 1 | -6/+6 | |
| | | |||||
| * | some Bx/Ox conversion; | 2013-08-14 | 1 | -4/+8 | |
| | | | | | From: Jan Stary | ||||
| * | Switch vax to gcc 3.3.6. | 2013-08-06 | 1 | -1/+5 | |
| | | |||||
| * | use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ | 2013-07-16 | 1 | -3/+3 | |
| | | |||||
