Commit Graph

23713 Commits

Author SHA1 Message Date
Howard Chu
5cd45ec937 ITS#9621 fix for multival with NULL mr 2021-08-02 20:24:58 +01:00
Quanah Gibson-Mount
417accbce4 ITS#9616 - Make example slapd.conf and slapd.ldif files functional 2021-07-30 17:30:19 +00:00
Quanah Gibson-Mount
6cfed41537 ITS#9616 - Always define olcModuleList for slapd-config 2021-07-30 17:29:51 +00:00
Quanah Gibson-Mount
0a31f0d31a ITS#9485 - Regenerate configure for contrib ldapc++
using autoconf
2021-07-29 18:24:01 +00:00
Quanah Gibson-Mount
8434638157 ITS#9485 - Regenerate autogenerated files for contrib ldapc++
using autoreconf -f -i
2021-07-29 18:23:25 +00:00
Quanah Gibson-Mount
ef174831b8 ITS#9485 - Update contrib ldapc++ for autoconf-2.71 2021-07-29 18:22:52 +00:00
Quanah Gibson-Mount
c1a99981e8 ITS#9485 - Regenerate configure via autoconf 2021-07-29 18:06:37 +00:00
Quanah Gibson-Mount
a7371850bc ITS#9485 - Regenerate autogenerated file with autoreconf -f -i 2021-07-29 18:06:03 +00:00
Quanah Gibson-Mount
371c29ba34 ITS#9485 - Update for autoconf 2.71
Update for latest autoconf release
2021-07-29 18:02:25 +00:00
Quanah Gibson-Mount
dc5d7f3b88 ITS#9617 - Use valid exit values when an error occurs 2021-07-29 16:13:53 +00:00
Nadezhda Ivanova
6463280d8c Enable addition of targets to back-asyncmeta via cn=config 2021-07-29 15:05:36 +00:00
Howard Chu
79d33fe40e ITS#9584 avoid busy-loop while refresh is serialized 2021-07-29 13:28:34 +01:00
Howard Chu
e893e0e8b6 ITS#9569 update schema def in manpage 2021-07-29 12:55:15 +01:00
Howard Chu
92ea88ec1f ITS#9569 make reqMod optional in modify ops 2021-07-29 12:02:22 +01:00
Howard Chu
e1c90d0977 ITS#9584 serialize refresh phase
Only allow one consumer at a time to perform a refresh on a database.
2021-07-27 16:12:14 +01:00
andrew.findlay@skills-1st.co.uk
73e7034d66 ITS#5555 - Correct documentation for SASL AuthzTo Check
This patch file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following patch(es)
were developed by Andrew Findlay <andrew.findlay@skills-1st.co.uk>.
I have not assigned rights and/or interest in this work to any party.

I, Andrew Findlay, hereby place the following modifications to OpenLDAP
Software (and only these modifications) into the public domain. Hence,
these modifications may be freely used and/or redistributed for any
purpose with or without attribution and/or other notice.
2021-07-26 22:02:55 +00:00
Quanah Gibson-Mount
97bee2f392 ITS#9589 - Fix man page references to be valid 2021-07-26 20:09:01 +00:00
Quanah Gibson-Mount
9f6ad7f5d1 ITS#9591 - Regeneate configure 2021-07-26 20:06:53 +00:00
Quanah Gibson-Mount
23f90be693 ITS#9591 - Fix missing grep statement 2021-07-26 20:05:24 +00:00
Quanah Gibson-Mount
c8761662f4 ITS#9613, ITS#9614 - Fix typo indicies to indices 2021-07-26 19:40:46 +00:00
Quanah Gibson-Mount
9da2307d71 ITS#9613, ITS#9614 - Document multival, idlexp, and maxentrysize options to slapd-mdb
multival, idlexp, and maxentrysize are all new options as of OpenLDAP 2.5 that were missing from the admin guide.  Add these options and additional information beyond what is found in the man pages as appropriate.

