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 :
Can you please elaborate on which exact problems you have with OpenLD
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
Michael Ströder 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
>>
Christoph Holtermann wrote:
>
> Still working on commas in dn. When I now look
> at the functions supplied in python ldap there is
> for example :
>
a='cn="lehmann, Andreas",dc=Adressbuch'
b=ldap.dn.str2dn(a)
b
> [[('cn', 'lehmann, Andreas', 1)], [('dc', 'Adressbuch', 1)]]
lda
Yves Dorfsman wrote:
> 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=Adres
Hello !
Still working on commas in dn. When I now look
at the functions supplied in python ldap there is
for example :
>>> a='cn="lehmann, Andreas",dc=Adressbuch'
>>> b=ldap.dn.str2dn(a)
>>> b
[[('cn', 'lehmann, Andreas', 1)], [('dc', 'Adressbuch', 1)]]
>>> ldap.dn.dn2str(b)
'cn=lehmann\\, Andrea
Michael Ströder wrote:
> Christoph Holtermann wrote:
>> I just fed it with
>>
>> dn: cn="Lehmann, Veronika",dc=Adressbuch,dc=christoph
>> objectclass: top
>> objectclass: person
>> objectclass: inetOrgPerson
>> objectclass: mozillaAbPersonAlpha
>> sn: Lehmann
>> cn: Lehmann, Veronika
>
> And that'
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-b
Christoph Holtermann wrote:
> I just fed it with
>
> dn: cn="Lehmann, Veronika",dc=Adressbuch,dc=christoph
> objectclass: top
> objectclass: person
> objectclass: inetOrgPerson
> objectclass: mozillaAbPersonAlpha
> sn: Lehmann
> cn: Lehmann, Veronika
And that's the correct LDIF for the entry you
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
Hi !
>>
>> 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
> altern
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.
C. Holtermann
Yves Dorfsman schrieb:
> Christoph Holtermann wrote:
>
>
>> I am
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 c
Hello !
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
cn: Lehmann\, Veronika
givenName: Lehmann,
14 matches
Mail list logo