Skip to content
Snippets Groups Projects
  1. Apr 15, 2004
  2. Apr 10, 2004
    • Pierangelo Masarati's avatar
      Added provisions for a layer between the backend and the ODBC · b703cfb0
      Pierangelo Masarati authored
      for further mucking with data.  This can be of use in ill situations
      where not all the required massaging can be done on data with SQL
      by means of stored procedures, but overlays are called too early
      and cannot be used to make data non LDAP compliant.
      - only support for bidirectional DN mucking is provided right now
      - support for other values mucking is planned
      - write is not completely tested yet
      - the API could change quite often; don't rely too much on it
      
      other cleanup has been added.
      b703cfb0
  3. Apr 08, 2004
    • Pierangelo Masarati's avatar
      General improvements: · 35437298
      Pierangelo Masarati authored
      - There might be special cases that require the unique key to be a string
        (just ran into one); since this is not a generally useful change, it's
        hidden behind #defines.
      - Added essential support for telephoneNumber match; the same infrastructure
        might be useful for other specialized matches (also regular matches should
        use it to handle multiple spaces and so!).
      - Fixed dynamic backend initialization.
      - Cleaned up search base DN normalization (works also if no uppercase function
        is available, using case exact matches).
      35437298
  4. Mar 17, 2004
  5. Mar 08, 2004
  6. Feb 18, 2004
  7. Jan 19, 2004
  8. Jan 17, 2004
  9. Jan 13, 2004
  10. Jan 11, 2004
  11. Jan 10, 2004
  12. Jan 09, 2004
  13. Jan 01, 2004
  14. Dec 07, 2003
  15. Jul 15, 2003
  16. Apr 16, 2003
  17. Apr 15, 2003
  18. Apr 11, 2003
  19. Apr 07, 2003
  20. Apr 03, 2003
  21. Apr 02, 2003
  22. Dec 14, 2002
  23. Nov 21, 2002
  24. Nov 10, 2002
  25. Oct 26, 2002
  26. Aug 31, 2002
  27. Aug 29, 2002
  28. Aug 23, 2002
    • Pierangelo Masarati's avatar
      Final run of changes to back-sql; IBM db2 support has been tested. · f11c6b27
      Pierangelo Masarati authored
      Now related ITSes need be audited and possibly closed.
      
      Enhancements:
        - re-styled code for better readability
        - upgraded backend API to reflect recent changes
        - LDAP schema is checked when loading SQL/LDAP mapping
        - AttributeDescription/ObjectClass pointers used for more efficient
          mapping lookup
        - bervals used where string length is required often
        - atomized write operations by committing at the end of each operation
          and defaulting connection closure to rollback
        - added LDAP access control to write operations
        - fully implemented modrdn (with rdn attrs change, deleteoldrdn,
          access check, parent/children check and more)
        - added parent access control, children control to delete operation
        - added structuralObjectClass operational attribute check and
          value return on search
        - added hasSubordinate operational attribute on demand
        - search limits are appropriately enforced
        - function backsql_strcat() has been made more efficient
        - concat function has been made configurable by means of a pattern
        - added config switches:
            - fail_if_no_mapping	write operations fail if there is no mapping
            - has_ldapinfo_dn_ru	overrides autodetect
            - concat_pattern		a string containing two '?' is used
      				(note that "?||?" should be more portable
      				than builtin function "CONCAT(?,?)")
            - strcast_func		cast of string constants in "SELECT DISTINCT					statements (needed by PostgreSQL)
            - upper_needs_cast	cast the argument of upper when required
      				(basically when building dn substring queries)
      
      Todo:
        - add security checks for SQL statements that can be injected (?)
        - re-test with previously supported RDBMs
        - replace dn_ru and so with normalized dn (no need for upper() and so
          in dn match)
        - implement a backsql_normalize() function to replace the upper()
          conversion routines
        - note that subtree deletion, subtree renaming and so could be easily
          implemented (rollback and consistency checks are available :)
        - implement "lastmod" and other operational stuff (ldap_entries table ?)
      f11c6b27
  29. Aug 16, 2002
    • Pierangelo Masarati's avatar
      CHANGES: · 05348c5f
      Pierangelo Masarati authored
      - now all write operations appear to work correctly with PostgeSQL 7.0
      - all write operations have been made transactional (atomic writes to
        entries are committed separately only in case of complete^1 success
        while all other operations are rolled-back by default)
      - more cleanup and handling of exceptional conditions
      
      TODO:
      - deen to check with different databases and more up to date versions
        of both unixODBC and PostgreSQL.
      
      ^1: attribute add/modify/delete operations silently succeed if the
          appropriate add/delete proc does not exist for each attribute;
          this may be correct to hide undesired/unimplemented correspondence
          between LDAP and SQL databases; however, a more appropriate
          LDAP behavior would be a failure with LDAP_UNAVAILABLE if a
          single write operation cannot be executed for such reason
      05348c5f
  30. Aug 13, 2002
    • Pierangelo Masarati's avatar
      changes: · 11540898
      Pierangelo Masarati authored
      - re-style according to the style giudelines for better readability
      - updated to recent frontend/backend API changes
      - fixed a few quirks about normalization
      - "optimized" a few memory allocation/string handling functions
      - fixed a few quirks about add/modify (still have to look ad modrdn)
      
      todo:
      - there is still something broken (at least with PostgreSQL and IBM db2,
        the two RDBMS O have at hand) when adding
      - move everything to struct bervals and try to save a few strlen
      - try some LDAP/SQL syntax relation to use appropriate value bind if possible
      - ...
      11540898
  31. Apr 11, 2002
  32. Jan 03, 2002
Loading