attribute size limit

  • Thread starter Thread starter tomschuring
  • Start date Start date
T

tomschuring

hello,

is there a way to query the LDAP schema for the size limit ?
for example i read that
email
has a limit of 255 characters.
is there a way to programmatically check what the length of an
attribute is ?

thanks,
tom
 
Yes, query the schema for the ldapdisplayname and ask for rangeupper.

C:\>adfind -sc s:mail rangeupper

AdFind V01.29.00cpp Joe Richards ([email protected]) December 2005

Using server: 2k3dc01.joe.com:389
Directory: Windows Server 2003
Base DN: CN=Schema,CN=Configuration,DC=joe,DC=com

dn:CN=E-mail-Addresses,CN=Schema,CN=Configuration,DC=joe,DC=com
rangeUpper: 256


1 Objects returned
 
Back
Top