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
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
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
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
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
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
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
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
>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
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
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 (
"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
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
:[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
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
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
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
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
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
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
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
21 matches
Mail list logo