1. 28 Aug, 2002 3 commits
  2. 24 Aug, 2002 1 commit
    • 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
  3. 08 Aug, 2002 1 commit
  4. 25 Jun, 2002 2 commits
  5. 13 Jun, 2002 1 commit
  6. 12 Jun, 2002 1 commit
  7. 18 May, 2002 1 commit
  8. 15 May, 2002 1 commit
    • Kurt Zeilenga's avatar
      Patch: Implement surrogate parent for back-shell (ITS#1815) · 4e51bba2
      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.
      			================
      
      A surrogate parent is supposed to keep back-shell children from
      deadlocking due to resources locked by a threading parent.
      
      Implementation note: The surrogate parent closes all unused file
      descriptors, so it logs errors to stderr instead of via Debug() and
      uses relloc() instead of ch_realloc().
      
      Also close a file descriptor leak if fork() fails in fork.c.
      
      Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
      4e51bba2
  9. 13 May, 2002 2 commits
  10. 07 May, 2002 1 commit
  11. 02 May, 2002 1 commit
  12. 01 May, 2002 1 commit
  13. 20 Apr, 2002 1 commit
  14. 15 Apr, 2002 2 commits
  15. 08 Apr, 2002 1 commit
    • Pierangelo Masarati's avatar
      Mostly based on patches provided by Hallvard B. Furuseth · 4a8ab5db
      Pierangelo Masarati authored
      ITS#1677 - cast away const warnings
      ITS#1678 - unsigned char args to ctype funcs
      ITS#1682 - don't redefine ldap_debug
      ITS#1683 - uninitialized vars
      ITS#1703 - ldo_debug initialization
      ITS#1705 - unsigned testing
      ITS#1706 - socklen_t args
      ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
      ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
      ITS#1725 - libdes not required
      
      Implement back-null (/dev/null style backend)
      Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
              ambiguous operator precedence)
      
      Kurt, please regenerate configure
      4a8ab5db
  16. 02 Apr, 2002 1 commit
  17. 11 Feb, 2002 5 commits
  18. 10 Feb, 2002 5 commits
  19. 30 Jan, 2002 2 commits
  20. 23 Jan, 2002 1 commit
  21. 21 Jan, 2002 4 commits
  22. 20 Jan, 2002 2 commits