[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Socket problem with smbk5pwd on freebsd
Hello,
I tried the last days to get smbk5pwd to work with openldap 2.3.24 on
FreeBSD 6.1.
Evertime I enable smbk5pwd as overlay and restart slapd I got such
logentrys.
--------------------------------------LOGFILE-------------------------------
----------------------------
Jul 27 12:38:18 ws1 slapd[3425]: slapd startup: initiated.
Jul 27 12:38:18 ws1 slapd[3425]: backend_startup_one: starting "cn=config"
Jul 27 12:38:18 ws1 slapd[3425]: config_back_db_open
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=config"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{0}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{1}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{2}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{3}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{4}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{5}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{6}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{7}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{8}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{9}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=include{10}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=module{0}"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn=schema"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={0}core"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={1}sendmail"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={2}misc"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={3}cosine"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={4}inetorgperson"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={5}java"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={6}openldap"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={7}hdb"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={8}nis"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={9}corba"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "cn={10}samba"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry:
"olcDatabase={-1}frontend"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "olcDatabase={0}config"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry: "olcDatabase={1}bdb"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry:
"olcOverlay={0}smbk5pwd"
Jul 27 12:38:18 ws1 slapd[3425]: config_build_entry:
"olcOverlay={1}syncprov"
Jul 27 12:38:18 ws1 slapd[3425]: backend_startup_one: starting
"dc=alt-ringlein,dc=com"
Jul 27 12:38:18 ws1 slapd[3425]: bdb_db_open: dc=alt-ringlein,dc=com
Jul 27 12:38:18 ws1 slapd[3425]: bdb_db_open: unclean shutdown detected;
attempting recovery.
Jul 27 12:38:18 ws1 slapd[3425]: bdb_db_open:
dbenv_open(/var/db/openldap-data)
Jul 27 12:38:18 ws1 kernel: pid 3425 (slapd), uid 389: exited on signal 11
----------------------------------------------------------------------------
------------------------------
Rc.conf
-------------------------
Slapd_enable="YES"
slapd_flags=' -h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/
ldap://ldap.alt-ringlein.com/ ldaps://ldap.alt-ringlein.com"'
slapd_sockets="/var/run/openldap/ldapi"
------------------------
If I call slapd without the ldapi I can starte it. With ldapi it won´t work.
Makefile for smbk5pwd
----------------------------------------------------------------------------
-------------------------------
Makefile for smbk5pwdLIBTOOL=../../../libtool
OPT=-g -O2
CC=gcc
# Omit DO_KRB5 or DO_SAMBA if you don't want to support it.
DEFS=-DDO_KRB5 -DDO_SAMBA
HEIMDAL_INC=-I/usr/include
SSL_INC=-I/usr/include
LDAP_INC=-I../../../include -I../../../servers/slapd
INCS=$(LDAP_INC) $(HEIMDAL_INC) $(SSL_INC)
HEIMDAL_LIB=-L/usr/lib -lkrb5 -lkadm5srv
SSL_LIB=-lcrypto
LDAP_LIB=-L/usr/local/lib -lldap_r -llber
LIBS=$(LDAP_LIB) $(HEIMDAL_LIB) $(SSL_LIB)
all: smbk5pwd.la
smbk5pwd.lo: smbk5pwd.c
$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $?
smbk5pwd.la: smbk5pwd.lo
$(LIBTOOL) --mode=link $(CC) $(OPT) -version-info 0:0:0 \
-rpath /usr/local/libexec/openldap -module -o $@ $? $(LIBS)
----------------------------------------------------------------------------
-----------------------------
I updated Heimdal from 0.6.3 to 0.6.6, and tried 0.7.2 too. Checked the
shared libraries to exist. Even tried some patches for heimdal.
All looks fine.
Has anyone an idea what is wrong? If I make smbk5pwd without heimdal it
works, but I want to sync the krb5 passwords, too.
Kind regards
Rudolf Christel