Re: Authenticate using Kerberos when using RBT Python API

2016-08-26 Thread Abhishek Choudhary
Hi Christian, The way i have tried this in client is by creating a custom transport class (which is passed in RBclient during instantiation) and custom ReviewBoard server which uses a kerberos client for request/response. How do i think should i go about for making it configurable between a no

Re: Authenticate using Kerberos when using RBT Python API

2016-08-22 Thread Abhishek Choudhary
Hi Christian, For the server side, I have written a simple custom authentication backend (extending from RB's AuthBackend) which uses REMOTE_USER (set by Apache) to authenticate the user. I am adding RemoteUserMiddleware in the settings_local.py file. This has worked so far in basic usage of R

Re: Authenticate using Kerberos when using RBT Python API

2016-08-10 Thread Christian Hammond
Hi Abhi, RBTools is not designed to let you swap out the RBClient support. I'd suggest trying to work out how you could sanely write this within the RBTools source code, and work with us to get a patch into RBTools itself. How are you solving the server side? Christian -- Christian Hammond Pr

Re: Authenticate using Kerberos when using RBT Python API

2016-08-10 Thread Abhishek Choudhary
Hi, I looked at the RBtools code and the API and looks like I need my own implementation of ReviewBoardServer and the Transport class to plug into RBClient. But problem is that I could not find a way to plug in a custom RBClient implementation into the RBtools commands like Post? Can any revi

Authenticate using Kerberos when using RBT Python API

2016-08-04 Thread Abhishek Choudhary
Hi, I am able authenticate users in ReviewBoard setup using Kerberos via browser. I am trying to create a commandline tool to post and create reviews, review-requests using RBT python API. But I am not able to make it work. Could someone from ReviewBoard dev help out here on where to start? T