[PHP] LDAP: Write boolean attribute in Active Directory

2006-11-28 Thread Carsten Gehling

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

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



[PHP] LDAP: Write boolean attribute in Active Directory

2006-11-28 Thread Carsten Gehling

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

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