Solved

Names & Passwords

Posted on 2001-08-24
2
186 Views
Last Modified: 2010-03-18
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.
0
Comment
Question by:lynn402
2 Comments
 
LVL 28

Expert Comment

by:vinnyd79
ID: 6423604

are the usernames and passwords the same as the users windows login and passwords?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6424226
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.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question