Apache authentication

2009-11-11 Thread Ryan Oblak

Hello,

Does anybody know the current state of getting Review Board to work
with Apache authentication?  I'm running Review Board 1.0.5.1 with
Django 1.1.1 on Apache 2.2.

I found this post from a while back:
http://groups.google.com/group/reviewboard/browse_thread/thread/59a387bdeac2cbb9/7c8da6b5a8e7817c?lnk=gst&q=apache+authentication#7c8da6b5a8e7817c

It makes it sound as though Apache authentication should be supported
in Review Board/Django by now, but I can't find mention of it
anywhere.

I tried setting a "Custom" Authentication Method to
"django.contrib.auth.middleware.AuthenticationMiddleware,
django.contrib.auth.middleware.RemoteUserMiddleware,
django.contrib.auth.backends.RemoteUserBackend" (found here:
http://docs.djangoproject.com/en/1.1/howto/auth-remote-user/).
Hitting "Save" seemed to save the settings fine, and when I pull up
the login page I'm met with "Log in with your standard username and
password (There's no need to register a new account. Your standard
username and password should work fine.)".  The problem is that I
can't actually login-- my Apache username and password do not work.
In addition, I can't log in under my existing Review Board admin
account (created on install, not related to Apache).

Do I also have to somehow create my Apache account in Review Board
before switching to the Custom Authentication Method?

Any help is 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
-~--~~~~--~~--~--~---



Re: Apache Authentication

2009-05-25 Thread Christian Hammond
Hi Andrew,

There are some patches up on http://reviews.review-board.org/ for this.
They're a little outdated, so you'll probably have to tweak them a bit if
you decide to use them. We haven't put them into the main codebase yet
because they depend on a feature newly added to the still-in-beta Django
1.1, and we won't be moving to that until after 1.0 is out the door. That's
not far off, though.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Mon, May 25, 2009 at 1:00 PM, Andrew  wrote:

>
> Hi all.  Is it possible to use the standard Apache authentication with
> Review Board?  If so, can you point me in the right direction for
> doing so?
>
> Thanks.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---



Apache Authentication

2009-05-25 Thread Andrew

Hi all.  Is it possible to use the standard Apache authentication with
Review Board?  If so, can you point me in the right direction for
doing so?

Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
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
-~--~~~~--~~--~--~---