Annuaire LDAP
Find a file
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
build ITS#8874 - Don't try and link in libcom_err with libfetch on FreeBSD 2021-06-24 15:01:51 +00:00
clients ITS#8903 - Add option to bind early in ldappasswd 2021-06-27 20:18:24 +00:00
contrib ITS#9472 Fix cn=config memory leaks in slapo-datamorph 2021-06-21 16:36:06 +00:00
doc ITS#8788 - Document that "undef" is not usable with back-mdb 2021-06-24 17:48:21 +00:00
include ITS#8695 - Update Windows to use Sleep instead of deprecated _sleep 2021-06-27 19:03:30 +00:00
libraries ITS#9590 libldap: fix missing unlock on connection alloc failure 2021-06-24 13:40:44 +01:00
servers ITS#7080 Postread control support for back-ldif/config 2021-06-27 17:39:46 +00:00
tests ITS#9468 removed accidental unicode characters 2021-05-11 15:05:50 +00:00
.gitattributes ITS#8872 - configure.in to configure.ac 2021-04-09 21:01:10 +00:00
.gitignore lloadd ahoy 2020-11-17 17:15:40 +00:00
.gitlab-ci.yml ITS#8707 - Update CI/CD for systemd notification support 2021-04-20 22:54:19 +00:00
aclocal.m4 ITS#8707 -- Regenerate configure 2021-04-21 01:30:29 +00:00
configure ITS#9591 - Regenerate configure 2021-06-27 17:39:22 +00:00
configure.ac ITS#9591 - Fix library symbol versioning map file for Solaris 2021-06-24 21:28:01 +00:00
COPYRIGHT Happy New Year! 2021-01-11 19:25:53 +00:00
INSTALL Happy New Year! 2021-01-11 19:25:53 +00:00
LICENSE Fix typos 2003-11-24 19:42:08 +00:00
Makefile.in Happy New Year! 2021-01-11 19:25:53 +00:00
README Happy New Year! 2021-01-11 19:25:53 +00:00

OpenLDAP Devel README
	This software was obtained from a development branch of the
	OpenLDAP Software Repository.  This copy is likely already
	not current, the development branch changes frequently.  These
	changes include code implementing experimental features and
	unproven bug fixes.  Please do NOT redistribute copies of the
	development branch.

	The OpenLDAP Developer's FAQ is available at:
		<http://www.openldap.org/faq/index.cgi?file=4>

	Client developers seeking a suitable development platform
	should use "release" or "stable" versions.
		<http://www.openldap.org/software/>

Contributing
	See <http://www.openldap.org/devel/contributing.html> for how to
	contribute code or documentation to OpenLDAP.  Use the Issue Tracking
	System <http://www.openldap.org/its/> to submit contributions.
	While you are encouraged to coordinate and discuss the development
	activities on the openldap-devel@openldap.org mailing list prior
	to submission, it is noted that contributions must be submitted
	using the Issue Tracking System to be considered.

---
$OpenLDAP$

This work is part of OpenLDAP Software <http://www.openldap.org/>.

Copyright 1998-2021 The OpenLDAP Foundation.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP
Public License.

A copy of this license is available in the file LICENSE in the
top-level directory of the distribution or, alternatively, at
<http://www.OpenLDAP.org/license.html>.

OpenLDAP is a registered trademark of the OpenLDAP Foundation.