PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : OpenLDAP und kein einloggen möglich!



oafish
06.02.04, 15:37
Hi,
Bisher verlief die OpenLDAP installation recht zügig. Inzwischen so kurz vor dem Ende komme ich aber gehörig in stocken. Ich kann mich leider nicht auf meinem Server einloggen obwohl ich den User im OpenLDAP Server hinzugefügt habe.

Folgende Packete habe ich installiert:
OpenLDAP
OpenSSL
TLS
Cyrus-SASL
Berkeley DB
Linux-PAM
pam_ldap
nss_ldap

Im Internet habe ich mir dutzende Informationsquellen durchgelesen aber keine funktioniert richtig. Die Ausgabe des slapd sieht bei mir so aus:



=> bdb_filter_candidates
AND
=> bdb_list_candidates 0xa0
=> bdb_filter_candidates
DN SUBTREE
=> bdb_dn2idl( "dc=lan,dc=iomedico,dc=de" )
<= bdb_filter_candidates: id=-1 first=1 last=9
=> bdb_filter_candidates
OR
=> bdb_list_candidates 0xa1
=> bdb_filter_candidates
EQUALITY
=> bdb_equality_candidates (objectClass)
=> key_read
bdb_idl_fetch_key: [b49d1940]
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
<= bdb_filter_candidates: id=0 first=0 last=0
=> bdb_filter_candidates
AND
=> bdb_list_candidates 0xa0
=> bdb_filter_candidates
EQUALITY
=> bdb_equality_candidates (objectClass)
=> key_read
bdb_idl_fetch_key: [64a68d50]
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
<= bdb_filter_candidates: id=0 first=0 last=0
<= bdb_list_candidates: id=0 first=0 last=0
<= bdb_filter_candidates: id=0 first=0 last=0
<= bdb_list_candidates: id=0 first=0 last=0
<= bdb_filter_candidates: id=0 first=0 last=0
<= bdb_list_candidates: id=0 first=1 last=0
<= bdb_filter_candidates: id=0 first=1 last=0
bdb_search_candidates: id=0 first=1 last=0
====> bdb_cache_return_entry_r( 1 ): returned (0)
bdb_search: no candidates
send_search_result: err=0 matched="" text=""
send_ldap_response: msgid=3 tag=101 err=0
ber_get_next
tls_read: want=5 error=Resource temporarily unavailable
ldap_read: want=8 error=Resource temporarily unavailable
ber_get_next on fd 12 failed errno=11 (Resource temporarily unavailable)
ber_flush: 14 bytes to sd 12
0000: 30 0c 02 01 03 65 07 0a 01 00 04 00 04 00 0....e........
tls_write: want=90, written=90
0000: 17 03 01 00 20 54 c3 d1 d8 e7 8d 36 c7 45 b5 03 .... T.....6.E..
0010: 90 ca fc be 62 37 1c f8 71 c8 d9 31 18 b2 b1 ad ....b7..q..1....
0020: 5b b0 6e 01 db 17 03 01 00 30 24 db 89 ea 11 4c [.n......0$....L
0030: 17 95 ef cc 93 a5 4e ee 39 84 03 a4 af 1d 7c 54 ......N.9.....|T
0040: 2a 54 bf 2f f4 c0 05 6c d6 f9 3b 62 3a f2 00 82 *T./...l..;b:...
0050: cf eb 50 df 98 df b5 51 5a 8c ..P....QZ.
ldap_write: want=14, written=14
0000: 30 0c 02 01 03 65 07 0a 01 00 04 00 04 00 0....e........
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: select: listen=7 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: select: listen=7 active_threads=0 tvp=NULL


Keine Ahnung was ich noch machen soll... vielleicht ersteinmal eine Nacht drüber schlagen
:D

ThorstenHirsch
06.02.04, 16:18
Original geschrieben von oafish
vielleicht ersteinmal eine Nacht drüber schlagen
Gewalt ist keine Lösung!
...aber ich wollte mir dieses WE auch mal OpenLDAP installieren, also vielleicht kommt von mir noch ein vernünftiger Beitrag ;)

mamue
06.02.04, 20:01
Ich kann nicht erkennen, dass ldap beim Anmelden gefragt würde.
Als root sollte
getent passwd userWoDaBetroffen
einen Eintrag bringen. Sag mal, ob das klappt.

mamue