Thanks for the answer, sure it helped.
On Tue, Jul 7, 2009 at 4:27 PM, Emmanuel Lecharny<elecharny(a)apache.org> wrote:
Alejandro Leyva wrote:
> Hi all, we are looking at the maximum uidNumber, we need to know the
> maximum allowed uidNumber for LDAP / POSIX accounts.
> The schema definition for uidNumber says that it is defined with
> syntax 184.108.40.206.4.1.14220.127.116.11.27, which is an LDAP number /
> integer, in http://www.zytrax.com/books/ldap/apa/types.html#numbers
> the range is defined as 2,147,483,648 to 2,147,483,647, did somebody
> know if this range is common to LDAP and POSIX? Could we have a user
> with uidNumber 2,147,483,646 without any problem?
> Thanks in advance.
No limit, per RFC 4517, chap. 3.3.16 :
A value of the Integer syntax is a whole number of *unlimited
magnitude*. The LDAP-specific encoding of a value of this syntax is
the optionally signed decimal digit character string representation
of the number (for example, the number 1321 is represented by the
character string "1321"). The encoding is defined by the following
Integer = ( HYPHEN LDIGIT *DIGIT ) / number
The <HYPHEN>, <LDIGIT>, <DIGIT>, and <number> rules are defined
The LDAP definition for the Integer syntax is:
( 18.104.22.168.4.1.1422.214.171.124.27 DESC 'INTEGER' )
This syntax corresponds to the INTEGER ASN.1 type from [ASN.1].
Now, check that against your favorite LDAP server.
Hope it helps...