You are not logged in.

#1 2008-09-01 01:37:43

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Fedora Directory Server vs OpenLDAP

Does anyone have experience with Fedora Directory Server? I've just been researching it, and it looks more active, more maintained, and it's highly recommended because of it's excellent administrative tools. Do any Archers have experience working with it?
It's not packaged at all, but I could get it in the AUR if it's worth trying. Any opinions/experiences/comments?

Offline

#2 2008-09-01 02:14:24

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Fedora Directory Server vs OpenLDAP

It looks like something I would love to try out but I just don't have that type of environment to play with.


neutral

Offline

#3 2008-09-01 02:18:51

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Fedora Directory Server vs OpenLDAP

Uhhhh... "that type of environment?"
They provide source tarballs, it could be done... I hope...

Offline

#4 2008-09-11 06:40:26

Mr. Ego
Member
Registered: 2007-12-04
Posts: 20

Re: Fedora Directory Server vs OpenLDAP

I ami attracted in it too. It is posible to install it on other distros, e.g. on Getoo. I am going to make a package.

Can anybody help me either with PKGBUILD creation or with package testing? smile

Offline

#5 2008-09-11 07:01:39

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Fedora Directory Server vs OpenLDAP

man..i had a pkgbuild for it once, shortly after it was open sourced by redhat.
I am pretty sure it was toasted/lost a while back though (end of '05 ish maybe?).
sad

I don't recall it being a terribly difficult thing to make though.
good luck. smile


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2008-09-11 14:14:50

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Fedora Directory Server vs OpenLDAP

Check this out:
http://bbs.archlinux.org/viewtopic.php?id=54535

One sec, I'll get my PKGBUILD's up here...

The FDS website (http://directory.fedoraproject.org/wiki/Building ; see the "External Requirements" section) says you have to build NSPR, NSS, SVRCORE, LDAPSDK, and PerLDAP, in that order, as dependencies. Here are the PKGBUILD's I've made, as you can see in that post, I couldn't get PerLDAP, the last one.

NSPR is already in the Arch repos, as is NSS.

WARNING: These PKGBUILD's are for 64 bit Arch, I didn't clean them up and make the 64 bit options conditional. I also haven't checked the licenses, and there may be some other things wrong as well.

I would clean these up, but, well, there's a hurricane coming and I may or may not be evacuating today. I don't have a lot of time.

SVRCORE:

pkgname=svrcore
pkgver=4.0.4
pkgrel=1
pkgdesc="The Fedora Directory (LDAP) Server"
arch=(i686 x86_64)
url="directory.fedoraproject.org"
license="GPL"
depends=('gcc' 'make' 'nss' 'nspr')
conflicts=()
replaces=()
backup=()
source=(ftp://ftp.mozilla.org/pub/mozilla.org/directory/$pkgname/releases/$pkgver/src/$pkgname-$pkgver.tar.bz2)

build() {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr || return 1
        make USE_64=1 || return 1
        make install DESTDIR=$pkgdir || return 1


}

LDAPSDK (better known as MozLDAP):

pkgname=mozldap
pkgver=6.0.5
pkgrel=1
pkgdesc="The Mozilla C LDAP SDK"
arch=(i686 x86_64)
url="directory.fedoraproject.org"
license="GPL"
depends=('gcc' 'make' 'nss' 'nspr' 'svrcore')
conflicts=('openldap-clients')
replaces=('openldap-clients')
backup=()
source=(ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v$pkgver/src/$pkgname-$pkgver.tar.gz)

build() {
        cd $startdir/src/$pkgname-$pkgver
        cd mozilla/directory/c-sdk
        ./configure --prefix=/usr --enable-clu --with-sasl --with-svrcore=/usr --enable-64bit --enable-optimize --disable-debug
        make USE_64=1 BUILD_OPT=1
        make install DESTDIR=$pkgdir || return 1
        mkdir $pkgdir/usr
        cp -R $startdir/src/$pkgname-$pkgver/mozilla/dist/* $pkgdir/usr
        mv $pkgdir/usr/public $pkgdir/usr/include
        chmod -R 755 $pkgdir
        chown -R root $pkgdir
}

PerLDAP (I couldn't get this one to build):

pkgname=perl-mozldap
pkgver=1.5.2
pkgrel=1
pkgdesc="The Mozilla Perl LDAP SDK"
arch=(i686 x86_64)
url="directory.fedoraproject.org"
license="GPL"
depends=('gcc' 'make' 'nss' 'nspr' 'svrcore' 'mozldap')
conflicts=()
replaces=()
backup=()
source=(ftp://ftp.mozilla.org/pub/mozilla.org/directory/perldap/releases/$pkgver/src/$pkgname-$pkgver.tar.gz)

build() {
        cd $startdir/src/$pkgname-$pkgver
        sed -i 's/nspr\.h/\/nspr\/nspr\.h/g' $startdir/src/perl-mozldap-1.5.2/Makefile.PL

        sed -i 's/#include\ <ldappr\.h>/#include\ <ldap\/ldappr\.h>/g' $startdir/src/$pkgname-$pkgver/constant.h
        sed -i 's/#\ include\ <ldap_ssl\.h>/#\ include\ <ldap\/ldap_ssl\.h>/g' $startdir/src/$pkgname-$pkgver/constant.h

        cd mozilla/directory/perldap
        export CFLAGS="$CFLAGS -I/usr/include/ldap"
        export CCFLAGS="$CCFLAGS -I/usr/include/ldap"
        export CXXFLAGS="$CXXFLAGS -I/usr/include/ldap"
        export CPPFLAGS="$CPPFLAGS -I/usr/include/ldap"

        perl Makefile.PL
#       sed -i 's/INC\ =\ \ -I\/usr\/include/INC\ =\ \ -I\/usr\/include\ -I\/usr\/include\/ldap/g' $startdir/src/$pkgname-$pkgver/Makefile
        make
        make install DESTDIR=$PKGDIR



#       cd mozilla/directory/c-sdk
#       ./configure --prefix=/usr --enable-clu --with-sasl --with-svrcore=/usr --enable-64bit --enable-optimize --disable-debug
#       make USE_64=1 BUILD_OPT=1
#       make install DESTDIR=$pkgdir || return 1
#       mkdir $pkgdir/usr
#       cp -R $startdir/src/$pkgname-$pkgver/mozilla/dist/* $pkgdir/usr
#       chmod -R 755 $pkgdir
#       chown -R root $pkgdir



}

Hopefully these will help you, I'll see if I can help you if I still have an Arch box after Ike roars through.

Last edited by arew264 (2008-09-11 14:23:50)

Offline

#7 2008-09-21 18:53:42

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Fedora Directory Server vs OpenLDAP

Okay, I survived Ike (it took Comcast forever and a half to get my cable internet back up though).

How go your efforts? Should I get back on perl-mozldap and try to get it to build?

Offline

#8 2009-01-30 22:39:41

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Fedora Directory Server vs OpenLDAP

I'm going to pick this back up, and hopefully I'll have it working in a few days.

Offline

#9 2009-05-20 00:05:19

zhanghui8059
Member
Registered: 2009-05-20
Posts: 8

Re: Fedora Directory Server vs OpenLDAP

please help me,I install PerLDAP,find error
Note (probably harmless): No library found for -lssldap60
Note (probably harmless): No library found for -lprldap60
Note (probably harmless): No library found for -lldap60
Writing Makefile for Mozilla::LDAP::API

What software -lssldap60 or -lprldap60 or -lldap60?

THKS!!!

Last edited by zhanghui8059 (2009-05-20 00:05:37)

Offline

#10 2009-05-20 00:14:10

zhanghui8059
Member
Registered: 2009-05-20
Posts: 8

Re: Fedora Directory Server vs OpenLDAP

I run perl Makefile.PL,find this is errors:
[root@myhost perl-mozldap-1.5.2]# perl Makefile.PL

PerLDAP - Perl 5 Module for LDAP
================================
Directory containing 'include' and 'lib' directory of the Mozilla
LDAP Software Developer Kit (default: /opt/mozldap): /usr/
Include SSL Support (default: yes)?  yes
Directory containing NSPR API 'include' and 'lib'
directories for NSPR support (type 'n' or 'none' to omit) (default: /usr/):
Directory containing NSS API 'lib'
directories for NSS support (type 'n' or 'none' to omit) (default: ):
Libraries to link with (default:  -lssldap60 -lprldap60 -lldap60 -lssl3 -lnss3 -L/usr//lib -lplc4 -lnspr4):
Note (probably harmless): No library found for -lssldap60
Note (probably harmless): No library found for -lprldap60
Note (probably harmless): No library found for -lldap60

######### before WriteMakefile #############
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lssldap60
Note (probably harmless): No library found for -lprldap60
Note (probably harmless): No library found for -lldap60
Writing Makefile for Mozilla::LDAP::API

######### after WriteMakefile #############
Pls help me,THKS every much everyone.

Offline

#11 2009-05-20 05:05:58

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: Fedora Directory Server vs OpenLDAP

Well, the author of that script seems to think that's not a problem. Does the build process fail later on? I assume those are client libraries of some sort that Arch doesn't have.

Offline

#12 2009-05-20 05:49:05

zhanghui8059
Member
Registered: 2009-05-20
Posts: 8

Re: Fedora Directory Server vs OpenLDAP

Thks!But i not the author of that script,this is errors also.I think archlinux lack somethin software,bu I not find these software.So,I think everyone help me.

Offline

#13 2009-05-20 08:55:17

zhanghui8059
Member
Registered: 2009-05-20
Posts: 8

Re: Fedora Directory Server vs OpenLDAP

Dear arew264:
If sendmail PerLDAP package for complete build,archlinux. pls help,thks everymuch. I build PerLDAP didn't,all along errors.
zhanghui8059@126.com

Last edited by zhanghui8059 (2009-05-20 09:06:33)

Offline

Board footer

Powered by FluxBB