error with smbpasswd -a -m

Tim Winders twinders at SPC.cc.tx.us
Mon May 18 19:32:43 GMT 1998


I am trying to add a machine account to my smbpasswd database but I am
having problems.  The machine name is phone.  I have added a user called
phone$ to the /etc/passwd database with a shell of /bin/false.  When I try
to add the account to the smbpasswd file I get this error:

# smbpasswd -a -m phone
smbpasswd: Failed to open password file /usr/local/samba/private/smbpasswd.
smbpasswd: Invalid argument

I thought there might be a problem with the code, so I downloaded the
latest CVS HEAD branch, but it won't compile.  This is on Digital Unix
4.0D.  Any thoughts?

=== Tim

---------------------------------------------------------------------
|  Tim Winders, CNE, MCSE        |  Email:  TWinders at SPC.cc.tx.us   |
|  Network Administrator         |  Phone:  806-894-9611 x 2369     |
|  South Plains College          |  Fax:    806-897-4711            |
---------------------------------------------------------------------




More information about the samba-ntdom mailing list