LDAP: Write to boolean attribute
| From: | Carsten Gehling | Date: | Wed, 29 Nov 2006 05:46:17 +0000 |
| Subject: | LDAP: Write to boolean attribute | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-245262@lists.php.net to get a copy of this message | ||
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.
Kind regards,
Carsten Gehling