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

Re: back-sql using varchar keyvals and ids

----- "Jason Potkanski" <JPotkanski@cciminstitute.com> wrote:

> I have an interest in using openldap as an external authenticator for
> our membership to connect to external services. Our main table has a
> primary key of a varchar (10) and nothing unique in the table that is
> an
> int. 

You can modify back-sql.h, defining BACKSQL_ARBITRARY_KEY and recompiling, to allow strings to be used as keys.  Not extensively tested, but should work.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it