1
hidde
RE: ldap_bind problem
  • 2004/10/13 4:34

  • hidde

  • Just popping in

  • Posts: 4

  • Since: 2004/10/1


The LDAP Server which I'm trying to connect is working and connectable. The Server Product is Sun Java System Directory Server (Version unknown).

Regarding LDAP, phpinfo says like below.

ldap
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.130.2.10 2004/06/01 21:05:33 iliaa Exp $
Total Links 0/unlimited
API Version 3001
Vendor Name OpenLDAP
Vendor Version 20217


Could you give me some advice?

Best regards,
hidde



2
hidde
Re: LDAP authentication
  • 2004/10/4 9:45

  • hidde

  • Just popping in

  • Posts: 4

  • Since: 2004/10/1


I tried to install OpenLDAP and reconfigured PHP,Apache. But it does not works well.

Warning [PHP]: ldap_bind(): Unable to bind to server: No such object in file ......./kernel/user.php line 487

The line 487 is..
$pass=$criteria->criteriaElements[1]->value; $ldapbind=ldap_bind($ds,$uid_attr."=".$criteria->
criteriaElements[0]->value.",".$base_dn,$criteria->criteriaElements[1]->value);


And I also tried to install mod_auth_ldap module into the Apache. But result is same.

I don't know how to resolve this problem. Could you advice me again?

Thanks and regards,
hidde



3
hidde
Re: LDAP authentication
  • 2004/10/1 16:30

  • hidde

  • Just popping in

  • Posts: 4

  • Since: 2004/10/1


Thank you for information.It was a basically problem.

My server runs on solaris and I'll install OpenLDAP and re-configre PHP, and try again your source code.
Thas's so great news about xoops2.1!!

Thanks again.
hidde



4
hidde
Re: LDAP authentication
  • 2004/10/1 10:05

  • hidde

  • Just popping in

  • Posts: 4

  • Since: 2004/10/1


Hello, This is my first post at this site.

I tried to setup your source code on my server.
But After login submition, the page shows all white and say this message on debug mode.
"Fatal error: Call to undefined function: ldap_connect() in .... user.php"

Could you help me about this probrem?

Thanks in advance.




TopTop



Login

Who's Online

246 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits