Re: Authentication Failure with post-review

2013-07-24 Thread James Rivord
Thank you for your comments. I only put them there when the system would 
not prompt me as I expected. I am aware that having them there is a bad 
thing. If I could get post-review to run and prompt me for them as 
expected, they would be gone.

I added an rc file to the repository root folder setitng only the 
reviewboard_url property and it is still happening.

On Tuesday, July 23, 2013 1:19:18 PM UTC-5, Christian Hammond wrote:
>
> Hi James, 
>
> While I'm not sure why it's not using what's in PASSWORD, I can say that 
> I would never recommend putting it there. 
>
> post-review will ask you for a password once and store a cookie. You 
> should just let it do that and use it. Otherwise, you're opening 
> yourself up to security risks. 
>
> You should have one .reviewboardrc, and it should live in the 
> repository. If you have that one there already, then post-review will 
> not see your own .reviewboardrc. In general, there's very few reasons to 
> have your own. 
>
> Christian 
>
>
> James Rivord wrote: 
> > I am just getting ReviewBoard setup at my company, and the server works 
> > fine. I can post a review using the web site and a diff file. The 
> > problem is running the post-review tool. The server is running on Linux, 
> > and the client is running on Windows. Installed all the Python tools as 
> > directed. I created a .reviewboardrc file in my home folder with the 
> > following. 
> > 
> > REVIEWBOARD_URL = "http://___"; 
> > USERNAME = "___" 
> > PASSWORD = "___" 
> > HTTP_USERNAME = "___" 
> > HTTP_PASSWORD = "___" 
> > 
> > I have configured it to use active directory. 
> > 
> > Here is the error I get. 
> > 
> > Traceback (most recent call last): 
> > File "C:\Program Files\Python33\Scripts\post-review-script.py", line 9, 
> > in  
> > load_entry_point('rbtools==0.5.1', 'console_scripts', 'post-review')() 
> > File "C:\Program 
> > 
> Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py",
>  
>
> > line 378, in load_entry_point 
> > File "C:\Program 
> > 
> Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py",
>  
>
> > line 2566, in load_entry_point 
> > File "C:\Program 
> > 
> Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py",
>  
>
> > line 2260, in load 
> > File "", line 1567, in _find_and_load 
> > File "", line 1534, in 
> _find_and_load_unlocked 
> > File "C:\Program 
> > 
> Files\Python33\lib\site-packages\rbtools-0.5.1-py3.3.egg\rbtools\postreview.py",
>  
>
> > line 164 
> > print "==> HTTP Authentication Required" 
> > 
> > I know it says that authentication is required, but I have put the 
> > authentication in the rc file, I have also tried specifying it on the 
> > command line just in case. I have searched on everything that I can 
> > think of and have not discovered what I am doing wrong. Any help would 
> > be greatly appreciated. 
> > 
> > -- 
> > Want to help the Review Board project? Donate today at 
> > http://www.reviewboard.org/donate/ 
> > Happy user? Let us know at http://www.reviewboard.org/users/ 
> > -~--~~~~--~~--~--~--- 
> > To unsubscribe from this group, send email to 
> > reviewboard...@googlegroups.com  
> > For more options, visit this group at 
> > http://groups.google.com/group/reviewboard?hl=en 
> > --- 
> > You received this message because you are subscribed to the Google 
> > Groups "reviewboard" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> > an email to reviewboard...@googlegroups.com . 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
> -- 
> Christian Hammond - chi...@chipx86.com  
> Review Board - http://www.reviewboard.org 
> Beanbag, Inc. - http://www.beanbaginc.com 
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Authentication Failure with post-review

2013-07-23 Thread Christian Hammond

Hi James,

While I'm not sure why it's not using what's in PASSWORD, I can say that 
I would never recommend putting it there.


post-review will ask you for a password once and store a cookie. You 
should just let it do that and use it. Otherwise, you're opening 
yourself up to security risks.


You should have one .reviewboardrc, and it should live in the 
repository. If you have that one there already, then post-review will 
not see your own .reviewboardrc. In general, there's very few reasons to 
have your own.


Christian


James Rivord wrote:

I am just getting ReviewBoard setup at my company, and the server works
fine. I can post a review using the web site and a diff file. The
problem is running the post-review tool. The server is running on Linux,
and the client is running on Windows. Installed all the Python tools as
directed. I created a .reviewboardrc file in my home folder with the
following.

REVIEWBOARD_URL = "http://___";
USERNAME = "___"
PASSWORD = "___"
HTTP_USERNAME = "___"
HTTP_PASSWORD = "___"

I have configured it to use active directory.

Here is the error I get.

Traceback (most recent call last):
File "C:\Program Files\Python33\Scripts\post-review-script.py", line 9,
in 
load_entry_point('rbtools==0.5.1', 'console_scripts', 'post-review')()
File "C:\Program
Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py",
line 378, in load_entry_point
File "C:\Program
Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py",
line 2566, in load_entry_point
File "C:\Program
Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py",
line 2260, in load
File "", line 1567, in _find_and_load
File "", line 1534, in _find_and_load_unlocked
File "C:\Program
Files\Python33\lib\site-packages\rbtools-0.5.1-py3.3.egg\rbtools\postreview.py",
line 164
print "==> HTTP Authentication Required"

I know it says that authentication is required, but I have put the
authentication in the rc file, I have also tried specifying it on the
command line just in case. I have searched on everything that I can
think of and have not discovered what I am doing wrong. Any help would
be greatly appreciated.

--
Want to help the Review Board project? Donate today at
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/reviewboard?hl=en
---
You received this message because you are subscribed to the Google
Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




--
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups "reviewboard" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Authentication Failure with post-review

2013-07-23 Thread James Rivord
I am just getting ReviewBoard setup at my company, and the server works 
fine. I can post a review using the web site and a diff file. The problem 
is running the post-review tool. The server is running on Linux, and the 
client is running on Windows. Installed all the Python tools as directed. I 
created a .reviewboardrc file in my home folder with the following.

REVIEWBOARD_URL = "http://___";
USERNAME = "___"
PASSWORD = "___"
HTTP_USERNAME = "___"
HTTP_PASSWORD = "___"

I have configured it to use active directory.

Here is the error I get.

Traceback (most recent call last):
File "C:\Program Files\Python33\Scripts\post-review-script.py", line 9, in 

load_entry_point('rbtools==0.5.1', 'console_scripts', 'post-review')()
File "C:\Program 
Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py", 
line 378, in load_entry_point
File "C:\Program 
Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py", 
line 2566, in load_entry_point
File "C:\Program 
Files\Python33\lib\site-packages\setuptools-0.9.6-py3.3.egg\pkg_resources.py", 
line 2260, in load
File "", line 1567, in _find_and_load
File "", line 1534, in _find_and_load_unlocked
File "C:\Program 
Files\Python33\lib\site-packages\rbtools-0.5.1-py3.3.egg\rbtools\postreview.py",
 
line 164
print "==> HTTP Authentication Required"

I know it says that authentication is required, but I have put the 
authentication in the rc file, I have also tried specifying it on the 
command line just in case. I have searched on everything that I can think 
of and have not discovered what I am doing wrong. Any help would be greatly 
appreciated.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.