mellin has asked for the wisdom of the Perl Monks concerning the following question:

I'm a heavy user of this specific module, but lately I stumbled upon something that for some reason has never been an issue for me: boolean value for object attribute.

In Active Directory that has MS Exchange information (extended schema) you have a attribute called "mBDUseDefaults". The value for this is either TRUE or FALSE. I just realized that trying to get the value for this attribute with my $boolean = $object->get_value('mBDUseDefaults') results in undefined scalar variable regardless of what is the actual boolean value in Active Directory.

Long story short, if some one is using the magnificent Net::LDAP, how do you check for Boolean values in Active Directory?

  • Comment on Net::LDAP and Active Directory boolean value