Issue 8903 - Add Bind Early Option to ldappasswd
Summary: Add Bind Early Option to ldappasswd
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: 2.6.0
Assignee: Quanah Gibson-Mount
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 01:13 UTC by randall@mason.ch
Modified: 2021-10-25 22:09 UTC (History)
0 users

See Also:


Attachments
0001-Add-option-to-bind-early-in-ldappasswd.patch (3.39 KB, patch)
2020-03-23 20:40 UTC, Quanah Gibson-Mount
Details

Note You need to log in before you can comment on or make changes to this issue.
Description randall@mason.ch 2018-08-21 01:13:45 UTC
Full_Name: Randall Mason
Version: HEAD
OS: Debian Linux
URL: https://gist.githubusercontent.com/ClashTheBunny/a9d2b8d0119964a0eb8a5e2ed7df3050/raw/e083441af12a1c2109c29ab121e60707ab00a059/0001-Add-option-to-bind-early-in-ldappasswd.patch
Submission from: (NULL) (67.165.132.233)



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.
Comment 1 OpenLDAP project 2018-11-16 20:22:38 UTC
has patch;IPR OK;needs review
Comment 2 Quanah Gibson-Mount 2018-11-16 20:22:38 UTC
changed notes
Comment 3 Quanah Gibson-Mount 2020-03-23 20:40:33 UTC
Created attachment 686 [details]
0001-Add-option-to-bind-early-in-ldappasswd.patch
Comment 5 Quanah Gibson-Mount 2021-07-06 15:43:22 UTC
Commits: 
  • 6285668c 
by Randall Mason at 2021-06-27T20:18:24+00:00 
ITS#8903 - Add option to bind early in ldappasswd