![]() |
Quote:
please show me the content of the variables Code:
$ldapBase -malc |
the error is in your $ldapBase.
the base is just: "dc=sun,dc=com" all the other stuff like ?sub? (objectclass=*) has nothign to do with the deafault search base (=$ldapbase). my script is searching for a specific user ($ldapFilter in controller.php) below the $ldapBase in your ldap directory. if you want to want to add an (objectclass=*) to your search filter you have to add that to line 29 in controller.php Code:
$ldapFilter = "(uid=" . $vbulletin->GPC['vb_login_username'] .")"; -fhs |
please user controller.debug.php and change in line 17 the debug output file location (if needed)
Code:
if(defined('LDDEBUG')) { $fp=fopen('/tmp/apache.debug', "a+"); } -malc |
Quote:
:) -malc |
please do me a favour:
on the linux commandline (if available) try the following: ldapsearch -W -D "XXXX" -x -b YYYY -h ZZZZZZ "(uid=grahamar)" exchange: XXXX: the FULL DN to your username (e.g. uid=grahamar,ou=bla=o=buh) YYYY: the ldap search base ZZZZ: the ldap server ip 1) additional questions from my side: is the wiki doing an ldapbind or is it comparing the hash values of the password? 2) are you sure you did all changes to the vbulletin php files as written in the INSTALL file? especially: PHP Code:
PHP Code:
PHP Code:
-malc |
Quote:
PHP Code:
|
when your password is shown correctly then you should have done the install instructions.
i have to do some brainwork now... no idea where the problem could be. |
Code:
ldapsearch --help 2>&1 |grep W -D is the full DN to your entity in the directory. please test if this authentication works. thanks -malc ps: i will be gone over the weekend. i am back on monday. |
Hi Malc,
any update you can give to help proceed with this? Thank you Graham |
Hi,
I now have LDAP working on another a Bulletin board from another Source. I'll leave the situation of not being able to use LDap on vbulletin as it is. Thanks for those who tried to help me. Graham |
All times are GMT. The time now is 09:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|