Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » IkonBoard и другие форумы » Invision Board » FAQ по форуму Invision Board.

Модерирует : Antuan, Dekker

 Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

Открыть новую тему     Написать ответ в эту тему

PEDKA



Улыбающийся КС
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
Note that while this article describes LDAP specifically, the same general
methods apply to any login module. You can also create a custom login  
module, upload it to /sources/loginauth/ and then add it to IP.Board via the  
ACP - after which you can use IP.Board to authenticate against any custom
database.  
To set Invision Power Board to authenticate against LDAP, there are a couple  
of steps that must be taken. Firstly, you must ensure that PHP has been
compiled with LDAP support, as IP.Board utilizes these functions. In the ACP,  
go to your Admin tab, click on "PHPINFO", and in the "Configure Command"  
section at the top of the phpinfo output, verify that you see "--with-ldap". If  
not, you will need to recompile PHP with LDAP support, which is beyond the  
scope of our support capabilities. More information can be found here on the  
PHP LDAP libraries and how to enable them.  
If PHP has been compiled with LDAP support, download the
./sources/loginauth/ldap/conf.php file from your web server and configure the
directives. If you are unsure of the settings to place in this file, you should
contact your LDAP Admin to find out what settings will work best.  
NOTE  
A user using Win2K3 Active Directory has indicated the following settings should be  
used to authenticate against your AD. You will, of course, need to make the  
appropriate changes, but note username information will require 2 slashes.  
<?php
// LDAP -- LDAP
$LOGIN_CONF = array();  
$LOGIN_CONF['ldap_server'] = 'xxx.xxx.xxx.xxx'; //- IP Address of LDAP
Server  
$LOGIN_CONF['ldap_port'] = '389';  
$LOGIN_CONF['ldap_server_username'] = 'domain\\user'; //- make sure  
you have the two  
$LOGIN_CONF['ldap_server_password'] = 'password';  
$LOGIN_CONF['ldap_uid_field'] = 'sAMAccountName';  
$LOGIN_CONF['ldap_base_dn'] = 'dc=domain,dc=com'; //- if your  
domain name is "domain.com"  
$LOGIN_CONF['ldap_server_version'] = 3;  
$LOGIN_CONF['ldap_username_suffix'] = '';
$LOGIN_CONF['ldap_user_requires_pass'] = 1;
?>  
Afterwards, upload the (modified) file back to your server in the same folder  
(./sources/loginauth/ldap/) and login to your IP.Board ACP. Visit "Tools &  
Settings", and click on "Login Manager" in the left hand menu. Click on the  
button for the LDAP Authentication row, and click "Edit Details".

Всего записей: 15958 | Зарегистр. 04-05-2003 | Отправлено: 08:36 13-03-2009 | Исправлено: PEDKA, 08:36 13-03-2009
Открыть новую тему     Написать ответ в эту тему

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » IkonBoard и другие форумы » Invision Board » FAQ по форуму Invision Board.


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru