Re: [PHP] php-ldap works in commandline but not through browser

2009-10-15 Thread chima s
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

Re: [PHP] php-ldap works in commandline but not through browser

2009-10-15 Thread xfedex
Did you check both php.ini files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP LDAP over SSL problems (SOLVED)

2009-04-08 Thread Keith Lawson
>>> 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

Re: [PHP] PHP LDAP over SSL problems

2009-04-03 Thread Keith Lawson
>>> 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

Re: [PHP] PHP LDAP over SSL problems

2009-04-02 Thread Chris
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

Re: [PHP] PHP LDAP - Single Sign On

2006-06-28 Thread Richard Lynch
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

Re: [PHP] PHP LDAP - Single Sign On

2006-06-28 Thread Joe Wollard
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

RE: [PHP] PHP LDAP - Single Sign On

2006-06-28 Thread Jay Blanchard
[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

Re: [PHP] PHP LDAP - Single Sign On

2006-06-28 Thread Adrian Bruce
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

RE: [PHP] PHP LDAP - Single Sign On

2006-06-27 Thread Jay Blanchard
[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

Re: [PHP] PHP/LDAP Setup Problem

2006-04-25 Thread Sameer N Ingole
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

Re: [PHP] PHP/LDAP Setup Problem

2006-04-25 Thread Richard Lynch
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()

Re: [PHP] PHP/LDAP Authentication

2006-02-19 Thread Delamatrix
Thanks for all the help! I'll check it out. - Delamatrix Weber Sites LTD wrote: Maybe this can help : Authentication script to authenticate users in Active Directory through LDAP. http://www.weberdev.com/get_example-3261.html Sincerely berber Visit the Weber Sites Today, To see wher

RE: [PHP] PHP/LDAP Authentication

2006-02-19 Thread Weber Sites LTD
Maybe this can help : Authentication script to authenticate users in Active Directory through LDAP. http://www.weberdev.com/get_example-3261.html Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. Search for PHP Code from your browser http://toolbar.w

Re: [PHP] PHP/LDAP Authentication

2006-02-19 Thread Kim Christensen
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

Re: [PHP] PHP LDAP search parent group

2004-12-03 Thread Richard Lynch
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

RE: [PHP] PHP / LDAP with Windows logon

2004-11-12 Thread Christopher . Wood
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

Re: [PHP] PHP / LDAP with Windows logon

2004-11-12 Thread Michael Gallant
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

Re: [PHP] PHP LDAP query - need to add Exchange fields

2003-12-18 Thread Stuart
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[$

Re: [PHP] php-ldap - multiple modify actions within a single request

2003-01-07 Thread Michael Sims
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

Re: [PHP] php / ldap

2002-11-04 Thread Stig Venaas
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

Re: [PHP] PHP & LDAP

2001-12-04 Thread Stig Venaas
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

Re: [PHP] PHP, LDAP & ldap_set_option

2001-04-11 Thread Stig Venaas
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Matthieu Le Corre
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Stig Venaas
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Matthieu Le Corre
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Stig Venaas
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Matthieu Le Corre
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Stig Venaas
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Matthieu Le Corre
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

Re: [PHP] PHP LDAP & SSL

2001-03-06 Thread Stig Venaas
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