Skip to content

Commit

Permalink
Merge pull request #64 from JonathonRoberts/master
Browse files Browse the repository at this point in the history
Added a more specific output from kinit before sending the password
  • Loading branch information
ltamaster authored Sep 16, 2020
2 parents bb7fdce + d50c650 commit 8fc3e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contents/kerberosauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_ticket(self):
self.log.error(msg)
raise Exception(msg)

process.expect(".*:")
process.expect("Password for .*:")
process.sendline(self.password)

output = process.read()
Expand Down Expand Up @@ -79,7 +79,7 @@ def check_ticket(self):
self.log.error(msg)
return False

process.expect(".*")
process.expect("Password for .*")
output = process.read()
process.wait()
if process.exitstatus != 0:
Expand Down

0 comments on commit 8fc3e7f

Please sign in to comment.