Menu

E-Directory Help

bill
2014-12-22
2014-12-24
  • bill

    bill - 2014-12-22

    Hello. First, I want to thank you for all your hard work!

    I'm having trouble doing a test connection to E-Directory. Is it possible to give me an example on how it should be setup? I have tried to get it working using the example_single_domain.php.

    I changed the $domain1 line to

    $domain1 = new PLdap_Domain('LDAP_IP_ADDRESS', PLdap_Domain::TYPE_NOVELL, 'OU=Users, O=company', 'domain.com', 'user', 'password');

    I always receive the error that it cannot find the user.

     
  • bill

    bill - 2014-12-23

    I figured it out. Here it is for anyone else that is stuck using Novell.

    $domain1 = new PLdap_Domain('LDAP_IP_ADDRESS', PLdap_Domain::TYPE_NOVELL, 'ou=Users,o=Company', 'Domain.com', 'cn=readonlyaccount,ou=Users,o=Company', 'password');

    I added

    $connect = $domain1->connect();

     
  • Liber Chen

    Liber Chen - 2014-12-24

    Hi Bill,

    You are using in wrong way.

    Please refer to the sample codes in the folder 'Example'.

    You can easily control it by using the PLdap_Control instead of using PLdap_Domain directly.

    Hope this helps.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.