Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-19-2008, 03:02 PM   #1
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!!

Old 06-03-2008, 10:10 AM   #2
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.



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

All times are GMT -5. The time now is 12:20 PM.

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