Skip to content
Snippets Groups Projects
  1. Jun 27, 2021
    • Randall Mason's avatar
      ITS#8903 - Add option to bind early in ldappasswd · 6285668c
      Randall Mason authored and Quanah Gibson-Mount's avatar Quanah Gibson-Mount committed
      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.
      6285668c
  2. Mar 26, 2021
  3. Mar 15, 2021
  4. Mar 01, 2021
  5. Feb 17, 2021
  6. Jan 28, 2021
  7. Jan 11, 2021
  8. Dec 04, 2020
    • Ding Fei's avatar
      ITS #9417 ldapexop exit with correct rc value · 66254781
      Ding Fei authored
      `rc` collects exit status all the way down but is not used at all? If `code`
      comparison at exit is intended then there exists some path that leaves it in
      garbage value, say when `ldap_whoami` or `ldap_cancel` fails.
      66254781
  9. Nov 12, 2020
  10. Oct 01, 2020
  11. Sep 04, 2020
  12. Aug 25, 2020
  13. Aug 04, 2020
  14. Jul 07, 2020
  15. May 20, 2020
  16. Apr 15, 2020
  17. Mar 26, 2020
    • Kurt Zeilenga's avatar
      ITS#8675 - Fix tools to not continue on TLS error · 23af2c36
      Kurt Zeilenga authored and Quanah Gibson-Mount's avatar Quanah Gibson-Mount committed
      The spec says that upon StartTLS 'success', both TLS communications is
      established on the octet following the Start TLS response (and the
      request)... and that once one starts TLS communications, one can never
      go back to LDAP without TLS. So if there's a TLS failure (whether as
      part of TLS nego or later), LDAP communications cannot be continued
      (without TLS).
      
      Only ignoring LDAP errors (rc > 0) ensures that if TLS negotiation
      fails, we don't attempt to send LDAP operations without TLS.
      23af2c36
  18. Jan 28, 2020
  19. Jan 09, 2020
  20. Jan 03, 2020
  21. Feb 25, 2019
  22. Feb 19, 2019
  23. Jan 14, 2019
  24. Jan 02, 2019
  25. Dec 18, 2018
  26. Dec 13, 2018
  27. Dec 03, 2018
  28. Nov 18, 2018
  29. Oct 30, 2018
  30. Oct 19, 2018
  31. Jun 14, 2018
  32. Mar 22, 2018
  33. Oct 11, 2017
    • Josh Soref's avatar
      ITS#8605 - spelling fixes · 10566c8b
      Josh Soref authored and Quanah Gibson-Mount's avatar Quanah Gibson-Mount committed
      * javascript
      * kernel
      * ldap
      * length
      * macros
      * maintained
      * manager
      * matching
      * maximum
      * mechanism
      * memory
      * method
      * mimic
      * minimum
      * modifiable
      * modifiers
      * modifying
      * multiple
      * necessary
      * normalized
      * objectclass
      * occurrence
      * occurring
      * offered
      * operation
      * original
      * overridden
      * parameter
      * permanent
      * preemptively
      * printable
      * protocol
      * provider
      * really
      * redistribution
      * referenced
      * refresh
      * regardless
      * registered
      * request
      * reserved
      * resource
      * response
      * sanity
      * separated
      * setconcurrency
      * should
      * specially
      * specifies
      * structure
      * structures
      * subordinates
      * substitution
      * succeed
      * successful
      * successfully
      * sudoers
      * sufficient
      * superiors
      * supported
      * synchronization
      * terminated
      * they're
      * through
      * traffic
      * transparent
      * unsigned
      * unsupported
      * version
      * absence
      * achieves
      * adamson
      * additional
      * address
      * against
      * appropriate
      * architecture
      * associated
      * async
      * attribute
      * authentication
      * authorized
      * auxiliary
      * available
      * begin
      * beginning
      * buffered
      * canonical
      * certificate
      * charray
      * check
      * class
      * compatibility
      * compilation
      * component
      * configurable
      * configuration
      * configure
      * conjunction
      * constraints
      * constructor
      * contained
      * containing
      * continued
      * control
      * convenience
      * correspond
      * credentials
      * cyrillic
      * database
      * definitions
      * deloldrdn
      * dereferencing
      * destroy
      * distinguish
      * documentation
      * emmanuel
      * enabled
      * entry
      * enumerated
      * everything
      * exhaustive
      * existence
      * existing
      * explicitly
      * extract
      * fallthru
      * fashion
      * february
      * finally
      * function
      * generically
      * groupname
      * happened
      * implementation
      * including
      * initialization
      * initializes
      * insensitive
      * instantiated
      * instantiation
      * integral
      * internal
      * iterate
      10566c8b
  34. Jan 03, 2017
  35. Jan 29, 2016
  36. Apr 29, 2015
    • Thomas Cort's avatar
      ITS#8118 dosearch: flush stdout · 590378ed
      Thomas Cort authored and Howard Chu's avatar Howard Chu committed
      The LDIF output wasn't being explicitly flushed. In certain scenarios,
      such as piping the output of a persistent ldapsearch to node.js v0.12
      on Mac OS X 10.10.3, the output is unavailable to the process
      consuming the search results until the stdio buffer fills (8192 bytes
      for example). This can leave the tail end of persistent search results
      in the buffer for a long time (until enough output has accumulated).
      
      Explicitly call flush so that the output is immediately available.
      590378ed
Loading