A
Arnfinn Vartdal
I create users from a database by creating a batch file containing records
like this:
dsadd user CN="Matias Ytterland",OU=OUElevar,DC=dm-ourdomain,DC=local -samid
04matias -upn (e-mail address removed) -fn "Matias" -ln
Ytterland -display "Matias Ytterland, 8a" -desc "Klasse 04a" -memberof
CN=04a,OU=OUElevar,DC=dm-ourdomain,DC=local -email
(e-mail address removed) -hmdir \\ourserver\elevar$\04\04matias -hmdrv
z: -profile \\ourserver\profiles$\elevar\04\04matias -canchpwd no -pwd
werqaore -pwdneverexpires yes
Problem: The directory \\ourserver\elevar$\04\04matias is not created.
If i open the account in "Active Directory Users and Computers" and change a
letter so I can use the "Apply" button, the directory is created.
Domain, OU and groups are created in advance.
Directory \\ourserver\elevar$ is created as a share where administrators
have full control
Where do I go wrong?
Arnfinn
like this:
dsadd user CN="Matias Ytterland",OU=OUElevar,DC=dm-ourdomain,DC=local -samid
04matias -upn (e-mail address removed) -fn "Matias" -ln
Ytterland -display "Matias Ytterland, 8a" -desc "Klasse 04a" -memberof
CN=04a,OU=OUElevar,DC=dm-ourdomain,DC=local -email
(e-mail address removed) -hmdir \\ourserver\elevar$\04\04matias -hmdrv
z: -profile \\ourserver\profiles$\elevar\04\04matias -canchpwd no -pwd
werqaore -pwdneverexpires yes
Problem: The directory \\ourserver\elevar$\04\04matias is not created.
If i open the account in "Active Directory Users and Computers" and change a
letter so I can use the "Apply" button, the directory is created.
Domain, OU and groups are created in advance.
Directory \\ourserver\elevar$ is created as a share where administrators
have full control
Where do I go wrong?
Arnfinn