ldap connection


Posted on 16th Feb 2014 07:03 pm by admin

We are using ldap to get user information from the domain controller. It was working before. Recently I found the application is hanging at ldap_connect. It doesn't return any message.

i am not sure how to debug without any message.

Did you know?Explore Trending and Topic pages for more stories like this.
here is the connection.

define ("LDAP_SERVER","ldap://server.company.net");
define ("LDAP_PORT",389);

function getUser($fullname, $pswd)
{
$ld=ldap_connect(LDAP_SERVER,LDAP_PORT);
No comments posted yet

Your Answer:

Login to answer
71 Like 54 Dislike
Previous forums Next forums
Other forums

Question handling xml data
Hello,

I have sucessfull followed this tutorial
http://www.phpfreaks.com/tutorial/handlin

Polymorphism
Was wondering if someone could explain this a little better to me. I had always assumed that it had

Error in SQL Syntax HELP!!!
I have this page:

Code: <?php

session_start();

//connect to server and s

Keep newlines from textarea?..
I'm creating a simple encoding program, and what I want it to do is retain the newlines, as echoing

this code is not working????
it says this error.. Warning: Division by zero in ..

the variables are correct, so why is th

Passing PHP variables from one page to another
Hello-

I'm having trouble figuring out how to transport a variable from one php file to anoth

BAPI BBP_INB_DELIVERY_CREATE - material number missing in delivery
Hi Experts,

I was able to successfully create an Inbound delivery with reference to a PO

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

CE 7.1 and External GIS integration
Hi All,

We want to develop an application on CE 7.1 which uses GIS features from an exter

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash