[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Password File Lock - Samba
- Subject: RE: [cobalt-developers] Password File Lock - Samba
- From: "Jim Thomas" <jimt@xxxxxxxxxxx>
- Date: Wed Apr 5 17:36:24 2000
I have Raq2s and Raq3s running samba with encrypted passwords. To install
this support do the following:
1. Follow the instructions in the following cobalt knowledge base article to
the letter: 'How do I enable Windows file sharing on the RaQ?'. Just search
for 'smb' and you will find it.
2. In the share section of the smb.conf file, you added your own share name.
Find the 'valid users = admin' line, then add another user id to the end.
This is the id that you want to use to connect to the share from windows
(this should be identical to one of your windows logon ids, and should also
be an existing linux id). Make sure the linux userid and the windows userid
both have the same password.
3. Change the 'encrypt passwords = no' line in smb.conf to yes.
4. You should also add an 'admin users =' line using the same ids as in the
'valid users =' line, and a 'guest ok = no' line.
5. Run smbpasswd -a userid. Use the userid added in step 2. Press enter
for the old password, then type the password for the userid added in step 2.
6. Make sure you do not enable plain text passwords on windows.
7. Restart smb: /etc/rc.d/init.d/smb restart
8. Now, logon to a windows machine using the userid from step 2. You should
now be able to connect to your share using explorer.
Note that the above gives the added id full permissions to overwrite
anything, so be careful what you share! You will want to use a very strong
password for the userid that you choose.
As for the problem with adding users from the web interface. I have never
seen this problem. It is probably unrelated to smb. Maybe you
inadvertently changed something when you were setting this up?
FYI - Entering 'su root' from any userid is the same as logging in as root.
Good luck...
Jim