-
Notifications
You must be signed in to change notification settings - Fork 669
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
Added Non Shibboleth WebDAV authentication and Dav Path customization to owncloudcmd
#4060
Conversation
… to `owncloudcmd`
@@ -155,6 +157,8 @@ void help() | |||
std::cout << " --password, -p [pass] Use [pass] as password" << std::endl; | |||
std::cout << " -n Use netrc (5) for login" << std::endl; | |||
std::cout << " --non-interactive Do not block execution with interaction" << std::endl; | |||
std::cout << " --nonshib, -ns Use Non Shibboleth WebDAV authentication" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As soon as the dav path is customizable there is no need for the nonshib switch from my pov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe not strictly necessary, but adding the nonshib switch (which is also theme customizable) is a lot easier and understandable from a user perspective than remembering and adding '--davpath remote.php/nonshib-webdav'. I don't need the davpath option, I added it while I was at it to do you a favor, I would regret missing out on the nonshib switch.
On Nov 2, 2015 23:10, Thomas Müller [email protected] wrote:
In src/cmd/cmd.cpphttps://github.com//pull/4060#discussion_r43690443:
@@ -155,6 +157,8 @@ void help()
std::cout << " --password, -p [pass] Use [pass] as password" << std::endl;
std::cout << " -n Use netrc (5) for login" << std::endl;
std::cout << " --non-interactive Do not block execution with interaction" << std::endl;
- std::cout << " --nonshib, -ns Use Non Shibboleth WebDAV authentication" << std::endl;
As soon as the dav path is customizable there is no need for the nonshib switch from my pov
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/4060/files#r43690443.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe not strictly necessary, but adding the nonshib switch (which is also theme customizable) is a lot easier and understandable from a user perspective than remembering and adding '--davpath remote.php/nonshib-webdav'.
Since we are not talking about end-user experience I do not consider this too critical.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a misconception that owncloudcmd
does not reach end users. It does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NvanAdrichem please do not use the "-ns" thing. Don't ask why, just don't ;-) thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end-user in the sense of lesser technical users. From a command line client user one can expect to type a url path properly as command line parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I consider myself an end-user... I only use the server installation of my employer, who again lease it as a service from SURFdrive, for which I am as far from an administrator, maintainer or developer as I could ever be. Being unable to make use of the owncloudcmd client through simple authentication options on non-customized, but possibly themed, servers at least bothers my end-user experience, especially since the nonshib davpath is not custom. I consider it relevant, else I would not have gone through the trouble of implementing it and filing a pull request.
@@ -412,5 +412,10 @@ QString Theme::webDavPath() const | |||
return QLatin1String("remote.php/webdav/"); | |||
} | |||
|
|||
QString Theme::webDavPathNonShib() const | |||
{ | |||
return QLatin1String("remote.php/nonshib-webdav/"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a custom endpoint you patched into the server?
Or is that also what @DeepDiver1975 is using?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the default alternative path for webdav clients that do not implement Shibboleth authentication in case the server has Shibboleth Integration, hence the "nonshib". See https://doc.owncloud.org/server/9.0/admin_manual/enterprise_user_management/user_auth_shibboleth.html#webdav-support
Please resolve the merge problems against master. Also, please update the documentation in Thanks! |
Conflicts: src/cmd/cmd.cpp
Now mergeable. I removed the -ns and -dp abbreviations (I guess I was too much concerned with our recent non-results in football ;-) ). I updated doc/owncloudcmd.1.rst and doc/owncloudcmd.rst, where one appears to be a man file and the other a section from the User Documentation. However, I noticed they are not completely in sync, and miss at least the --max-retries option that was recently added in 16c0789. |
I don't understand the nonshib dav path. Therefore, I personaly don't think it needs to be in the Theme. |
you need to enable the user_shibboleth app |
@dragotin Can we merge this? It seems to fulfill what both @DeepDiver1975 and @NvanAdrichem need. |
Conflicts: src/gui/share.h
@NvanAdrichem You did not sign the contributor agreement yet can that be? At least you don't show up here in github as contributor https://owncloud.org/contribute/agreement/ We'd need this asap to have it in 2.1 :) |
@guruz, @karlitschek has got mail! |
Thanks. confirmed! :-) |
This is merged into 2.1. |
According to issue #4025 and @DeepDiver1975 his remark on customized dav path URLs in #4007 (comment) I have created the following changes. I realize it currently doesn't merge, but the current Master branch gave compilation errors, hence I could not merge it by hand as I don't want to send in something untested.