Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-28 Thread Sumit Bose
On Wed, Jan 27, 2016 at 06:53:43PM +, Birnbaum, Warren (ETW) wrote: > I started this post with a simple question: ³is it possible to have HBAC > work with AD authenticated users². I was not able from the tips provided > to get any further with this. > > What I have not been able to have

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-27 Thread Birnbaum, Warren (ETW)
I started this post with a simple question: ³is it possible to have HBAC work with AD authenticated users². I was not able from the tips provided to get any further with this. What I have not been able to have addressed is, if there are no HBAC rules, there should be no access, or if there is

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-27 Thread Alexander Bokovoy
On Wed, 27 Jan 2016, Birnbaum, Warren (ETW) wrote: I started this post with a simple question: ³is it possible to have HBAC work with AD authenticated users². I was not able from the tips provided to get any further with this. Have you tried to read actual documentation? From your attempts it

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-25 Thread Birnbaum, Warren (ETW)
My system-auth-ac files looks like: authrequired pam_env.so authsufficientpam_unix.so nullok try_first_pass authrequisite pam_succeed_if.so uid >= 1000 quiet_success authsufficientpam_sss.so use_first_pass authrequired pam_deny.so

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-25 Thread Alexander Bokovoy
On Mon, 25 Jan 2016, Birnbaum, Warren (ETW) wrote: Thanks Alexander. Is there a place where there are example pam stacks that work with active directory and hbac? Defaults in RHEL/Fedora should be enough: - install RHEL/Fedora, - apply ipa-client-install, then you get proper setup. That's

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-25 Thread Birnbaum, Warren (ETW)
OK. I have done this and am using the pam stack that is the result of what you here describe. A few threads back you mentioned that this could be a reason why my hbac are not restricting access. I have no hbac rules currently and any active directory user can access any host. Is there

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-25 Thread Alexander Bokovoy
On Mon, 25 Jan 2016, Birnbaum, Warren (ETW) wrote: OK. I have done this and am using the pam stack that is the result of what you here describe. A few threads back you mentioned that this could be a reason why my hbac are not restricting access. I have no hbac rules currently and any active

[Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-22 Thread Birnbaum, Warren (ETW)
Hi. I have a been successful using Freeipa 4.1 configuring active directory users and with sudo. The problem I am having is that the HBAC rules are not applying to my active directory users. They have access to all systems even if I disable my Allow_ALL rule. Is there something special I

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-22 Thread Jakub Hrozek
On Fri, Jan 22, 2016 at 09:27:40AM +, Birnbaum, Warren (ETW) wrote: > Hi. > > I have a been successful using Freeipa 4.1 configuring active directory users > and with sudo. The problem I am having is that the HBAC rules are not > applying to my active directory users. They have access to

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-22 Thread Birnbaum, Warren (ETW)
Thanks for you reply. I understand what you are saying but don¹t see how this would work because Allow_All is my current situation (even with this rule disabled). My understand is you can¹t restrict through a rule, only limit. I am missing something? On 1/22/16, 1:51 PM,

Re: [Freeipa-users] Active Directory users are not controlled by HBAC

2016-01-22 Thread Alexander Bokovoy
On Fri, 22 Jan 2016, Birnbaum, Warren (ETW) wrote: Thanks for you reply. I understand what you are saying but don¹t see how this would work because Allow_All is my current situation (even with this rule disabled). My understand is you can¹t restrict through a rule, only limit. I am missing