LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-08-2006, 01:39 PM   #1
MandrivaUser
Member
 
Registered: Jul 2005
Location: Boston, MA
Posts: 32

Rep: Reputation: 15
How do windows client have access to a Samba server


Hello Guys,

I need to figure how I can configure my linux server smb.conf file to accept log in connections. In other words, from the windows client when I click on share file on the linux server it requires me the login name and password, but when I use root account which set up on the Linux server and password it will not let me in. Do I need to create a samba user or do I need to make any configuration on any other samba file?

Right now I set it up like the follow:

[home]

comment = web
path =/var/www/html/
guest ok = yes
browseable= yes
writeable = yes

This way any one has access to this share file, but I don't want that. We want to be accessible by authorize users.


Thank you for your help guys
 
Old 02-08-2006, 01:58 PM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
You'd change the permissions on the folder so that only a particular group or certain users could access it, the same way you would adjust permissions on a normal folder. How you integrate those users + groups depends on how your clients are currently authenticating. You could have all your users within the Samba database and log your Windows machine in against that, or configure it to talk with an LDAP database. I think you could use winbind + PAM to pull the existing Windows workgroup / domain groups + users across but I've never tried it.

How are your users currently logging in to their Windows machines and where are these user accounts stored?
 
Old 02-08-2006, 02:13 PM   #3
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
please note that a 'using samba' electronic book is provided with samba. please read this as it will answer nearly all of your questions. it also explains how windows networking works and how to configure MS windows clients...

very good..........
 
Old 02-08-2006, 02:16 PM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
fyi:

http://www.oreilly.com/catalog/samba/chapter/book/

Please samba people. you will save yourself so much time if you read this book!

so so much.... just dont hurt yourself....
 
Old 02-08-2006, 03:27 PM   #5
MandrivaUser
Member
 
Registered: Jul 2005
Location: Boston, MA
Posts: 32

Original Poster
Rep: Reputation: 15
Thank you guys for your answers.

To fouldsy:
I actually don't know how they are logged in. The primary network is a windows-based, but I was asked by our IT guy to build a Linux Web Server which the company web will reside and test. I was able to add the linux machine on the Network, but again I had to allow anyone to access as I did not know how to only authorize certain people. Maybe by clarifying me on your question "How are your users currently logging in to their Windows machines and where are these user accounts stored?" might help.

To Satinet:

It is really good ressource for Samba. Thanks a lot
 
Old 02-08-2006, 03:44 PM   #6
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
So all your user + group accounts are held within the MS Active Directory from the sounds of it - you might want to sit down with your IT guy and find out exactly how the users are authenticating and against what domain controllers.

The resources provided by satinet will be of more help than me re-hashing instructions for providing access rights to your shared drives - it's not overly complicated, but what is it you're actually trying to achieve? Initially I thought you must be trying to bring a fileserver online, but if it's a webserver, why are you trying to mount drives and give access to it? If you're looking at such a number of people requiring write access to modify the content, you might be better off looking at some kind of content management system to power your intranet / internet site such as Drupal or Mambo.
 
  


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
Connecting Windows XP client to Samba server srini2001 Linux - Networking 5 03-15-2006 10:25 AM
Windows XP client to a Samba server jborn Linux - Networking 1 12-11-2005 12:35 AM
Access Windows Server with a linux client sailu_mvn Linux - Software 8 11-21-2005 07:54 PM
FC3 Samba Server + Windows ME Client DoubleOTeC Linux - Networking 4 07-25-2005 12:46 PM
XP Client Returns 'Access is Denied' Error When Trying to Connect to a Samba Server BuckRogers01 Linux - Networking 1 05-25-2005 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration