[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Maximum uidNumber (posix / ldap).
- To: Emmanuel Lecharny <elecharny@apache.org>
- Subject: Re: Maximum uidNumber (posix / ldap).
- From: Alejandro Leyva <alex.leyva@gmail.com>
- Date: Wed, 8 Jul 2009 00:28:46 -0500
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dYhvUfH3yShHb7rO/48mrUuxTuyU+tB4AAnnKxITv4I=; b=KyWmHU0zNlbV6T+6ZEZXe28LGr8JmE3F9CrG9wrjg4LZRG4O0ChfZqBC7KS7uBdwHS T2LrSnG/OevWgNRCm+GKaU3rl1ZoKrb8Wvi6U9ihzk8XPx9utU0scq3GNd36kQViv+8F N5hWm8FcFu63Sm9hY581uyZDhViFwmfBVv8YE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xg6j4nVGbtDUC3YebwAYX43uDlrcZoMGQI1ZvbfoJ/ZkdmjQOTpFHLjs5TCl4klz2q dHfCtJipdwUINYYKj0NmYW+AdeKopx9fwCniuG+E0ls739LVOOPkqTyoBb2+FmRyGUow +raqI0cbiiMrbRtDtp95V2n7CbwsAu7/EvZBc=
- In-reply-to: <4A53BDA8.7070800@nextury.com>
- References: <de57b12c0907071327u53e7f937lee857da3b91fa000@mail.gmail.com> <4A53BDA8.7070800@nextury.com>
Thanks for the answer, sure it helped.
On Tue, Jul 7, 2009 at 4:27 PM, Emmanuel Lecharny<elecharny@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 1.3.6.1.4.1.1466.115.121.1.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 :
>
> 3.3.16. Integer
>
> 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
> ABNF:
>
> Integer = ( HYPHEN LDIGIT *DIGIT ) / number
>
> The <HYPHEN>, <LDIGIT>, <DIGIT>, and <number> rules are defined in
> [RFC4512].
>
> The LDAP definition for the Integer syntax is:
>
> ( 1.3.6.1.4.1.1466.115.121.1.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...
>
>
> --
> --
> cordialement, regards,
> Emmanuel Lécharny
> www.iktek.com
> directory.apache.org
>
>
>