<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>&gt; Date: Fri, 20 Sep 2013 14:44:49 +0200<br>&gt; From: jhrozek@redhat.com<br>&gt; To: sssd-users@lists.fedorahosted.org<br>&gt; Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>&gt; <br>&gt; On Wed, Sep 18, 2013 at 11:55:52AM +0000, a t wrote:<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; Date: Wed, 18 Sep 2013 10:34:03 +0200<br>&gt; &gt; &gt; From: jhrozek@redhat.com<br>&gt; &gt; &gt; To: sssd-users@lists.fedorahosted.org<br>&gt; &gt; &gt; Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; On Tue, Sep 17, 2013 at 01:50:15PM +0000, a t wrote:<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; Date: Mon, 16 Sep 2013 15:59:09 +0200<br>&gt; &gt; &gt; &gt; &gt; From: jhrozek@redhat.com<br>&gt; &gt; &gt; &gt; &gt; To: sssd-users@lists.fedorahosted.org<br>&gt; &gt; &gt; &gt; &gt; Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; On Mon, Sep 16, 2013 at 01:45:17PM +0000, a t wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Date: Mon, 16 Sep 2013 15:22:47 +0200<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; From: jhrozek@redhat.com<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; To: sssd-users@lists.fedorahosted.org<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Subject: Re: [SSSD-users] authenticating against all sub-domains in AD forest<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; On Mon, Sep 16, 2013 at 01:17:22PM +0000, a t wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 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>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; http://www.redhat.com/rhecm/rest-rhecm/jcr/repository/collaboration/jcr:system/jcr:versionStorage/ae40084d0a052601783f1ea42715cdef/26/jcr:frozenNode/rh:resourceFile<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 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>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Scenario I would like to implement;<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 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>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; 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>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Thanks for any help / pointers,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; Matthew<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt;                                                <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Hi Matthew,<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; this feature is only supported starting with 1.10 upstream..<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; Even on RHEL-6 I would recommend trying out the AD provider, not the<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; AD/Kerberos provider combo.<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; sssd-users mailing list<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; sssd-users@lists.fedorahosted.org<br>&gt; &gt; &gt; &gt; &gt; &gt; &gt; https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br>&gt; &gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; &gt; 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>&gt; &gt; &gt; &gt; &gt; &gt;                                                <br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; If you're mostly interested in testing, we build our nighlies even for<br>&gt; &gt; &gt; &gt; &gt; RHEL6:<br>&gt; &gt; &gt; &gt; &gt; http://jdennis.fedorapeople.org/ipa-devel/ipa-devel-rhel.repo<br>&gt; &gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; &gt; But tread lightly, it's really a development snapshot :)<br>&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; sssd-users mailing list<br>&gt; &gt; &gt; &gt; &gt; sssd-users@lists.fedorahosted.org<br>&gt; &gt; &gt; &gt; &gt; https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Hi Jakub,<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; 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>&gt; &gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; I am going to try to setup sssd with AD provider on a clean VM. 2 questions;<br>&gt; &gt; &gt; &gt;   1) I want a certain amount of SSO - mounting a windows share with<br>&gt; &gt; &gt; &gt; no manual authentication based on windows permissions. According to<br>&gt; &gt; &gt; &gt; http://www.freeipa.org/images/d/dd/Freeipa30_sssd-ad-provider.pdf this is not<br>&gt; &gt; &gt; &gt; available until 1.10.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Ah, I see you're referring to slide #11. I think the answer depends on<br>&gt; &gt; &gt; what your requirements are.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Login with SSSD gives you a TGT. If there is a client side<br>&gt; &gt; &gt; infrastructure to mount a windows share based on Kerberos<br>&gt; &gt; &gt; authentication, everything should just work. I think that's what you're<br>&gt; &gt; &gt; referring to as SSO?<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; But currently cifs-utils still require winbind for some tasks like modifying<br>&gt; &gt; &gt; ACLs. Integrating with cifs-utils in order to avoid the winbind dependency<br>&gt; &gt; &gt; completely is on the roadmap for 1.12 currently (the slides are about a<br>&gt; &gt; &gt; year old and we shuffled the priorities a bit)<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; See:<br>&gt; &gt; &gt; https://fedorahosted.org/sssd/wiki/DesignDocs/IntegrateSSSDWithCIFSClient<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; I see there is a stable 1.11 in a repo or would I need<br>&gt; &gt; &gt; &gt; to build from source? I am happy to use the nightly build repo for now and<br>&gt; &gt; &gt; &gt; testing but if I roll it out I would obviously want to use a stable version.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; Currently I'm not aware of a plan to rebase to a newer version in<br>&gt; &gt; &gt; RHEL-6. I would say that backporting individual bugfixes or features is<br>&gt; &gt; &gt; more likely.<br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt;   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>&gt; &gt; &gt; <br>&gt; &gt; &gt; Yes they are. You might also want to take a look at adcli from EPEL.<br>&gt; &gt; &gt; (and realmd on Fedora and RHEL-7). These make configuring AD client<br>&gt; &gt; &gt; really simple and user friendly.<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; sssd-users mailing list<br>&gt; &gt; &gt; sssd-users@lists.fedorahosted.org<br>&gt; &gt; &gt; https://lists.fedorahosted.org/mailman/listinfo/sssd-users<br>&gt; &gt; <br>&gt; &gt; Hi ,<br>&gt; &gt; <br>&gt; &gt; Thansk. I have the new VM setup with the ad_provider. Much simpler config! <br>&gt; &gt; <br>&gt; &gt; 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>&gt; &gt; <br>&gt; &gt; &lt;image of domain structure&gt;<br>&gt; &gt; <br>&gt; &gt; 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>&gt; &gt; <br>&gt; &gt; 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>&gt; <br>&gt; Can you try without "enumerate=true" in the config?<br>&gt; <br>&gt; I think you might be hitting a known limitation (patches in progress..)<br>&gt; _______________________________________________<br>&gt; sssd-users mailing list<br>&gt; sssd-users@lists.fedorahosted.org<br>&gt; 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>