public void TestLdapAttributeGetBytesString()
        {
            var attribute = new LdapAttribute(UniversalDataType.OctetString, "dc=karakorum,dc=net");

            Assert.AreEqual("041364633d6b6172616b6f72756d2c64633d6e6574", Utils.ByteArrayToString(attribute.GetBytes()));
        }
        public void TestLdapAttributeGetBytes()
        {
            var attribute = new LdapAttribute(UniversalDataType.Integer, (Byte)1);

            Assert.AreEqual("020101", Utils.ByteArrayToString(attribute.GetBytes()));
        }
        public void TestLdapAttributeGetBytesBoolean2()
        {
            var attribute = new LdapAttribute(UniversalDataType.Boolean, false);

            Assert.AreEqual("010100", Utils.ByteArrayToString(attribute.GetBytes()));
        }