Jump to content



Photo

dsadd error


  • This topic is locked This topic is locked
1 reply to this topic

#1 AdverseDeviant

AdverseDeviant

    Neowinian Senior

  • Joined: 11-February 06
  • Location: VA, USA

Posted 14 June 2012 - 18:06

i wrote a java program that takes a txt file with users data and creates a bat file that adds users to active directory but for some reason some users aren't adding. this is an example syntax for one of the users that isn't adding:

dsadd user "cn=OHR,ou=GradStudents,dc=math,dc=sc,dc=edu" -pwd 000000000 -fn RICHARD -mi MICHAEL -ln OH -email OHR@test.sc.edu -mustchpwd yes -profile \\USCMARS\Profiles\GradStudents\OHR -hmdir \\USCMARS\GradStudents\OHR -hmdrv Z:

the error that im getting is:

dsadd failed:cn=OHR,ou=GradStudents,dc=math,dc=sc,dc=edu:A value foe the attribute was not in the acceptable range of values.

ive tried researching it but found nothing. does anyone have any ideas? thanks.


#2 OP AdverseDeviant

AdverseDeviant

    Neowinian Senior

  • Joined: 11-February 06
  • Location: VA, USA

Posted 14 June 2012 - 19:04

n/m i figured it out



Click here to login or here to register to remove this ad, it's free!