RE: [PHP] LDAP

2002-05-06 Thread Jon Wahl
Sounds like desired behavior to me. I would think that you may be able to change the password, but aren't allowed to retrieve its value. Cheers > -Original Message- > From: J. Anderson Scarbrough [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 06, 2002 3:03 PM > To: [EMAIL PROTECTED] > S

Re: [PHP] LDAP

2001-06-27 Thread Nick Talbott
Hello, Derek [snip] >However I decided to include another objectclass (uidObject) and now it >returns with: >error - Object class violation >error number - 65 > [snip] > >$ds=ldap_connect("localhost"); >if ($ds) { >$r=ldap_bind($ds, "cn=admin,dc=domain,dc=com","mypassword"); >$rdn

Re: [PHP] ldap

2001-07-17 Thread Dan Lowe
Previously, Johan Vikerskog (ECS) said: > > How do i list the email for that entry? Ill get one answer from this, now > i want to print out the email adress for that entry. > How do i do that? > > $sr=ldap_search($ds, $dn, $filter, $justthese); > $info = ldap_get_entries($ds, $sr); > print $info

Re: [PHP] LDAP question

2002-03-07 Thread Billy Halsey
You don't seem to have LDAP support compiled into PHP. Try running and make sure that you have ldap support. /bsh/ Sven Jacobs wrote: > Hey > > I'm testing LDAP and I seem to have an error > > Call undefined function ldap_connect() > > the code is from php.net > > Can anybody tell me what

Re: [PHP] LDAP sorting

2001-11-28 Thread Stig Venaas
On Wed, Nov 28, 2001 at 03:08:52PM +0930, [EMAIL PROTECTED] wrote: > Hi All- > > Can anyone tell me if PHP's LDAP functions support "server side sorting of > search results" as defined in this RFC: > > http://www.ietf.org/rfc/rfc2891.txt Not currently, maybe it will... Depends on how many want

Re: [PHP] LDAP sorting

2001-11-30 Thread Stig Venaas
The LDAP sorting code I posted a couple of days ago was a bit lacking. Here's a function that should work: function myldap_sort($data, $attr) { // -1 because of the count entry echo "#", $n = count($data) - 1; for ($i=0; $i<$n; $i++) { $a[$i]=$data[$i][$attr][0]; } aso

Re: [PHP] LDAP Listing

2001-02-28 Thread Fredrik Wahlberg
This is a small test I wrote a couple of days ago that does just that. Hope it works for you. /Fredrik >> Ursprungligt meddelande << Mike Tuller <[EMAIL PROTECTED]> skrev 2001-02-28, kl. 01:31:09 angående ämnet [PHP] LDAP Listing: > I want to create a list

Re: [PHP] LDAP problem

2001-03-22 Thread Brett Bandy
Make sure all the dlls used by php3_ldap.dll are available. I have php4 and the php_ldap.dll requires the libsasl.dll to be available. Brett ""almir"" <[EMAIL PROTECTED]> wrote in message 99d00g$j4h$[EMAIL PROTECTED]">news:99d00g$j4h$[EMAIL PROTECTED]... > ok > i am usng php3.0.11 ,IIS4 and NT4

Re: [PHP] LDAP Authentication

2001-05-02 Thread Richard Lynch
>I am trying ot understand how could a PHP script authenticate against a LDAP tree (NDS) that >is not in the same host? > >Anyone has an example about that? No sample code, but I assume you just pass in the IP or hostname of the remote server for http://php.net/manual/en/function.ldap-connect.php

Re: [PHP] Ldap package.

2001-08-15 Thread Rasmus Lerdorf
Install OpenLDAP (www.openldap.org) On Thu, 16 Aug 2001, Johan Vikerskog (ECS) wrote: > I am going to install a LDAP package for my apache-mysql-php web interface. > The question is. > What ldap package to use and how to do it. > > Is there anything else i should de except for: > --with-ldap="ld

RE: [PHP] Ldap package.

2001-08-15 Thread Johan Vikerskog (ECS)
for slapd. //Johan -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: den 16 augusti 2001 08:10 To: Johan Vikerskog (ECS) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Ldap package. Install OpenLDAP (www.openldap.org) On Thu, 16 Aug 2001, Johan Vikerskog (

Re: [PHP] Ldap package.

2001-08-16 Thread Heiko Maiwald
"Johan Vikerskog (ECS)" wrote: > Another problem. > when i try to run the configure for ldap i get the following error message: > checking configure arguments... configure: error: bad value yes for >--with-ldbm_module > > What is the appropriate configure settings for the ldbm? If i try ti

Re: [PHP] LDAP server side sorting

2001-11-28 Thread Stig Venaas
Hi On Tue, Nov 27, 2001 at 04:08:39PM +0200, Christos Sintoris wrote: > Does anybody know how to call ldap_set_option in order to use server side > sorting? > > using: > $sortval="{'cn', 0,1}"; > $ctrl1 = array("oid" => "1.2.840.113556.1.4.473", "value" =>$sortval); > ldap_set_option($ds, LDAP_O

RE: [PHP] LDAP server side sorting

2001-11-28 Thread Christos Sintoris
:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 10:31 AM To: Christos Sintoris Cc: [EMAIL PROTECTED] Subject: Re: [PHP] LDAP server side sorting Hi On Tue, Nov 27, 2001 at 04:08:39PM +0200, Christos Sintoris wrote: > Does anybody know how to call ldap_set_option in order to use server s

Re: [PHP] LDAP server side sorting

2001-11-28 Thread Stig Venaas
On Wed, Nov 28, 2001 at 05:26:22PM +0200, Christos Sintoris wrote: > > Server side sorting is useful when network traffic costs more than > processing time. Yes, there are some exceptions. > The server side sorting control in conjunction with the virtual list > view control returns only a subs

Re: [PHP] ldap rename, anyone? help!

2001-12-27 Thread Stig Venaas
I'll try to help you out. On Wed, Dec 19, 2001 at 04:10:32PM +, Greg Ulyatt wrote: > I can set the LDAP version no problem (from 2 to 3 to have this > function), but every time I try anything with the ldap_rename function, > it comes back as an unsupported call (protocol error). Does anyone o

Re: [PHP] LDAP trouble! Need help

2001-06-21 Thread Stig Venaas
Hei On Wed, Jun 20, 2001 at 03:04:06PM +0200, Stig-Ørjan Smelror wrote: > I have some problems while printing out values of attributes-types which > have "Equality" and/or "Substrings" values. > > Example: > > $get_values = "".$info[0]["title"][0]; # OK. (prints out the value > correct) > > $g

Re: [PHP] LDAP support for 4.0.5

2001-05-02 Thread Mike Tuller
I didn't see that anyone had responded to your question. You need to install OpenLDAP. It is the only opensource one that I know. Mike > From: "Walgamotte, David" <[EMAIL PROTECTED]> > Date: Tue, 1 May 2001 15:03:25 -0500 > To: [EMAIL PROTECTED] > Subject: [PHP] LDAP support for 4.0.5 > > Can a

Re: [PHP] LDAP Search Scope / Schema Retrieval

2002-05-16 Thread Matt Rohrer
On Thu, May 16, 2002 at 09:34:16AM -0500, D Canfield wrote: > Two related questions: > > 1) Is there any work being done to support the retrieval of the LDAP > schema in PHP (similar to Perl's Net::LDAP::Schema)? Is there any other > good way to get this information into PHP? > > 2) Is there an

Re: [PHP] LDAP question PLEASE help me.

2001-07-17 Thread Reuben D Budiardja
Use ldap_get_entries. See here: http://www.php.net/manual/en/function.ldap-get-entries.php Check the bottom of your code, I put something in there. On Tuesday 17 July 2001 07:27 am, Johan Vikerskog (ECS) wrote: > People! >>echo "LDAP query test"; > echo "Connecting ..."; > $ds=ldap_connect("loc

Re: [PHP] LDAP access to MS Exchange server

2001-01-17 Thread Ignacio Vazquez-Abrams
On Wed, 17 Jan 2001, Jonathan Coker wrote: > Hello, >I am trying to get information from an exchange server and LDAP looks > like my best choice. I have never used LDAP before but it appeared to be > fairly straitforward. I installed the OpenLDAP software on a Linux system > running PHP 4.0