LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-19-2008, 02:02 PM   #1
linuxaddict7
LQ Newbie
 
Registered: May 2008
Posts: 17

Rep: Reputation: 0
Talking Restrict Samba Users on RHEL4


Hello Folks, I have been trying to configure this for long but w/o any luck.

I have RHEL3/4 Hosts authenticating MS Active Directory using winbind. What I am trying to achive is restrict the hosts to only limited users or groups.

I am using /etc/security/access.conf to add users and groups. My problem is that since all the Active Directory users are member of "Domain Users". The access.conf does not recognise groups with spaces, so I cant restrict 'Domain Users".

If someone can help me how to workaround this or alternative method to restrict logins, that will be great help.

Thank you very much!!

Cheers,
~LA
 
Old 06-03-2008, 09:10 AM   #2
Uxinn
Member
 
Registered: May 2008
Location: Iceland
Distribution: Ubuntu Hardy
Posts: 47

Rep: Reputation: 16
I restrict users from within smb.conf by using :
valid users = DOMAINNAME+username

Only these users are allowed to open this share.

I also use "browsable = no", too keep it invisible on the network.


Regards,
Uxinn
 
  


Reply

Tags
access, user


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
how to restrict other users accessing my shared on samba sundar1712 Red Hat 1 08-25-2007 04:14 PM
samba PDC - how to restrict users with time lakshminarayan Linux - Server 0 04-18-2007 07:14 AM
Restrict what commands users can use? jasone *BSD 1 11-30-2006 06:50 AM
Unable to validate users against Directory Users in RHEL4 Felipe Red Hat 0 10-27-2006 06:39 AM
How to restrict email from users... Supp0rtLinux Linux - Software 1 01-08-2003 03:37 AM


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

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