<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><br><div>> Date: Fri, 20 Sep 2013 14:44:49 +0200<br>> From: jhrozek@redhat.com<br>> To: sssd-users@lists.fedorahosted.org<br>> Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>> <br>> On Wed, Sep 18, 2013 at 11:55:52AM +0000, a t wrote:<br>> > <br>> > <br>> > <br>> > <br>> > <br>> > > Date: Wed, 18 Sep 2013 10:34:03 +0200<br>> > > From: jhrozek@redhat.com<br>> > > To: sssd-users@lists.fedorahosted.org<br>> > > Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>> > > <br>> > > On Tue, Sep 17, 2013 at 01:50:15PM +0000, a t wrote:<br>> > > > <br>> > > > <br>> > > > > Date: Mon, 16 Sep 2013 15:59:09 +0200<br>> > > > > From: jhrozek@redhat.com<br>> > > > > To: sssd-users@lists.fedorahosted.org<br>> > > > > Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>> > > > > <br>> > > > > On Mon, Sep 16, 2013 at 01:45:17PM +0000, a t wrote:<br>> > > > > > <br>> > > > > > <br>> > > > > > > Date: Mon, 16 Sep 2013 15:22:47 +0200<br>> > > > > > > From: jhrozek@redhat.com<br>> > > > > > > To: sssd-users@lists.fedorahosted.org<br>> > > > > > > Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>> > > > > > > <br>> > > > > > > On Mon, Sep 16, 2013 at 01:17:22PM +0000, a t wrote:<br>> > > > > > > > Hi,<br>> > > > > > > > <br>> > > > > > > > I am testing find a standard config for Linux authentication against Active Directory and I am testing with Centos 6. I have decided on a SSSD/Kerberos/LDAP configuration as described in RedHats "Integrating Red Hat Enterprise Linux 6 with Active Directory" section 6.3.<br>> > > > > > > > http://www.redhat.com/rhecm/rest-rhecm/jcr/repository/collaboration/jcr:system/jcr:versionStorage/ae40084d0a052601783f1ea42715cdef/26/jcr:frozenNode/rh:resourceFile<br>> > > > > > > > <br>> > > > > > > > It works very well but for the one domain in our forest i.e. b.domain.org. However, users of other domains in the forest can not be authenticated. This is understandable as I have pointed all the config files at the child domains DC's, i.e. dc1.b.domain.org rather than dc1.domain.org. I have been searching for example configurations which will authenticate any user in the forest even though the Linux installation is joined to a different child domain but not found any. <br>> > > > > > > > <br>> > > > > > > > Scenario I would like to implement;<br>> > > > > > > > <br>> > > > > > > > Linux installation hostname = lin1lin1 joined to domain b.domain.orgusers from b.domain.org can login to lin1.b.doamin.orgusers from all child domains of domain.org can log into lin1.b.domain.org. for example a.domain.org, c.domain.org or z.domain.org <br>> > > > > > > > <br>> > > > > > > > I have attached my current config files as a reference. They work for a single domain rather than the whole forest. I suppose I am stuck whether to add each AD child domain as separate domains in SSSD and REALMS in kerberos or if I can get it to see the whole forest.<br>> > > > > > > > <br>> > > > > > > > <br>> > > > > > > > Thanks for any help / pointers,<br>> > > > > > > > <br>> > > > > > > > <br>> > > > > > > > Matthew<br>> > > > > > > > <br>> > > > > > > >                                            <br>> > > > > > > <br>> > > > > > > Hi Matthew,<br>> > > > > > > <br>> > > > > > > this feature is only supported starting with 1.10 upstream..<br>> > > > > > > <br>> > > > > > > Even on RHEL-6 I would recommend trying out the AD provider, not the<br>> > > > > > > AD/Kerberos provider combo.<br>> > > > > > > _______________________________________________<br>> > > > > > > sssd-users mailing list<br>> > > > > > > sssd-users@lists.fedorahosted.org<br>> > > > > > > https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br>> > > > > > <br>> > > > > > Thank you very much for the speedy reply. I'll take another look at the AD provider and keep an eye on future sssd versions.<br>> > > > > >                                            <br>> > > > > <br>> > > > > If you're mostly interested in testing, we build our nighlies even for<br>> > > > > RHEL6:<br>> > > > > http://jdennis.fedorapeople.org/ipa-devel/ipa-devel-rhel.repo<br>> > > > > <br>> > > > > But tread lightly, it's really a development snapshot :)<br>> > > > > _______________________________________________<br>> > > > > sssd-users mailing list<br>> > > > > sssd-users@lists.fedorahosted.org<br>> > > > > https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br>> > > > <br>> > > > Hi Jakub,<br>> > > > <br>> > > > I installed sssd.x86_64 1.11.1-0.20130912T1711Zgit10bc88a.el6 from the repo you mentioned above. I installed on the same machine using the same config files. All works as expected with no issues I can see. <br>> > > > <br>> > > > I am going to try to setup sssd with AD provider on a clean VM. 2 questions;<br>> > > > 1) I want a certain amount of SSO - mounting a windows share with<br>> > > > no manual authentication based on windows permissions. According to<br>> > > > http://www.freeipa.org/images/d/dd/Freeipa30_sssd-ad-provider.pdf this is not<br>> > > > available until 1.10.<br>> > > <br>> > > Ah, I see you're referring to slide #11. I think the answer depends on<br>> > > what your requirements are.<br>> > > <br>> > > Login with SSSD gives you a TGT. If there is a client side<br>> > > infrastructure to mount a windows share based on Kerberos<br>> > > authentication, everything should just work. I think that's what you're<br>> > > referring to as SSO?<br>> > > <br>> > > But currently cifs-utils still require winbind for some tasks like modifying<br>> > > ACLs. Integrating with cifs-utils in order to avoid the winbind dependency<br>> > > completely is on the roadmap for 1.12 currently (the slides are about a<br>> > > year old and we shuffled the priorities a bit)<br>> > > <br>> > > See:<br>> > > https://fedorahosted.org/sssd/wiki/DesignDocs/IntegrateSSSDWithCIFSClient<br>> > > <br>> > > > I see there is a stable 1.11 in a repo or would I need<br>> > > > to build from source? I am happy to use the nightly build repo for now and<br>> > > > testing but if I roll it out I would obviously want to use a stable version.<br>> > > <br>> > > Currently I'm not aware of a plan to rebase to a newer version in<br>> > > RHEL-6. I would say that backporting individual bugfixes or features is<br>> > > more likely.<br>> > > <br>> > > > 2) Are the example configs in http://www.freeipa.org/images/d/dd/Freeipa30_sssd-ad-provider.pdf still valid in 1.10+ for an AD provider set-up?<br>> > > <br>> > > Yes they are. You might also want to take a look at adcli from EPEL.<br>> > > (and realmd on Fedora and RHEL-7). These make configuring AD client<br>> > > really simple and user friendly.<br>> > > _______________________________________________<br>> > > sssd-users mailing list<br>> > > sssd-users@lists.fedorahosted.org<br>> > > https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br>> > <br>> > Hi ,<br>> > <br>> > Thansk. I have the new VM setup with the ad_provider. Much simpler config! <br>> > <br>> > The authentication for users on the local domain that the installation is joined to works great. However I am in the same situation with other trusted domains in the forest not being able to authenticate. Our domain structure is one parent domain which have a number of sub-domains. Those sub-domains do not have any sub-domains themselves. All users are in the subdomains. The parent domain only has the odd Admin and service user.<br>> > <br>> > <image of domain structure><br>> > <br>> > the installation lin1 is joined to b.domain.org. Users from b.domain.org can login. Users from a.domain.org, c.domain.org or x.domain.org cannot login. I have tried adding domains to sssd.conf and realms to krb5.conf but cannot get it to authenticate users from other child domains.<br>> > <br>> > krb5.conf, sssd.conf and smb.conf attached. Slao attached a portion of the sssd domain log that occurs when trying an # id c\\user.name.<br>> <br>> Can you try without "enumerate=true" in the config?<br>> <br>> I think you might be hitting a known limitation (patches in progress..)<br>> _______________________________________________<br>> sssd-users mailing list<br>> sssd-users@lists.fedorahosted.org<br>> https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br><br>Hi,<br><br>sorry for the late reply. I tried both "enumerate = false" and completely removing the line as you suggest but it still will not authenticate users from other sub-domains. 'id', 'getent passwd aduser USERNAME' or 'finger' do not return the user info. <br><br>Thanks for your help,<br><br>Matthew<br></div>                                            </div></body>
</html>