Solved

Names & Passwords

Posted on 2001-08-24
2
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 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