Re: What can be the maximum size of a LDAP Name?
Chris Ridd <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.ldap |
|---|---|
| Message-ID | <[email protected]> |
On 17 Mar 2009, at 12:30, Dieter Kluenter wrote: > Chris Ridd <[email protected]> writes: > >> On 16 Mar 2009, at 14:05, raga wrote: >> >>> I've to store LDAP Name in a database Column. What should be the >>> minimum size of that column . And is there any rationale for that?. >>> The Format of LDAP Name is like that of e-mail id. >> >> The mail attribute is defined in RFC 2798 as having a minimum upper >> bound of 256 characters. In other words your database field needs to >> be *at least* 256 characters wide. That definition appears to have >> been taken from RFC 1274. > > There is no such definition in RFC 2798. This RFC only refers to > attribute type mail as a MAY clause in inetorgPerson object class. Check section 9.1.3. But as Kurt points out, see RFC 4524 instead. Cheers, Chris