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.

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

Multi dimensional arrays
If I put in this code:

1
2
3
4
5
6
7
8
9
10
11
12
13<

Strange PHP/mySQL error ... am I just tired?
Code: <?

## CONNECT TO DB FUNCTION!
function ConnectTo($db2con)
{
$hostNam

a very simple php header question (sorry!)
Firstly...I do apologise if this annoys anyone....a header error

I'm do not know php &

bit of help needed
Im about to sort out my registration page for my website by customising a "registration" s

opening a window with after form submission
I know this this forum has nothing to do with JS, but i'm trying to use it with my php script.
<

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

How to show a complete textarea ??
I enter Client Case Notes notes in a textarea field on a PHP form. The field is 5 rows deep and 70 c

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

php mail form text wont appear / javascript included
Guys/gals...

I am running into a problem whereby I have a great piece of javascript code that

Help with php code
Hello, can anyone tell me why this php word trap fails to work,
and the trigger words get blow r

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