It appears like there is a bug in the description and the error is caused by the "," character.. I will record it and we will consider fixing it.
Account-Expires - this should really be a 64bit integer defined as a number of "ticks" since January 1, Year 0001. There are 10000 ticks in a millisecond. I understand this is not much usable, we'll see what we can do about it.
Canonical name - Active Directory schema requries canonical name to be in format myserver2.fabrikam.com/users/jeffsmith. See Canonical-Name attribute for more info.
Thanks for the answer. The cn was really the only field that I was not going to be able to cope with. About the account-expires field, I found this article. Im not sure what language your program is written in, but I found a script on TechNet for Powershell, I think.