UPDATE: It looks like FDS has been properly packaged for Ubuntu 8.10, so I would suggest you look at
https://help.ubuntu.com/community/FedoraDirectoryServer
rather than using the packages mentioned here.
I have created some FDS 1.1.1 packages, which are currently only available for Ubuntu Hardy (they might work on other debian based distros, which have the same libc version). These are not actually built packages, but rather rebuilt RPMs from Fedora Core 8 (with path adjustments etc). I will be looking into building from scratch at some point. For the time being it needed to go quickly. Certainly there are no guarantees that it will work and I am looking forward to some comments.
Firstly add
deb http://ubuntu.opencodes.org hardy local
to the list of your repositories. Then add the key, so that ubuntu doesn't complain about the repository being untrusted:
wget -q http://ubuntu.opencodes.org/opencodes-key.gpg -O - | sudo apt-key add -
After that I suggest you do
apt-get install fedora-ds-admin
which will pull in the base server as well as the admin server. After that execute
useradd fds
setup-ds-admin.pl
This will run you through the configuration. Make sure that you specify "fds" as the user and group.
(DO NOT start /etc/init.d/dirsrv before configuring the server, as that will create some directories with wrong permissions, which you will have to get rid of.).
If you just install fedora-ds-base, you need to execute setup-ds.pl instead of setup-ds-admin.pl .
This should make your install go through nicely and you should have the server up and running within minutes.
For the console install fedora-idm-console, which depends on a SUN Java JRE, so make sure you have the appropriate repositories enabled in Ubuntu.
Comments
Had an issue running setup-ds-admin. libsoftokn3.so not found.
That error was fixed by
ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so
Venkat
Good article
Your article look full with information. You help the community to update packages, thanks.
Cheers,
rahsia internet
Works like charm
I just needed to sudo apt-get install libicu38 on default hard server install.
Thx!
/p
To get rid of this
To get rid of this error:
Netscape Portable Runtime error -5977: libicui18n.so.38: cannot open shared object file: No such file or directory
I created a deb package from libicui18n.so.38 RPM package using alien and installed.
a typo
it's /usr/sbin/setup-ds-admin.pl instead of "fedora-ds-admin.pl" :), thanks so much for the packages
real debian packages?
why hasn't anybody dedicated time to properly package the sources and then distribute the sources for the package?
fedora-ds-pkg <--- a project like this on Alioth.debian.org
fedora-ds-pkg/debian/ <-- a single directory inside...
... etc...
I'm about to start my own if i can't find anybody doing this (send note to "lemsx1 !#! g mail ! com" if you want to help or participate or know of a better answer)
Yes, I have seen those.
Yes, I have seen those. Unfortunately nobody has finished it. It is not trivial and needs some time (there are many dependencies which are not packaged for debian). I would be very happy to help, but don't have the time to do the whole thing at the moment.
GPG error:
GPG error: http://ubuntu.opencodes.org hardy Release
NO_PUBKEY 18FC47082EAF36F2
Repository key
Hi,
sorry about this. To add the repository key, please do the following:
wget -q http://ubuntu.opencodes.org/opencodes-key.gpg -O - | sudo apt-key add -
Intalling on debian lenny
setup-ds-admin.pl
perl: symbol lookup error: /usr/lib/perl5/auto/Mozilla/LDAP/API/API.so: undefined symbol: Perl_Tstack_sp_ptr
Sorry
I currently am not working with debian lenny. I suppose it uses different libraries, perhaps the fc9 packages will do, but I have currently no time to test it.
Packages updated to hardy
Finally I have found some time to make an update for hardy. The repository information has slightly changed - please update.
where is ldapsearch?
none of these packages have the fedora-ds ldapsearch utility. I am trying to use the -J option to ldapsearch to access/use the effective rights control but the openldap version does not support this. which package is supposed to contain this?
ldap-utils
ldapsearch is on Ubuntu in the package ldap-utils, I think. It is not a part of FDS.
Hardy 8.04
Can this packages be meade to run on Hardy (8.04) ??
Hardy in the works
Hi,
due to my limited time ATM Hardy is not available yet, I am working on it though. As soon as I find a bit of time, it shouldn't be too difficult to get that done.
Proglem installing jss and ldapjdk on Gutsy
I have problem installing ldapjdk and jss: ldapjdk: Depends: lib32gcc1 (>= 1:4.1.1-12) but it is not installable Depends: libc6-i386 (>= 2.3.5-1) but it is not installable jss: Depends: libc6-i386 (>= 2.3.5-1) but it is not installable I'm on i386 architecture, why would it want to install lib32gcc1? # uname -a Linux myhostname 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux Also I have libc6-i686 (version 2.6.1-1ubuntu10), not libc6-i386, on Ubuntu Gutsy!
This should now also be fixed.
Please try it and see if it works. Thanks!
Libc6-i386
Hello, I try to install FDS with your repository, but receive this message: libc6-i386 (>=2.3.5-1) but it is not installable Libc6-I386 is already installed on my system (2.6.1). An idea? Thanks, Alain
Should be fixed.
Please see if it works now.
Thanks!
Your repository does not work for my Ubuntu gutsy
I put the line: deb http://ubuntu.opencodes.org gutsy main in my /etc/apt/soures.list and run the command: apt-get update but I cannot install the fedora diretory server I tried the following command: root@micke-desktop:/etc/apt# apt-get install fedora-ds-admin Läser paketlistor... Färdig (Reading packet lists...Finished) Bygger beroendeträd (Buildning depenencistrees) Läser tillståndsinformation... Färdig (Reading condition information) E: Kunde inte hitta paketet fedora-ds-admin (E: Could not find the packet fedora-ds-admin) Kind regards, Michael Oberg, Stockholm, Sweden, moberg@algonet.se
Should work now
Hi, thanks for the feedback. This should now be fixed.
Waldemar