Gustav Wiberg wrote:
Hi there!
Back to my main problem:
I want to achieve this:
I'm about to build an Intranet. The company has Windows Server 2003 and
IIS 6 installed. They also have active directory.
I want to them to able to log in without entering username and password,
This can be ach
Zeb,
I should have been more complete. LDAP is working. I am trying to upgrade
for security reasons from a working setup. I recently also upgraded PHP to
5.2.1, though everything else seems to be working fine.
I agree, the error message does list ldap_start_tls which is a command I
haven't
Can you turn off SASL binding on your ldap server or try contacting
another ldap server w/ tls just to make sure that's not your issue? I've
had trouble in the past when I didn't specify the full path to the
certificate or ldaprc file.
It looks like you're failing at the ldap_start_tls() and not t
After making the recommended changes, the browser returned:
LDAP bind successful...
Warning: ldap_search() [function.ldap-search]: Search: Bad search
filter in
e:\intertest\test.php on line 20
Warning: ldap_get_entries(): supplied argument is not a valid
ldap result resource i
The first parameter of ldap_search is the link resource (i.e.
$ldapconn).
I think something like this should work:
$sr = ldap_search($ldapconn, $dn, $filter, $fields);
$info = ldap_get_entries($ldapconn, $sr);
-zeb
-Original Message-
From: Aaron Kenney [mailto:[EMAIL
PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] LDAP extension hanging Apache
probably not helpful but does the php.ini extension_dir variable point to
the location of the PHP extension dlls? e.g. c:/php/extensions/
At 04:59 PM 9/22/2003, you wrote:
>Oh yeah, forgot to me
: Syntax OK
Note the errors or messages above, and press the key to exit.
-Original Message-
From: C-omputerSolutions Webmaster [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 1:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] LDAP extension hanging Apache
Have you tried running
: Monday, September 22, 2003 1:55 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] LDAP extension hanging Apache
Have you tried running the Test Configuration utility that comes with
Apache? usually if there is an error it will delineate it for you telling
you what line is giving the problem.
At 04:29
You don't have to move this dll to your system dir, only to the extensions
dir - have you restarted your web server?
> -Original Message-
> From: Eduards Cauna [mailto:[EMAIL PROTECTED]]
> Sent: 18 June 2002 12:17
> To: [EMAIL PROTECTED]>
> Subject: Re: [PHP-WIN]
At 11:45 2002.06.18.l, you wrote:
>I'm just experimenting with LDAP...
>
>[ Windows 2000 Server/IIS/php 4.2.1]
>
>I've uncommented the php_ldap.dll in my .ini... when I execute the
>following simple piece of code it gives me:
>
>Fatal error: Call to undefined function: ldap_connect()
Unfortunate
Sorry 4 my late answer, but I hadn't the time to view the
list 4 the few last days =8(
I have written some small applications with M$-Xchange and LDAP.
You'll find a lot of examples and ready code (only ASP and VB)
in the MSDN-CD's.
You'll also need an Exchange-Account with the right privileges
Hi Antonio,
I think M$ has a LDAP-Client, at least if you have a
M$-Exchange server.
Perhaps this helps ??
Greetinx,
Mike
> -Original Message-
> From: Antonio Lopez [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 5:25 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] LDAP
>
I found my own answer...
Problems:
1. I wasn't authenticating with enough rights to see certain fields.
2. I was getting the error if the field was empty.
3. I wasn't including all the fields in my search parameters.
4. You must use all lowercase when referring to fields. ie givenname, not
gi
I did download the "big" download. I do have that file and have it in the
correct directory. The file is called php_ldap.dll.
"Ben Cairns" <[EMAIL PROTECTED]> wrote in message 3A94EB49@tech-01">news:3A94EB49@tech-01...
> Please ensure that you do actually have the ldap dll, as these do NOT shi
Please ensure that you do actually have the ldap dll, as these do NOT ship
with the windows installer.
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: [EMAIL PROTECTED]
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOG
Same result! : (
"Gonzalo Vera" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I understand that I need to:
> > - Uncomment php_ldap.dll extension in PHP.INI <- Done
> > - Modify extension_dir in PHP.INI <- Done (C:\PHP\)
>
> I think this should be c:/php/e
> I understand that I need to:
> - Uncomment php_ldap.dll extension in PHP.INI <- Done
> - Modify extension_dir in PHP.INI <- Done (C:\PHP\)
I think this should be c:/php/extensions
Take care to use front slashes.
Regards,
Gonzalo.
--
PHP Windows Mailing List (http://www.php.net/)
To unsub
17 matches
Mail list logo