From owner-freebsd-hackers Tue Jul 14 23:40:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00280 for freebsd-hackers-outgoing; Tue, 14 Jul 1998 23:40:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp02.primenet.com (daemon@smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00273 for ; Tue, 14 Jul 1998 23:40:27 -0700 (PDT) (envelope-from tlambert@usr06.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id XAA09922; Tue, 14 Jul 1998 23:40:20 -0700 (MST) Received: from usr06.primenet.com(206.165.6.206) via SMTP by smtp02.primenet.com, id smtpd009863; Tue Jul 14 23:40:13 1998 Received: (from tlambert@localhost) by usr06.primenet.com (8.8.5/8.8.5) id XAA07367; Tue, 14 Jul 1998 23:40:09 -0700 (MST) From: Terry Lambert Message-Id: <199807150640.XAA07367@usr06.primenet.com> Subject: Re: Detecting the presence of threads (for a port) To: patl@phoenix.volant.org Date: Wed, 15 Jul 1998 06:40:09 +0000 (GMT) Cc: andre@pipeline.ch, pvh@leftside.wcape.school.za, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "patl@phoenix.volant.org" at Jul 14, 98 11:43:20 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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. I happen to know at least one currently shipping commercial platform that needs my Draft 4 pthreads patches, and SGI apparently need my FD_SETSIZE patches, or it eats CPU like the previous FreeBSD port. 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-). 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). 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-(. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message