LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-27-2012, 02:20 AM   #1
Panupat
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Rep: Reputation: 0
Samba - allow only certain Window's user?


Hi.

Currently we're running linux file servers using Samba, while all work stations are windows 7. We have no domain, the accounts are created and stored locally on each PC.

Every machines have accounts called "Employee" and "Student"

Is there a way to set Samba so that it only allow "Employee" to access the shared directories but not "Student"? Can Samba detects windows' user account?

I tried to add "valid users Employee" to smb.conf but then the entire office lost access to the file server.

Any help appreciate. Thanks.
 
Old 11-27-2012, 02:46 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
without domain samba cannot handle users on windows. Therefore I suggest you to create special users on the samba server and use that account to connect (from windows).
 
  


Reply



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
Samba PDC + OpenLDAP + Samba Windows 7 user name length Jantoni Linux - Server 2 04-19-2011 01:50 AM
SAMBA - unix user created, added to samba, and valid users on share, still cannot... mitchell7man Linux - Server 12 03-17-2010 08:37 PM
Is there any way to log user samba who delete or move files/folders on samba server ? b-RAM Linux - Server 1 02-09-2010 12:33 AM
samba(global security=user) useful tools for client.ex: user change password. hocheetiong Linux - Newbie 1 03-18-2008 09:20 AM
Samba user switching under Window$ thecow Linux - Networking 1 02-24-2004 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:29 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
Open Source Consulting | Domain Registration