Lorac, it appears that you are attempting to execute the smbpasswd (password) file, not the smbpasswd (script) located in /usr/bin.
 
type this:
 
/usr/bin/smbpasswd
 
this should make a difference
 
Don
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of lorac
Sent: Tuesday, June 11, 2002 5:52 PM
To: [EMAIL PROTECTED]
Subject: [Samba] smbpasswd

Whenever I try to run smbpasswd I get the following error:

root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U: command not found

I generated the file as per the instructions at http://ca.samba.org/samba/docs/ENCRYPTION.html

I'm not sure what it is that is going wrong.

The first few lines of my smbpasswd file look like this...
#
# SMB password file.
#
root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U          ]:LCT-00000000:root
daemon:1:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U          ]:LCT-00000000:daemon

I'm using debian 3.0, with kernel 2.4.18 and samba 2.2.4

lorac

-
"Violence is the last refuge of the incompetent." - Salvor Hardin

ICQ UIN 2123136 Get ICQ http://www.icq.com

Reply via email to