[Samba] again: password reset on NT
Jochen Keutel
mlists at keutel.de
Fri Dec 5 19:26:38 GMT 2003
Hello,
I'm quite new to the Samba world, so may be my
question was stupid or difficult to understand or whatever.
Another try - the question is:
Can I use any Samba tool to:
- bind to an NT PDC as administrator
- set the password of another user to a new value (without
knowing the old value)
In LDAP terms (this is the topic I know ...) it would be:
ldapmodify -D "cn=administrator,dc=company,dc=com" -w secret
-h pdc_host -p 389
dn: uid=123,dc=company,dc=com
changetype: modify
replace: userPassword
userPassword: newpassword
Any hint is appreciated.
Thanks, Jochen.
> Hello,
> I'd like to do the following:
>
> We have a NT domain, built as usually (PDC, BDC).
> Now we want to set passwords of normal NT user accounts -
> but from outside the windows world. Esp. we need a
> client on Unix (e.g. Solaris) which is able to set / reset
> NT passwords.
> This means: The NT administrator (or someone with
> administrative privileges in the NT domain) wants to set the
> NT password of a normal NT user "jochen" - without
> knowing the old password of "jochen".
> This is what support people do when they get
> calls "I've forgotten my NT password".
>
> I think Samba would be the right tool ... But:
> I tried what smbpasswd does, and I've read the manual
> pages. It seems to be possible to change my own
> password on NT using
>
> smbpasswd -r pdc_host -U jochen
>
> ; but I think the following doesn't work:
>
> smbpasswd -r pdc_host -U administrator%secret jochen
>
> Any hint is appreciated.
>
> Regards, Jochen.
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list