[turba] Turba, LDAP, "$", and mapquest

Adam Tauno Williams adam at morrison-ind.com
Sun Mar 2 13:07:25 PST 2003


It is LDAP standard to use a "$" to represent newlines in multilined values, as
RFC2252 says:

6.27. Postal Address
   ( 1.3.6.1.4.1.1466.115.121.1.41 DESC 'Postal Address' )
   Values in this syntax are encoded according to the following BNF:
      postal-address = dstring *( "$" dstring )
   In the above, each dstring component of a postal address value is
   encoded as a value of type Directory String syntax.  Backslashes and
   dollar characters, if they occur in the component, are quoted as
   described in section 4.3.   Many servers limit the postal address to
   six lines of up to thirty characters.
   Example:
      1234 Main St.$Anytown, CA 12345$USA
      241,000,000 Sweepstakes$PO Box 1000000$Anytown, CA 12345$USA

Is it possible to enable "$" -> "\n" translation in the Turba LDAP driver?  I've
noticed this for along time, but never cared.  Now it pretty much breaks
mapquest support as this appears to confuse the address parser.


More information about the turba mailing list