LDAP konfiguration... ?
Posted: Tue Sep 14, 2010 1:57 pm
Hallo,
Ich bräuchte unbedingt mal eine "einfache" und verständliche Hilfestellung bei der LDAP Konfiguration.
Und zwar habe ich das Problem, das er das LDAP einfach nicht annehmen will und mit diesen Fehler kommt ->
hpMyFAQ notice [8]: Use of undefined constant LDAP_OPT_PROTOCOL_VERSION - assumed 'LDAP_OPT_PROTOCOL_VERSION' in constants_ldap.php on line 37
phpMyFAQ notice [8]: Use of undefined constant LDAP_OPT_REFERRALS - assumed 'LDAP_OPT_REFERRALS' in constants_ldap.php on line 38
phpMyFAQ warning [2]: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:173) in index.php on line 50
phpMyFAQ warning [2]: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in CurrentUser.php on line 296
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:173) 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:173) 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:173) 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:173) 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:173) 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:173) 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:173) 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:173) in index.php on line 595
Ich pack nur folgende Datein an...
Selbst erstellte ldap.php Datei im Config Ordner mit folgenden Inhalt: ( Da ich bei der Installation nicht LDAP Aktiviert habe. )
$PMF_LDAP["ldap_server"] = 'Server.domain';
$PMF_LDAP["ldap_port"] = 'port';
$PMF_LDAP["ldap_user"] = 'CN=Service Account von uns,ou=......,ou=......,dc=domain,dc=com';
$PMF_LDAP["ldap_password"] = 'passwort';
$PMF_LDAP["ldap_base"] = 'dc=domain,dc=com';
Und die constants_ldap.php Datei im Ordner Config mit folgenden Inhalt:
<?php
/**
* LDAP constants for phpMyFAQ.
*
* @package phpMyFAQ
* @author Lars Scheithauer <lars.scheithauer@googlemail.com>
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @since 2009-08-05
* @version SVN: $Id$
* @copyright 2009 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*/
// Datamapping - in this example for an ADS
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'Service Account', Same -> $PMF_LDAP["ldap_user"] = 'CN=Service Account von uns,ou=......,ou=......,dc=domain,dc=com';
'username' => 'Service Account', Same -> $PMF_LDAP["ldap_user"] = 'CN=Service Account von uns,ou=......,ou=......,dc=domain,dc=com';
'mail' => 'Irgend eine Mail adresse?');
// In a multi-domain environment, users may enter a prefix as domain, e.g. "DOMAIN\username"
// If possible, you should use the Microsoft Glocal Catalog as LDAP-Server, which comes
// with every ADS-Installation.
$PMF_LDAP['ldap_use_domain_prefix'] = true;
// LDAP-options to set
// refer to the documentation of ldap_set_option() for information on available options
$PMF_LDAP["ldap_options"] = array (
LDAP_OPT_PROTOCOL_VERSION => 3,
LDAP_OPT_REFERRALS => 0 );
Irgendwie klappt vorn und hinten nichts... koennte mir jemand dabei helfen? Wie gesagt, in einer vereinfachten Darstellung Das wäre super!
Danke!
Gruß
Ich bräuchte unbedingt mal eine "einfache" und verständliche Hilfestellung bei der LDAP Konfiguration.
Und zwar habe ich das Problem, das er das LDAP einfach nicht annehmen will und mit diesen Fehler kommt ->
hpMyFAQ notice [8]: Use of undefined constant LDAP_OPT_PROTOCOL_VERSION - assumed 'LDAP_OPT_PROTOCOL_VERSION' in constants_ldap.php on line 37
phpMyFAQ notice [8]: Use of undefined constant LDAP_OPT_REFERRALS - assumed 'LDAP_OPT_REFERRALS' in constants_ldap.php on line 38
phpMyFAQ warning [2]: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:173) in index.php on line 50
phpMyFAQ warning [2]: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in CurrentUser.php on line 296
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\phpmyfaq\inc\functions.php:173) 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:173) 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:173) 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:173) 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:173) 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:173) 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:173) 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:173) in index.php on line 595
Ich pack nur folgende Datein an...
Selbst erstellte ldap.php Datei im Config Ordner mit folgenden Inhalt: ( Da ich bei der Installation nicht LDAP Aktiviert habe. )
$PMF_LDAP["ldap_server"] = 'Server.domain';
$PMF_LDAP["ldap_port"] = 'port';
$PMF_LDAP["ldap_user"] = 'CN=Service Account von uns,ou=......,ou=......,dc=domain,dc=com';
$PMF_LDAP["ldap_password"] = 'passwort';
$PMF_LDAP["ldap_base"] = 'dc=domain,dc=com';
Und die constants_ldap.php Datei im Ordner Config mit folgenden Inhalt:
<?php
/**
* LDAP constants for phpMyFAQ.
*
* @package phpMyFAQ
* @author Lars Scheithauer <lars.scheithauer@googlemail.com>
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @since 2009-08-05
* @version SVN: $Id$
* @copyright 2009 phpMyFAQ Team
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*/
// Datamapping - in this example for an ADS
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'Service Account', Same -> $PMF_LDAP["ldap_user"] = 'CN=Service Account von uns,ou=......,ou=......,dc=domain,dc=com';
'username' => 'Service Account', Same -> $PMF_LDAP["ldap_user"] = 'CN=Service Account von uns,ou=......,ou=......,dc=domain,dc=com';
'mail' => 'Irgend eine Mail adresse?');
// In a multi-domain environment, users may enter a prefix as domain, e.g. "DOMAIN\username"
// If possible, you should use the Microsoft Glocal Catalog as LDAP-Server, which comes
// with every ADS-Installation.
$PMF_LDAP['ldap_use_domain_prefix'] = true;
// LDAP-options to set
// refer to the documentation of ldap_set_option() for information on available options
$PMF_LDAP["ldap_options"] = array (
LDAP_OPT_PROTOCOL_VERSION => 3,
LDAP_OPT_REFERRALS => 0 );
Irgendwie klappt vorn und hinten nichts... koennte mir jemand dabei helfen? Wie gesagt, in einer vereinfachten Darstellung Das wäre super!
Danke!
Gruß