Age | Commit message (Collapse) | Author |
|
"attribute" where applicable.
OK martinh@ pyr@
|
|
which is used by (amongst other things) initgroups(3) to set the supplemantary
groups on login.
OK pyr@
|
|
(which we remove now) with a couple of tweaks; use the same base DN and
admin user as our default ldap.conf(5).
|
|
for chars.
|
|
client_search_idm function.
ok pyr@
|
|
and groups in a new function client_build_req
ok pyr@
CV: ----------------------------------------------------------------------
|
|
ok pyr@
|
|
|
|
ok pyr@
|
|
argument length.
ok pyr@
|
|
|
|
|
|
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432
applied to all the others by yours truly. ok theo
isn't it amazing how far this parser (and more) spread?
|
|
plalonde (at) overnet.qc.ca
Prompted by deraadt@
|
|
class. This allows ypldap to talk to ldapd, which otherwise refuses the
search filter.
ok gilles@
|
|
|
|
ok krw@
|
|
checking h != NULL, then we free(h) and then we do `h = h->next', but `h' is
not valid anymore.
ok @krw
|
|
fix reading empty sequences/sets. This minimizes the changes against
ldapd.
"looks good" pyr@, ok reyk@
|
|
|
|
function, but when further in code we might do `goto bad', `al' is not freed
with `aldap_close', so plug memory leak on error path
tested by jasper@
ok pyr@, jasper@
|
|
from Dawe
|
|
ok pyr@
|
|
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
|
|
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
ok henning gilles claudio jacekm deraadt
|
|
more readable, and fixes a spacing bug we had in smtpd.8;
|
|
ok robert@ pyr@
|
|
ok pyr@
|
|
ok eric
|
|
If this happens the imsg may no longer be usable as there may be queued
messages, but this is a) already the case with the code now, and b)
would be the case if recvmsg() fails anyway, so we can document that -1
from imsg_read() invalidates the struct imsgbuf.
discussed with and ok eric
|
|
called, in case of failure developer will be digging for a bug in wrong place
ok krw@, pyr@
|
|
|
|
in these cases, is useless anyway.
Found by and fixing the build with mandoc;
still fine with both old and new groff.
ok jmc@
|
|
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@
|
|
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!)
|
|
Markup syntax error found by mandoc(1), also required to fix the mandoc build.
ok jmc@ sobrado@
|
|
- zap an unneccessary .Pp whilst here
|
|
|
|
|
|
YPMAXRECORD, so use that instead of _PW_NAME_LEN.
with help from deraadt@
|
|
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@
|
|
freeing the msgbuf.
While here also remove an unnecessary while loop.
ok eric pyr
|
|
actual returns (which were returning the same value anyway).
ok pyr@
|
|
bytes that were filled, not the whole buffer.
ok pyr@ gilles@
|
|
ok pyr@
|
|
Make the imsg protocol network-safe.
it might be network safe, but half the imsg based daemons on my firewalls
dont run anymore.
|
|
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@
|
|
ok pyr@
|
|
add a flag field, use u_int32_t for pid_t and extend type to 32 bits
for padding.
ok pyr@
|
|
|