Page 2 of 2

Re: LDAP konfiguration... ?

Posted: Wed Sep 15, 2010 2:04 pm
by Thorsten
Hi,

so sollte das passen, wenn nicht, wird sich der LDAP-Server schon rühren...

bye
Thorsten

Re: LDAP konfiguration... ?

Posted: Tue Sep 21, 2010 2:44 pm
by bennniii
phpMyFAQ warning [2]: ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid credentials in Ldap.php on line 115


Wieso gibt er mir diesen immer aus ? Nimmt sich die LDAP Datei im "inc" Ordner die LDAP Datei die im "config" Ordner ist?
viewtopic.php?f=7&t=10535

In diesem Link wird die LDAP Datei ganz anders aufgebaut.
Wodran koennte das liegen?

Welche "Aufbauweise" soll ich nun nehmen? Jeder schreibt eine andere.

Gruß

Re: LDAP konfiguration... ?

Posted: Tue Sep 21, 2010 2:47 pm
by Thorsten
Hi,

die inc/Ldap.php ist die zentrale LDAP-Klasse mit der Logik, die config/ldap.php ist die Datei mit den Zugangsdaten. Erstere musst du nicht bearbeiten, die letztere schon. In Letzterer stimmen die Zugsangsdaten nicht, sagt ja die Fehlermeldung.

bye
Thorsten

Re: LDAP konfiguration... ?

Posted: Tue Sep 21, 2010 3:38 pm
by bennniii
hpMyFAQ warning [2]: ldap_search() [function.ldap-search]: Search: No such object in Ldap.php on line 198

phpMyFAQ warning [2]: ldap_first_entry() expects parameter 2 to be resource, boolean given in Ldap.php on line 207

phpMyFAQ warning [2]: ldap_get_values() expects parameter 2 to be resource, null given in Ldap.php on line 215

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in Session.php on line 380

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 589

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 590

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 591

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 592

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 593

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 594

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:153) in index.php on line 595



Das LDAP Problem hoert einfach nicht auf. Noch eine Idee?

Gruß

Re: LDAP konfiguration... ?

Posted: Wed Sep 22, 2010 7:32 am
by Thorsten
Hi,

deine Daten in der config/constants_ldap.php sind nicht richtig.

bye
Thorsten

Re: LDAP konfiguration... ?

Posted: Wed Sep 22, 2010 9:43 am
by bennniii
Hallo Thorsten,

Ich dachte die sollte man nicht anpacken?
Muss man da doch was eintragen?


Gruß

Re: LDAP konfiguration... ?

Posted: Wed Sep 22, 2010 9:45 am
by Thorsten
Hi,
bennniii wrote:Ich dachte die sollte man nicht anpacken?
Muss man da doch was eintragen?
ich schrieb, die inc/Ldap.php muss man nicht anfassen. Wenn deine LDAP-Konfiguration anders aussieht, dann musst du die config/constants_ldap.php auch noch anpassen.

bye
Thorsten