Skip to content

Commit

Permalink
Merge pull request #120 from ancorgs/bug1000749
Browse files Browse the repository at this point in the history
Fix the invocation of authentication configuration instance.
  • Loading branch information
ancorgs committed Oct 11, 2016
2 parents 76b7bcb + 98b41e1 commit 6a695b5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions package/yast2-users.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 11 12:10:21 UTC 2016 - hguo@suse.com

- Fix the invocation of authentication configuration instance
(bsc#1000749).
- 3.1.58

-------------------------------------------------------------------
Fri Sep 2 15:16:37 CEST 2016 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-users.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-users
Version: 3.1.57
Version: 3.1.58
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
8 changes: 4 additions & 4 deletions src/include/users/widgets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2326,12 +2326,12 @@ def get_module_data(client)
ret = Summary.NotConfigured
elsif client == "sssd"
begin
Yast.import "AuthClient"
rescue NameError
require 'auth/authconf.rb'
rescue LoadError
ret = _("<b>yast2-auth-client module not installed</b>")
else
AuthClient.Read
ret = AuthClient.Summary
::Auth::AuthConfInst.read_all
ret = ::Auth::AuthConfInst.summary_text
end
elsif client == "nis"
WFM.CallFunction("nis_auto", ["Read"])
Expand Down

0 comments on commit 6a695b5

Please sign in to comment.