Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to grab some files off of a computer that no longer boots to OS.

On the SRCD computer:

  • I put in SRCD, boot, and make sure that I can ping the other computer (say I set the IP to and the hostname to sysresccd)
  • I use ntfs-3g to mount the windows partition to /mnt/windows.
  • I chmod the /mnt/windows partition to 777
  • I edit /etc/samba/smb.conf.default and put in this:

path = /mnt/windows
public = yes
writable = yes
printable = no
browsable = yes

  • I use passwd to change the root password to password
  • I start up smbd

On the Windows 7 computer:

  • I go to Explorer, type in \\\public and it comes up with a Windows Security dialog box
  • I enter username sysresccd\root and password password

It keeps telling me that ‘The specified network password is not correct’
Is there a step that I'm missing?

share|improve this question
up vote 2 down vote accepted

Samba doesn't use the Unix password database because the hashes are stored in a format that is not compatible with CIFS. You need to use the command smbpasswd username to update the samba password database.

share|improve this answer
You are awesome. That was the answer, but System Rescue CD didn't come with smbpasswd installed so I used pdbedit -a -u root to get the smb user in there. Thanks! – blsub6 Mar 14 '12 at 7:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.