David Damon writes:
> What is an IA5 string?

RFC 4517 (LDAP: Syntaxes and Matching Rules) says:

  A value of the IA5 String syntax is a string of zero, one, or
  more characters from International Alphabet 5 (IA5) [T.50],
  the international version of the ASCII character set.  (...)

So, it's basically ASCII, though there are provisions for variations
where e.g. code point 35 represents the pound sign instead of a '#'.

> What I got from Googling is it might be an IP 
> address. Is "asia.example.com" or "192.168.55.10" an IA5 string.

Yup, both are ASCII:-)

> The reason for this question is that I am adding mailHost to my LDAP
> and it comes back with "Error: Object class violation (65), additional
> info: attribute 'mailHost' not allowed"

That's not related to IA5 String.  It means the entry does not contain
an object class which allows the 'mailHost' attribute, i.e. mailHost
must appear in the MUST or MAY clause of the object class definition.
Likely the schema you are using which defines 'mailHost' also defines
such an object class which you can add to your entry.

-- 
Regards,
Hallvard

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to