Re: dsmod -u & -p problems



Hi,

The only time you need an SSL connection is when you change passwords, so I
suspect that is the problem. When the command fails you may be unable to
establish an SSL connection with the DC. I remember being prompted for
credentials on Win9x clients (to no avail) when I attempted to set
passwords. I could change anything except passwords because of this.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net

<geekbsd@xxxxxxxxx> wrote in message
news:1143765269.003950.265820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello I am running a windows 2003/2000 Active directory.
My workstation is a Windows XP PRO
I am having trouble with this command running

"dsmod user CN=user,ou=Users,DC=domain -u
CN=administrator,ou=Users,DC=domain -p * -pwd 1234"

when I remote desktop into my server (2003) as the domain\administrator
it worked perfectly. when I logon as the "domain\administrator" to my
workstation the follow command ran perfectly. When I am logged into my
workstation has me it does not and I get this

"Enter Password:
(domain\administrator's password is entered)
dsmod failed:The parameter is incorrect.
type dsmod /? for help."

I changed nothing in the command. in fact I copied and pasted the
command all three times (from a txt file). I have tired changing the
-u to the full distinguished name, & to just administrator
I tried changing the -p to the password, & putting the password in "",
& tried dropping the -p. I tried adding the -s or -d
-pwd is the only dsmod switch that gives me this error. others like
-mustchpwd -canchpwd -pwdneverexpires etc work great.
Thank you taking the time to read this



.



Relevant Pages

  • Re: bulk import LDIF file to modify users password, Windows 2003
    ... If the user passwords are variable per user, ... Otherwise a simple two line dsquery | dsmod negates the ldif export \ ... criteria and pipe that to the dsmod command so that you ... "Scott Lowe" wrote: ...
    (microsoft.public.windows.server.active_directory)
  • Re: DSMOD command question
    ... You cannot modify user passwords with dsmod group. ... command and then pipe the result to the dsmod command. ... The dsquery command find all users in the Teachers OU, ...
    (microsoft.public.windows.server.scripting)
  • Re: Admin OU password change
    ... > decides that this person is in charge of passwords for the entire ... > domain because IT isnt far enough up the chain of command to be held ... > (for security reasons) but yet you are an AD admin and could change it ...
    (microsoft.public.win2000.active_directory)
  • Re: Security in Win 2000 Vs. Win XP Pro
    ... Members of any group other than "Administrators" or explicitly ... This command option runs in Windows NT 4, Windows 2000, and Windows XP ... This information along with other Control Panel options can be found at the ... > change/reset all administrator passwords, ...
    (microsoft.public.win2000.security)
  • Re: Recommend Linux Distro, Mail/MTA/FTP daemon?
    ... or integrate it easily with throwaway accounts and file ... > change passwords or add users for their virtual domains:P ... reliable CGI to manipulate user accounts ... I work from the command line, and have never been asked something ...
    (comp.os.linux.setup)