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

It results in problem 2006 (BAD_NAME) error.

I use a combination of variables to create the DN.

$dn="$cn,$xyz_base,$base2";

How can I get around the error?

Thanks!

Will

Reply via email to