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 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.

You will need to do some archeology to figure out why 256 was felt to  
be a good minimum upper bound... I suspect the authors of those RFCs  
no longer remember :-)

Cheers,

Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.