Skip to content

Commit

Permalink
ldapkrb fix cmdline handling (bsc#1172340)
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and noelpower committed Nov 24, 2020
1 parent 37ff50d commit f5c52b5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/clients/ldapkrb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@
# Authors: Howard Guo <hguo@suse.com>

require 'auth/authconf'
require 'auth/auth-cli'
require 'authui/main_dialog'

Auth::AuthConfInst.read_all
Auth::MainDialog.new(:ldapkrb).run
if Yast::WFM.Args.empty?
Auth::AuthConfInst.read_all
Auth::MainDialog.new(:ldapkrb).run
else
Auth::CLI.run("ldapkrb")
end

0 comments on commit f5c52b5

Please sign in to comment.