Re: Unsuccessful LDAP Authentication
One more thing. LDAP Base DN in my situation looks like: LDAP Base DN: DC=something,DC=name,DC=company On Jul 9, 7:16 am, gauri.khandekar gauri.khande...@gmail.com wrote: Here's my values : (replaced actual with dummy names) Authentication Method : LDAP Authentication Method : ldap://xyz.something.com:port LDAP Base DN : ou=xyz,o=something.com LDAP Base DN : None (i.e i've left this field empty) E-Mail LDAP Attribute : mail Use TLS for authentication : unchecked (i.e I am NOT using TLS) User Mask : uid=myname.surname,ou=users,dc=in.something,dc=com (where my ldap mail a/c is myname.surn...@in.something.com) Anonymous User Mask : None (i.e i've left this field empty) Anonymous User Password : None (i.e i've left this field empty) On Jul 8, 4:06 pm, Jan Koprowski jan.koprow...@gmail.com wrote: Could You paste here example configuration (with faked data of course) ? Maybe I can help. In my company LDAP authentication works fine. Greetings from Poland! -- Jan On Jul 8, 12:43 pm, gauri.khandekar gauri.khande...@gmail.com wrote: Hi, I am trying hard to set up LDAP Authentication for my ReviewBoard setup , but no luck as yet. I've got my Sys Admin to help me with LDAP settings, so I am pretty sure that there is nothing wrong with those Using RB versoin 1.0.8 Using memcached,mod_python I've Installed python-ldap module After completing LDAP settings , I restart Apache and try to login with my LDAP a/c The screen just says Incorrect username or password I have set the logging directory, but the reviewboard log file doesnt show anything else apart from these 2-3 lines : - 2010-07-08 14:57:02,858 - INFO - Logging to C:\reviewboard\logs \reviewboard.log with a minimum level of DEBUG 2010-07-08 14:57:02,858 - INFO - Log file for Review Board v1.0.8 - I've tried putting debug stmts on various python files , which I think are related to Authentication ( backend.py, util.py ) but none of my debug-stmts are getting logged (I've ensured that the the pyc file related to the changed files are updated) Please tell me : - Is there anything obvious that I am missing out ? - How can I get more detailed logs in the reviewboard.log file (is there any way to change the Debug Level ?) - Give me some hints , some functions-names, so that I can try to debug and understand what is stopping LDAP from working correclty. Thanks, Gauri- Hide quoted text - - Show quoted text - -- 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: Error uploading diff: One or more fields had errors (105) - Errors during command execution( p4 login )
Tried setting these variables but no luck. :( Please help!!! On Wed, Jul 7, 2010 at 12:19 AM, Dana Lacoste dlaco...@aperio.com wrote: It looks like you're having a server-side Perforce issue. Basically, the review board server has to be able to talk to Perforce (not just the client-side) and it's having a login issue. So you can run p4 commands and it's working fine, but the server is unable to do so. You should be able to fix this by setting up P4PORT, P4USER, P4PASSWD, and P4CLIENT variables on the server side. Dana Lacoste -Original Message- From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On Behalf Of Chidambar Sent: Tuesday, July 06, 2010 5:03 AM To: reviewboard Subject: Error uploading diff: One or more fields had errors (105) - Errors during command execution( p4 login ) I am unable to post the review. PSB. ... HTTP POSTing to http://ESMRB/api/json/reviewrequests/15/diff/new/http://esmrb/api/json/reviewrequests/15/diff/new/ : {} Error uploading diff: One or more fields had errors (105) {'fields': {'path': ['[P4#run] Errors during command execution( p4 login ) \n\n\t[Error]: Password invalid.\n\n']}, 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 105}} Your review request still exists, but the diff is not attached. 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.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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: Unable to view repository name while creating a new review
Thanks Jan. I see the [X] box there just before Repository name, but there is no option to save. If I select, I can only delete the repository. On Fri, Jul 9, 2010 at 11:04 AM, Jan Koprowski jan.koprow...@gmail.comwrote: In form where You add repository You must check [x] Show this repository to make repository visible. On 8 Lip, 12:45, Dhanabalan Balasundaram dhanabal...@gmail.com wrote: Hello, I have added a new svn repository (name and repository path, username and password) in ReviewBoard as review board admin and given a user full permission to create reviews, modify etc. When the user logged in to the ReviewBoard server and try to create a new review, the repository field is empty. Can someone please help me in resolving the issue? Thanks in advance, Dhanabalan. -- 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.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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: Unable to view repository name while creating a new review
I guess You are on page listing all Reviews - not on page to edit one. Your URL should looks like https://review.domain/admin/db/scmtools/repository/1/ where 1 should be Your repository ID. On Fri, Jul 9, 2010 at 8:54 AM, Dhanabalan Balasundaram dhanabal...@gmail.com wrote: Thanks Jan. I see the [X] box there just before Repository name, but there is no option to save. If I select, I can only delete the repository. On Fri, Jul 9, 2010 at 11:04 AM, Jan Koprowski jan.koprow...@gmail.com wrote: In form where You add repository You must check [x] Show this repository to make repository visible. On 8 Lip, 12:45, Dhanabalan Balasundaram dhanabal...@gmail.com wrote: Hello, I have added a new svn repository (name and repository path, username and password) in ReviewBoard as review board admin and given a user full permission to create reviews, modify etc. When the user logged in to the ReviewBoard server and try to create a new review, the repository field is empty. Can someone please help me in resolving the issue? Thanks in advance, Dhanabalan. -- 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 -- 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 -- Jan Koprowski [696775174] GSM -- 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: Unable to view repository name while creating a new review
I am at http://reviews/admin/db/scmtools/repository/5/ but no luck yet On Fri, Jul 9, 2010 at 1:04 PM, Jan Koprowski jan.koprow...@gmail.comwrote: I guess You are on page listing all Reviews - not on page to edit one. Your URL should looks like https://review.domain/admin/db/scmtools/repository/1/ where 1 should be Your repository ID. On Fri, Jul 9, 2010 at 8:54 AM, Dhanabalan Balasundaram dhanabal...@gmail.com wrote: Thanks Jan. I see the [X] box there just before Repository name, but there is no option to save. If I select, I can only delete the repository. On Fri, Jul 9, 2010 at 11:04 AM, Jan Koprowski jan.koprow...@gmail.com wrote: In form where You add repository You must check [x] Show this repository to make repository visible. On 8 Lip, 12:45, Dhanabalan Balasundaram dhanabal...@gmail.com wrote: Hello, I have added a new svn repository (name and repository path, username and password) in ReviewBoard as review board admin and given a user full permission to create reviews, modify etc. When the user logged in to the ReviewBoard server and try to create a new review, the repository field is empty. Can someone please help me in resolving the issue? Thanks in advance, Dhanabalan. -- 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.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Jan Koprowski [696775174] GSM -- 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.comreviewboard%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- 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: ReviewBoard with GIT
Thanks Christian. After modifying the Apache path, I was able to add the repo ! From my local workspace (for the added repo), I am trying to post a review. For this, I did the following, but am having issues with the diff. - postreview.py in my local workspace. - run postreview as: postreview.py --guess-summary am getting this error. Review has been posted and I am also able to send the request to the reviewer, but without the diff information. $ ../postreview.py --guess-summary _make_url: path = api/json/reviewrequests/new/ _make_url:app = / _make_url: joined URL = http://test-url.com/api/json/reviewrequests/new/http://%3ctest-url%3e.com/api/json/reviewrequests/new/ _make_url: Resulting URL = http://test-url.com/api/json/reviewrequests/new/http://%3ctest-url%3e.com/api/json/reviewrequests/new/ _make_url: path = api/json/reviewrequests/80/draft/set/ _make_url:app = / _make_url: joined URL = http://test-url.com/api/json/reviewrequests/80/draft/set/http://%3ctest-url%3e.com/api/json/reviewrequests/80/draft/set/ _make_url: Resulting URL = http://test-url.com/api/json/reviewrequests/80/draft/set/http://%3ctest-url%3e.com/api/json/reviewrequests/80/draft/set/ _make_url: path = api/json/reviewrequests/80/draft/save/ _make_url:app = / _make_url: joined URL = http://test-url.com/api/json/reviewrequests/80/draft/save/http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/draft/save/ _make_url: Resulting URL = http://test-url.com/api/json/reviewrequests/80/draft/save/http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/draft/save/ _make_url: path = api/json/reviewrequests/80/diff/new/ _make_url:app = / _make_url: joined URL = http://test-url.com/api/json/reviewrequests/80/diff/new/http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/diff/new/ _make_url: Resulting URL = http://test-url.com/api/json/reviewrequests/80/diff/new/http://mob-rb-test.sj.broadcom.com/api/json/reviewrequests/80/diff/new/ Error uploading diff: One or more fields had errors (105) Your review request still exists, but the diff is not attached. Thanks for the help ! Sapna On Tue, Jul 6, 2010 at 2:43 PM, Christian Hammond chip...@chipx86.comwrote: Sounds like git is not in the path. If that's the error you're getting, then it's definitely not finding that in the PATH that Apache sees. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Jul 6, 2010 at 2:39 PM, Sapna Vempati sapnavemp...@gmail.comwrote: I am still not able to set RB for git. This is the local path where I have a workspace. This is the copy of the main repository. To setup initially, will use this local path and not cgit (just by periodic pull of main repository, to this local path): /projects/mobcom_andrbuilds/users/reviewboard. I specified, the following in RB webpage, under *admin -- repositories,* ** *Hosting service::* custom *Repository type::* git *path:*/projects/mobcom_andrbuilds/users/reviewboard/brcm_tools/scripts/.git *mirror path::* empty *Raw file URL mask::* empty When I try to save, I get this error: The executable git is not in the path. I am not sure what I am missing. BTW, I have RB 1.5 Beta2 installed. Thanks for the help again, Sapna On Thu, Jul 1, 2010 at 6:26 PM, Christian Hammond chip...@chipx86.comwrote: On Thursday, July 1, 2010, Sapna Vempati sapnavemp...@gmail.com wrote: Hi Christian, I am trying to configure a repository on our RB test server, and am having trouble filling these fields below, When I am under--- admin --- repositories, path: (It says) For git, this should be the path to the .git repository on the local disk. But the repo is not on the local disk, but on a central repository. Can I have the unix path to our central server on ubuntu ? (Since I am going to use cgit, I assume I don't have to clone the central repository to my local ?) This only needs to point to a local clone if you're not using the raw URL path. Otherwise, it should be the upstream path. mirror path: Blank ? Raw file URL Mask: for example: The upper-level directory url with all paths to the .gits is: http://mobcom-git.sj.broadcom.com/cgi-bin/cgit.cgi/git_repos (say under here I need to set to this repo: git_repos/repo_tools/scripts.git) How will I get the filename (can be a lot of file in this repo) revision, as suggested on your website for this field. http://mobcom-git.sj.broadcom.com/cgi-bin/cgit.cgi/git_repos/repo_tools/scripts.git/ It's intended as a mask. The filename and revision are literala, which Review Board will automatically replace with the needed filename. This is being reworked for the final release and will be easier then. Christian -- -- 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
Re: Issue 839 in reviewboard: Option to convert tabs in the diff to (n) spaces
Comment #8 on issue 839 by paul.dubois: Option to convert tabs in the diff to (n) spaces http://code.google.com/p/reviewboard/issues/detail?id=839 This is biting us too. I think for now we'll work around by hacking postreview. FWIW, moz 4.0 has css for modifying tab width (and IIUC it looks like recent versions of opera do too). https://bugzilla.mozilla.org/show_bug.cgi?id=517882 -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-iss...@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.