[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Uid with '+' sign ?



You were absolutely right. I changed both dn=xxx and uid=xxx. It works now.

Thank you all!

bye,
Chris

----- Original Message ----- From: "Pierangelo Masarati" <ando@sys-net.it>
To: "Christiaan den Besten" <chris@scorpion.nl>
Cc: <OpenLDAP-software@OpenLDAP.org>
Sent: Tuesday, March 22, 2005 7:14 PM
Subject: Re: Uid with '+' sign ?



Christiaan den Besten wrote:

Ok,

But now I get a LDAP_NAMING_VIOLATION.

---
uid=babette\+herman,ou=domain.com,ou=Domain,o=domain,c=nl, failed with : 64, LDAP_NAMING_VIOLATION
---


As I said earlier, you need to use, e.g., "babette+herman" in the "uid", and "babette\+herman" in the DN, that is:

dn: uid=babette\+herman,ou=domain.com,ou=Domain,o=domain,c=nl
...
uid: babette+herman

I suspect you're rather doing

dn: uid=babette\+herman,ou=domain.com,ou=Domain,o=domain,c=nl
...
uid: babette\+herman

Note that the escape is only required to represent the actual value __without__ escaping in the DN.

p.


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497