williey
Technical User
- Jan 21, 2004
- 242
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.
How can I get around the error?
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.
Code:
$dn="$cn,$xyz_base,$base2";
How can I get around the error?