Archive for June 1st, 2005

Fedora Directory Server Project

I heard that Redhat announced the creation of the Fedora Directory Server project.

I downloaded a copy and tried to build it on one of my x86_64 boxes but it didn’t really work out:

~/tmp/fedora-ds-7.1 $ make
cat: ./x86_64-unknown-linuxoldld/buildnum.dat: No
such file or directory
cat: /etc/redhat-release: No such file or directory
if test ! -d x86_64-unknown-linuxoldld; then mkdir
x86_64-unknown-linuxoldld; fi;
/share/builds/sbstools/nsPerl/20020626/
Linux2.6_x86_glibc_PTH_DBG.OBJ/
nsperl buildnum.pl -p x86_64-unknown-linuxoldld
make: /share/builds/sbstools/nsPerl/20020626/
Linux2.6_x86_glibc_PTH_DBG.OBJ/nsperl:
Command not found
make: *** [buildnum] Error 127

I’m looking forward to trying it out again later on. It will be nice to have options other than OpenLDAP.

Wednesday, June 1st, 2005

LAT - SSL Support

Last night I was hacking on SSL support in LAT. At first I couldn’t make an SSL connection, I kept getting errors about the certificate.

Turns out I needed to use the certmgr tool in Mono to import the certificate into the user’s certificate store:

$ certmgr -ssl ldaps://ldap.example.com:636

Once I did that I could make a connection. Next I dug in to the certmgr source code to see how it was adding entries to the store.

I cut/paste some of the code into LAT (my code is GPL’d; so is the certmgr) so that if you didn’t have a certificate in the store already it would popup a dialog and ask you if you want to import it.

That should have taken care of things but then I discovered that after you first import the certificate it still fails to connect. It only works if you re-launch LAT.

I’ll need to figure out if it’s possible to work around that. So close and yet so far ;)

Wednesday, June 1st, 2005