araujo
5c77da40c3
Set argument encode/result decode call backs for 'maplist' and 'all'.
...
Note: Listing a map is still not fully implemented.
Obtained from: OpenBSD (r1.16, r1.17)
2016-03-04 03:10:08 +00:00
araujo
fa3cdda254
Implement the 'master' request.
...
Obtained from: OpenBSD (r1.15)
2016-03-04 02:14:32 +00:00
araujo
010e5362b8
Switch from FD_SETSIZE to getdtablesize(2) as it can make the FD to be
...
tunable. Also it gets more close with the original implementation from
OpenBSD.
Requested by: rodrigc
Approved by: rodrigc (mentor)
Differential Revision: https://reviews.freebsd.org/D4970
2016-01-22 03:02:38 +00:00
araujo
195a2554c4
ypldap(8) is a feature ready to be used to translate nis(8) database to ldap(3).
...
This commit, fix a core dump on ypldap(8) related with memory allocation.
Also an example of how to set the ypldap.conf(5) properly is added to
examples files.
A new user _ypldap is required to be able to run ypldap(8) as well as
in a chroot mode.
Reviewed by: rodrigc (mentor), bjk
Approved by: bapt (mentor)
Relnotes: Yes
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D4744
2016-01-13 01:49:35 +00:00
araujo
2dd258160a
Remove a garbage printf used for debug.
...
Approved by: bapt (mentor implicit)
2015-12-15 15:46:14 +00:00
araujo
c269bcd7ed
Remove the null checker before free.
...
Approved by: bapt (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D4549
2015-12-15 15:42:42 +00:00
araujo
7e0d3844ca
Remove wrong header and the NULL check before free().
...
Approved by: bapt (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D4548
2015-12-15 15:41:09 +00:00
araujo
99a0984f8b
EAGAIN handling for imsg_read.
...
Approved by: bapt (mentor)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D4547
2015-12-15 15:37:58 +00:00
rodrigc
4fa7625884
Add include of signal.h for signal() prototype.
2015-11-16 17:28:04 +00:00
rodrigc
bba159a487
Replace __svc_fdset with svc_fdset.
...
FreeBSD lacks __svc_fdset and __svc_fdsetsize.
2015-11-16 17:25:27 +00:00
rodrigc
68b3fb6aaf
Do not use SA_LEN() to dereference sa_len.
...
FreeBSD lacks the SA_LEN() macro.
2015-11-16 17:11:11 +00:00
rodrigc
84a8f489f2
Add include of time.h for tzset() prototype.
2015-11-16 17:08:51 +00:00
rodrigc
aa02ae250d
Replace __dead with __dead2.
...
FreeBSD lacks __dead.
2015-11-16 17:08:05 +00:00
rodrigc
1ca828578c
Add include of sys/param.h for MAXHOSTNAMELEN
2015-11-16 17:06:33 +00:00
rodrigc
c20370bb1b
Replace __dead with __dead2.
...
FreeBSD lacks __dead.
2015-11-16 17:03:52 +00:00
rodrigc
cbf7792efd
Replace HOST_NAME_MAX with MAXHOSTNAMELEN.
...
FreeBSD lacks HOST_NAME_MAX.
2015-11-16 17:02:34 +00:00
rodrigc
9dc16cbb6a
Remove reference to EAI_NODATA.
...
It does not exist on FreeBSD.
2015-11-16 16:58:09 +00:00
rodrigc
8dff23c527
Add include of <string.h> for strlen() prototype.
2015-11-16 16:52:56 +00:00
rodrigc
8fc8f40e0d
Convert Makefile to FreeBSD style.
...
Add libopenbsd to link line for imsg.
2015-11-16 16:51:18 +00:00
rodrigc
d2078e379a
Import ypldap from OpenBSD.
...
ypldap -- Intended to be a drop-in replacement for ypserv, gluing in a
LDAP directory and thus providing support for users and groups stored in
LDAP for the get{pw,gr}ent family of functions.
2015-11-16 16:48:43 +00:00