| Red Hat This forum is for the discussion of Red Hat Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-03-2006, 06:04 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2006
Distribution: Red Hat
Posts: 2
Rep:
|
How do I set up a new user so that they can see a folder on a Red Hat server?
Hi everyone. Newbie question here.
I have used Samba to give read/write permission for one folder to users in my group. I added a user to my group, but I'm still not able to log on to the server(through a Windows machine) using the new user's name and password. I can log on using my own name and password, though, so the issue doesn't seem to be Windows.
Does anyone have a handy guide or instructions outlining exactly what I need to do in Red Hat to allow a user to access a folder through a Windows network? I feel like I'm just flying blind here (being neither Linux-savvy nor network-savvy).
Thanks so much in advance.
|
|
|
|
11-04-2006, 01:02 AM
|
#2
|
|
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,467
Rep:
|
Hi
Here's my smb.conf. Maybe it'll help you out - it allows the Windows machines with the listed IPs to directly access the configured share on my Linux machine, for reading and writing, with no passwords required from the Windows machines. Which seems to be what you want to do? Take note that it is not very secure, though - I've basically ignored all security precautions just to get it working as quickly as possible:
[global]
netbios name = stefan
workgroup = GOEDEHOOP10
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 169.254.255.10 169.254.255.11 169.254.255.20 169.254.255.30 127.0.0.1 169.254.255.40 169.254.255.50 169.254.255.60 169.254.255.70 169.254.255.80
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes
[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes
Additionally, with the above, you don't seem to need to create Samba users at all. Anybody who is one of the listed machines can get read and write access to the share on my Linux box. All they need to do on the XP machines is to add a new network place, and list my machine by IP with \shared at the end.
Works beautifully. Let us know how you get on.
Regards,
|
|
|
|
11-04-2006, 01:06 AM
|
#3
|
|
LQ Newbie
Registered: Nov 2006
Distribution: Red Hat
Posts: 2
Original Poster
Rep:
|
Hey thanks Stefan. As this is a work machine, it does require a high level of security. I know that what I'm asking for can be done (since my consultant set it up for me before - but he seems to have disappeared), but because I was only trying to figure it out intuitively, I seem to have missed some step somewhere along the line.
|
|
|
|
11-06-2006, 12:39 AM
|
#4
|
|
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,467
Rep:
|
Well, the above should be a starting point then. Once you get the above setup going, maybe it'd be best to incrementally start setting it up in a more secure guise?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:31 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|