![]() |
problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: problem (/showthread.php?tid=14747) |
problem - El Forum - 01-13-2009 [eluser]sidog[/eluser] Quote:The example I provided in the user guide shows that you have to specify domain controllers. I would expect you to get an error if you didn’t tell the lib what domain controllers to use. Code: // This library is loaded using the following code: The example above shows the ldap server 1 and 2 being defined _after_ the library is loaded (which gives and error). I tried this: Code: // Define and set domain controllers in the object Still didn't work. I printed out the object from within the library and found that the domain controller array is empty. (maybe the var statement is zeroing it out?) I manually set the var declarations for "_domain_controllers", "_ad_username" and "_ad_password" with my server specific details. I'm getting a "FATAL: AD bind failed. Check the login credentials." error. I'm think the _base_dn is the culprit now and will explore it further tomorrow. |