Active Directory authentication with multiple domains

2011-08-31 Thread Mary Wholey
Hello all,

We have an active directory environment consisting of a single forest
and multiple domains. User accounts are spread among two of those
domains. The reviewboard active directory authentication option works
great, except for the fact that it can only query one domain at a
time. Is there a way to setup multiple domain AD authentication from
reviewboard? Or add a second AD authentication setting?

I've been able to setup other systems using ldap://domaincontroller:3268
to query the global catalog server to authenticate any user in the
forest, but our AD setup requires that all connections be
authenticated. There doesn't appear to be a way to pass a user account
and password through the LDAP configuration page.

Failing any of that, is this something I might be able to do from the
back end rather than using the admin UI? I did find a django app which
will do what I want (http://blog.beerandspeech.org/blog/2011/07/13/
django-authentication-with-multiple-active-directory-domains), but I'm
not sure how I might go about linking this in. If someone could point
me in the right direction, I'm sure I could find my way from there.

Thanks!
Mary

-- 
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: Problems with multi-page reviews

2011-08-31 Thread Paul Schulz
Hi David,

Did you manage to get a solution to this problem?
I am seeing something very similar with the locking issue and message,
but the system will come good again after a short period.

I am using Reviewboard 1.5.4, with Apache2 and SQlite database.


On Jan 31, 11:00 pm, David Dibben  wrote:
> Hi,
>
> First of all, thanks for a great review tool. We have been using
> ReviewBoard for over a year now and it has become an invaluable tool for us.
>
> We recently got a new server and I took the opportunity to update our
> ReviewBoard installation to 1.5.2 (from a really ancient 1.0alpha version)
>
> On the new server, reviewboard is integrated with Apache and is much
> faster than the old version. However, I am having a problem with reviews
> with a large number of files so reviewboard splits the diffs accross
> multiple pages.
>
> Just viewing the diffs on each of the pages is fine, but if I add some
> review comments, so that there is an unpublished review and then try
> changing to a different page ReviewBoard seems to hang and "top" shows
> httpd at 100% CPU on the server. Trying another operation in this state
> causes a 500 error from the server, in the logs when that happens it
> shows that the database is locked (trace below). Restarting Apache seems
> to be the only way to clear the problem.
>
> If I publish the review before changing pages then there is no problem.
> The problem only seems to occur if I try to change pages with an
> unpublished review open.
>
> Has anyone else seen this problem or have any suggestions?
>
> Reviewboard is installed on Linux (using easy_install) with python 2.4
> and using an sqlite database.
>
> Traceback from the logs when accessing reviewboard while "waiting" for
> the diff pages to change:
>
> Traceback (most recent call last):
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/core/handlers/base.py",
> line 100, in get_response
>      response = callback(request, *callback_args, **callback_kwargs)
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/views/decorators/cache.py",
> line 78, in _wrapped_view_func
>      response = view_func(request, *args, **kwargs)
>    File
> "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.2-py2.4.egg/reviewboard/webapi/decorators.py",
> line 61, in _view
>      response = view_func(*args, **kwargs)
>    File
> "/usr/lib/python2.4/site-packages/Djblets-0.6.7-py2.4.egg/djblets/webapi/decorators.py",
> line 88, in _checklogin
>      return view_func(*args, **kwargs)
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/views/decorators/http.py",
> line 37, in inner
>      return func(request, *args, **kwargs)
>    File
> "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.2-py2.4.egg/reviewboard/webapi/json.py",
> line 931, in review_draft_save
>      review.publish(user=request.user)
>    File
> "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.2-py2.4.egg/reviewboard/reviews/models.py",
> line 1145, in publish
>      self.save()
>    File
> "/usr/lib/python2.4/site-packages/ReviewBoard-1.5.2-py2.4.egg/reviewboard/reviews/models.py",
> line 1132, in save
>      super(Review, self).save()
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/db/models/base.py",
> line 456, in save
>      self.save_base(using=using, force_insert=force_insert,
> force_update=force_update)
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/db/models/base.py",
> line 556, in save_base
>      transaction.commit_unless_managed(using=using)
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/db/transaction.py",
> line 175, in commit_unless_managed
>      connection._commit()
>    File
> "/usr/lib/python2.4/site-packages/Django-1.2.4-py2.4.egg/django/db/backends/__init__.py",
> line 32, in _commit
>      return self.connection.commit()
> OperationalError: database is locked
>
> --
> David Dibben

-- 
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: Issue with using the reviewboard WEB API ? Pointers to /close/submitted/

2011-08-31 Thread Christian Hammond
Hi Nirmam,

The /api/json API is deprecated and removed in 1.6. The.new
/api/review-requests is the correct one to use.

Please read the API docs on how to close review requests. It's not using the
same paths, and an HTTP GET won't suffice. You'll need to do a PUT.

Christian


On Wednesday, August 31, 2011, Nirmam Sandesara  wrote:
> Hi, I am having issues with closing a reviewboard request.
>
> A Simple get call does the trick of /close/submitted/ but when i try
> to use it in my script it complaints about
>
> "deprecated": {"in_version": "1.5"}, "stat": "fail", "err": {"msg":
> "You are not logged in", "code": 103}
>
> So I am really confused about the api/json/reviewrequests vs api/
> review-requests.
>
> When I use the api/review-requests it just does not go anwhere ?
>
> http://reviewboard.local.com/api/review-requests/12345/close/submitted/
>
> Any thoughts on this would be greatly appreciated.
>
> Thanks
> Nirmam
>
> --
> 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

-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.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

Issue with using the reviewboard WEB API ? Pointers to /close/submitted/

2011-08-31 Thread Nirmam Sandesara
Hi, I am having issues with closing a reviewboard request.

A Simple get call does the trick of /close/submitted/ but when i try
to use it in my script it complaints about

"deprecated": {"in_version": "1.5"}, "stat": "fail", "err": {"msg":
"You are not logged in", "code": 103}

So I am really confused about the api/json/reviewrequests vs api/
review-requests.

When I use the api/review-requests it just does not go anwhere ?

http://reviewboard.local.com/api/review-requests/12345/close/submitted/

Any thoughts on this would be greatly appreciated.

Thanks
Nirmam

-- 
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


changing to SVN

2011-08-31 Thread Christopher Hahn
Hello,

I am having to redirect a running instance of RB from a perforce server
to a new SVN server.  Can anyone direct me to the relevant docs?

I confirmed that python-svn is installed.

Any pointers appreciated,

Chris

-- 
Realisant mon espoir, je me lance vers la gloire.
Christopher Hahn == xrz1...@gmail.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