Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 00:27:49 -0700 (PDT)
From:      patl@phoenix.volant.org
To:        Terry Lambert <tlambert@primenet.com>
Cc:        andre@pipeline.ch, pvh@leftside.wcape.school.za, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Detecting the presence of threads (for a port)
Message-ID:  <ML-3.3.900487669.7265.patl@asimov>
In-Reply-To: <199807150640.XAA07367@usr06.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > We are not working on it, but working with it. Theres one really big
> > > bug in Terry's patches (or in libc_r) that prevents ldif2ldap & co.
> > > from working (you'll get empty ddb files). I reported that to Terry
> > > but I don't know if he has fixed it yet.
> > 
> > It looks like the original code makes some silly assumptions about
> > uninitialized variables being set to zero.  The following patches
> > seemed to make it work for me.  But I wouldn't be surprised if there
> > are more uninitialized variable bugs...
> 
> Whoah.
> 
> I will give this a try; if it works, can I post this to the LDAP
> list?  I'll also be happy to re-roll the patches to include this.

Be my guest.

I should probably also try to break out my patch to make slapd give
up root permission once it has the privileged port bound.  I haven't
done it before because it really needs a bit more work to be a good
general solution - I just hacked out something with a hard-coded
check for a user named 'ldap'.  It really should be both compile-time
and config-file configurable.

> ...<elided>...
> 
> I have some code that replaces getpwent and family (basically,
> the draft "Uning LDAP for NIS data" standard) to let you use
> LDAP to validate users.  It's rather nifty to be able to point
> your Netscape communicator at your FreeBSD box, and see your
> companies account database show up in the "address book" as
> addresses you can automatically mail to.  8-).

Hmm.  I've had to put my LDAP work on the back burner for a
couple of months; but this looks like something I'd find helpful
when I get back to it.  I seem to have missed that draft, could
you send me an URL and/or RFC number?

> I also have some code that can identify v2 vs. v3, and knows the
> root of the server.  This means you can write a client that can
> talk to an LDAP server it didn't previously know about, and not
> trigger referrals.  This is a must for using the code as a parameter
> store (for FreeBSD configuration data, for example).

This sounds interesting as well.

> Critical-Angle sells an LDAP server, so they apparently aren't too
> interested in maintaining the code in, for example, a publically
> available CVS tree.
> 
> Maybe it's time to start a public LDAP project, with the aim of
> supporting version 3, and the ability to run Netscape's calendaring
> software?  I have full netscape.oc.conf/netscape.at.conf files, but
> I think without v3 subschema entry support, it can't be used for
> calendaring.  8-(.

I'd love to see a freely available v3 LDAP server.  The schema
retrieval and subschema support would be particularly nice for
a couple of clients I have on my to-do list.  (I occasionally
have this fantasy about a completely generic client that queries
the server for all the schema info then dynamically builds the
schema-specific GUI elements to edit the database.  Then I wake
up back here in the real world.)

I'd also like to be able to say "Count me in, I'll help build it."
But in all honesty, I have no idea whether I'd be able to free up
the cycles to do anything useful; unless I could find someone who
would be willing to pay me to do it.  (I already have way too many
non-billable projects fighting for my time.)



-Pat

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-3.3.900487669.7265.patl>