Re: LDAP: Write to boolean attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Carsten Gehling wrote:
Hi,

I am using PHP's LDAP to read and write information fron user-objects
in Active Directory (Windows Server 2003).

The AD has been extended with 2 attributes (call them "xx" and "yy")
with the field type BOOLEAN

How do i write to these fields?

If I use ldap_mod_replace, and set the values for these fields to eg.
0 or 1, I get a "Syntaxt error" from LDAP.

You posted this before, no need to send it again.

Maybe try true/false instead of 0/1 ?

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux