Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dell EMC Unity V5 uses CAS for login and ssl certificate warning messages #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lucapxl
Copy link

@lucapxl lucapxl commented Sep 19, 2019

I noticed that in our Unity V5.0.0 the script was not working because it now uses CAS for login.
The python requests library is succesfully following the redirects (from the loginSessionInfo page, to the CAS login and back to the loginSessionInfo) but on the last redirect, the object does not contain all the cookies, I added some code that merges the cookies received from the CAS login page too (row 492, 493)

My certificate is self signed so I kept getting warning messages from the urllib library, I removed these messages (row 21, 22)

I also had some errors regarding spaces/tabs .
this script now works on my environment (Dell EMC Unity softwre v 5.0.0, python 3.7.3, requests 2.22.0, urllib3 1.24.3)

lucapxl and others added 3 commits September 19, 2019 14:29
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.

1 participant