LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-15-2011, 04:47 PM   #1
joeldavis
LQ Newbie
 
Registered: Mar 2011
Posts: 28

Rep: Reputation: 1
Are multiple ldap_access_filter values possible in SSSD?


Basically, I'm already filtering for one group but there's a second group that needs access, and I'm not sure how to accomplish that.

- Joel
 
Old 12-16-2011, 04:08 PM   #2
joeldavis
LQ Newbie
 
Registered: Mar 2011
Posts: 28

Original Poster
Rep: Reputation: 1
As an answer to this for posterity:

Quote:
ldap_access_filter = (|(groupMembership=cn=Linux_Adm,ou=services,o=vault)(groupMembership=cn=CommEngineers,ou=services,o= vault))
where "groupMembership" is the LDAP attribute that establishes group membership (which in NDS is called "groupMembership"). There's no line break, that's just text wrap on the CODE block. THe above obviously does a logical OR on the two groups, you can to a logical AND by just replacing the "|" at the beginning with a "&"

Last edited by joeldavis; 12-16-2011 at 04:12 PM.
 
Old 08-25-2017, 06:41 PM   #3
dciwill
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Rep: Reputation: Disabled
And what about 3 or more groups? i have the same issue.
 
  


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
[SOLVED] Checking variable against multiple values ksushants Linux - Newbie 6 03-02-2011 09:27 AM
Multiple values in a search option gene.rye Linux - Newbie 3 11-29-2010 10:13 AM
matching multiple values in awk vgr12386 Programming 3 06-15-2009 03:54 AM
Enter multiple values and display them all at once ckoniecny Programming 0 10-17-2006 03:57 PM
xmodmap for multiple values malo_umoran Slackware 3 03-27-2005 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:28 PM.

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