Am 02.06.2009 um 13:13 schrieb Christoph Holtermann:

> Hello !
>
> Thanks for your reply and that of Marc Balmer.
> But I still wonder if it is allowed by LDAP or LDIF-
> Specification to have a comma in dn. I also tried it
> with "" and Base64, some of which
> openldap accepted.

take a look at RFC 1779.  A semicolon could be used as an
alternate delimiter and it shuld be possible to enclose strings
in quotes, i.e. like this:

dn="Balmer, Marc",ou=research,dc=msys,dc=ch

But I did not test if OpenLDAP "eats" this... ;)

- Marc Balmer

>
> C. Holtermann
>
> Yves Dorfsman schrieb:
>>
>> Christoph Holtermann wrote:
>>
>>
>>> I am working on a filter that makes Thunderbirds LDIF-Output
>>> importable to OpenLDAP. It works quite fine except for names
>>> that include ",". OpenLDAP dislikes the output that is produced
>>> like :
>>>
>>> dn: cn=Lehmann\, Veronika,dc=Adressbuch,dc=christoph
>>>
>>
>> Escaping characters is used by some LDAP servers, not all of them,  
>> but is
>> not conform to LDIF.
>>
>>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the  
> latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: 
> http://p.sf.net/sfu/opensolaris-get_______________________________________________
> Python-LDAP-dev mailing list
> Python-LDAP-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to