[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-software
Subject:    Re: back-sql using varchar keyvals and ids
From:       Pierangelo Masarati <ando () sys-net ! it>
Date:       2008-07-31 18:29:08
Message-ID: 23440281.1871217528948439.JavaMail.root () mail2 ! sys-net ! it
[Download RAW message or body]


----- "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.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic