OpenBSD CVS

CVS log for src/usr.sbin/ypldap/ypldap.h


[BACK] Up to [local] / src / usr.sbin / ypldap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 18 13:06:33 2023 UTC (10 months, 3 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.23: +1 -12 lines
Diff to previous 1.23 (colored)

Do not duplicate prototypes of log.h in ypldap.h (without the extra
__format__ attribute on top).
Also properly ignore SIGHUP in the child processes.
OK jmatthew@

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 13 04:55:33 2022 UTC (19 months, 4 weeks ago) by jmatthew
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

Add client certificate authentication and optional SASL EXTERNAL bind,
which allows the client to bind as the subject of the certificate in cases
where the directory doesn't implicitly do that.

The client certificate is configured with 'certfile' and 'keyfile'
directives, and SASL EXTERNAL bind is configured with the 'bindext'
directive.

ok tb@

Revision 1.22 / (download) - annotate - [select for diffs], Fri Aug 19 03:50:32 2022 UTC (21 months, 3 weeks ago) by jmatthew
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.21: +7 -1 lines
Diff to previous 1.21 (colored)

Add local bind mode, where ypldap manages the YP binding file itself
rather than relying on ypbind to do it, which also means you don't need
portmap running.  In this mode, ypldap binds its rpc sockets to loopback,
so YP services are only available to the host it's running on.  The
previous behaviour, now called portmap bind mode, is still the default.

encouragement from deraadt@ and dlg@

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 27 07:21:55 2021 UTC (3 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

these programs (with common ancestry) had a -fno-common problem related
to privsep_procid.
ok mortimer

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 6 20:42:03 2018 UTC (5 years, 7 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

Use TLS_CA_CERT_FILE instead of a separate define.

ok beck@ bluhm@ tb@

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 30 09:33:31 2017 UTC (7 years ago) by jmatthew
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

Teach ypldap to use tls when connecting to ldap servers.
libtls help from jsing@, linker help from deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 20 12:39:36 2017 UTC (7 years, 4 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

work on making log.c similar in all daemons:

reduce the (mostly whitespace) differences so that log.c's can be
diffed easily. disclaimer change ok henning@.

ok krw@ jmatthew@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Apr 10 09:59:21 2016 UTC (8 years, 2 months ago) by jmatthew
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

convert ypldap_addr list to a tailq

ok dlg@

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:22 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 3 20:15:31 2014 UTC (9 years, 7 months ago) by bluhm
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Convert the logic in yyerror().  Instead of creating a temporary
format string, create a temporary message.
OK claudio@

Revision 1.14 / (download) - annotate - [select for diffs], Wed Mar 6 21:42:40 2013 UTC (11 years, 3 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

as done in ospf{,6}d/relayd, sync yyerror in various other daemons with
that from bgpd, so that it logs to syslog when daemonized.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 30 11:28:25 2012 UTC (12 years, 1 month ago) by jmatthew
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

add 'groupdn' option for specifying a separate base DN for group searches.
from Jim Smith, ok dlg@

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 28 11:53:16 2011 UTC (12 years, 9 months ago) by aschrijver
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

Add support for the netid.byname YP map. This map is used by getgrouplist(3),
which is used by (amongst other things) initgroups(3) to set the supplemantary
groups on login.

OK pyr@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 11 08:38:30 2010 UTC (13 years, 8 months ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.10: +1 -5 lines
Diff to previous 1.10 (colored)

zap unused definitions

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 6 18:31:42 2009 UTC (15 years ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Get ready for including imsg.h from a lib, when it comes along.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 6 05:02:58 2009 UTC (15 years ago) by eric
Branch: MAIN
Changes since 1.8: +16 -83 lines
Diff to previous 1.8 (colored)

Sync with relayd:
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@

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 6 21:52:55 2009 UTC (15 years, 5 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.7: +2 -0 lines
Diff to previous 1.7 (colored)

- add missing rcs id

ok aschrijver@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 28 13:47:22 2008 UTC (15 years, 7 months ago) by aschrijver
Branch: MAIN
Changes since 1.6: +27 -2 lines
Diff to previous 1.6 (colored)

Do the DNS resolution in a seperate process. A lot of code is copied from ntpd.
This is necessary because DNS resolution is not possible from a chroot.

Cleanup the aldap interface a bit.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 19 12:00:54 2008 UTC (15 years, 7 months ago) by aschrijver
Branch: MAIN
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

Do the DNS resolution before the chroot and disable LDAP referrals for now.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 14 21:41:03 2008 UTC (15 years, 7 months ago) by aschrijver
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Add support for referrals and lists of attributes.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 30 16:24:16 2008 UTC (15 years, 8 months ago) by aschrijver
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

aldap library -- Replacement for openldap used in ypldap. aldap is an semi-asynchronous client interface to connect to LDAP servers.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 2 17:36:15 2008 UTC (15 years, 11 months ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.2: +2 -28 lines
Diff to previous 1.2 (colored)

kill a bunch of dead code.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 26 15:13:17 2008 UTC (15 years, 11 months ago) by pyr
Branch: MAIN
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

cleanup include file. remove unneeded socket cleanup.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 26 15:10:01 2008 UTC (15 years, 11 months ago) by pyr
Branch: MAIN

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.

As of now it relies on external LDAP libraries, choose the one of your
liking though openldap would do fine. Not linked to the builds until
some things are sorted out, having our own LDAP client code for
instance, better support for group membership lookup as well.

Remember to sync with the latest master.passwd and group files as well
to have the _ypldap user available, which is needed.

``just get it in'' deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.