Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-24 | match code and doc; ok claudio | Jason McIntyre | |
2010-02-23 | Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which, | Ingo Schwarze | |
in these cases, is useless anyway. Found by and fixing the build with mandoc; still fine with both old and new groff. ok jmc@ | |||
2010-02-07 | A few visual cleanups, and clarify a comment. | Bret Lambert | |
Also: for (i = 0; i >= 0 && foo; i++) is functionally equivalent to: for (i = 0; foo; i++) so use the clearer construct where appropriate. ok pyr@ | |||
2010-02-06 | Simplify LDAP URL handling (currently unused): | Bret Lambert | |
instead of strdup()'ing multiple values from an already strdup'ed buffer (none of which were checked for NULL upon return, which is also fixed in this), just use a buffer attached to the aldap_url struct. Add an aldap_search_url() function, which is a wrapper around aldap_parse_url and aldap_search. Finally, since the URL bits are unused, wrap them in #if 0 for now. ok pyr@, whose heart was a little broken by the #if 0 (temporary, I swear!) | |||
2010-01-02 | The .Rs macro must be followed by .Re, and empty .Rs is useless anyway. | Ingo Schwarze | |
Markup syntax error found by mandoc(1), also required to fix the mandoc build. ok jmc@ sobrado@ | |||
2009-12-19 | - "cost" is not a good example of a macro name; from Rogier Krieger | Jason McIntyre | |
- zap an unneccessary .Pp whilst here | |||
2009-12-16 | knf and unused variables | Theo de Raadt | |
2009-11-12 | accessses 1 entry too far, found by parfait, ok jsg claudio | Theo de Raadt | |
2009-10-10 | The YP protocol permits any string to be at least as long as | Robert Nagy | |
YPMAXRECORD, so use that instead of _PW_NAME_LEN. with help from deraadt@ | |||
2009-09-15 | Enclose repeated buffer draining code in a new msgbuf_drain() | Jacek Masiulaniec | |
function, which is additionally exported for use by others. It will be needed by smtpd's SSL module when the SMTP client code is changed to replace libevent's evbuffers with our msgbuf_* API. ok gilles@ henning@ guenther@ eric@ | |||
2009-08-08 | Make imsg_clear close and free any fds in the received fd queue as well as | Nicholas Marriott | |
freeing the msgbuf. While here also remove an unnecessary while loop. ok eric pyr | |||
2009-07-23 | Silence some lint warnings about an unreachable return by consolidating | Bret Lambert | |
actual returns (which were returning the same value anyway). ok pyr@ | |||
2009-07-23 | make buf_write() behave like msgbuf_write(): send out only the | Eric Faurot | |
bytes that were filled, not the whole buffer. ok pyr@ gilles@ | |||
2009-07-08 | Fix memory leak in sarch filter parsing code. | Bret Lambert | |
ok pyr@ | |||
2009-06-08 | revert this change by eric@: | David Gwynne | |
Make the imsg protocol network-safe. it might be network safe, but half the imsg based daemons on my firewalls dont run anymore. | |||
2009-06-07 | Change the way fds passed over a socket are retreived on the receiving side. | Eric Faurot | |
Currently the receiver fetches an imsg via imsg_get() and if he expects an fd, he then calls imsg_get_fd() to fetch the next fd queued on the imsgbuf from which the imsg came. This changes hides the fd queueing mechanism to the API user. When closing an imsg with an fd, the message is flagged so that the receiving end knows it must dequeue the fd in imsg_get() and return it with the imsg structure. This way there is no (less) possible screw up from imsg_get_fd() not being called directly after imsg_get() by the user. The retreived imsg is self-contained. ok pyr@, "I like that" henning@ | |||
2009-06-07 | Make the imsg protocol network-safe. | Eric Faurot | |
ok pyr@ | |||
2009-06-06 | change the imsg header fields a bit to prepare for upcoming changes. | Eric Faurot | |
add a flag field, use u_int32_t for pid_t and extend type to 32 bits for padding. ok pyr@ | |||
2009-06-06 | Get ready for including imsg.h from a lib, when it comes along. | Pierre-Yves Ritschard | |
2009-06-06 | shuffle code around to achieve 0 length diff nirvana between all the | Pierre-Yves Ritschard | |
currently synced daemons' imsg.c, imsg.h and buffer.c | |||
2009-06-06 | remove unnecessary and scary pid check in imsg_init. | Pierre-Yves Ritschard | |
ok eric@, claudio@ | |||
2009-06-06 | Sync with relayd: | Eric Faurot | |
Stop pushing event handling in the imsg framework. Instead, provide a small glue layer on top of both imsg and libevent. This finally clearly separates event handling and imsg construction. ok pyr@ | |||
2009-06-04 | Make the types of ber_read() decl match the prototype. | Jonathan Gray | |
'looks good' pyr@ | |||
2009-06-02 | Also match on 'master.passwd.byuid'. Fixes a problem with lookup by uid. | Bernd Ahlers | |
ok pyr@ | |||
2009-03-31 | Fixed memory leaks which would occur if the second of two memory | Tobias Stoeckmann | |
allocations fails. looks right deraadt, krw ok henning | |||
2009-02-16 | - use .Pp, not blank lines | Jason McIntyre | |
- format some text to avoid line wrapping | |||
2009-02-15 | Change the full sample configuration into an use case. | aschrijver | |
2009-01-29 | Make anonymous binds work properly. | aschrijver | |
2009-01-29 | No need to use RB_FIND here, RB_INSERT does that job for us. | Oleg Safiullin | |
ok aschrijver@ | |||
2009-01-28 | Correct dup to dupstr. | aschrijver | |
2009-01-27 | keep namespace clean. | Pierre-Yves Ritschard | |
discussed w/ aschrijver@ | |||
2009-01-27 | Add space after keywords. | aschrijver | |
2009-01-27 | Oops, fix the error handling. Found by blambert@ | aschrijver | |
2009-01-27 | Fix another double free in the filter parser. | aschrijver | |
2009-01-27 | Remove unnecessary comment. | aschrijver | |
2009-01-27 | Add correct error handling to the aldap API. | aschrijver | |
Use the error handling in the ldapclient. with help from pyr@ | |||
2009-01-26 | move aldap_close in aldap.c, where it belongs. | Pierre-Yves Ritschard | |
discussed with aschrijver@ | |||
2009-01-16 | Fix double free with invalid ldap filter (reported by dlg@). | aschrijver | |
Fix more memory leaks. | |||
2009-01-13 | ypldap.conf may contain secrets, so get the parse to check if its | David Gwynne | |
sufficiently private. ok pyr@ | |||
2009-01-06 | - add missing rcs id | Jasper Lievisse Adriaanse | |
ok aschrijver@ | |||
2009-01-04 | Fix memory leak (diff from blambert@) | aschrijver | |
Fix debug messages. | |||
2008-12-29 | Remove unused prototype. | aschrijver | |
2008-12-28 | Plug some memory leakage in aldap_parse by calling aldap_freemsg | Bret Lambert | |
Let aldap_freemsg allow for a NULL ber_element tree, since it's now possible to pass one in. "looks fine to me :-)" aschrijver@ | |||
2008-12-27 | Fix memory leak. | aschrijver | |
2008-11-28 | Add support for escaped characters to the search filter parsing function. | aschrijver | |
2008-11-17 | Missing end quote in example. | Marc Balmer | |
2008-10-28 | Do the DNS resolution in a seperate process. A lot of code is copied from ntpd. | aschrijver | |
This is necessary because DNS resolution is not possible from a chroot. Cleanup the aldap interface a bit. | |||
2008-10-21 | Oops, freed to much memory. | aschrijver | |
2008-10-20 | Do not stop connecting after the first connect fails. | aschrijver | |
OK mikeb@ | |||
2008-10-20 | Add 2 missing directives and remove duplicate configuration entry. | aschrijver | |
Thanks to: uw at o3si dot de |