I'm a little hesitant to log a bug for this as it may be the way I'm doing
things, but here's the issue:
Summary:
Secondary
requests to AJAX PHP Script that performs ldap_connect/ldap_bind
requests to 1+ directories often results in LDAP Can't contact LDAP
server. It appears PHP doesn't even
From: Chris Knipe
I've found various sources and are successfully manipulating Active
Directory from PHP on our Domain Controller - frankly, things works
much
better than I expected :)
I have now reached the point where I need to set permissions on
objects in
Active Directory, i.e. to
-Original Message-
From: Bob McConnell [mailto:r...@cbord.com]
Sent: Wednesday, December 01, 2010 5:23 AM
To: Chris Knipe; php-general@lists.php.net
Subject: RE: [PHP] LDAP, Active Directory, and permissions
From: Chris Knipe
I've found various sources and are successfully
Hi,
I've found various sources and are successfully manipulating Active
Directory from PHP on our Domain Controller - frankly, things works much
better than I expected :)
I have now reached the point where I need to set permissions on objects in
Active Directory, i.e. to restrict read
-Original Message-
From: ckn...@savage.za.org [mailto:ckn...@savage.za.org] On Behalf Of
Chris Knipe
Sent: Tuesday, November 30, 2010 4:47 AM
To: php-general@lists.php.net
Subject: [PHP] LDAP, Active Directory, and permissions
Hi,
I've found various sources and are successfully
Hi,
Chris,
1) Shouldn't the OU security permissions be set within the AD itself?
2) If the above is done, then the user account that's being authenticated
shouldn't be able to access privileged information.
1) Not sure. The permissions I'm after is similar to that of NTFS
permissions on
-Original Message-
From: Chris Knipe [mailto:ckn...@savage.za.org] On Behalf Of Chris Knipe
Sent: Tuesday, November 30, 2010 10:52 PM
To: php-general@lists.php.net
Subject: RE: [PHP] LDAP, Active Directory, and permissions
Hi,
Chris,
1) Shouldn't the OU security permissions
solved as simple as i couldn't imagine...
for a reason was not accepting
the iconv anywhere else but...
[CODE]$info[cn] =iconv(Windows-1253,UTF-8,$data[$c]);
//echo |onoma--;
//echo $info[cn] ;
$c++;
$info[sn] = iconv(Windows-1253,UTF-8,$data[$c]);[/CODE]
so for all the greeks out there this
and my code begins like this...
$uploaddir =
$_SERVER['DOCUMENT_ROOT'].'/webteam/voiko/public_html/uploads/';
$file = $uploaddir . basename($_FILES['uploadfile']['name']);
$data = file_get_contents($uploaddir . $_FILES[uploadfile][name]);
$data=split([;\r],$data);
;
$num = count($data);
the thing i just tried is with
// Open a memory file for read/write...
$fp = fopen('php://temp', 'r+');
// ... write the $input array to the file using fputcsv()...
fputcsv($fp, $input, $delimiter, $enclosure);
// ... rewind the file so we can read what we just wrote...
rewind($fp);
Hallo there everyone..
first thing first i would like to thank
everyone for the help that this mailing list has provided me
throughout my project..
i have found many answers and got me out of black point many times!!!
now i am on my last step on my project
and i would like to see if there are any
Did you check both php.ini files?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
ldap extension was loaded in the php.ini file.
php -i |grep ldap
/etc/php.d/ldap.ini,
ldap
RCS Version = $Id: ldap.c,v 1.161.2.3.2.14 2008/12/31 11:17:39 sebastian Exp $
Regards
Chima.s
On Thu, Oct 15, 2009 at 7:17 PM, xfe...@gmail.com wrote:
Did you check both php.ini files?
--
PHP
Hi All,
I am using tring with sample program to connect the ldap using php.
Below is the sample code:
==
?php
echo $test=ldapAuthenticate('username','password','domainname');
function ldapAuthenticate($username,$password,
to server: Can't
contact LDAP server in /www/doc/INTRA/ktlwiki/ldap- test.php on line 19
bool(false)
Can't contact LDAP server
From the command line still works:
[www]/www/doc/ php ldap- test.php
bool(true)
brSuccessbr
As I mentioned the command line call did not work until I added
works:
[www]/www/doc/ php ldap-test.php
bool(true)
brSuccessbr
As I mentioned the command line call did not work until I added TLS_REQCERT
never to ldap.conf. I need to figure out why the apache loadable module is
behaving differently than the command line binary. I'm pretty sure the web page
, o=LH));
?
This returns true when called from the command line:
[www]/www/doc/ktlwiki php ldap-test.php
bool(true)
But when I load the same code through a browser it fails.
I'm using php 5.2.6, openldap 2.4.11 and openssl 0.9.8i on Solaris 10. I built
everything from source, PHP has LDAP
Keith Lawson wrote:
Hello,
I have been working on this problem for some time now and I can't seem to resolve it. Everything I have found on google and php.net says I can connect to an LDAP server with SSL by setting TLS_REQCERT never in ldap.conf. I want to eliminate certs from the picture for
On Thu, Apr 3, 2008 at 4:10 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Nathan Nobbe schrieb:
and its a little more
complicated to map to sql than one might initially suspect
http://www.openldap.org/doc/admin24/intro.html#LDAP%20vs%20RDBMS
Yes, that's why I decided to try a php LDAP
Richard Lynch schrieb:
You probably wouldn't run it through Apache, but you probably COULD
run an LDAP server of sorts using http://php.net/sockets
Yes... this starts to sound as a solution...
Sorry, I hope I do not sound lazy, I just need a bit of a help to locate
the starting point.
I
On Thu, Apr 3, 2008 at 2:22 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I am 100% aware of the fact that LDAP is a read optimized database (though
I am not sure where this optimization goes when back end is PostgreSQL, for
example - the LDAP commands seem simple and re-writing them into SQL
to sql than one might initially suspect
http://www.openldap.org/doc/admin24/intro.html#LDAP%20vs%20RDBMS
Yes, that's why I decided to try a php LDAP read-only (for Thunderbird)
implementation - I could not see how I can map the LDAP to our SQL
(which implements object-relational mapping defined
On Sun, March 30, 2008 8:15 pm, [EMAIL PROTECTED] wrote:
As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is
it
a very wild idea to implement (a simple) LDAP server in php?
We have all the address data already in PostgreSQL and a php
application
managing all of it.
I am
Chris schrieb:
If ldap can already use a database backend, just use the normal ldap_*
functions to do all of the work, don't re-invent it all.
http://www.php.net/ldap
Just wanted to avoid installing and maintaining a LDAP server and
mapping all the data.
Perhaps I am underestimating it,
As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is it
a very wild idea to implement (a simple) LDAP server in php?
We have all the address data already in PostgreSQL and a php application
managing all of it.
I am thinking of simple uses, such as providing LDAP address
[EMAIL PROTECTED] wrote:
As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is it
a very wild idea to implement (a simple) LDAP server in php?
We have all the address data already in PostgreSQL and a php application
managing all of it.
I am thinking of simple uses, such as
Hi,
Have you tried in the php.ini to setup error_reporting to E_ALL and display
error messages (display_errors = On) ?
I had a similar problem 2 days ago and it was due to another mistake in my
PHP code.
But i did not get any error message or more precisely, i did not get any
WARNING message.
Hi,
I have a stupid issue with ldap_connect.
i've reinstalled PHP, postgreSQL and restore my data (web files) after
reinstalling my PC.
now, when i try : $ds = ldap_connect($ldaphost, $ldapport) or die(Could not
connect to $ldaphost);
nothing works.
i wrote before error_reporting(E_ALL); in
Okay, hopefully someone can help me out here. I've gone over ldap at
php.net and multiple other sites but can't get it to work. Everytime I run
the query my results are 0 entries returned.
My AD tree is: CN=Users,DC=domain,DC=us. I have the AD Server set so that
anonymous access to retrieve
On 8/21/07, Dan Shirah [EMAIL PROTECTED] wrote:
Okay, hopefully someone can help me out here. I've gone over ldap at
php.net and multiple other sites but can't get it to work. Everytime I run
the query my results are 0 entries returned.
My AD tree is: CN=Users,DC=domain,DC=us. I have the AD
Nothing is being blocked since both servers are inside the DMZ.
On 8/21/07, Daniel Brown [EMAIL PROTECTED] wrote:
On 8/21/07, Dan Shirah [EMAIL PROTECTED] wrote:
Okay, hopefully someone can help me out here. I've gone over ldap at
php.net and multiple other sites but can't get it to work.
Apparently even though our Domain Administrator said anonymous access is
enabled for the server, it still did not like me trying to query AD
anonymously. I created a username/password with limited priviledges to AD
and now it works like a charm.
Below you will find my finished code:
?php
Hi all, i would like to know if anybody has a script in php that
change the password of the users in ldap???
That the user can do it by yourself
the user put your username old pass new pass confirm new pass
Somebody can help me?
Regards,
--
Fabio S. Silva
--
PHP General Mailing List
Hi Fabio,
On 03-07, Fabio Silva wrote:
Hi all, i would like to know if anybody has a script in php that
change the password of the users in ldap???
That the user can do it by yourself
http://logout.sh/computers/ldap/ looks like a starting point.
In that example, however the connection
# [EMAIL PROTECTED] / 2007-02-04 13:26:39 +0100:
Hello,
actually i am workinh with the ldap functions of php5.
Reading the docs i found the constants
GSLC_SSL_NO_AUTH
GSLC_SSL_ONEWAY_AUTH
GSLC_SSL_TWOWAY_AUTH
They are simply documented, but i can't find any docs about them.
Hello Roman,
On Monday 05 February 2007 17:12, Roman Neuhauser wrote:
actually i am workinh with the ldap functions of php5.
Reading the docs i found the constants
GSLC_SSL_NO_AUTH
GSLC_SSL_ONEWAY_AUTH
GSLC_SSL_TWOWAY_AUTH
They are simply documented, but i can't find any
# [EMAIL PROTECTED] / 2007-02-05 23:03:41 +0100:
On Monday 05 February 2007 17:12, Roman Neuhauser wrote:
actually i am workinh with the ldap functions of php5.
Reading the docs i found the constants
GSLC_SSL_NO_AUTH
GSLC_SSL_ONEWAY_AUTH
GSLC_SSL_TWOWAY_AUTH
They are
Hello,
actually i am workinh with the ldap functions of php5.
Reading the docs i found the constants
GSLC_SSL_NO_AUTH
GSLC_SSL_ONEWAY_AUTH
GSLC_SSL_TWOWAY_AUTH
They are simply documented, but i can't find any docs about them. Neither at
php.net not via google.
So - what they are for and
Hej!
I'm running PHP 5.1.2 on Suse 10.
The LDAP server is openldap 2.3.19
I've problem with swedish characters and DN.
DN: cn=åäö,dc=example,dc=com
$res = ldap_search($ds, 'dc=example,dc=com', '(objectClass=*)');
$dn = ldap_get_dn($ds,$res);
== $dn is cn=\C3\85\C3\84\C3\96,dc=example,dc=com
[snip]
I am going to need to build LDAP and AD modules for a project that I'm
working on. Could any of you who have delt with PHP/LDAP/AD point me in
the
direction of some decent resources/papers/books?
[/snip]
http://www.php.net/ldap
--
PHP General Mailing List (http://www.php.net
Hello list,
I am going to need to build LDAP and AD modules for a project that I'm
working on. Could any of you who have delt with PHP/LDAP/AD point me in the
direction of some decent resources/papers/books?
Thanks.
Hi Ray,
the question is for which reason you need to know something about the pwd ?
to log on ?
if yes, it's not needed. I personally did like that :
1. with login + pwd given by user, i try to bind.
2. if bind works, it means that user login+pwd are equal to AD login+pwd.
3. if error during
ldap_bind().
Thanks,
--
Ray Hauge
Application Development Lead
American Student Loan Services
www.americanstudentloan.com
From: Alain Roger [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 6:15 AM
To: Ray Hauge; PHP General List
Subject: Re: [PHP
Carsten Gehling wrote:
Sorry for that - I couldn't see the previous post.
I've tried true/false, but I think PHP might be converting this to
string values (eg. and 1) before sending to AD
any reason to think this?
have you tried passing the strings 'false', 'true' or 'FALSE', 'TRUE'?
-
I'm working on integrating an application with an AD server, and I was
wondering if the password is encrypted at all, or if I need to go
through the troubles of setting up ldaps://
I checked the documentation, but I couldn't find any information about
plain-text vs. encrypted.
Thanks!
Hi,
I am using PHP's LDAP to read and write information fron user-objects
in Active Directory (Windows Server 2003).
The AD has been extended with 2 attributes (call them xx and yy)
with the field type BOOLEAN
How do i write to these fields?
If I use ldap_mod_replace, and set the values for
Hi,
I am using PHP's LDAP to read and write information fron user-objects
in Active Directory (Windows Server 2003).
The AD has been extended with 2 attributes (call them xx and yy)
with the field type BOOLEAN
How do i write to these fields?
If I use ldap_mod_replace, and set the values for
Hi,
I am using PHP's LDAP to read and write information fron user-objects
in Active Directory (Windows Server 2003).
The AD has been extended with 2 attributes (call them xx and yy)
with the field type BOOLEAN
How do i write to these fields?
If I use ldap_mod_replace, and set the values for
Carsten Gehling wrote:
Hi,
I am using PHP's LDAP to read and write information fron user-objects
in Active Directory (Windows Server 2003).
The AD has been extended with 2 attributes (call them xx and yy)
with the field type BOOLEAN
How do i write to these fields?
If I use ldap_mod_replace,
Sorry for that - I couldn't see the previous post.
I've tried true/false, but I think PHP might be converting this to
string values (eg. and 1) before sending to AD
- Carsten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Roger Thomas wrote:
I have an already working LDAP server. One of my user's ldif looks like:
...
...
sn: Roger Thomas
givenName: Roger Thomas
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: qmailUser
objectClass: hordePerson
o:
I have an already working LDAP server. One of my user's ldif looks like:
...
...
sn: Roger Thomas
givenName: Roger Thomas
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: qmailUser
objectClass: hordePerson
o: example.com
ou: people
...
thanks for the response, i can see how this works (i think) for basic
authentication with user input,but what i really need is to actually
retrieve the logged on user name after a user has logged into windows.
i.e. the user name that the http client passes to the apache mod has
been captured
[snip]
thanks for the response, i can see how this works (i think) for basic
authentication with user input,but what i really need is to actually
retrieve the logged on user name after a user has logged into windows.
i.e. the user name that the http client passes to the apache mod has
been
well, I'm sure that if you really wanted to try to write your own
auth module in PHP you could theoretically do so - but in lieu of
that there is an open source apache module that you might want to
look into called mod_ntlm http://modntlm.sourceforge.net/
keep in mind that all this does is
On Wed, June 28, 2006 3:37 am, Adrian Bruce wrote:
thanks for the response, i can see how this works (i think) for basic
authentication with user input,but what i really need is to actually
retrieve the logged on user name after a user has logged into windows.
So, basically, you think Windows
Hi all
Sorry if this has been asked before but i am currently drawing a blank
STW etc.. is there any way of retrieving the user name of a user
(through the browser) that has logged on to a network (windows OS). I
have used php with LDAP before and made the user log into the website,
however
[snip]
Sorry if this has been asked before but i am currently drawing a blank
STW etc.. is there any way of retrieving the user name of a user
(through the browser) that has logged on to a network (windows OS). I
have used php with LDAP before and made the user log into the website,
however i
Our organization is migrating away from Novell E-directory to MS Active
Directory. I have a php class that allows me to run various queries on our
e-directory ldap server which I am working to convert to AD. However, I'm
running into an error that i cannot figure out. I have updated the
For anyone interested: after some furhter troubleshooting, I found the error.
The password I was passing was incorrect. What I found interesting is that
even though the password was incorrect, the bind function still worked. I'm
thinking that it logged me in as anonymous at that stage.
Our
you're approaching this wrong - google for LDAP Authentication php, and see
how they do it
On 5/13/06, Thomas Bonham [EMAIL PROTECTED] wrote:
Hello,
I'm trying to do a ldap authentication page. I can get there username
and I don't know how to get the password from ldap. It didn't show up in
Thomas Bonham wrote:
Hello,
I'm trying to do a ldap authentication page. I can get there username
and I don't know how to get the password from ldap. It didn't show up
in the the search for the command line. So how do I get the password
of the users?
Hope you are doing this using PHP and
Sameer N Ingole wrote:
Thomas Bonham wrote:
Hello,
I'm trying to do a ldap authentication page. I can get there username
and I don't know how to get the password from ldap. It didn't show up
in the the search for the command line. So how do I get the password
of the users?
Hope you are
Hello,
I'm trying to do a ldap authentication page. I can get there username
and I don't know how to get the password from ldap. It didn't show up in
the the search for the command line. So how do I get the password of the
users?
Thomas
--
PHP General Mailing List (http://www.php.net/)
To
LDAP library, to
which PHP has an interface, if you re-compile PHP.
So you need to compile (or they need to compile) the PHP LDAP
interface down in the ext directory of PHP (or maybe it's in PECL
now).
This will result in a file with a name something like:
ldap_php.so
And *that* file is the one
Crone, James wrote:
I need to add LDAP support to my install of PHP. I had my sysadmin
download OpenLDAP and install the libraries.
This isn't correct way. You need these libraries but they are not enough.
[snip] I've
been told to use the dl() function
Read carefully. http://php.net/dl says
I need to add LDAP support to my install of PHP. I had my sysadmin
download OpenLDAP and install the libraries. Our current build of PHP
is complex and I'd prefer not to have to rebuild just to add LDAP. I've
been told to use the dl() function to load the LDAP library when needed
in PHP.
[snip]
I've got a bit lost on this, but assuming that we are talking about an
intranet enviornment, with windows/IE6 clients, and apache servers, then
personally:
I would check logins based on a valid session. If the user doesn't have
a session they aren't logged in. Store the username in the
Quoting Rory Browne [EMAIL PROTECTED]:
I've got a bit lost on this, but assuming that we are talking about an
intranet enviornment, with windows/IE6 clients, and apache servers, then
personally:
I would check logins based on a valid session. If the user doesn't have a
session they aren't
Quoting [EMAIL PROTECTED]:
[snip]
As far as I can tell you will have to ask the user to login at the web
application level again, but you can verify it against your AD via LDAP
with the basic stuff from http://www.php.net/ldap
[/snip]
We are sitting here having a discussion on login techniques
[snip]
We are sitting here having a discussion on login techniques and I cam
up
with a thought...why not have a login script write a cookie that then
coulod be read by PHP and compared against the AD via LDAP? Does
anyone
see any gotcha's with that kind of process?
Couldn't I write my own
Quoting [EMAIL PROTECTED]:
[snip]
Couldn't I write my own cookie to fool the authentication into
thinking I'm somebody else?
[/snip]
I suppose that you could do that if you were savvy enough to realize
that automatic login to the intranet used a cookie for authentication
and you knew how to
[snip]
First, let me apologize for having to take it to a basic level. I'll
admit that I'm fairly new to web development, but this is something I
could *really* use at work and I want to make sure I understand (just
to set the stage, we use Windows/Active Directory/MS SQL Server at
work,
Quoting [EMAIL PROTECTED]:
You could just store a username, since they have already authenticated,
but a cookie with just a username would be easy to duplicate. My current
thought is to hash a checksum of some sort and storing that in the
cookie as well. That way you avoid the username only
Rick Emery wrote:
Quoting [EMAIL PROTECTED]:
You could just store a username, since they have already authenticated,
but a cookie with just a username would be easy to duplicate. My current
thought is to hash a checksum of some sort and storing that in the
cookie as well. That way you avoid
Quoting Jochem Maas [EMAIL PROTECTED]:
Rick Emery wrote:
Okay, I'm following all of this. So I could take, say, the username
reversed and encode it, then decode it in the PHP application,
and be
I wouldn't do it like that
instead stick the username in the cookie in plaintext and
I've got a bit lost on this, but assuming that we are talking about an
intranet enviornment, with windows/IE6 clients, and apache servers, then
personally:
I would check logins based on a valid session. If the user doesn't have a
session they aren't logged in. Store the username in the session
Kerberos - there is an apache module for it.
On 3/7/06, Justin Cook [EMAIL PROTECTED] wrote:
We are developing an intranet for my company. I would like to implement a
single sign on service. We have Active Directory on one server and the
intranet is being housed on a Redhat Linux server. When
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 94 bytes) in /srv/www/htdocs/test/ldapTest.php on line 47
47 - $info = ldap_get_entries($ds, $sr);
$sr=ldap_search($ds, dc=foo,dc=local, cn=*);
$ds is the connection to the LDAP server
Does anyone know what this
[snip]
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 94 bytes) in /srv/www/htdocs/test/ldapTest.php on line 47
47 - $info = ldap_get_entries($ds, $sr);
$sr=ldap_search($ds, dc=foo,dc=local, cn=*);
$ds is the connection to the LDAP server
Does anyone know what
[EMAIL PROTECTED] wrote:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
(8388608 / 1024) / 1024 = 8.
allocate 94 bytes) in /srv/www/htdocs/test/ldapTest.php on line 47
47 - $info = ldap_get_entries($ds, $sr);
$sr=ldap_search($ds, dc=foo,dc=local, cn=*);
$ds is the
We are developing an intranet for my company. I would like to implement a
single sign on service. We have Active Directory on one server and the intranet
is being housed on a Redhat Linux server. When the internal user pulls up the
intranet, I would like it to check to see if they successfully
]
Sent: Tuesday, March 07, 2006 9:55 AM
To: php-general@lists.php.net
Subject: [PHP] LDAP and Single Sign On
We are developing an intranet for my company. I would like to
implement a
single sign on service. We have Active Directory on one server and the
intranet is being housed on a Redhat
@lists.php.net
Sent: Tue, 07 Mar 2006 12:06:42 -0600
Subject: RE: [PHP] LDAP and Single Sign On
Maybe this will help: http://us2.php.net/manual/en/ref.ldap.php
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main
[snip]
We are developing an intranet for my company. I would like to implement
a single sign on service. We have Active Directory on one server and the
intranet is being housed on a Redhat Linux server. When the internal
user pulls up the intranet, I would like it to check to see if they
[snip]
As far as I can tell you will have to ask the user to login at the web
application level again, but you can verify it against your AD via LDAP
with the basic stuff from http://www.php.net/ldap
[/snip]
We are sitting here having a discussion on login techniques and I cam up
with a
[snip]
if(!$ds=ldap_connect(foo)){
echo did not connect;
}else {
echo connection successful;
}
$un = user;
$upw = pass;
echo connect result is . $ds . br /;
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);
if ($ds) {
[snip] I vaguely recall you couldn't do an anonymous bind to an active
directory system - you had to properly authenticate before you could do
a search.
You didn't include the bind stuff so I can't tell if that's the problem
:)
[/snip]
I thought that I was not doing an anonymous bind, until I
On 3/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[snip] I vaguely recall you couldn't do an anonymous bind to an active
directory system - you had to properly authenticate before you could do
a search.
You didn't include the bind stuff so I can't tell if that's the problem
:)
[/snip]
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, CN=configuration,DC=onecall,DC=local, cn=*);
Gives me
Warning: ldap_search(): Search: Operations error in
/srv/www/htdocs/test/ldapTest.php on
[snip]
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, CN=configuration,DC=onecall,DC=local, cn=*);
Gives me
Warning: ldap_search(): Search: Operations error in
this position, and now it is just not true. We have all of our
users authenticating through AD on a W2003Server, so I thought I'd use
LDAP for web authentication as well.
It doesn't work.
For some cockamaimee reason there are problems using PHP/LDAP with
W2003Server. To be sure, I found plenty of evidence
world when I
accepted this position, and now it is just not true. We have all of our
users authenticating through AD on a W2003Server, so I thought I'd use
LDAP for web authentication as well.
It doesn't work.
For some cockamaimee reason there are problems using PHP/LDAP with
W2003Server. To be sure
On 2/19/06, Golden Butler [EMAIL PROTECTED] wrote:
I'm currently running OpenLDAP with some users populated in the
database. I would like to use PHP to create a web page where my ldap
users can enter their username and password credentials to log into our
intranet. Can someone point me to
://toolbar.weberdev.com
Free Uptime Monitor : http://uptime.weberdev.com
SEO Data Monitor http://seo.weberdev.com
-Original Message-
From: Golden Butler [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 19, 2006 8:40 AM
To: PHP Mailing List
Subject: [PHP] PHP/LDAP Authentication
I'm currently
:40 AM
To: PHP Mailing List
Subject: [PHP] PHP/LDAP Authentication
I'm currently running OpenLDAP with some users populated in the database. I
would like to use PHP to create a web page where my ldap users can enter
their username and password credentials to log into our intranet. Can
someone
I'm currently running OpenLDAP with some users populated in the
database. I would like to use PHP to create a web page where my ldap
users can enter their username and password credentials to log into our
intranet. Can someone point me to some expample scripts, articles, or
sites. Thanks.
Hi Folks!
This is my first email to php-general, and first of all I wish to thank
the developers for their GREAT work! :-)
Well, I don't mean to waste your time, so here follow my question.
I've stared using PHP some months ago, and my last application is an LDAP
Administration Tool for IBM ITDS
André Medeiros wrote:
Check your webserver logs. If PHP couldn't use the extension, it will
accuse that in the logs.
probably the best use of the word 'accuse' ever
(with a slight nod to commercials for Carlsberg lager :-)
On 10/20/05, Jay Blanchard [EMAIL PROTECTED] wrote:
[snip]
Farking windoblows environment!
The extension is uncommented, I have OpenLDAP for W2k installed and running,
the dll's have been copied to the proper place and I execute a test and get
Call to undefined function: ldap_connect()
What am I missing? TIA.
--
PHP General Mailing List
1 - 100 of 275 matches
Mail list logo