History log of /freebsd-current/usr.sbin/ypldap/ypldap.h
Revision Date Author Comments
# 2a63c3be 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c comment pattern

Remove /^/[*/]\s*\$FreeBSD\$.*\n/


# c41b1618 03-Oct-2022 John Baldwin <jhb@FreeBSD.org>

ypldap: Fix mismatch in array bounds for ldapclient().

Reviewed by: emaste
Reported by: GCC -Warray-parameter
Differential Revision: https://reviews.freebsd.org/D36807


# 3a166b33 06-Apr-2020 Kyle Evans <kevans@FreeBSD.org>

yp*: fix -fno-common build

This is mostly two problems spread out far and wide:
- ypldap_process should be declared properly
- debug is defined differently in many programs

For the latter, just extern it and define it everywhere that actually needs
it. This mostly works out nicely for ^/libexec/ypxfr, which can remove the
assignment at the beginning of main in favor of defining it properly.

-fno-common will become the default in GCC10/LLVM11.

MFC after: 3 days


# eaf209de 12-Apr-2016 Marcelo Araujo <araujo@FreeBSD.org>

Convert ypldap_addr list to a tailq(queue(3)).

Obtained from: OpenBSD r1.11, r1.17 and r1.36


# ab905b04 16-Nov-2015 Craig Rodrigues <rodrigc@FreeBSD.org>

Replace __dead with __dead2.

FreeBSD lacks __dead.


# cc7c29bf 16-Nov-2015 Craig Rodrigues <rodrigc@FreeBSD.org>

Replace HOST_NAME_MAX with MAXHOSTNAMELEN.

FreeBSD lacks HOST_NAME_MAX.


# 9e7c127f 16-Nov-2015 Craig Rodrigues <rodrigc@FreeBSD.org>

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.