Bug 4270 - smbpasswd -U -r command run as root prompts for existing password
smbpasswd -U -r command run as root prompts for existing password
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.7
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-29 17:05 UTC by Andy Lennard
Modified: 2006-11-29 17:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Lennard 2006-11-29 17:05:26 UTC
If smbpasswd is run as root, then on the local machine it doesn't prompt for the existing user password.

However, if you run smbpasswd -U <user> -r <remote> as root you get prompted for the user's old password on the remote machine first. Unless you get this right, the new password cannot be set.

In my case, root passwords on both machines are identical. If you give the correct remote user's password then you can set a new password, so there seems to be nothing wrong in the connection between machines.