Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-22-2002, 11:44 AM   #1
LQ Newbie
Registered: Oct 2002
Posts: 1

Rep: Reputation: 0
Question Debian, Winbind: how to limit user login

Hi everybody,
Im'using a Debian 2.4.19 server with Samba and Winbind joined to a Windows 2000 domain.
Authentication and home directory works fine, but I would like to know if there is some way to select which users in the domain can access this server (in the domain there are >600 users and only 150 of them should be able to login).

By now everyone can access the server and this is not really what I wanted to do.

Is there a way of doing it with a domain group management or something like that?

Thank you!

Old 10-25-2002, 12:49 PM   #2
Registered: Nov 2001
Location: Ontario, Canada
Distribution: RH 7.2
Posts: 31

Rep: Reputation: 15
I had the same concerns but I installed Access Controll Lists and Extended Attributes to tighten my security more.

You can find out more at

It doesn't stop people from logging in but you can restrict any file access to specific groups that way.

Hope this helps a bit anyway.
Old 01-20-2013, 12:00 PM   #3
LQ Newbie
Registered: Oct 2011
Location: Shanghai
Posts: 4

Rep: Reputation: Disabled
This is a old post.

In case someone like me find this post after searching in the internet, here is the answer in modern days, it works on both debian and RHEL\CentOS.


To restrict access to uers in specified groups, add this line require_membership_of = [SID],[SID],[SID]

Replace the [SID] with the proper AD User, or Group, SID. You can find out what users/groups are assigned which SIDs, with this command. wbinfo -n [NAME]



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 login to debian with root user? solutionseeker Linux - Newbie 2 01-29-2005 09:39 AM
Auto login normal user debian a10392 Debian 3 01-14-2005 06:30 AM
Winbind + Bash + Login yvesg Linux - General 1 06-21-2004 05:19 PM
winbind + samba + gdm unable to login with Domain user theowl Linux - Networking 1 06-11-2004 08:30 AM
Two problem about "using pam to limit user login" coolend Linux - General 3 06-04-2004 01:11 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:57 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