Also fixed some discrepencies between the slapd.conf and slapd-config admin guide sections on the Database backends as well as missing information in that section.
2021-07-26 16:36:34 +00:00
Quanah Gibson-Mount
cb5ba6781f ITS#8742 - More for bringing slapd.conf.5 and slapd-config.5 in sync 2021-07-26 16:36:26 +00:00
Howard Chu
ff0defdc13 ITS#6248 fix prev commit tlso_ca_list
Don't quit on first dir failure, try them all before giving up.
2021-07-22 23:54:25 +01:00
Howard Chu
dfcaa3f01e ITS#6248 support multiple CAcert dirs 2021-07-22 21:07:21 +01:00
Quanah Gibson-Mount
92a8025f29 ITS#6244 - Add "now" dynacl module 2021-07-22 17:12:58 +00:00
Howard Chu
2c0707cf13 ITS#9157 save TLS errmsg in ld->ld_error 2021-07-22 15:27:31 +01:00
Howard Chu
81076a7f7c ITS#8775 for passwordMod, pass real DN thru
Since conn->c_dn is the real DN, need to see real DN for <self>
ACLs to work.
2021-07-20 19:27:45 +01:00
Howard Chu
4bd6a6d49d ITS#6916 unique: internal ops shouldn't have user's controls 2021-07-20 17:54:26 +01:00
Quanah Gibson-Mount
d73ce9b3ce ITS#7832 - Fix sysconfdir setting having prefix twice 2021-07-19 17:36:05 +00:00
Howard Chu
0ae71bafcf ITS#9608 fix delete of nonexistent sessionlog 2021-07-13 12:10:28 +01:00
Howard Chu
a464a6e98f ITS#9603 fix IPv6 addrs with tcpd 2021-07-01 16:16:19 +01:00
Bin Lan
457f5bd4a9 ITS#9602 Silence warnings in libldap/tls_o.c 2021-06-29 13:16:37 +01:00
Bin Lan
3be2447dfc ITS#9601 Silence warning in libldap/tpool.c 2021-06-29 13:16:26 +01:00
Randall Mason
6285668ce5 ITS#8903 - Add option to bind early in ldappasswd
ldappasswd is slightly different from a standard passwd workflow in that it
requests an old password, then a new password, then the old password
again.  This confuses people who are used to the unix passwd tool as
well as people who use password manager.  I've seen quite a few people
who have generated a new password, overwriting the old one, and then
need a password reset because they still need to bind to modify their
password.

This patch adds an option to bind at the beginning of the process so
that you can pass '-E' to ldappasswd and it will bind early in the
process so that the process is the same as the standard passwd.  All it
does is run the bind towards the beginning of the process instead of the
end.

The attached patch file is derived from OpenLDAP Software. All of
the modifications to OpenLDAP Software represented in the following
patch(es) were developed by Randall Mason randall@mason.ch. I have not
assigned rights and/or interest in this work to any party.

I, Randall Mason, hereby place the following modifications to
OpenLDAP Software (and only these modifications) into the public domain.
Hence, these modifications may be freely used and/or redistributed for
any purpose with or without attribution and/or other notice.
2021-06-27 20:18:24 +00:00
Quanah Gibson-Mount
44e1c6535e ITS#8695 - Update Windows to use Sleep instead of deprecated _sleep 2021-06-27 19:03:30 +00:00
Ondřej Kuzník
a2e9cb1acd ITS#7080 Postread control support for back-ldif/config 2021-06-27 17:39:46 +00:00
Ondřej Kuzník
5e4f1e862f ITS#7080 Move slap_read_controls Debug message to STATS 2021-06-27 17:39:46 +00:00
Quanah Gibson-Mount
62cad4e647 ITS#9591 - Regenerate configure 2021-06-27 17:39:22 +00:00
Quanah Gibson-Mount
f76d40a963 ITS#9591 - Fix library symbol versioning map file for Solaris
Solaris wants a different option to work with Gnu style library symbol maps
2021-06-24 21:28:01 +00:00
Quanah Gibson-Mount
f6dcc600a3 ITS#8788 - Document that "undef" is not usable with back-mdb 2021-06-24 17:48:21 +00:00
Quanah Gibson-Mount
37e630c5d1 ITS#8874 - Regenerate configure 2021-06-24 17:47:23 +00:00
Quanah Gibson-Mount
59f8d06d33 ITS#8874 - Don't try and link in libcom_err with libfetch on FreeBSD
This was changed for FreeBSD back in the year 2000.
2021-06-24 15:01:51 +00:00
Konstantin Andreev
7bd1fac58c ITS#9590 libldap: fix missing unlock on connection alloc failure 2021-06-24 13:40:44 +01:00
Ondřej Kuzník
4cd096deff ITS#9156 Do not spam the logs on account of lastbind 2021-06-21 18:37:30 +00:00
Ondřej Kuzník
9e1a961792 ITS#9581 Implement lastbind precision 2021-06-21 18:37:30 +00:00
Ondřej Kuzník
681799da65 ITS#9472 Fix cn=config memory leaks in slapo-datamorph 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
006ca73d83 ITS#9473 Fix cn=config memory leaks in slapo-variant 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
5dddb72503 ITS#7215 Update datamorph/variant to drop workaround 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
c7f4a5eb28 ITS#7215 Allow cleanups/commits to fail (once)
Some config changes need to be prepared at entry modification time and
then checked/committed at the end. Such a check can fail, so we need to
do this early enough and also commit the opposite change during a revert
step.

The assumption is that the original version is consistent and bconfig
can accurately reconstruct it, so the revert cleanups will not fail and
so all of them get to be run. We set ca->reply.err so that the cleanups
can be made aware and comply with this assumption.
2021-06-21 16:36:06 +00:00
Ondřej Kuzník
4255288ac4 ITS#7215 Postpone index_substr check 2021-06-21 16:36:06 +00:00