[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No Subject
The ldapi socket is well opened
#lsof | grep ldapi
slapd 7710 root 8u unix 0xcf0f43c0 156372
/usr/local/var/run/ldapi
And the ldapi connexion works fine using an ldapsearch on the socket.
/usr/local/bin/ldapsearch -H ldapi:/// -b "dc=tranquilit,dc=local"
"(objectclass=*)"
Well, I have no clues on why kadmin -l does not want to connect to that ldap.
And it is probably just a dumb mistake. If anyone of you has a hint, I'll be
very please go get out of this deadend.
Cheers,
Denis
PS : another little question to check if I'm not completly skrewed : kadmin -l
goes directly to the backend without going throught kdc service, isn't it?
Here is my /etc/krb5.conf file :
<<<<<<<<<<<<<<<<<<<<<<<
TRANQUILIT.LOCAL = {
kdc = kerberos.tranquilit.local
kdc = 192.168.149.40:88
}
[domain_realm]
.tranquilit.local = TRANQUILIT.LOCAL
tranquilit.local = TRANQUILIT.LOCAL
[kdc]
database = {
dbname = ldap:ou=KerberosPrincipals,dc=tranquilit,dc=local
mkey_file = /var/heimdal/m-key
}
[logging]
kdc = FILE:/var/log/kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb.log
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# ldd ./sbin/kadmin
linux-gate.so.1 => (0xb7fd7000)
libkadm5clnt.so.7 => /usr/heimdal/lib/libkadm5clnt.so.7 (0xb7fce000)
libkadm5srv.so.8 => /usr/heimdal/lib/libkadm5srv.so.8 (0xb7fc1000)
libhdb.so.9 => /usr/heimdal/lib/libhdb.so.9 (0xb7fa8000)
libsl.so.0 => /usr/heimdal/lib/libsl.so.0 (0xb7fa2000)
libeditline.so.0 => /usr/heimdal/lib/libeditline.so.0 (0xb7f9c000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7f4d000)
libkrb5.so.22 => /usr/heimdal/lib/libkrb5.so.22 (0xb7ef3000)
libldap-2.3.so.0 => /usr/local/lib/libldap-2.3.so.0 (0xb7ebe000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7ea6000)
libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7e62000)
liblber-2.3.so.0 => /usr/local/lib/liblber-2.3.so.0 (0xb7e56000)
libhx509.so.1 => /usr/heimdal/lib/libhx509.so.1 (0xb7e26000)
libasn1.so.8 => /usr/heimdal/lib/libasn1.so.8 (0xb7db3000)
libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7c50000)
libcom_err.so.1 => /usr/heimdal/lib/libcom_err.so.1 (0xb7c4c000)
libroken.so.18 => /usr/heimdal/lib/libroken.so.18 (0xb7c3a000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7c0c000)
libdb-4.2.so => /usr/lib/libdb-4.2.so (0xb7b29000)
libdl.so.2 => /lib/libdl.so.2 (0xb7b25000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb7b12000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0xb7afb000)
libc.so.6 => /lib/i686/libc.so.6 (0xb79bb000)
/lib/ld-linux.so.2 (0xb7fd8000)