Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-auth-client for
openSUSE:Factory checked in at 2022-08-23 14:25:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-auth-client (Old)
and /work/SRC/openSUSE:Factory/.yast2-auth-client.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-auth-client"
Tue Aug 23 14:25:53 2022 rev:46 rq:992235 version:4.5.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-auth-client/yast2-auth-client.changes
2022-07-31 23:00:59.811700962 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-auth-client.new.2083/yast2-auth-client.changes
2022-08-23 14:26:29.207205001 +0200
@@ -1,0 +2,15 @@
+Tue Aug 2 09:47:47 UTC 2022 - Samuel Cabrero <[email protected]>
+
+- Fix an error opening "User Logon" after removing pam_ldap
+- Drop a desktop file to remove the "LDAP and Kerberos" menu entry
+ after removing pam_ldap
+- 4.5.3
+
+-------------------------------------------------------------------
+Mon Aug 1 15:50:38 UTC 2022 - Samuel Cabrero <[email protected]>
+
+- Allow to define the dnsHostName attribute when joining to AD;
+ (bsc#1200964);
+- 4.5.2
+
+-------------------------------------------------------------------
Old:
----
yast2-auth-client-4.5.1.tar.bz2
New:
----
yast2-auth-client-4.5.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-auth-client.spec ++++++
--- /var/tmp/diff_new_pack.MocVPQ/_old 2022-08-23 14:26:29.623205917 +0200
+++ /var/tmp/diff_new_pack.MocVPQ/_new 2022-08-23 14:26:29.627205926 +0200
@@ -17,7 +17,7 @@
Name: yast2-auth-client
-Version: 4.5.1
+Version: 4.5.2
Release: 0
URL: https://github.com/yast/yast-auth-client
Summary: YaST2 - Centralised System Authentication Configuration
++++++ yast2-auth-client-4.5.1.tar.bz2 -> yast2-auth-client-4.5.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-auth-client-4.5.1/package/yast2-auth-client.changes
new/yast2-auth-client-4.5.2/package/yast2-auth-client.changes
--- old/yast2-auth-client-4.5.1/package/yast2-auth-client.changes
2022-07-28 15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/package/yast2-auth-client.changes
2022-08-02 13:09:46.000000000 +0200
@@ -1,4 +1,19 @@
-------------------------------------------------------------------
+Tue Aug 2 09:47:47 UTC 2022 - Samuel Cabrero <[email protected]>
+
+- Fix an error opening "User Logon" after removing pam_ldap
+- Drop a desktop file to remove the "LDAP and Kerberos" menu entry
+ after removing pam_ldap
+- 4.5.3
+
+-------------------------------------------------------------------
+Mon Aug 1 15:50:38 UTC 2022 - Samuel Cabrero <[email protected]>
+
+- Allow to define the dnsHostName attribute when joining to AD;
+ (bsc#1200964);
+- 4.5.2
+
+-------------------------------------------------------------------
Wed Jul 27 00:50:39 UTC 2022 - William Brown <[email protected]>
- Remove nss_ldap and pam_ldap support in favour of SSSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-auth-client-4.5.1/package/yast2-auth-client.spec
new/yast2-auth-client-4.5.2/package/yast2-auth-client.spec
--- old/yast2-auth-client-4.5.1/package/yast2-auth-client.spec 2022-07-28
15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/package/yast2-auth-client.spec 2022-08-02
13:09:46.000000000 +0200
@@ -17,7 +17,7 @@
Name: yast2-auth-client
-Version: 4.5.1
+Version: 4.5.2
Release: 0
Url: https://github.com/yast/yast-auth-client
Summary: YaST2 - Centralised System Authentication Configuration
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-auth-client-4.5.1/src/desktop/org.opensuse.yast.LDAPKrb.desktop
new/yast2-auth-client-4.5.2/src/desktop/org.opensuse.yast.LDAPKrb.desktop
--- old/yast2-auth-client-4.5.1/src/desktop/org.opensuse.yast.LDAPKrb.desktop
2022-07-28 15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/src/desktop/org.opensuse.yast.LDAPKrb.desktop
1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-[Desktop Entry]
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Net_advanced;
-
-X-KDE-ModuleType=Library
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=ldapkrb
-
-X-SuSE-YaST-Group=Net_advanced
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=all
-X-SuSE-YaST-AutoInstResource=auth-client
-X-SuSE-YaST-AutoInstClonable=true
-X-SuSE-YaST-Keywords=authentication,sssd,pam,ldap,kerberos,krb,krb5,windows,microsoft,ad,activedirectory
-
-Icon=yast-ldap-kerberos
-Exec=xdg-su -c "/sbin/yast2 ldapkrb"
-
-Name=YaST LDAP and Kerberos
-GenericName=LDAP and Kerberos
-Comment=Configure LDAP And Kerberos
-StartupNotify=true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-auth-client-4.5.1/src/lib/auth/authconf.rb
new/yast2-auth-client-4.5.2/src/lib/auth/authconf.rb
--- old/yast2-auth-client-4.5.1/src/lib/auth/authconf.rb 2022-07-28
15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/src/lib/auth/authconf.rb 2022-08-02
13:09:46.000000000 +0200
@@ -36,7 +36,7 @@
attr_accessor(:krb_conf, :krb_pam, :ldap_pam, :ldap_nss, :sssd_conf,
:sssd_pam, :sssd_nss, :sssd_enabled)
attr_accessor(:autofs_enabled, :nscd_enabled, :mkhomedir_pam)
- attr_accessor(:ad_domain, :ad_user, :ad_ou, :ad_pass,
:ad_overwrite_smb_conf, :ad_update_dns, :autoyast_editor_mode,
:autoyast_modified)
+ attr_accessor(:ad_domain, :ad_user, :ad_ou, :ad_pass,
:ad_overwrite_smb_conf, :ad_update_dns, :ad_dnshostname, :autoyast_editor_mode,
:autoyast_modified)
# Clear all configuration objects.
def clear
@@ -67,6 +67,7 @@
@ad_ou = ''
@ad_pass = ''
@ad_update_dns = true
+ @ad_dnshostname = ''
@ad_overwrite_smb_conf = false
end
@@ -824,7 +825,8 @@
# Return AD enrollment configuration.
def ad_export
return {'domain' => @ad_domain, 'user' => @ad_user, 'ou' =>
@ad_ou, 'pass' => @ad_pass,
- 'overwrite_smb_conf' => @ad_overwrite_smb_conf,
'update_dns' => @ad_update_dns}
+ 'overwrite_smb_conf' => @ad_overwrite_smb_conf,
'update_dns' => @ad_update_dns,
+ 'dnshostname' => @ad_dnshostname}
end
# Set configuration for AD enrollment from exported objects.
@@ -836,6 +838,7 @@
@ad_pass = ''
@ad_overwrite_smb_conf = false
@ad_update_dns = false
+ @ad_dnshostname = ''
else
@ad_domain = exported_conf['domain']
@ad_user = exported_conf['user']
@@ -843,6 +846,7 @@
@ad_pass= exported_conf['pass']
@ad_overwrite_smb_conf = exported_conf['overwrite_smb_conf']
@ad_update_dns = exported_conf['update_dns']
+ @ad_dnshostname = exported_conf['dnshostname']
end
end
@@ -870,7 +874,8 @@
output = ''
exitstatus = 0
ou_param = @ad_ou.to_s == '' ? '' : "createcomputer=#{@ad_ou}"
- netcmd = "net -s #{smb_conf.path} ads join #{ou_param} -U
#{@ad_user}"
+ dnshostname_param = @ad_dnshostname.to_s == '' ? '' :
"dnshostname=#{@ad_dnshostname}"
+ netcmd = "net -s #{smb_conf.path} ads join #{ou_param}
#{dnshostname_param} -U #{@ad_user}"
if !@ad_update_dns
netcmd += ' --no-dns-updates'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-auth-client-4.5.1/src/lib/authui/autoclient.rb
new/yast2-auth-client-4.5.2/src/lib/authui/autoclient.rb
--- old/yast2-auth-client-4.5.1/src/lib/authui/autoclient.rb 2022-07-28
15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/src/lib/authui/autoclient.rb 2022-08-02
13:09:46.000000000 +0200
@@ -155,6 +155,7 @@
AuthConfInst.ad_user = ''
AuthConfInst.ad_ou = ''
AuthConfInst.ad_pass = ''
+ AuthConfInst.ad_dnshostname = ''
AuthConfInst.ad_overwrite_smb_conf = false
AuthConfInst.autoyast_modified = true
return true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-auth-client-4.5.1/src/lib/authui/main_dialog.rb
new/yast2-auth-client-4.5.2/src/lib/authui/main_dialog.rb
--- old/yast2-auth-client-4.5.1/src/lib/authui/main_dialog.rb 2022-07-28
15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/src/lib/authui/main_dialog.rb 2022-08-02
13:09:46.000000000 +0200
@@ -22,7 +22,6 @@
require 'ui/dialog'
require 'auth/authconf'
require 'authui/sssd/main_dialog'
-require 'authui/ldapkrb/main_dialog'
Yast.import 'UI'
Yast.import 'Icon'
Yast.import 'Label'
@@ -41,12 +40,6 @@
def initialize(entry_point)
super()
textdomain 'auth-client'
- @entry_point = entry_point
- if entry_point == :ldapkrb
- @heading_caption = _('LDAP and Kerberos Client')
- elsif entry_point == :sssd || entry_point == :auto
- @heading_caption = _('User Logon Management')
- end
end
def dialog_options
@@ -61,16 +54,8 @@
def dialog_content
conf_buttons = [PushButton(Id(:change_settings), _('Change
Settings')), PushButton(Id(:finish), Label.OKButton)]
- if @entry_point == :auto
- # Allow entering both SSSD and ldapkrb settings
- conf_buttons = [
- PushButton(Id(:change_sssd_settings), _('User Logon
Configuration')),
- PushButton(Id(:change_ldapkrb_settings), _('LDAP/Kerberos
Configuration')),
- PushButton(Id(:finish), Label.OKButton)
- ]
- end
VBox(
- Left(Heading(@heading_caption)),
+ Left(Heading(_('User Logon Management'))),
Left(HBox(
HWeight(10, Empty()),
HWeight(80, VBox(
@@ -99,25 +84,10 @@
# Enter SSSD configuration dialog.
def change_settings_handler
- case @entry_point
- when :sssd
- SSSD::MainDialog.new.run
- when :ldapkrb
- LdapKrb::MainDialog.new.run
- end
- render_info_table
- end
-
- def change_sssd_settings_handler
SSSD::MainDialog.new.run
render_info_table
end
- def change_ldapkrb_settings_handler
- LdapKrb::MainDialog.new.run
- render_info_table
- end
-
# Close the dialog
def finish_handler
finish_dialog(:next)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-auth-client-4.5.1/src/lib/authui/sssd/manage_ad_dialog.rb
new/yast2-auth-client-4.5.2/src/lib/authui/sssd/manage_ad_dialog.rb
--- old/yast2-auth-client-4.5.1/src/lib/authui/sssd/manage_ad_dialog.rb
2022-07-28 15:52:19.000000000 +0200
+++ new/yast2-auth-client-4.5.2/src/lib/authui/sssd/manage_ad_dialog.rb
2022-08-02 13:09:46.000000000 +0200
@@ -70,6 +70,7 @@
Password(Id(:password), Opt(:hstretch), _('Password'),
AuthConfInst.ad_pass),
CheckBox(Id(:update_dns), Opt(:hstretch), _('Update AD\'s
DNS records as well'), AuthConfInst.ad_update_dns),
InputField(Id(:orgunit), Opt(:hstretch), _('Optional
Organisation Unit such as "Headquarter/HR/BuildingA"'), AuthConfInst.ad_ou),
+ InputField(Id(:dnshostname), Opt(:hstretch), _('Optional
dnsHostName attribute during the join'), AuthConfInst.ad_dnshostname),
Left(CheckBox(Id(:overwrite_smb_conf), _('Overwrite Samba
configuration to work with this AD'), AuthConfInst.ad_overwrite_smb_conf)),
)
ad_entry = ''
@@ -128,6 +129,7 @@
orgunit = UI.QueryWidget(Id(:orgunit), :Value)
password = UI.QueryWidget(Id(:password), :Value)
overwrite_smb_conf = UI.QueryWidget(Id(:overwrite_smb_conf),
:Value)
+ dnshostname = UI.QueryWidget(Id(:dnshostname), :Value)
if !username.nil? && username != '' || !password.nil? && password
!= '' || !orgunit.nil? && orgunit != ''
# Enroll the computer, or save the enrollment details
@@ -140,6 +142,7 @@
AuthConfInst.ad_user = username
AuthConfInst.ad_ou = orgunit
AuthConfInst.ad_pass = password
+ AuthConfInst.ad_dnshostname = dnshostname
AuthConfInst.ad_update_dns = UI.QueryWidget(Id(:update_dns),
:Value)
AuthConfInst.ad_overwrite_smb_conf = overwrite_smb_conf
if AuthConfInst.autoyast_editor_mode
@@ -154,6 +157,7 @@
AuthConfInst.ad_user = ''
AuthConfInst.ad_ou = ''
AuthConfInst.ad_pass = ''
+ AuthConfInst.ad_dnshostname = ''
finish_dialog(:finish)
return
else