LDAP konfiguration... ?

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP konfiguration... ?

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bennniii
Posts: 19
Joined: Tue Sep 07, 2010 10:08 am

Re: LDAP konfiguration... ?

Post 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ß
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP konfiguration... ?

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bennniii
Posts: 19
Joined: Tue Sep 07, 2010 10:08 am

Re: LDAP konfiguration... ?

Post 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ß
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP konfiguration... ?

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
bennniii
Posts: 19
Joined: Tue Sep 07, 2010 10:08 am

Re: LDAP konfiguration... ?

Post by bennniii »

Hallo Thorsten,

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


Gruß
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: LDAP konfiguration... ?

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply