LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-03-2006, 06:04 PM   #1
isara
LQ Newbie
 
Registered: Nov 2006
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
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.
 
Old 11-04-2006, 01:02 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
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,
 
Old 11-04-2006, 01:06 AM   #3
isara
LQ Newbie
 
Registered: Nov 2006
Distribution: Red Hat
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 11-06-2006, 12:39 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Red Hat Magazine August: How to set up a home web server LXer Syndicated Linux News 0 08-23-2006 07:54 PM
How do I set up the web server on Red Hat 8.0 RSNServer Linux - Software 7 07-30-2005 06:29 AM
Set autologin with default user on Red Hat Enterprise 3 dmanchepalli Linux - General 6 02-02-2005 12:08 PM
Set autologin with default user on Red Hat Enterprise 3 dmanchepalli Red Hat 1 02-01-2005 04:01 PM
how to set up FTP server on Red Hat Linux 8 therock Linux - Newbie 1 01-14-2003 05:08 AM


All times are GMT -5. The time now is 11:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration