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

Re: DN manipulation



I believe I found just about everything I was looking for in the
dn2* functions. I must say the test scripts in the libldap
tree are rather useful. Thanks for your help.

-James

James M. Luedke wrote:

Thanks for your reply. There is a strong possibility in the future
i will end up porting OpenLDAP to our platform, however due to a
variety of issues this is not feasible for our time frame. At this
time we do not need a fully featured LDAP server. All we need
are limited bind/unbind/search support. Attempting to setup OpenLDAP
to solve our problem would be like using a sledge hammer to swat a fly.

By taking advantage of the wonderful lib's bundled with openldap
i should be able to have this server "working" in a few days instead
of a few weeks/months, which my project manager will like :)

So I do agree with your evaluation, but our situation is much
more complicated than can easily be described via email.

I have found so much useful code in OpenLDAP that there must be
a portion of the code i am overlooking for handling parsing the
DN attributes in the method previously described.

I guess if worse comes to worse i can write my own routines but
as you said i would rather not "rediscover hot water", for i will
certainly not do the job as well as i am sure it has already been done.

-James


Pierangelo Masarati wrote:

Sorry for not directly answering your question, but I'd first answer what
I believe is your implicit question: "what problem do I need to solve?". If your problem is having a fully featured LDAP server that gets data form
a fancy (or proprietary) storage, then OpenLDAP's slapd should be modular
enough to allow you to avoid reinventing the wheel (in Italy, we say
"rediscover hot water"). For example, you could simply write a custom
backend or, if your storage has anything in common with any existing
backend, you could simply add a layer (i.e. an overlay) on top of it. I
strongly recommend you follow this path. Backend and overlay programming
may be a bit harder than plain libldap programming, but much more rewaring
in terms of functionalities (you would exploit all present and future
features of OpenLDAP's slapd) and performances.


p.




Ing. Pierangelo Masarati Responsabile Open Solution OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------