LDAP: Write boolean attribute in Active Directory

From: Date: Tue, 28 Nov 2006 15:18:55 +0000
Subject: LDAP: Write boolean attribute in Active Directory
Groups: php.general 
Request: Send a blank email to php-general+get-245233@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

« previous php.general (#245233) next »