Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3203 by mra...@rapitasystems.com: rbt doesn't authenticate some requests
http://code.google.com/p/reviewboard/issues/detail?id=3203

What version are you running?
1.7.20

What steps will reproduce the problem?
1. Set up a web server configured for basic authentication over HTTPS
2. Set up a ReviewBoard install configured for authentication over LDAP
3. Ensure no .reviewboardrc is set for a user
3. Attempt to query ReviewBoard using manually-specified username and password: rbt status --server https://<host>/reviewboard --user <user> --password <password>

What is the expected output? What do you see instead?
rbt outputs:
CRITICAL:root:HTTP 401
Attached is rpt --debug output.

Please provide any additional information below.

Apache access log shows two requests, with the second lacking any authorization:

127.0.0.1 - user [23/Jan/2014:14:35:19 +0000] "GET /reviewboard/api/ HTTP/1.1" 200 15665 "-" "RBTools/0.5.5" 127.0.0.1 - - [23/Jan/2014:14:35:20 +0000] "GET /reviewboard/api/info/ HTTP/1.1" 401 8817 "-" "RBTools/0.5.5"

This seems to be something to do with PresetHTTPAuthHandler in request.py being used again before reset and so not adding auth headers.

Attachments:
        rbt debug.txt  2.9 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to