Hello community,

here is the log from the commit of package yast2-auth-client for 
openSUSE:Factory checked in at 2014-05-16 18:18:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-auth-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-auth-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-auth-client"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-auth-client/yast2-auth-client.changes      
2014-05-02 14:10:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-auth-client.new/yast2-auth-client.changes 
2014-05-16 18:18:28.000000000 +0200
@@ -1,0 +2,9 @@
+Thu May  8 12:05:25 UTC 2014 - [email protected]
+
+- bnc#877133 - yast2-auth-client exports bad formatted hash.
+- Fix activating autofs
+- The default ldap schema rfc2307 is deprecated use rfc2307bis.
+- Restart sssd after saving the configuration.
+- 3.1.14
+
+-------------------------------------------------------------------

Old:
----
  yast2-auth-client-3.1.13.tar.bz2

New:
----
  yast2-auth-client-3.1.14.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-auth-client.spec ++++++
--- /var/tmp/diff_new_pack.xQbupx/_old  2014-05-16 18:18:28.000000000 +0200
+++ /var/tmp/diff_new_pack.xQbupx/_new  2014-05-16 18:18:28.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-auth-client
-Version:        3.1.13
+Version:        3.1.14
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-auth-client-3.1.13.tar.bz2 -> yast2-auth-client-3.1.14.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-auth-client-3.1.13/package/yast2-auth-client.changes 
new/yast2-auth-client-3.1.14/package/yast2-auth-client.changes
--- old/yast2-auth-client-3.1.13/package/yast2-auth-client.changes      
2014-05-01 16:03:48.000000000 +0200
+++ new/yast2-auth-client-3.1.14/package/yast2-auth-client.changes      
2014-05-15 12:03:46.000000000 +0200
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Thu May  8 12:05:25 UTC 2014 - [email protected]
+
+- bnc#877133 - yast2-auth-client exports bad formatted hash.
+- Fix activating autofs
+- The default ldap schema rfc2307 is deprecated use rfc2307bis.
+- Restart sssd after saving the configuration.
+- 3.1.14
+
+-------------------------------------------------------------------
 Wed Apr 30 14:40:16 UTC 2014 - [email protected]
 
 - Don't enable sssd if no domains are configured (bnc#870905)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-auth-client-3.1.13/package/yast2-auth-client.spec 
new/yast2-auth-client-3.1.14/package/yast2-auth-client.spec
--- old/yast2-auth-client-3.1.13/package/yast2-auth-client.spec 2014-05-01 
16:03:48.000000000 +0200
+++ new/yast2-auth-client-3.1.14/package/yast2-auth-client.spec 2014-05-15 
12:03:46.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-auth-client
-Version:        3.1.13
+Version:        3.1.14
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-auth-client-3.1.13/src/include/dialogs.rb 
new/yast2-auth-client-3.1.14/src/include/dialogs.rb
--- old/yast2-auth-client-3.1.13/src/include/dialogs.rb 2014-05-01 
16:03:48.000000000 +0200
+++ new/yast2-auth-client-3.1.14/src/include/dialogs.rb 2014-05-15 
12:03:46.000000000 +0200
@@ -386,8 +386,10 @@
                           AuthClient.auth["sssd_conf"]["sssd"]["domains"] = 
AuthClient.auth["sssd_conf"]["sssd"]["domains"]  + ", "+ dname
                       end
                    end
+                  #The default ldap schema rfc2307 is deprecated use rfc2307bis
+                  AuthClient.auth["sssd_conf"][name]["ldap_schema"] = 
'RFC2307bis' if AuthClient.auth["sssd_conf"][name]["id_provider"] == "ldap"
                    ConfigureSection(name)
-                         Builtins.y2milestone("auth %1", AuthClient.auth)
+                   Builtins.y2milestone("auth %1", AuthClient.auth)
                 end
           end
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-auth-client-3.1.13/src/modules/AuthClient.rb 
new/yast2-auth-client-3.1.14/src/modules/AuthClient.rb
--- old/yast2-auth-client-3.1.13/src/modules/AuthClient.rb      2014-05-01 
16:03:48.000000000 +0200
+++ new/yast2-auth-client-3.1.14/src/modules/AuthClient.rb      2014-05-15 
12:03:46.000000000 +0200
@@ -31,7 +31,7 @@
 module Yast
   class AuthClientClass < Module
 
