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, wrote:
> Did you check both php.ini files?
>
> --
> PHP General Mai
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 All,
I am using tring with sample program to connect the ldap using php.
Below is the sample code:
==
===
When i execute this program with command line
>>> On Fri, Apr 3, 2009 at 10:16 AM, in message
<49d5e20c.8302.00a...@sjhc.london.on.ca>, "Keith Lawson"
wrote:
>
On Thu, Apr 2, 2009 at 5:51 PM, in message <49d53344.7040...@gmail.com>,
> Chris
> wrote:
>> Keith Lawson wrote:
>>> Hello,
>>>
>>> I have been working on this problem
>>> On Thu, Apr 2, 2009 at 5:51 PM, in message <49d53344.7040...@gmail.com>,
>>> Chris
wrote:
> 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
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
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 now just to confi
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 Windo
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
[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 ca
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]
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
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
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
d
On Tue, April 25, 2006 9:43 pm, Crone, James wrote:
> 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()
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. Whenev
006 8: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. C
://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 curr
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
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 ,
I have a ldap server the user password are stored in that. my php
ldasearch result says that the result is
ldap user password : {SMD5}eRuT8dttD6M6N6tgMJF33/TNAvc=
i want to compare this password with the user given password in other
application (obviously php) but when i md5("passwordgiv
Vincent DUPONT wrote:
> I need to get the LDAP groups a user is member of (memberof). The problem
> is that there are multiple levels of groups, and I need to get all levels.
> example
> userA is member of group A B and C
> group A is member of (included in) group D
>
> If I make a simple query on
Hi,
I need to get the LDAP groups a user is member of (memberof). The problem is
that there are multiple levels of groups, and I need to get all levels.
example
userA is member of group A B and C
group A is member of (included in) group D
If I make a simple query on the LDAP server to fetch t
s: ". $info[$i]["mail"][0];
echo "Telephone number is: ". $info[$i]["telephonenumber"][0];
}
-Original Message-
From: Michael Gallant [mailto:[EMAIL PROTECTED]
Sent: Friday, November 12, 2004 3:10 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP / LDAP with
I am interested if anyone has ever determined a way to do this or if
it is technically impossible.
To my knowledge, I don't know of any way to do that from a non-windows server.
On Fri, 12 Nov 2004 08:40:03 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello, I have an issue with a PHP i
Hello, I have an issue with a PHP interface. We have many engineering users
who will be using a request ticket system developed in PHP here. We don't
know in advance who will be using the system and there may be new people in
all the time. Currently I have to create a login for each person who need
Ben Crothers wrote:
At the moment it works fine and extracts fields like first- and surname,
title, department, etc. I need to add the 'office' field, and added it at
the end of this filter line:
---
$filter =
"(|(sn=$search[$i]*)(givenname=$search[$
Hoping this is an easy question to answer, apologise upfront if this is so
basic, but just been put in charge of a PHP app with LDAP interface to M$
Exchange, and trying to figure out how it works.
At the moment it works fine and extracts fields like first- and surname,
title, department, etc. I n
Hoping this is an easy question to answer, apologise upfront if this is so
basic, but just been put in charge of a PHP app with LDAP interface to M$
Exchange, and trying to figure out how it works.
At the moment it works fine and extracts fields like first- and surname,
title, department, etc. I n
Hello,
I am having trouble returning attributes from an LDAP dir and was
curious if anyone had experienced similar issues. I am able to retrieve
the attributes in the $nds_stuff fine. However, once I add an attribute
to the array, I can get the last attribute in the array, but not the one
that com
I'm using PHP to add users to my ldap directory. When I create a user they
can be added to 1 or more groups. When that user is deleted, I want to
remove them from all groups. The code I wrote only removes them from the
first group, then gives an error for any other group. Here is the code,
foll
On Tue, 07 Jan 2003 22:49:45 +0100, you wrote:
>hi!
>
>is it possible to make different modify actions (add, delete, etc.)
>during a single request?
>
>for changing a password in the NDS i would have to
>first delete the 'userPassword' and right after that add the new
>'userPassword'
AFAIK it i
hi!
is it possible to make different modify actions (add, delete, etc.)
during a single request?
for changing a password in the NDS i would have to
first delete the 'userPassword' and right after that add the new
'userPassword'
i know that it is possible in C, perl, etc.
but it seems that the
Hi all,
Anyone out there have significant experience using the PHP/ldap
interface? It appears to me that it's missing some important
functionality, but I might just not be seeing how to do it.
I have a user-management application which needs to manage an openLDAP
user base of several thousand us
hi,
i sent this to the php install list but nobody was able to help me.
thus i'm giving this list a crack at it.
When i installed php v4.2.1 on my Solaris 8 (x86) using this install command:
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr/local
On Wed, Oct 30, 2002 at 09:28:00AM -0500, GC wrote:
> Hi, using php_ldapadd, I get this error in ldap.log:
>
> Oct 30 09:23:43 Lunar slapd[10714]: conn=202 op=1 RESULT tag=105 err=65
> text=object class 'posixAccount' requires attribute 'uidNumber'
>
> How do I get the next available uid number f
Hi, using php_ldapadd, I get this error in ldap.log:
Oct 30 09:23:43 Lunar slapd[10714]: conn=202 op=1 RESULT tag=105 err=65
text=object class 'posixAccount' requires attribute 'uidNumber'
How do I get the next available uid number from my ldap database and then
use that number for uidnumber?
Tha
I have an OS X box that has been running PHP 4.1.2 and OpenLDAP 2.0.23
without any problems. I can bind to the LDAP database from PHP and
everyone is happy.
I wanted to build a new box with Cyrus-IMAP, Cyrus-SASL and OpenLDAP,
moving my mail and authentication to it and leave the first box to
The frustrating part is, I had this working on OS X 10.0.4. I am now
running 10.1.2 Server.
I successfully build OpenLDAP and it is working fine.
I successfully built a version of PHP 4.0.6 for OS 10.1 with the
instructions found at
http://developer.apple.com/internet/macosx/php.html. It comp
On Tue, Dec 04, 2001 at 07:41:14AM +0800, Hafiz Malik wrote:
> hi there..
> i'm succesfully add ldap entry(jpegphoto) using PHP via below codes..
> but failed to modify it.. any ideas?
Not really. Could you check what ldap_modify() returns, did you get
any warnings from PHP? Turn on more debuggin
hi there..
i'm succesfully add ldap entry(jpegphoto) using PHP via below codes..
but failed to modify it.. any ideas?
ADD LDAP ENTRY VIA PHP
$userfile = "addpicture.jpg";
$fd = fopen ($userfile, "r");
$fsize = filesize ($userfile);
$jpegStr = fread ($fd, $fsize);
fclose ($fd);
$ds = ldap_conne
On Wed, Apr 11, 2001 at 02:07:04PM +0200, Holger Flocken wrote:
> Hi,
>
> I want to use the LDAP functions of PHP to process every entry in an LDAP
> directory. Unfortunately the directory contains more than 2 entries and
> the PHP LDAP functions
> (ldap_search/ldap_list) report that the time
Hi,
I want to use the LDAP functions of PHP to process every entry in an LDAP
directory. Unfortunately the directory contains more than 2 entries and
the PHP LDAP functions
(ldap_search/ldap_list) report that the timelimit (30 seconds) has been
exceed.
I tried to use ldap_set_option($ds, LDA
COOLL it work
oki guys
to work : apply the patch openldap source
recompil openldap
don't forget to copy librairie from /usr/local/lib to /usr/lib !
recompil php
recompil apache
and it works !!!
it's beeen hard but it works !!!
thank for all
Le Mardi 6 Mars 2001 12:51, vous a
There's been some discussion on the OpenLDAP lists as well, and there
seems to be a fix around. See
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=889
Stig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Le Mardi 6 Mars 2001 11:35, vous avez écrit :
> I'm not sure of anything, but what I would have done to debug it, is to
> use gdb either on the Apache process or on a stand-alone PHP. I prefer
> debugging with a stand-alon binary myself. Then run PHP with your script
> and see what happens. If y
On Tue, Mar 06, 2001 at 11:22:55AM +0100, Matthieu Le Corre wrote:
> i don't use SASL
> so when i use ldapsearch without -x
> I get "ldap_sasl_interactive_bind_s: Unknown authentication method"
> but it doesnt crash !
Okay, the other guy had a crash there. For me it works without -x and
I don't
i don't use SASL
so when i use ldapsearch without -x
I get "ldap_sasl_interactive_bind_s: Unknown authentication method"
but it doesnt crash !
when i use php ldap functions with ssl
php doesn't crash but juste an Apache child crash !
so you think that if i compile openldap without SASL i will wo
On Tue, Mar 06, 2001 at 10:54:24AM +0100, Matthieu Le Corre wrote:
> Hum the ldapsearch work fine !!!
> with the command : ldapsearch -x -H "ldaps://x..xx:636"
> I have got a possitive response from server !
> and I don't use SASL ...
I got some info from the other guy. He also used RH7 w
Hum the ldapsearch work fine !!!
with the command : ldapsearch -x -H "ldaps://x..xx:636"
I have got a possitive response from server !
and I don't use SASL ...
really don't know why is don't work with php !!!
my box : RH7 KDE2
Apache 1.3.17
php 4.04 pl1
mod_ssl-2.8
On Tue, Mar 06, 2001 at 09:27:55AM +0100, Matthieu Le Corre wrote:
> I try to have the php ldap functions working with SSL ,
> but when the code is executed the apache child die !!!
> is there anyone with that working
Works fine for me. I know one other person with the same problem as you.
He al
I try to have the php ldap functions working with SSL ,
but when the code is executed the apache child die !!!
is there anyone with that working
regards
--
__
Matthieu LE CORRE
SERVICE INFORMATIQ
52 matches
Mail list logo