Names & Passwords

This year I will have my students save their work in their linux home directory using samba.  I've typed in a few names.  They are stored in /etc/passwd. But when I try to access my samba shares it keeps asking for a passwd.  It only lets me enter the share when I retype the user and password with the smbpasswd command.  Is there someway I can have samba recognize the users and passwords in the /etc/passwd file without having to retype the info again.
Who is Participating?
jlevieConnect With a Mentor Commented:
You must have an SMB encrypted password for Samba clients and that's what smbpasswd creates. Windows and Linux use different encryption methods and since the encryption methods are one-way (meaning the clear text password can't be retrieved from the encrypted string) you have to have both forms of the password available. It is possible on at least some Linux distros to arrainge for users created for linux to have their SMB passwords also created with smbpasswd.

are the usernames and passwords the same as the users windows login and passwords?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.