Re: LDAP: Write to boolean attribute
| From: | Chris | Date: | Wed, 29 Nov 2006 05:53:32 +0000 |
| Subject: | Re: LDAP: Write to boolean attribute | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245263@lists.php.net to get a copy of this message | ||
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/