You are not logged in.
I have just installed a fresh server and tried to get open ldap running on it. I get this odd message in the logfiles:
Feb 11 17:15:55 gp-box slapd[5414]: @(#) $OpenLDAP: slapd 2.3.39 (Oct 28 2007 13:27:43) $ andyrtr@workstation64:/var/abs/extra/daemons/openldap/src/openldap-2.3.39/servers/slapd
Feb 11 17:15:55 gp-box slapd[5414]: slapd stopped.
Feb 11 17:15:55 gp-box slapd[5414]: connections_destroy: nothing to destroy.
I then rebuilt it locally (in /var/abs/local/openldap) with makepkg and got this:
Feb 11 17:40:48 gp-box slapd[6980]: @(#) $OpenLDAP: slapd 2.3.39 (Feb 11 2008 17:38:56) $ root@gp-box:/var/abs/local/openldap/src/openldap-2.3.39/servers/slapd
Feb 11 17:40:48 gp-box slapd[6980]: slapd stopped.
Feb 11 17:40:48 gp-box slapd[6980]: connections_destroy: nothing to destroy.
Seems that the binary files are expecting to see things where the package was built.
Has anyone else seen this behavior and should it be reported as a bug?
Kind regards
Benedict White
Offline
I just make small howto regarding openldap and configuration with claws-mail
so if you are interested: http://www.claws-mail.org/faq/index.php … Claws_Mail
although it is with Kubuntu but I have also Arch and setup is the same - working on my laptop as addressbook
Zygfryd Homonto
Offline
Many thanks Zyghom. Have you updated openldap recently?
Kind regards
Benedict White
Offline
21:50:24 papio@baboon:~$ paqi openldap
Name : openldap
Version : 2.3.40-1
URL : http://www.openldap.org/
Licenses : custom
Groups : None
Provides : None
Depends On : db4.5 tcp_wrappers libldap>=2.3.40
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 1617.38 K
Packager : Tom Killian <tom@archlinux.org>
Architecture : i686
Build Date : Wed 16 Jan 2008 01:42:30 AM EET
Install Date : Thu 07 Feb 2008 10:56:56 PM EET
Install Reason : Explicitly installed
Install Script : No
Description : LDAP Server
Zygfryd Homonto
Offline
Zyghom, I meant have you updated your current working Archlinux LDAP installation recently?
I was wondering if there is some sort of problem with the build script.
Kind regards
Benedict White
Offline
I make pacman -Syu daily so I don't know when and if openldap was upgraded on my system since installation
sorry
Zygfryd Homonto
Offline
Many thanks Zyghom. Presumably the version listed above is the version you have installed on your Arch Linux box?
Kind regards
Benedict White
Offline
yes of course
Zygfryd Homonto
Offline
Hmm. The one in the stable repositories appears to be 2.3.39-1
I presume you have used the ones in testing then?
Kind regards
Benedict White
Offline
00:32:55 papio@baboon:~$ pasi openldap
Repository : testing
Name : openldap
Version : 2.3.40-1
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : db4.5 tcp_wrappers libldap>=2.3.40
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 697.70 K
Installed Size : 697.70 K
Packager : None
Architecture : None
Build Date : None
MD5 Sum : 6994744cfe2b2679ffd51e44a0a13889
Description : LDAP Server
Repository : extra
Name : openldap
Version : 2.3.39-1
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : db4.5 tcp_wrappers libldap>=2.3.39
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 696.87 K
Installed Size : 696.87 K
Packager : None
Architecture : None
Build Date : None
MD5 Sum : 8f6c8a625f2f2c83a759f6a81f66d241
Description : LDAP Server
but I "opened" testing to get new kernel and I "got" openldap upgrade "accidentally" ;-)
Zygfryd Homonto
Offline
Many thanks.
If you restart slapd do you get anything like this
eb 11 23:00:39 gp-box slapd[2288]: @(#) $OpenLDAP: slapd 2.3.40 (Feb 11 2008 22:45:24) $ root@gp-box:/var/abs/local/testing/openldap/src/openldap-2.3.40/servers/slapd
in your /var/log/everything.log?
Kind regards
Benedict White
Offline
You will have to look all the way along the code snippet!
Kind regards
Benedict White
Offline
sudo /etc/rc.d/slapd restart
Feb 12 01:37:30 baboon slapd[2308]: daemon: shutdown requested and initiated.
Feb 12 01:37:30 baboon slapd[2308]: slapd shutdown: waiting for 0 threads to terminate
Feb 12 01:37:30 baboon slapd[2308]: slapd stopped.
Feb 12 01:37:31 baboon slapd[2458]: @(#) $OpenLDAP: slapd 2.3.40 (Jan 15 2008 23:41:27) $ nobody@tk-gwa:/build/src/openldap-2.3.40/servers/slapd
Feb 12 01:37:32 baboon slapd[2459]: slapd starting
Zygfryd Homonto
Offline
Re Zyghom, many thanks. I don't suppose I could get you to post your /etc/openldap/slapd.conf?
Kind regards
Benedict White
Offline
why not ?
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/inetorgperson.schema
loglevel 256
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
database bdb
suffix "dc=monkeys"
rootdn "cn=admin,dc=monkeys"
rootpw {SSHA}my-super-password-here
directory /home/ldap-arch
index objectClass eq
Zygfryd Homonto
Offline
Many thanks. I will have a play!
Kind regards
Benedict White
Offline
Many thanks. I will have a play!
you will ... pay
Zygfryd Homonto
Offline
Zyghom, many thanks I got it working in the end. Someone needs to do a wiki article on it
Kind regards
Benedict White
Offline
I would but my short description is only for addressbook usage of LDAP, while it is designed for "big" purposes
Zygfryd Homonto
Offline
Re Zyghom, Well, it seemed to work to get the LDAP server running!
Kind regards
Benedict White
Offline
nice to hear that
Zygfryd Homonto
Offline