[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5108) SID/RID: decimal or hex?

ando@sys-net.it wrote:
> Howard Chu wrote:

>> The SID in the CSN has always been hex (but usually zero). The RID is
>> not part of the CSN and has always been decimal. Since the RID only
>> needs to be unique within a particular slapd instance, there's no real
>> problem there.
> Right.  but, well, slap_parse_csn_sid() was using strtoul(..., 10).  Now
> fixed.

Yeah, oops. That's good.

> For consistency I've made both behave the same.  The user won't
> basically notice it, so I don't see backward compatibility issues.

So we leave the docs saying RID is 0-999?

   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/