Skip to content

modify validation of needed option due to fact that kerberos authenti… - #326

Closed
czytom wants to merge 1 commit into
WinRb:mainfrom
czytom:master
Closed

czytom wants to merge 1 commit into
WinRb:mainfrom
czytom:master

Conversation

@czytom

@czytom czytom commented Mar 25, 2021

Copy link
Copy Markdown

…cator doesnt need user and password provided it only needs kerberos ticket

…cator doesnt need user and password provided it only needs kerberos ticket
else
raise 'user is a required option' unless self[:user]
raise 'password is a required option' unless self[:password]
raise 'user is a required option' unless self[:transport] == :kerberos

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with this change: if user and password but not kerberos is provided, this will raise, won't it? that seems incorrect.

@pcai

pcai commented Jun 7, 2024

Copy link
Copy Markdown
Contributor

hi - is this PR still needed? If so, please address comment above and add tests for your new case.

@pcai pcai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see inline

@pcai

pcai commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Closing this as stale — it has been inactive since 2021 and there was no response to the test request from 2024. Happy to revisit if there is still interest.

@pcai pcai closed this Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants