![]() |
Hello there,
first: Thank you very much for this plugin. It's quite useful :) But I've got a problem. I just wanted to authenticate the admins against the LDAP, too, and tried the hint to comment out the following part: PHP Code:
The normal password - which worked before this change - does not work any more [what is quite logical ;) ]... Can anyone help, please? Thanks a lot in advance! |
I'm having trouble getting logged in. This, like another user here, is critical to a program we are working on internally.
++ -------- START -------- ++ ++ LoginType: Normal Login ++ LdapFiler: (cn=test) ++ LdapServer: connection successful ++ presearch /t Resource id #22,cn=test,cn=users,DC=pmac,DC=internal,(cn=test) ++ LdapSearch: there is no such user in the directory I get that in the debug. I've also based the search base just dc=pmac,dc=internal and placed the "test" user up in the top of the domain. The username is "test" and the cn is also test (according to ldp.exe). I get a word that there is a connection with no problem, but that the user does not exist. Weird. Any help is greatly appreciated. |
Quote:
the dn is not right. that ,(cn=test) seems really wrong. what is the full dn to your user? (maybe ldp.exe show it). please post the content of the ldap config file (from my module). -malc |
Expanding base 'CN=test,DC=pmac,DC=internal'...
Result <0>: (null) Matched DNs: Getting 1 entries: >> Dn: CN=test,DC=pmac,DC=internal 4> objectClass: top; person; organizationalPerson; user; 1> cn: test; 1> description: leave me for randyc; 1> givenName: test; 1> distinguishedName: CN=test,DC=pmac,DC=internal; There is a snippet of the ldp.exe results. this is only a test account I'm trying this with. |
Also, here is some more info:
Warning: ldap_search() [function.ldap-search]: Search: Operations error in [path]/ldapAuth/controller.php on line 49 Warning: ldap_get_entries(): supplied argument is not a valid ldap result resource in [path]/ldapAuth/controller.php on line 50 That is the debug controller.php. I turned on PHP debugging for the server, so now it is spitting hte errors out. |
bump -- anyone able to shine some light?
|
Is it possible to use both this and the built in database?
We want both our employees and outside users to be able to sign up and use this service. |
Quote:
Code:
cn=test,cn=users,DC=pmac,DC=internal,(cn=test) thanks -malc |
Quote:
search for the ldap user (if not found) -> make internal auth -malc |
MalcomX,
Sorry to have bugged this month. After two days of constant tweaking, I've made a change to the script. My final problems lie here: At the end of controller.php when it calls upon function_login.php from VB, it is giving errors about missing arguments. I get these, however, I can still login no problem. Essentially, if I shut off verbose error reporting, I can use this script error free :-). Do you want a copy of the changes I've made? For whatever reason, before ldap_search I had to ldap_bind with a username/password in order to be able to search below the base of the tree. |
All times are GMT. The time now is 03:49 PM. |
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:
|