What happened to "smbpasswd -a -m"?

canfield canfield at uindy.edu
Sat Jun 26 01:47:17 GMT 1999

You have to be root in order to use the -m flag.  Otherwise it doesn't even
show up as an option.
I'm not sure if this is documented, but it's confused me on several occasions
as well.


Juan Ignacio Del Valle Gamboa wrote:

> Hi.
> I've been recently testing Samba 2.0.4 on a Debian 2.1 box; and when i
> tried to add my first machine account I did what I've been doing with
> version 2.0.0: "smbpasswd -a -m MACHINE$'. However, after reassuring
> myself that the machine account was properly created in the /etc/passwd
> and /etc/shadow, I figured out what was wrong: the '-m' parameter no
> longer exists.
> I checked recent comments on this topic in this list, yet all the
> instructions given here include the '-m' after 'smbpasswd -a'. What
> exactly did I miss here? The documentation that comes with the Samba
> package is a little bit out of date; and the man pages didn't give me any
> clue.
> Thanks in advance for your help.
> *****************************************
> Juan Ignacio Del Valle Gamboa
> Asistente - Laboratorios Ingenieria
> Universidad de Costa Rica
> juan at 4u.net
> *****************************************

More information about the samba-ntdom mailing list