-    NSS_DBS = ["passwd", "group", "passwd_compat", "group_compat", "services", 
"netgroup", "aliases"]
+    NSS_DBS = ["passwd", "group", "passwd_compat", "group_compat", "services", 
"netgroup", "aliases", "automount" ]
     SSS_DBS = ["passwd", "group" ]
 
     def main
@@ -142,9 +142,6 @@
       # Add "sss" to the passwd and group databases in nsswitch.conf
       SSS_DBS.each { |db| @nsswitch[db].push("sss") if ! 
@nsswitch[db].include?("sss") }
 
-      # Write the new nss tables
-      NSS_DBS.each { |db| Nsswitch.WriteDb(db,@nsswitch[db]) }
-      Nsswitch.Write
 
       #Remove kerberos if activated
       if Pam.Enabled("krb5")
@@ -158,6 +155,17 @@
          services = @auth["sssd_conf"]["sssd"]["services"].split(%r{,\s*})
       end
 
+      #Enable autofs if service is enabled
+      if services.include?("autofs")
+         @nsswitch["automount"].push("sss") if ! 
@nsswitch["automount"].include?("sss") 
+         Service.Enable("autofs")
+         Service.Start("autofs")
+      end
+
+      # Write the new nss tables
+      NSS_DBS.each { |db| Nsswitch.WriteDb(db, @nsswitch[db]) }
+      Nsswitch.Write
+
       if @auth["sssd_conf"]["sssd"].has_key?("domains")
          domains = @auth["sssd_conf"]["sssd"]["domains"].split(%r{,\s*})
       end
@@ -185,16 +193,22 @@
            next
         end
         @auth["sssd_conf"][s].each_key { |k|
-          if @auth["sssd_conf"][s][k] == "##DeleteValue##"
+         value = @auth["sssd_conf"][s][k]
+          if value == "##DeleteValue##"
              SCR.Write(path(".etc.sssd_conf.value.\"#{s}\".#{k}"), nil )
           else
-             
SCR.Write(path(".etc.sssd_conf.value.\"#{s}\".#{k}"),@auth["sssd_conf"][s][k])
+             SCR.Write(path(".etc.sssd_conf.value.\"#{s}\".#{k}"),value)
+          end
+          if k == "id_provider" or k == "auth_provider" 
+             need_sssd[value] = true;
           end
-         if k == "id_provider" or k == "auth_provider" 
-            need_sssd[@auth["sssd_conf"][s][k]] = true;
-         end
         }
       }
+      #Add section for each services
+      _sections = SCR.Dir(path(".etc.sssd_conf.section"))
+      services.each { |s|
+        SCR.Write(path(".etc.sssd_conf.section_comment.\"#{s}\""), '') if ! 
_sections.include?(s)
+      }
       SCR.Write(path(".etc.sssd_conf"),nil)
 
       need_sssd.each_pair do |key, needed|
@@ -206,21 +220,13 @@
 
       Package.DoInstall(to_install) unless to_install.empty?
 
-      #Enable autofs only if there is min one domain activated and autofs 
service is enabled
-      if services.include?("autofs")
-        Service.Enable("autofs")
-        Service.Restart("autofs")
-      else
-        Service.Disable("autofs")
-        Service.Stop("autofs")
-      end
 
       #Start sssd only if there are more then one domain defined
       if !domains.empty?
         Service.Enable("sssd")
         Service.Disable("nscd")
         Service.Stop("nscd")
-        Service.Start("sssd")
+        Service.Active("sssd") ? Service.Restart("sssd") : 
Service.Start("sssd")
       else
         Service.Disable("sssd")
         Service.Stop("sssd")
@@ -310,7 +316,7 @@
             domain["domain_name"] = s.sub("domain/","")
             settings["sssd_conf"]["auth_domains"].push(domain)
           else
-            settings[s] = @auth["sssd_conf"][s]
+            settings["sssd_conf"][s] = @auth["sssd_conf"][s]
           end
        }
        return settings

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to