[Samba] smbpasswd

Christian Barth barth at cck.uni-kl.de
Tue Jun 11 23:26:03 GMT 2002


Do not mix the smbpasswd file and the smbpasswd program. You have to 
run the the programm (/usr/local/samba/bin/smbpasswd) to change the 
file (/usr/local/samba/private/smbpasswd). You are trying to run the 
file.

Christian


> Whenever I try to run smbpasswd I get the following error:
> 
> root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XX:[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:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XX:[U ]:LCT-00000000:root
> daemon:1:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXX
> XXXX:[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>http://www.icq.com


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^





More information about the samba mailing list