Re: Cannot post-review using API with LDAP user on 1.7.4

2013-02-12 Thread Raja
Hi, The djblets code that checks the permissions and fetching the object for repository id: 1 is in djblets/webapi/resources.py:WebApiResource's get method. If you put a breakpoint inside of that method and try running http:///api/repositories/1/, it should stop at that point, and you can chec

Re: Cannot post-review using API with LDAP user on 1.7.4

2013-02-12 Thread Liam Reimers
I investigated this a bit further. I see that RB does indeed authenticate against the LDAP server, and a cookie file is created with an rbsessionid and an expiration time (?) one year in the future. Do you have any hints for me on where to look for the code that checks the permissions and how I

Re: Cannot post-review using API with LDAP user on 1.7.4

2013-02-08 Thread Liam Reimers
Just this: 2013-02-07 22:44:04,478 - DEBUG - Attempting authentication on API for user On Friday, February 8, 2013 12:14:44 PM UTC-8, Christian Hammond wrote: > > This has come up on occasion with LDAP, but we've never been able to track > down the cause. > > Can you check your reviewboard.log

Re: Cannot post-review using API with LDAP user on 1.7.4

2013-02-08 Thread Christian Hammond
This has come up on occasion with LDAP, but we've never been able to track down the cause. Can you check your reviewboard.log file for any messages around the time of a post? Christian On Feb 8, 2013, at 10:14, Liam Reimers wrote: > This user is Staff and Admin, but is an LDAP user. User ca