Skip to content
Snippets Groups Projects
  1. Mar 18, 2005
  2. Jan 01, 2005
  3. Sep 28, 2004
  4. Mar 19, 2004
  5. Mar 12, 2004
  6. Mar 02, 2004
  7. Jan 01, 2004
  8. Dec 11, 2003
  9. Nov 26, 2003
  10. May 15, 2003
  11. Apr 30, 2003
  12. Mar 12, 2003
  13. Mar 11, 2003
  14. Mar 03, 2003
  15. Jan 03, 2003
  16. Sep 10, 2002
  17. Aug 31, 2002
  18. Aug 24, 2002
    • Kurt Zeilenga's avatar
      Patch: 'ldapmodify -y file' reads password from file (ITS#2031) · 8de258d2
      Kurt Zeilenga authored
                  ================
      Written by Hallvard B. Furuseth and placed into the public domain.
      This software is not subject to any license of the University of Oslo.
                  ================
      Adapted by Kurt Zeilenga for inclusion in OpenLDAP.  My comments are
      marked with enclosed with square brackets (e.g. [Kurt's comment] below.
                  ================
      
      If I run ldapmodify & co from a script, I don't want to use '-W password'
      because the password shows up in the output of 'ps' for everyone,
      and I can't pipe the password to 'ldapmodify -w' because -w uses
      getpassphrase() which reads from the tty instead of stdin.
      So I added '-y file' which reads the password from file.  The programs
      exit if the file cannot be read.
      
      [Complete contents of file is used as password.  Use:
      	echo -n "secret" > password
      to create a file with "secret" as the password.  The -n avoids
      adding a newline (which would invalidate the password).  Note
      that echo is a builtin and hence its arguments are not visible
      to 'ps'.]
      
      I changed ldapmodify, ldapmodrdn, ldapdelete, ldapsearch, ldapcompare.
      I did not bother to change ldappasswd and ldapwhoami, because they
      prompt for many passwords.  [I fixed up ldapwhoami.]
      
      Rerun autoconf after applying this patch. [Done.]
      
      Note:  I do not know if Windows NT has fstat(), so I set HAVE_FSTAT to
      undef in portable.nt.  (fstat() is used to warn if the file is publicly
      readable or writeable.)  [I used fstat() to set the buffer size to
      read.]
      
      [Note: using the contents of a file extends the tools to support
      passwords which could not normally be provided using getpassphrase()
      or via the command line.]
      
      Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
      [Kurt D. Zeilenga <kurt@openldap.org>, Aug 2002.]
      8de258d2
  19. Jul 27, 2002
  20. Jan 04, 2002
  21. Dec 17, 2001
  22. Dec 09, 2001
  23. Dec 07, 2001
  24. Jun 13, 2001
  25. May 29, 2001
  26. Oct 18, 2000
  27. Oct 14, 2000
  28. Jun 18, 2000
    • Kurt Zeilenga's avatar
      Round one of LDAP_F() macro changes. In this round we rename · 9ef1a740
      Kurt Zeilenga authored
      macros into our namespace and limit use to headers.  A subsequent
      round will add macros to separately handle forward declarations
      of variables from declaration of function prototypes.  The last
      round will add additional macros for declaring actual variables and
      functions.
      9ef1a740
  29. May 13, 2000
  30. May 10, 2000
  31. Apr 25, 2000
  32. Dec 13, 1999
  33. Dec 10, 1999
    • Kurt Zeilenga's avatar
      Fix slapd SASL/ExternalOps encoding · 431dad37
      Kurt Zeilenga authored
      Add controls to extended ops API signatures, need impl.
      Update password to support optional server side generation of
      new password, verification of old password, and changing of
      non-bound user's passwords.
      431dad37
  34. Dec 09, 1999
  35. Dec 08, 1999
    • Kurt Zeilenga's avatar
      Reengineered ldappasswd(1). Uses extended operation to set · d5edb4bf
      Kurt Zeilenga authored
      user password.  Likely to be modified to use bind control
      instead.  Use of modify deprecated in favor mechanisms that
      support passwords stored externally to the directory (such
      as in a SASL service).
      Modified slapd extended operation infrastructure to support
      backend provided extended operations.
      d5edb4bf
  36. Nov 27, 1999
  37. Nov 23, 1999
Loading