I'm attempting to update a boolean attribute in the directory and can't
seem to figure it out - I get an invalid attribute syntax. When updating a
string attribute the following works just fine:

LdapAttribute LastName = new LdapAttribute("sn",pv.PropertyValue.ToString());
modList.Add(new LdapModification(LdapModification.REPLACE, LastName));

BUT

sbyte[] Age = new sbyte[] { XXXXX };
LdapAttribute Over18 = new LdapAttribute("Over18", Age);
modList.Add(new LdapModification(LdapModification.REPLACE, Over18));

doesnt work -
in place of XXXXX I've tried a number of different items , but keep hitting
the error.

Any ideas?

thanks!

Eric