<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13px">Maybe try to use the dyndns_iface option</span></blockquote>

<div>This forced an IPv6 record update :)</div><div><br></div><div>How come this wasn&#39;t done automatically, though?</div><div><br></div><div>While entirely possible, it&#39;s a bit of a pain to set the interface for all hosts, especially because there is no guarantee that it will be the same interface for every host. If I could get around setting this explicitly, that would be a better option.</div>

<div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br clear="all"><div><div><br></div>-Chris</div>
<br><br><div class="gmail_quote">On Mon, Oct 14, 2013 at 12:46 PM, Sumit Bose <span dir="ltr">&lt;<a href="mailto:sbose@redhat.com" target="_blank">sbose@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Mon, Oct 14, 2013 at 12:13:22PM -0400, Chris Hartman wrote:<br>
&gt; Hmm. It appears that setting the hostname to the FQDN using the `hostname<br>
&gt; $FQDN` command solves this problem until a reboot. For a permanent<br>
&gt; solution, I&#39;m adding the FQDN to /etc/hostname and ensuring /etc/hosts has<br>
&gt; &#39;127.0.1.1 $HOST $FQDN&#39;.<br>
<br>
</div>as an alternative you can try to use the FQDN in the ad_hostname option<br>
in sssd.conf.<br>
<div class="im"><br>
&gt;<br>
&gt; However, I have a followup question. I notice that SSSD is only updating<br>
&gt; IPv4 records. How can I ensure IPv6 updates? Thanks!<br>
<br>
<br>
</div>In general it should. Maybe try to use the dyndns_iface option.  Feel<br>
free to send more detailed logs so that I can have a closer look.<br>
<br>
bye,<br>
Sumit<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt; -Chris<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Oct 14, 2013 at 11:24 AM, Chris Hartman &lt;<a href="mailto:qrstuv@gmail.com">qrstuv@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Sumit,<br>
&gt; &gt;<br>
&gt; &gt; Just &#39;snickers&#39;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; -Chris<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Oct 14, 2013 at 11:21 AM, Sumit Bose &lt;<a href="mailto:sbose@redhat.com">sbose@redhat.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; On Mon, Oct 14, 2013 at 11:10:47AM -0400, Chris Hartman wrote:<br>
&gt; &gt;&gt; &gt; Hi guys,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; I&#39;ve noticed that dynamic DNS updates aren&#39;t working with my setup.<br>
&gt; &gt;&gt; Client<br>
&gt; &gt;&gt; &gt; is Ubuntu 12.04 using SSSD 1.11.1. Server 2008 AD on backend.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Here&#39;s my config:<br>
&gt; &gt;&gt; &gt; [sssd]<br>
&gt; &gt;&gt; &gt; config_file_version = 2<br>
&gt; &gt;&gt; &gt; debug_level = 0<br>
&gt; &gt;&gt; &gt; reconnection_retries = 3<br>
&gt; &gt;&gt; &gt; sbus_timeout = 30<br>
&gt; &gt;&gt; &gt; services = nss, pam<br>
&gt; &gt;&gt; &gt; domains = DOMAIN<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; [pam]<br>
&gt; &gt;&gt; &gt; debug_level = 0<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; [nss]<br>
&gt; &gt;&gt; &gt; debug_level = 10<br>
&gt; &gt;&gt; &gt; filter_users =<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd,gdm<br>
&gt; &gt;&gt; &gt; filter_groups =<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman,nscd,gdm<br>
&gt; &gt;&gt; &gt; reconnection_retries = 3<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; [domain/DOMAIN]<br>
&gt; &gt;&gt; &gt; debug_level = 10<br>
&gt; &gt;&gt; &gt; ad_domain = DOMAIN.local<br>
&gt; &gt;&gt; &gt; id_provider = ad<br>
&gt; &gt;&gt; &gt; auth_provider = ad<br>
&gt; &gt;&gt; &gt; chpass_provider = ad<br>
&gt; &gt;&gt; &gt; access_provider = ad<br>
&gt; &gt;&gt; &gt; enumerate = true<br>
&gt; &gt;&gt; &gt; cache_credentials = true<br>
&gt; &gt;&gt; &gt; # Will check unixHomeDirectory LDAP attribute for a value first<br>
&gt; &gt;&gt; &gt; fallback_homedir = /home/%u<br>
&gt; &gt;&gt; &gt; ldap_user_home_directory = unixHomeDirectory<br>
&gt; &gt;&gt; &gt; dyndns_update = true<br>
&gt; &gt;&gt; &gt; dyndns_update_ptr = true<br>
&gt; &gt;&gt; &gt; dyndns_refresh_interval = 30<br>
&gt; &gt;&gt; &gt; ldap_schema = ad<br>
&gt; &gt;&gt; &gt; ldap_id_mapping = true<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; When viewing debug output, I saw this under the domain log:<br>
&gt; &gt;&gt; &gt; (Mon Oct 14 10:33:01 2013) [sssd[be[wysu]]] [be_nsupdate_create_fwd_msg]<br>
&gt; &gt;&gt; &gt; (0x0400):  -- Begin nsupdate message --<br>
&gt; &gt;&gt; &gt; server milkdud.DOMAIN.local<br>
&gt; &gt;&gt; &gt; realm DOMAIN.LOCAL<br>
&gt; &gt;&gt; &gt; update delete snickers. in A<br>
&gt; &gt;&gt; &gt; send<br>
&gt; &gt;&gt; &gt; update delete snickers. in AAAA<br>
&gt; &gt;&gt; &gt; send<br>
&gt; &gt;&gt; &gt; update add snickers. 3600 in A 10.11.12.41<br>
&gt; &gt;&gt; &gt; send<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; When I try to perform this update manually using `nsupdate -g` it will<br>
&gt; &gt;&gt; fail<br>
&gt; &gt;&gt; &gt; with the following error:<br>
&gt; &gt;&gt; &gt; tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor<br>
&gt; &gt;&gt; &gt; code may provide more information, Minor = Server not found in Kerberos<br>
&gt; &gt;&gt; &gt; database.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; However, if I replace &#39;snickers.&#39; with the FQDN &#39;snickers.DOMAIN.local&#39;<br>
&gt; &gt;&gt; the<br>
&gt; &gt;&gt; &gt; update will happen fine.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; I&#39;m assuming this is an SSSD configuration error since the FQDN is not<br>
&gt; &gt;&gt; &gt; being used during the update. Any ideas how to solve this?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Does the hostname command on the shell return just snickers or the FQDN?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; bye,<br>
&gt; &gt;&gt; Sumit<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; Thanks!<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; -Chris<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; sssd-users mailing list<br>
&gt; &gt;&gt; &gt; <a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
&gt; &gt;&gt; &gt; <a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; sssd-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
&gt; &gt;&gt; <a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; sssd-users mailing list<br>
&gt; <a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
&gt; <a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
<br>
_______________________________________________<br>
sssd-users mailing list<br>
<a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
</div></div></blockquote></div><br></div>