Displaying 1 result from an estimated 1 matches for "uadminnam".
Did you mean:
uadminname
2004 Aug 20
0
Creating domain users in AD from Linux
...or suggesting it) and it worked.
$ net rpc user add foobar -S pdcname -Uadmin%adminpassword
Two things left: password and (as I discovered later)
userAccountControl.
`net rpc password' did not work, `net ads password' did (go figure).
$ net ads password foobar secret -S pdcname -Uadminname%adminpassword
Also doing that with ldapmodify works:
$ cat >changepwd.ldif
dn: CN=foobar,CN=Users,DC=yoursite,DC=com
changetype: modify
replace: unicodePwd
$ cleartext2unicodepwd secret >>changepwd.ldif
$ cat changepwd.ldif
dn: CN=foobar,CN=Users,DC=yoursite...