I ran into a problem when I try to add users to AD when using lastname and firstname separate by a comma.example of a DN for the add command is such cn=Doe, Jane,ou=x,dc=xx,dc=com
I know this isn't necessarily helpful, but have you considered not using name as the DN? Names change (Jane marries Mr Bloggs), which means your DN changes and anything hanging off it needs moving. And using something else means you avoid your comma problem!
(apols if you've gone through this already...) cheers,clive
