Re: Problem with names that include ","

2009-06-02 Thread Marc Balmer

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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Problem with names that include ","

2009-06-02 Thread Marc Balmer

Am 02.06.2009 um 14:12 schrieb Michael Ströder:

> Marc Balmer wrote:
>> 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:
>
> RFC 1779 was part of LDAPv2 standard which has been obsoleted for  
> quite
> a while now. Today RFC 4514 is relevant for LDAPv3-based DSAs which  
> does
> not allow semicolon as delimiter.


grmbll, that is what you get when you work with 40 years old systems

Sorry for the wrong information, though.

Marc Balmer (long time BSD developer ;)


--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev