patch to sync firstName and lastName
edit /etc/pve/domains.cfg
sync_attributes email=mail,firstname=givenName,lastname=sn
if use non asci symbols in fisrtname or lastname values for active directory users use this patch
sed -i -r 's/(\$ret->\{\$username\}->\{\$ours\} =...