LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2006, 06:07 PM   #1
jtbmoore
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Rep: Reputation: 0
linux shares accessed by windows users


I am interested in installing a linux server(probably fedora core 4) at one of our remote sites. I have a Windows 2003 server at the site. I want the Linux server to be just a file and print server. I also want my windows users to access these file shares without being prompted for a password. Is this possible and if so can someone point me in the right directions.

Thanks
 
Old 02-27-2006, 07:08 PM   #2
jtbmoore
LQ Newbie
 
Registered: Aug 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I got the linux server added to my AD. If I create a linux user that matches my windows user I can access the share after entering my windows username and password. Do I have to add a username on my linux box that matches my windows username. This is a problem since we will have 40 or 50 people accessing the linux share.

Thanks
 
Old 02-28-2006, 04:25 PM   #3
Dmjmusser
Member
 
Registered: Nov 2005
Location: Detroit, Michigan -- USA
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Looks like a Samba issue here. If Linux/Samba-based security for accessing the share isn't an issue (and I'm imagining it isn't since you're using Active Directory), then you should just be able to make the share and your printer(s) public. I'm not too familiar with CUPS and what-not for printing in Linux, but I can help you with making the Samba share public.

You'll need to create/edit the smb.conf file (the main Samba configuration file). I'd would just move the pre-existing smb.conf file somewhere else and start new; it has too many things in it you don't need for your setup. The default location for this file in FC4 is /etc/samba/smb.conf.

Create the smb.conf file like this:

[global]
workgroup name = workgroup
netbios name = server_name
security = share
printcap name = cups
disable spoolss = Yes
show add printer wizard = No
printing = cups

[share]
comment = public_share
path = path_to_share_mount (i.e.: "/data")
read only = no
guest ok = yes
force create mode = 0777
force directory = 0777

#End of File


That should do you just fine. If you don't want people to be able to write to the server, except the owner, then you can change the "read only" switch to "yes". The "force create mode" and "force directory mode" will force any files written to the share to have those permissions. They're not necessary if you make this server read-only.

For more info about printing in Samba, you could check out samba.org.

Regards,

~Myles
 
  


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
Viewing Windows shares through Linux lin00b Linux - Networking 0 07-22-2004 04:13 AM
pyxdg not able to be accessed by normal users for gdesklets Cynar Linux - Software 3 06-04-2004 01:20 PM
Access windows shares from Linux crossconnects Linux - Networking 4 04-23-2004 05:22 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM
Seeing windows shares with linux dragin33 Linux - Software 1 04-22-2003 12:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration