On Thu, Aug 01, 2002 at 09:52:12AM -0400, Chad Day wrote:
Also tried that, no success, unless I am missing something.
...
$info[st]=stchanged!;
...
ldap_modify($ds, 'uid=testing,cn=online-leagues.com', $info);
Fatal error: LDAP: Unknown Attribute in the
I think your problem is that you are passing the output of
ldap_get_entries() directly back into ldap_modify(). ldap_get_entries()
returns an array of result elements whereas ldap_modify() is expecting a
single element.
So, to change the 'st' attribute for the uid=testing record, you should
/ldapform.php on line 31
Chad
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 9:41 AM
To: Chad Day
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] ldap_modify parameters?
I think your problem is that you are passing the output of
ldap_get_entries
3 matches
Mail list logo