Solved

Names & Passwords

Posted on 2001-08-24
2
179 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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