Bug 4270 - smbpasswd -U -r command run as root prompts for existing password
Summary: smbpasswd -U -r command run as root prompts for existing password
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.7
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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.