Re: Liinux noob: Trouble with python-docutils dependency while installing ReviewBoard

2013-12-31 Thread Gavin Rehkemper
Stephen,

I'm having the same problem as Mark, but that URL that you posted (
https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Management/1.0/html/Subscription_Management_Guide/entitlements-and-yum.html
 ) 
no longer works (404) - is there an alternate site that describes how to 
enable the Optional repository? (note that that link is also dead on the 
EPEL page http://fedoraproject.org/wiki/EPEL (light blue box halfway down 
the page))

Thanks,
Gavin

On Monday, September 23, 2013 6:51:31 AM UTC-5, Stephen Gallagher wrote:
>
> On 09/11/2013 01:31 PM, Matthew Woehlke wrote: 
> > On 2013-09-11 11:23, Mark Addleman wrote: 
> >> I'm trying to install ReviewBoard on RHEL.  I have installed the EPEL 
> >> repository but yum install ReviewBoard returns 
> >> Error: Package: ReviewBoard-1.7.13-2.el6.noarch (epel) 
> >> Requires: python-docutils 
> >>   You could try using --skip-broken to work around the problem 
> >>   You could try running: rpm -Va --nofiles --nodigest 
> >> 
> >> I'm a little loathe to install the python-docutils rpm directly since 
> >> I'm a 
> >> total Linux noob and I can't find one that's specific to RHEL. 
> >> 
> >> Any help would be appreciated. 
> > 
> > Huh. According to 
> > http://koji.fedoraproject.org/koji/packageinfo?packageID=3581, it never 
> > got built for EL6, even though it is built for every current version of 
> > Fedora and for EL5. 
> > 
> > If you're stuck, you could try directly installing the EL5 version... or 
> > if you're *really* desparate, build your own from either the EL5 spec or 
> > whichever Fedora spec most closely matches EL6 (I forget offhand what 
> > that is). 
> > 
> > I would definitely file a bug per Stephen's recommendation. 
> > 
>
> Sorry it took so long to get back to this. It turns out that the reason 
> python-docutils isn't in EPEL is because it's actually included in the 
> standard RHEL subscription (though not in the standard repository). You 
> need to enable the Optional repository as described here: 
>
>
> https://access.redhat.com/site/documentation/en-US/Red_Hat_Subscription_Management/1.0/html/Subscription_Management_Guide/entitlements-and-yum.html
>  
>
> Once that's available, ReviewBoard should install fine. 
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Authentication problems with 1.5 api via perl.

2013-02-26 Thread Gavin Main
I didn't realise you were trying to post a review. Does post-review 
(bundled with RBTools) not help you? If not, why?


On Tuesday, 26 February 2013 16:45:43 UTC+8, cmuser wrote:
>
> Thanks. I  will try & follow it. 
> What i did is , tried writing the script(mentioned above) to post a review 
> request which is failing of xyz reason. So thought of using HTTP::Recorder 
> to get the script of posting a review request. But again facing issues in 
> that.
>
> curl command which worked once -
> curl   -k -H "Basic YWRtaW46YWRtaW4=" -X POST  -d "{\"repository_id\": 
> "cvsrepo",\"repository_path\":":pserver:kapila:kapila123@svn:/opt/cvsroot",\"username\":"kapila",\"password\":"kapila123",\"submit-as\":"kapila"}"
>   
> "http://codereview.xyz.com/r/new
>
> Would be great if you can share your script to give quick & better 
> understanding.
>
> On Tuesday, February 26, 2013 2:08:54 PM UTC+5:30, Gavin Main wrote:
>>
>> After a bit of fiddling and research I found that the LWP and 
>> HTTP::Cookies modules worked for me. Have a look at the documentation on 
>> CPAN
>>
>> http://search.cpan.org/~gaas/HTTP-Cookies-6.01/lib/HTTP/Cookies.pm
>>
>> This link was also very helful:
>> http://lwp.interglacial.com/ch11_01.htm
>>
>>
>> Basically I wanted my post-commit hook to close out an associated review 
>> on Reviewboard. So I wrote two subroutines to do that. The first generated 
>> the cookie:
>> - create the cookie file
>> - issue the get request with HTTP::Request
>> - authenticate with authorization_basic
>> - extract the cookie
>> - return hash
>>
>> Then I passed the cookie hash to another subroutine which issued my PUT 
>> request with the information inside the cookie hash.
>>
>> Cheers,
>> Gavin
>>
>>
>> On Monday, 25 February 2013 21:25:13 UTC+8, cmuser wrote:
>>>
>>> i have tried to built like this,but still not working
>>>
>>> #!/usr/local/bin/perl
>>>
>>> use LWP::UserAgent;
>>> use MIME::Base64;
>>>
>>> $url="http://codereview.xyz.com/api/review-requests/";;
>>> $newurl="http://codereview.xyz.com/r/new/";;
>>> $user="admin";
>>> $pwd="admin";
>>>
>>> $text="$user:$pwd";
>>> $text = encode_base64($text);
>>> #print "Encoded text: $text\n";
>>> %param =(
>>> "repository_id" =>"cvsrepo",
>>> "repository_path" =>":pserver:user:pwd\@svn:/opt/cvsroot",
>>> "username" => "admin",
>>> "password" => "admin",
>>> "submit-as" => "username",
>>> );
>>>my $ua = LWP::UserAgent->new;
>>> $ua->timeout(TIMEOUT);
>>> $ua->protocols_allowed(['http', 'https']);
>>> $ua->default_header('Basic' => $text);
>>> $ua->credentials($newurl,$user,$pwd);
>>>
>>> $resp = $ua->get($url);
>>> print($resp->status_line(), "\n");
>>>
>>> print("Add handler:\n");
>>> $ua->add_handler( response_header => sub { print "HANDLER\n"; }, 
>>> %param);
>>> print $ua->handlers('response_header', $resp)."\n";
>>> push @{ $ua->requests_redirectable }, 'POST';
>>> print $ua->show_progress."\n";
>>> my $response = $ua->post($newurl,%param);
>>>
>>>  if ($response->is_success) {
>>>  print $response->decoded_content;
>>>  }
>>>  else {
>>>  die $response->status_line;
>>>  }
>>>
>>>
>>>
>>>
>>> On Friday, August 10, 2012 2:56:12 PM UTC+5:30, Gavin Main wrote:
>>>>
>>>> Hi Jeff, did you ever get this resolved? I am facing a similar issue.
>>>>
>>>> Christian, I am loving Reviewboard. Thank You!!!
>>>>
>>>> Cheers,
>>>> Gav
>>>>
>>>> On Friday, 22 October 2010 02:06:16 UTC+8, Jeff wrote:
>>>>>
>>>>> I'm trying to write an svn pre-commit hook against a totally new 
>>>>> installation of reviewboard 1.5 (upgraded from the previous version, 
>>>>> but never rea

Re: Authentication problems with 1.5 api via perl.

2013-02-26 Thread Gavin Main
After a bit of fiddling and research I found that the LWP and HTTP::Cookies 
modules worked for me. Have a look at the documentation on CPAN

http://search.cpan.org/~gaas/HTTP-Cookies-6.01/lib/HTTP/Cookies.pm

This link was also very helful:
http://lwp.interglacial.com/ch11_01.htm


Basically I wanted my post-commit hook to close out an associated review on 
Reviewboard. So I wrote two subroutines to do that. The first generated the 
cookie:
- create the cookie file
- issue the get request with HTTP::Request
- authenticate with authorization_basic
- extract the cookie
- return hash

Then I passed the cookie hash to another subroutine which issued my PUT 
request with the information inside the cookie hash.

Cheers,
Gavin


On Monday, 25 February 2013 21:25:13 UTC+8, cmuser wrote:
>
> i have tried to built like this,but still not working
>
> #!/usr/local/bin/perl
>
> use LWP::UserAgent;
> use MIME::Base64;
>
> $url="http://codereview.xyz.com/api/review-requests/";;
> $newurl="http://codereview.xyz.com/r/new/";;
> $user="admin";
> $pwd="admin";
>
> $text="$user:$pwd";
> $text = encode_base64($text);
> #print "Encoded text: $text\n";
> %param =(
> "repository_id" =>"cvsrepo",
> "repository_path" =>":pserver:user:pwd\@svn:/opt/cvsroot",
> "username" => "admin",
> "password" => "admin",
> "submit-as" => "username",
> );
>my $ua = LWP::UserAgent->new;
> $ua->timeout(TIMEOUT);
> $ua->protocols_allowed(['http', 'https']);
> $ua->default_header('Basic' => $text);
> $ua->credentials($newurl,$user,$pwd);
>
> $resp = $ua->get($url);
> print($resp->status_line(), "\n");
>
> print("Add handler:\n");
> $ua->add_handler( response_header => sub { print "HANDLER\n"; }, 
> %param);
>     print $ua->handlers('response_header', $resp)."\n";
> push @{ $ua->requests_redirectable }, 'POST';
> print $ua->show_progress."\n";
> my $response = $ua->post($newurl,%param);
>
>  if ($response->is_success) {
>  print $response->decoded_content;
>  }
>  else {
>  die $response->status_line;
>  }
>
>
>
>
> On Friday, August 10, 2012 2:56:12 PM UTC+5:30, Gavin Main wrote:
>>
>> Hi Jeff, did you ever get this resolved? I am facing a similar issue.
>>
>> Christian, I am loving Reviewboard. Thank You!!!
>>
>> Cheers,
>> Gav
>>
>> On Friday, 22 October 2010 02:06:16 UTC+8, Jeff wrote:
>>>
>>> I'm trying to write an svn pre-commit hook against a totally new 
>>> installation of reviewboard 1.5 (upgraded from the previous version, 
>>> but never really used). 
>>>
>>> As far as I can tell from the documentation, the json login page isn't 
>>> used anymore, and I just use basic HTTP authentication. 
>>>
>>> My perl code looks like this: 
>>>
>>> #!/usr/bin/perl 
>>> use LWP::UserAgent; 
>>>
>>> my $ua = LWP::UserAgent->new; 
>>> #$ua->credentials("$rbhost:80","Web API",'user' => 'password'); 
>>>
>>> my $req = HTTP::Request->new(GET => "http://reviewboard.local.com/ 
>>> rboard/api/review-requests/93/last-update/<http://reviewboard.local.com/rboard/api/review-requests/93/last-update/>");
>>>  
>>>
>>> $req->authorization_basic('user', 'password'); 
>>>
>>> my $res = $ua->request($req); 
>>> print $res->as_string; 
>>>
>>>
>>> I've tried both the useragent credential and the request- 
>>> >authorization_basic. 
>>>
>>> The result I get back is: 
>>>
>>>
>>> HTTP/1.1 401 UNAUTHORIZED 
>>> Cache-Control: max-age=0 
>>> Connection: close 
>>> Date: Thu, 21 Oct 2010 17:53:43 GMT 
>>> ETag: "3818aa0b0928af747aebc006814783fe" 
>>> Server: Apache/2.2.3 (CentOS) 
>>> Vary: Cookie,Accept-Language 
>>> WWW-Authenticate: Basic realm="Web API" 
>>> Content-Language: en-us 
>>> Content-Length: 70 
>>> Content-Type: application/json 
>>> Expires: Thu, 21 Oct 2010 17:53:43 GMT 
>>> Last-Modified: Thu, 21 Oct 2010 17:53:43 GMT 
>>> Client-Date: Thu, 21 Oct 2010 17:53:43 GMT 
>>> Client-P

Re: There are only two Authentication method available.

2013-01-15 Thread Gavin Main
I am facing the same issue. I unfortunately don't have the luxury of using 
easy_install as this requires a direct connection to the interwebs 
(something we can't allow). I have packaged up every ReviewBoard 1.6.15 
dependency by hand. 'rb-site' upgrade hinted that I needed the following... 
Djblets (0.6.27), Django (1.3.4) and Feedparser (5.1.2), but when I start 
Reviewboard after successfully running 'rb-site upgrade /path/to/site', I 
lose my LDAP settings. 'DEBUG = True' doesn't give much away.

Any help would be greatly appreciated. Oh and while I'm here... we love 
ReviewBoard. 

Cheers!

On Wednesday, 10 October 2012 13:05:36 UTC+8, shravanthi s wrote:
>
> I am facing a similar issue. Actually I had successfully configured LDAP 
> and it was working fine (I am using version 1.6.5). However I had an issue 
> with uploading jpeg images so I uninstalled PIL and did some modifications 
> to setup.py (JPEG_ROOT = "/usr/lib") and reinstalled PIL along with 
> libjpeg-devel. I was able to upload jpeg images.
>
>  However a new issue popped up, my LDAP configuration was gone and when i 
> checked Authentication settings, there was no LDAP option at all! Only two 
> authentication methods were available. Not sure what went wrong. Would an 
> upgrade of Review Board resolve the issue? Appreciate your help..
>
> On Tuesday, 2 October 2012 02:15:14 UTC+5:30, Christian Hammond wrote:
>>
>> Running 'easy_install ReviewBoard' won't actually do much of anything. 
>> You'd need to pass -U to do an upgrade.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Sat, Sep 29, 2012 at 12:32 AM, 周培青  wrote:
>>
>>> Hi Christian,
>>>
>>> I remember I used easy_install and I tried running easy_install 
>>> ReviewBoard command again and got below information,
>>> >> easy_install ReviewBoard
>>> Searching for ReviewBoard
>>> Best match: ReviewBoard 1.6.11
>>> Processing ReviewBoard-1.6.11-py2.6.egg
>>> ReviewBoard 1.6.11 is already the active version in easy-install.pth
>>> Installing rb-site script to /usr/bin
>>> Installing rbssh script to /usr/bin
>>>
>>> Using /usr/lib/python2.6/site-packages/ReviewBoard-1.6.11-py2.6.egg
>>> Processing dependencies for ReviewBoard
>>> Finished processing dependencies for ReviewBoard
>>>
>>> Any ideas...
>>>
>>> 在 2012年9月22日星期六UTC+8上午7时12分04秒,Christian Hammond写道:

 How did you install Review Board? It looks like the registrations are 
 missing, which indicates you may have used pip or something, instead of 
 easy_install.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com

 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Fri, Sep 21, 2012 at 1:37 AM, 周培青  wrote:

>  Hi all,
>
> I installed ReviewBoard 1.6.11 on CentOS and I was trying to enable 
> LDAP as authentication method, but I cannot even select LDAP from the 
> Authentication Method dropdown in Authentication --> Authentication 
> Settings tab, see the attached screenshot.
>
> What's going on...
>
> I would be very appreciate for your help.
>
>  -- 
> 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...@**
> 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...@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: {EnjoyFunWOrld}== HOLLYWOOD Actress boobs collections...

2009-06-11 Thread Gavin

You can turn on moderation for new members.

Sent from my Nokia phone
-Original Message-
From: Christian Hammond
Sent:  06/11/2009 2:59:44 PM
Subject:  Re: {EnjoyFunWOrld}== HOLLYWOOD Actress boobs collections...

Hi Roshan,

Yeah, it's definitely annoying. This is, sadly, not under our control, but
it's happening to a LOT of groups hosted on googlegroups.com, so I'm sure
they're looking into it.

As it is, they have to pass a captcha to get an account. Even if we turned
on admin-required acceptance of new users, we'd have no way of knowing if
it's a bot or not.

Christian

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


On Thu, Jun 11, 2009 at 9:34 AM, roshan pius wrote:

> Hi guys,
>
> Am i the only one or has everyone been getting a lot of spam these days
> through the reviewboard group ?
> Is there any way we can block these spam users from joining the group? We
> should have a more thorough user verfication before letting him/her join the
> group.
>
> Thanks,
> Roshan Pius
>
> On Thu, Jun 11, 2009 at 4:19 PM, sweety  wrote:
>
>>
>> {EnjoyFunWOrld}== HOLLYWOOD Actress boobs collections...
>> {EnjoyFunWOrld}== HOLLYWOOD Actress boobs collections...
>>
>>  Login to downlod more FREE videos, FREE, FREE,
>>
>> http://www.enjoyfunworld.com
>> http://www.enjoyfunworld.com
>> http://www.enjoyfunworld.com
>>
>>
>
> >
>




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



Re: LDAP Configuration

2009-04-23 Thread Gavin M. Roy

Perhaps it would be better to create a mapping config for this, with
the defaults being what they are, as to not break pre-existing LDAP
implementations?

Gavin

On Thu, Apr 23, 2009 at 7:48 PM, Christian Hammond  wrote:
> Looks like your LDAP server doesn't support the "givenName" field, which our
> code requires. What LDAP server are you using?
>
> If you feel at all comfortable with Python and happen to know what field
> should contain the first name of the user, you can look at modifying
> reviewboard/accounts/backends.py.
>
> Can you please file a bug on this with the LDAP server info?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.review-board.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Thu, Apr 23, 2009 at 6:44 AM, Noam Bunder  wrote:
>>
>> I enabled logging and this is what I see:
>>
>> 2009-04-23 06:40:22,467 - WARNING - An error while LDAP-authenticating:
>> KeyError('givenName',)
>>
>> I am using the following settings:
>>
>> LDAP Server: ldap://.com:389
>> Base DN: cn=users,dc=mycompany,dc=com
>> E-Mail Domain: mycompany.com
>> E-Mail LDAP Attribute: mail
>> User Mask: (uid=%s)
>>
>> Any ideas?
>> Thanks
>>
>> On Wed, Apr 22, 2009 at 4:37 PM, Christian Hammond 
>> wrote:
>>>
>>> Enable logging and check the resulting error logs after you authenticate.
>>> There may be more information there, which will at least tell us which error
>>> you hit.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - chip...@chipx86.com
>>> Review Board - http://www.review-board.org
>>> VMware, Inc. - http://www.vmware.com
>>>
>>>
>>> On Wed, Apr 22, 2009 at 1:21 PM, Noam  wrote:
>>>>
>>>> I set up the LDAP settings that I use with all of the other open
>>>> source tools that we are using here at the company I work for, however
>>>> the authentication does not seem to be working.  Any advice on how to
>>>> figure out whats wrong?
>>>> 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
-~--~~~~--~~--~--~---



Re: AD Authentication Supported?

2009-04-04 Thread Gavin Mogan
The built in AD based ldap module does for the most part work. I had to
patch the module because our... domain suffix(?) wasn't quite a standard
format so I wanted a config variable to override that.

When I next try to upgrade to the latest beta, i'll be trying to generate a
patch and uploading it.

For most people it should be usable though if thats any help.

Gavin

On Thu, Apr 2, 2009 at 4:07 PM, Tom Sakkos  wrote:

>
> It's not exactly clear from the documentation (and other posts made on
> the mailing list).
>
> Is AD Authentication (officially) supported by Review-Board?
> >
>

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



Re: Problem with Subsequent Diffs

2009-03-16 Thread Gavin M. Roy

Thanks, another issue being reported is:

"The issue Wyatt and I were just looking at appears to be when you have
a new file, diff'ed after an svn add, then make changes and update a
new diff with the full add (including your changes) again.  What we're
seeing is that instead of looking for the differences between diff-r1
and diff-r2, it combines the two, so you have the full contents of
diff-r1, followed by the full contents of diff-r2 (looks like you have
the entire file duplicated in one file).  Not sure that's an accurate
description of what's going on, but that's what it looks like."

On Mon, Mar 16, 2009 at 3:01 PM, Christian Hammond  wrote:
> This is fixed in the nightlies. There's still an issue with interdiffs, but
> they work, it just sometimes shows errors for the files not in the diff.
>
> You should be able to upgrade to the nightly without problems. I'm look to
> push out beta 1 soon, but I have house guests this week and won't be getting
> to it until next week at the earliest.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.review-board.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Mon, Mar 16, 2009 at 10:09 AM, Gavin M. Roy  wrote:
>>
>> Yes, sorry, this more accurately describes the problem.  If the
>> exception wasn't clear it's 1.0a4.
>>
>> On Mon, Mar 16, 2009 at 12:26 PM, housemaister 
>> wrote:
>> >
>> > Hi,
>> >
>> > I get the same error when trying to view the "Changes between" two
>> > uploaded revisions; however viewing the diff of single revision
>> > against the repository works fine.
>> > But I'm also clueless why this happens.
>> > BTW, repository is subversion.
>> >
>> > Thanks,
>> > Stefan.
>> >
>> > On Mon, Mar 16, 2009 at 3:37 PM, Gavin M. Roy 
>> > wrote:
>> >>
>> >> We're running into issues in the case of a review where once the first
>> >> diff is done, the developer is attaching the revised diff for review,
>> >> but we're getting the following error:
>> >>
>> >> Traceback (most recent call last):
>> >>  File
>> >> "/usr/local/lib/python2.6/site-packages/ReviewBoard-1.0alpha4-py2.6.egg/reviewboard/diffviewer/views.py",
>> >> line 145, in view_diff
>> >>    interdiffset, highlighting, True)[0]
>> >> IndexError: list index out of range
>> >>
>> >> Any suggestions on tracking this down?
>> >>
>> >> Thanks,
>> >>
>> >> Gavin
>> >>
>> >> >
>> >>
>> >
>> > >
>> >
>>
>>
>
>
> >
>

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



Re: Problem with Subsequent Diffs

2009-03-16 Thread Gavin M. Roy

Yes, sorry, this more accurately describes the problem.  If the
exception wasn't clear it's 1.0a4.

On Mon, Mar 16, 2009 at 12:26 PM, housemaister  wrote:
>
> Hi,
>
> I get the same error when trying to view the "Changes between" two
> uploaded revisions; however viewing the diff of single revision
> against the repository works fine.
> But I'm also clueless why this happens.
> BTW, repository is subversion.
>
> Thanks,
> Stefan.
>
> On Mon, Mar 16, 2009 at 3:37 PM, Gavin M. Roy  wrote:
>>
>> We're running into issues in the case of a review where once the first
>> diff is done, the developer is attaching the revised diff for review,
>> but we're getting the following error:
>>
>> Traceback (most recent call last):
>>  File 
>> "/usr/local/lib/python2.6/site-packages/ReviewBoard-1.0alpha4-py2.6.egg/reviewboard/diffviewer/views.py",
>> line 145, in view_diff
>>    interdiffset, highlighting, True)[0]
>> IndexError: list index out of range
>>
>> Any suggestions on tracking this down?
>>
>> Thanks,
>>
>> Gavin
>>
>> >
>>
>
> >
>

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



Problem with Subsequent Diffs

2009-03-16 Thread Gavin M. Roy

We're running into issues in the case of a review where once the first
diff is done, the developer is attaching the revised diff for review,
but we're getting the following error:

Traceback (most recent call last):
  File 
"/usr/local/lib/python2.6/site-packages/ReviewBoard-1.0alpha4-py2.6.egg/reviewboard/diffviewer/views.py",
line 145, in view_diff
interdiffset, highlighting, True)[0]
IndexError: list index out of range

Any suggestions on tracking this down?

Thanks,

Gavin

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



Image Upload Error

2009-02-23 Thread Gavin M. Roy
Running Reviewboard 1.0a4Python 2.6
Imaging (PIL) 1.1.6

Reviewboard is running as a SCGI process under Cherokee.

Uploading an image gives me:

"Upload a valid image. The file you uploaded was either not an image or a
corrupted image."

Any help or suggestions in tracking it down would be appreciated.

Thanks,

Gavin

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



Re: _md5 error

2009-01-01 Thread Gavin M. Roy
This email thread should help:
http://bytes.com/groups/python/553380-python2-5-importerror-md5

On Thu, Jan 1, 2009 at 4:35 PM, carloc  wrote:

>
> Hi,
>
> I keep on getting this error.
> I followed the installation instructions that were found on the wiki.
>
> I am installing on ubuntu 8.10 desktop
> i installed apache2 and mod_python.
>
>
>from cache import ModuleCache, NOT_INITIALIZED
>  File "/usr/lib/python2.5/site-packages/mod_python/cache.py", line
> 27, in 
>import urllib2
>  File "/usr/lib/python2.5/urllib2.py", line 91, in 
>import hashlib
>  File "/usr/lib/python2.5/hashlib.py", line 133, in 
>md5 = __get_builtin_constructor('md5')
>  File "/usr/lib/python2.5/hashlib.py", line 60, in
> __get_builtin_constructor
>import _md5
> ImportError: No module named _md5
>
> [Fri Jan 02 05:29:19 2009] [error] get_interpreter: no interpreter
> callback found.
> [Fri Jan 02 05:29:19 2009] [error] [client 127.0.0.1] python_handler:
> Can't get/create interpreter.
> [Fri Jan 02 05:30:19 2009] [error] make_obcallback: could not call
> init.\n
> Traceback (most recent call last):
>  File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line
> 937, in init
>from mod_python import importer
>  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
> 24, in 
>from mod_python import publisher
>  File "/usr/lib/python2.5/site-packages/mod_python/publisher.py",
> line 50, in 
>from cache import ModuleCache, NOT_INITIALIZED
>  File "/usr/lib/python2.5/site-packages/mod_python/cache.py", line
> 27, in 
>import urllib2
>  File "/usr/lib/python2.5/urllib2.py", line 91, in 
>import hashlib
>  File "/usr/lib/python2.5/hashlib.py", line 133, in 
>md5 = __get_builtin_constructor('md5')
>  File "/usr/lib/python2.5/hashlib.py", line 60, in
> __get_builtin_constructor
>import _md5
> ImportError: No module named _md5
> [Fri Jan 02 05:30:19 2009] [error] get_interpreter: no interpreter
> callback found.
> [Fri Jan 02 05:30:19 2009] [error] [client 127.0.0.1] python_handler:
> Can't get/create interpreter.
> [Fri Jan 02 05:31:19 2009] [error] make_obcallback: could not call
> init.\n
> Traceback (most recent call last):
>  File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line
> 937, in init
>from mod_python import importer
>  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
> 24, in 
>from mod_python import publisher
>  File "/usr/lib/python2.5/site-packages/mod_python/publisher.py",
> line 50, in 
>from cache import ModuleCache, NOT_INITIALIZED
>  File "/usr/lib/python2.5/site-packages/mod_python/cache.py", line
> 27, in 
>import urllib2
>  File "/usr/lib/python2.5/urllib2.py", line 91, in 
>import hashlib
>  File "/usr/lib/python2.5/hashlib.py", line 133, in 
>md5 = __get_builtin_constructor('md5')
>  File "/usr/lib/python2.5/hashlib.py", line 60, in
> __get_builtin_constructor
>import _md5
> ImportError: No module named _md5
> [Fri Jan 02 05:31:19 2009] [error] get_interpreter: no interpreter
> callback found.
> [Fri Jan 02 05:31:19 2009] [error] [client 127.0.0.1] python_handler:
> Can't get/create interpreter.
>
> Carlo
> >
>

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



Re: Unable to Login with Admin password

2008-12-07 Thread Gavin M. Roy
Split the Base DN:
ou=active,ou=employees,ou=people,o=company.com

and the User Mask:

uid=%s

or

(uid=%s)

On Sun, Dec 7, 2008 at 5:09 AM, Deepak <[EMAIL PROTECTED]> wrote:

>
> Hi Christian,
> Thanx a lot. I will try with the lastest build. I have some more
> details on the LDAP. Here is the sample LDAP Auth URL
> ldap://
> ldap.company.com:389/ou=active,ou=employees,ou=people,o=company.com?uid?one
> ?.
> Can any one help on how I should fill in the entries in the GUI.
>
> Thanx & Regards
> -Deepak
>
> On Dec 7, 2:45 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> > Hi Deepak.
> >
> > Unfortunately, I have very little experience with LDAP and honestly can't
> > tell you what is needed for the configuration. LDAP support was provided
> by
> > other people. Hopefully someone else can verify that string for you.
> >
> > As for the admin account not working, it's unclear what is going on, but
> > there was some code in our LDAP support that was sort of iffy, so I
> changed
> > it a bit with the hope that it will work better. Unfortunately, it didn't
> > make the nightly build, but I'm about to spin a new one that should be
> ready
> > in about 25 mins. With any luck, it will fix your problem.
> >
> > Christian
> >
> > --
> > Christian Hammond - [EMAIL PROTECTED]
> > VMware, Inc.
> >
> > On Sun, Dec 7, 2008 at 1:27 AM, Deepak <[EMAIL PROTECTED]> wrote:
> >
> > > Hi Christian,
> > > Thanx for the prompt repsonse. My colleague had already created one
> > > more instance of the review board. As you suggested I created a user
> > > with name that would not exist in the company and then again
> > > configured  LDAP and faced the same issue, luckily my other friend was
> > > logged in and I asked him to revert the LDAP configuration and it
> > > worked. Not sure why thats happening.
> >
> > > The second part on LDAP , here is my company's sample user data. dn:
> > > uid=John, ou=active, ou=employees, ou=people, o=company.com. Can you
> > > please tell me  the entries for the LDAP Configuration ? There is no
> > > way for me to test :( as logs also does not seem to print anything.
> >
> > > Thanx & Regards
> > > -Deepak
> >
> > > On Dec 7, 2:58 am, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> > > > That is pretty strange. The local accounts should take precedent, but
> if
> > > > there's any LDAP account with the same name, it will try to
> authenticate
> > > > against that.
> >
> > > > You could try creating a new superuser by running:
> >
> > > >   $ rb-site manage /path/to/site createsuperuser
> >
> > > > Then pick a new name that has no chance of being in LDAP and see if
> you
> > > can
> > > > log in with it. Otherwise, we'll investigate further.
> >
> > > > Christian
> >
> > > > --
> > > > Christian Hammond - [EMAIL PROTECTED]
> > > > VMware, Inc.
> >
> > > > On Sat, Dec 6, 2008 at 5:01 AM, Deepak <[EMAIL PROTECTED]> wrote:
> >
> > > > > Hi Christian,
> > > > > We did follow those instructions and I thought the first account we
> > > > > had was non LDAP , We are still having a hard time configuring LDAP
> > > > > ( As logs do not tell us whats happening)  and suddenly while doing
> > > > > this I log out and log in the, non LDAP Admin password seems to
> have
> > > > > stopped working.
> >
> > > > > Thanx & Regards
> > > > > -Depeak
> >
> > > > > On Dec 6, 2:18 am, "Christian Hammond" <[EMAIL PROTECTED]>
> wrote:
> > > > > > It's highly recommended that you follow the instructions in
> rb-site
> > > (if
> > > > > you
> > > > > > installed that way) about having an admin user that isn't on your
> > > LDAP,
> > > > > and
> > > > > > then log in with that to give your LDAP user admin access.
> >
> > > > > > Christian
> >
> > > > > > --
> > > > > > Christian Hammond - [EMAIL PROTECTED]
> > > > > > VMware, Inc.
> >
> > > > > > On Fri, Dec 5, 2008 at 3:07 AM, Deepak <[EMAIL PROTECTED]>
> wrote:
> >
> > > > > > > Hi,
> > > > > > > We setup the review board on a Linux and was trying to setup
> the
> > > LDAP.
> > > > > > > Now I log out and I am not able to login with my admin
> password.
> > > What
> > > > > > > is the way out now ? Please help...!!!
> >
> > > > > > > Thanx & Regards
> > > > > > > -Deepak
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Unable to Login with Admin password

2008-12-05 Thread Gavin M. Roy
This sets your LDAP account to a Django administrator account, thus giving
your LDAP account on Reviewboard administrator access.

On Fri, Dec 5, 2008 at 11:43 AM, Deepak <[EMAIL PROTECTED]> wrote:

>
> Thanx  what does this actually do ?
>
> On Dec 5, 8:52 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > You can go into the database you setup for reviewboard and in the table
> > auth_user and set your LDAP account row "is_superuser" = 't'
> >
> > On Fri, Dec 5, 2008 at 6:07 AM, Deepak <[EMAIL PROTECTED]> wrote:
> >
> > > Hi,
> > > We setup the review board on a Linux and was trying to setup the LDAP.
> > > Now I log out and I am not able to login with my admin password. What
> > > is the way out now ? Please help...!!!
> >
> > > Thanx & Regards
> > > -Deepak
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Unable to Login with Admin password

2008-12-05 Thread Gavin M. Roy
You can go into the database you setup for reviewboard and in the table
auth_user and set your LDAP account row "is_superuser" = 't'

On Fri, Dec 5, 2008 at 6:07 AM, Deepak <[EMAIL PROTECTED]> wrote:

>
> Hi,
> We setup the review board on a Linux and was trying to setup the LDAP.
> Now I log out and I am not able to login with my admin password. What
> is the way out now ? Please help...!!!
>
> Thanx & Regards
> -Deepak
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Specifying TLS certificate

2008-12-03 Thread Gavin M. Roy
Because of some of the differences of AD vs LDAP, does it make sense to make
AD authentication a different option than LDAP?  Have you submitted a patch
for this?

On Wed, Dec 3, 2008 at 11:11 PM, Terry Zhong <[EMAIL PROTECTED]> wrote:

>
> I don't know if you're using Active Directory as ldap server, if so, I
> do have a working auth module, which has TLS and SSL support.
>
> On Dec 1, 12:08 am, Djihed <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm trying to set Review Board to authenticate against an LDAP server
> > that uses a certificate file. How to let Review Board know about the
> > certificate?
> >
> > Note that I wouldn't like to copy the cert around for obvious reasons.
> >
> > Thanks,
> >
> > Djihed
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Trouble getting Lucene working

2008-12-03 Thread Gavin M. Roy
Thanks, that worked.  I appreciate the quick response!

On Wed, Dec 3, 2008 at 10:31 PM, Christian Hammond <[EMAIL PROTECTED]>wrote:

> This is fixed now in SVN. It'll be available in tonight's nightly build,
> but a quick workaround would be to edit the
> reviewboard/reviews/management/commands/index.py file in the most recent
> installed ReviewBoard egg directory and replace the line near the top that
> says:
>
> from reviews.models import ReviewRequest
>
> with:
>
> from reviewboard.reviews.models import ReviewRequest
>
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
>
> On Wed, Dec 3, 2008 at 7:09 PM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:
>
>> Thanks!  I imagine that would have worked if I wasn't getting the other
>> error ;-)
>>
>>
>> On Wed, Dec 3, 2008 at 10:04 PM, Christian Hammond <[EMAIL PROTECTED]>wrote:
>>
>>> For rb-site manage commands, you need to put a "--" before any parameters
>>> going to "manage". So in your case:
>>>
>>> $ rb-site manage /var/www/reviewboard/ index -- --full
>>>
>>> If you look in the conf/ directory, you'll see a crontab entry for doing
>>> indexing, and it'll call index correctly.
>>>
>>> I'm not sure, though, why just doing a "manage /var/www/reviewboard/
>>> index" is failing. That certainly shouldn't be happening. I'll look into
>>> that.
>>>
>>> I'm busy with finishing up a large change for Review Board, but after
>>> that I'm planning to go through and improve the docs in these places so it
>>> references the right commands.
>>>
>>> Christian
>>>
>>> --
>>> Christian Hammond - [EMAIL PROTECTED]
>>> VMware, Inc.
>>>
>>>
>>>
>>> On Wed, Dec 3, 2008 at 6:50 PM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:
>>>
>>>> I've compiled and installed pylucene, but when I try and get it working
>>>> in reviewboard, I'm having issues based upon my assumptions of how to use
>>>> rb-site in place of manage.py:
>>>>
>>>> "Finally, run ./manage.py index --full. This should give you a progress
>>>> indicator, and may take some time depending on the size of your database."
>>>>
>>>> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index --full
>>>> Usage: rb-site command [options] path
>>>>
>>>> rb-site: error: no such option: --full
>>>> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index
>>>>
>>>> [!] Unable to execute the manager command index: No module named
>>>>reviews.models
>>>>
>>>> To prove that lucene will import:
>>>>
>>>> [EMAIL PROTECTED] conf]# python
>>>> Python 2.6 (r26:66714, Dec  1 2008, 22:54:24)
>>>> [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>> >>> import lucene
>>>> >>>
>>>>
>>>>
>>>> I do however have it enabled in both the settings_local.py file and in
>>>> the web admin settings:
>>>>
>>>> ENABLE_SEARCH = True
>>>> SEARCH_INDEX = '/var/www/reviewboard/search'
>>>>
>>>> Any suggestions?
>>>> TIA,
>>>>
>>>> Gavin
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Trouble getting Lucene working

2008-12-03 Thread Gavin M. Roy
Thanks!  I imagine that would have worked if I wasn't getting the other
error ;-)

On Wed, Dec 3, 2008 at 10:04 PM, Christian Hammond <[EMAIL PROTECTED]>wrote:

> For rb-site manage commands, you need to put a "--" before any parameters
> going to "manage". So in your case:
>
> $ rb-site manage /var/www/reviewboard/ index -- --full
>
> If you look in the conf/ directory, you'll see a crontab entry for doing
> indexing, and it'll call index correctly.
>
> I'm not sure, though, why just doing a "manage /var/www/reviewboard/ index"
> is failing. That certainly shouldn't be happening. I'll look into that.
>
> I'm busy with finishing up a large change for Review Board, but after that
> I'm planning to go through and improve the docs in these places so it
> references the right commands.
>
> Christian
>
> --
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
>
>
>
> On Wed, Dec 3, 2008 at 6:50 PM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:
>
>> I've compiled and installed pylucene, but when I try and get it working in
>> reviewboard, I'm having issues based upon my assumptions of how to use
>> rb-site in place of manage.py:
>>
>> "Finally, run ./manage.py index --full. This should give you a progress
>> indicator, and may take some time depending on the size of your database."
>>
>> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index --full
>> Usage: rb-site command [options] path
>>
>> rb-site: error: no such option: --full
>> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index
>>
>> [!] Unable to execute the manager command index: No module named
>>reviews.models
>>
>> To prove that lucene will import:
>>
>> [EMAIL PROTECTED] conf]# python
>> Python 2.6 (r26:66714, Dec  1 2008, 22:54:24)
>> [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import lucene
>> >>>
>>
>>
>> I do however have it enabled in both the settings_local.py file and in the
>> web admin settings:
>>
>> ENABLE_SEARCH = True
>> SEARCH_INDEX = '/var/www/reviewboard/search'
>>
>> Any suggestions?
>> TIA,
>>
>> Gavin
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Trouble getting Lucene working

2008-12-03 Thread Gavin M. Roy
I've compiled and installed pylucene, but when I try and get it working in
reviewboard, I'm having issues based upon my assumptions of how to use
rb-site in place of manage.py:

"Finally, run ./manage.py index --full. This should give you a progress
indicator, and may take some time depending on the size of your database."

[EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index --full
Usage: rb-site command [options] path

rb-site: error: no such option: --full
[EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index

[!] Unable to execute the manager command index: No module named
   reviews.models

To prove that lucene will import:

[EMAIL PROTECTED] conf]# python
Python 2.6 (r26:66714, Dec  1 2008, 22:54:24)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lucene
>>>


I do however have it enabled in both the settings_local.py file and in the
web admin settings:

ENABLE_SEARCH = True
SEARCH_INDEX = '/var/www/reviewboard/search'

Any suggestions?
TIA,

Gavin

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Screenshot/Image Upload Issue

2008-12-02 Thread Gavin M. Roy
I am trying to attach a screenshot/image and I am getting an error back
saying it's an invalid image.  I've tried a PNG, JPEG and GIF.  I've
installed the latest nightly of reviewboard using eazy_install and have the
latest version of PIL.  I've checked the upload directory permissions and
they look good.  Is this a known issue (that's not in the bug tracker) or
likely a misconfiguration on my part?
Regards,

Gavin

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Installing Reviewboard - lighttpd - 500 Internal Server Error

2008-12-02 Thread Gavin M. Roy
It did not occur to me that the rb-site app had manage.py wrapped up in it
and was accessible via the manage command.  I use Cherokee instead of
lighttpd.  I'm not sure if lighttpd can spawn fastcgi apps or not, but in
Cherokee, you enter this path in the config and it will spawn it.

Ultimately I think the docs just need to be updated (as does rb-site) to
reflect that the functionality of manage.py exists in rb-site using the
manage keyword.

Thanks for helping me get there, indirectly.

Regards,

Gavin

On Tue, Dec 2, 2008 at 7:01 PM, lapluviosilla <[EMAIL PROTECTED]>wrote:

>
> Yes! That seems to have worked. Is easy_install supposed to do this
> automatically or why is this not mentioned in the Getting Started
> guide. I've never used django myself. Perhaps lighttpd FastCGI should
> be setup with a socket instead of a host:port? The configuration
> implies that lighttpd will startup the fastcgi server on its own and
> that you shouldn't have to run it yourself. I'll try the socket
> approach and if it doesn't work then I'll just create a startup script
> for that command.
>
> Thanks!!
>
> On Dec 2, 2:46 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > What about:
> >
> >  rb-site manage /home/reviewboard/epmain runfcgi method=threaded
> > host=127.0.0.1 port=3033 protocol=fcgi
> >
> > On Tue, Dec 2, 2008 at 3:33 PM, lapluviosilla <[EMAIL PROTECTED]>
> wrote:
> >
> > > Did a complete hard drive search and there is no reviewboard.fcgi to
> > > be found. The strange thing I just found out is if I run the internal
> > > django manage server reviewboard works just fine. I use the following
> > > command to run it "sudo rb-site manage /home/reviewboard/epmain
> > > runserver -- 0.0.0.0:8080". Unfortunately using the internal django
> > > server is not an option for me.
> >
> > > On Dec 2, 2:23 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > > > Are you missing reviewboard.fcgi as well?
> >
> > > > On Tue, Dec 2, 2008 at 3:22 PM, lapluviosilla <
> [EMAIL PROTECTED]>wrote:
> >
> > > > > Yes. I followed the install process described in the Getting
> Started
> > > > > Wiki (http://code.google.com/p/reviewboard/wiki/GettingStarted).
> I've
> > > > > also tried following the Installing_on_Ubuntu_Gutsy  and
> > > > > Host_Requirements wikis.
> >
> > > > > On Dec 2, 2:00 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > > > > > I am running into this as well and have not been able to locate
> the
> > > > > > reviewboard.fcgi file.  Did you install this using easy_install?
>  If
> > > > > > so that'd be a common element between our issues.
> >
> > > > > > Gavin
> >
> > > > > > On Dec 2, 2:45 am, lapluviosilla <[EMAIL PROTECTED]>
> wrote:
> >
> > > > > > > I've been trying to install ReviewBoard for a while now without
> any
> > > > > > > success. I have a ubuntu 8.10 server running on VMWare Server
> which
> > > > > > > hosts a lighttpd server. On top of my plan to get reviewboard
> up and
> > > > > > > running this lighttpd server is also running mediawiki. I've
> tried
> > > > > > > many different things and I always get the same result. The
> error log
> > > > > > > shows these two errors every time I try to access the site at
> "http://
> > > > > > > 192.168.4.8/review/".
> >
> > > > > > > (mod_fastcgi.c.2802) establishing connection failed: Connection
> > > > > > > refused socket: tcp:127.0.0.1:3033
> > > > > > > (mod_fastcgi.c.2743) fcgi-server re-enabled: tcp:
> 127.0.0.7:3033
> >
> > > > > > >  A few steps I took:
> >
> > > > > > > 1) I tried setting FORCE_SCRIPT_NAME to "/" and "/review/".
> > > > > > > 2) I re-installed todays nightly build for reviewboard because
> of some
> > > > > > > of the issues with settings_local.py. This got me from a 404 to
> a 500
> > > > > > > error.
> > > > > > > 3) set directory permissions and ownership for
> /home/reviewboard/
> > > > > > > epmain (reviewboard site install) to www-data:www-data
> >
> > > > > > > Here's the relevant section of my lighttpd.conf. The subfolder
> for
> >

Re: Installing Reviewboard - lighttpd - 500 Internal Server Error

2008-12-02 Thread Gavin M. Roy

What about:

 rb-site manage /home/reviewboard/epmain runfcgi method=threaded
host=127.0.0.1 port=3033 protocol=fcgi

On Tue, Dec 2, 2008 at 3:33 PM, lapluviosilla <[EMAIL PROTECTED]> wrote:
>
> Did a complete hard drive search and there is no reviewboard.fcgi to
> be found. The strange thing I just found out is if I run the internal
> django manage server reviewboard works just fine. I use the following
> command to run it "sudo rb-site manage /home/reviewboard/epmain
> runserver -- 0.0.0.0:8080". Unfortunately using the internal django
> server is not an option for me.
>
> On Dec 2, 2:23 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > Are you missing reviewboard.fcgi as well?
> >
> > On Tue, Dec 2, 2008 at 3:22 PM, lapluviosilla <[EMAIL PROTECTED]>wrote:
> >
> >
> >
> > > Yes. I followed the install process described in the Getting Started
> > > Wiki (http://code.google.com/p/reviewboard/wiki/GettingStarted). I've
> > > also tried following the Installing_on_Ubuntu_Gutsy  and
> > > Host_Requirements wikis.
> >
> > > On Dec 2, 2:00 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > > > I am running into this as well and have not been able to locate the
> > > > reviewboard.fcgi file.  Did you install this using easy_install?  If
> > > > so that'd be a common element between our issues.
> >
> > > > Gavin
> >
> > > > On Dec 2, 2:45 am, lapluviosilla <[EMAIL PROTECTED]> wrote:
> >
> > > > > I've been trying to install ReviewBoard for a while now without any
> > > > > success. I have a ubuntu 8.10 server running on VMWare Server which
> > > > > hosts a lighttpd server. On top of my plan to get reviewboard up and
> > > > > running this lighttpd server is also running mediawiki. I've tried
> > > > > many different things and I always get the same result. The error log
> > > > > shows these two errors every time I try to access the site at "http://
> > > > > 192.168.4.8/review/".
> >
> > > > > (mod_fastcgi.c.2802) establishing connection failed: Connection
> > > > > refused socket: tcp:127.0.0.1:3033
> > > > > (mod_fastcgi.c.2743) fcgi-server re-enabled: tcp:127.0.0.7:3033
> >
> > > > >  A few steps I took:
> >
> > > > > 1) I tried setting FORCE_SCRIPT_NAME to "/" and "/review/".
> > > > > 2) I re-installed todays nightly build for reviewboard because of some
> > > > > of the issues with settings_local.py. This got me from a 404 to a 500
> > > > > error.
> > > > > 3) set directory permissions and ownership for /home/reviewboard/
> > > > > epmain (reviewboard site install) to www-data:www-data
> >
> > > > > Here's the relevant section of my lighttpd.conf. The subfolder for
> > > > > reviewboard is /review/
> >
> > > > > fastcgi.server = (
> > > > >".php" => ((
> > > > >  "bin-path" => "/usr/bin/php-cgi",
> > > > >  "socket" => "/tmp/php-fastcgi.socket"
> > > > >)),
> > > > >"/review/reviewboard.fcgi" => (
> > > > >  "main" => (
> > > > >"host" => "127.0.0.1",
> > > > >"port" => 3033,
> > > > >"check-local" => "disable"
> > > > >  )
> > > > >),
> > > > > )
> >
> > > > > ## WIKIMEDIA INSTALL
> > > > > $HTTP["url"] =~ "^/w/" {
> > > > >   server.document-root = "/home/mediawiki/"
> > > > >   alias.url = ( "/w/" => "/home/mediawiki/" )
> >
> > > > > }
> >
> > > > > ## REVIEWBOARD
> > > > > $HTTP["url"] =~ "^/review/" {
> > > > >   server.document-root = "/home/reviewboard/epmain/htdocs/"
> > > > >   server.errorlog = "/home/reviewboard/epmain/logs/lighttpd-error.log"
> >
> > > > >   alias.url = (
> > > > >   "/review/media" => "/home/reviewboard/epmain/htdocs/media",
> > > > >   "/review/errordocs" => "/home/reviewboard/epmain/htdocs/
> > > > > errordocs",
> > > > >   )
> >
> > > > > }
> >
> > > > > $HTTP["url"] =~ "^/review/(css|images|scripts)/" {
> > > > >   expire.url = ( "" => "access 1 hours" )
> >
> > > > > }
> >
> > > > > url.rewrite-once = (
> > > > > "^/wiki/([^?]*)(?:\?(.*))?" => "/w/index.php?title=$1&$1",
> > > > > "^/wiki" => "/w/index.php",
> > > > > "^(/review/media/.*)$" => "$1",
> > > > > "^(/review/errordocs.*)$" => "$1",
> > > > > "^(/review/.*)$" => "/review/reviewboard.fcgi$1"
> > > > > )
> >
> > > > > Any help would be greatly appreciated
> > > > > Thanks,
> > > > > Paul Strong
> >

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Installing Reviewboard - lighttpd - 500 Internal Server Error

2008-12-02 Thread Gavin M. Roy
Are you missing reviewboard.fcgi as well?

On Tue, Dec 2, 2008 at 3:22 PM, lapluviosilla <[EMAIL PROTECTED]>wrote:

>
> Yes. I followed the install process described in the Getting Started
> Wiki (http://code.google.com/p/reviewboard/wiki/GettingStarted). I've
> also tried following the Installing_on_Ubuntu_Gutsy  and
> Host_Requirements wikis.
>
> On Dec 2, 2:00 pm, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > I am running into this as well and have not been able to locate the
> > reviewboard.fcgi file.  Did you install this using easy_install?  If
> > so that'd be a common element between our issues.
> >
> > Gavin
> >
> > On Dec 2, 2:45 am, lapluviosilla <[EMAIL PROTECTED]> wrote:
> >
> > > I've been trying to install ReviewBoard for a while now without any
> > > success. I have a ubuntu 8.10 server running on VMWare Server which
> > > hosts a lighttpd server. On top of my plan to get reviewboard up and
> > > running this lighttpd server is also running mediawiki. I've tried
> > > many different things and I always get the same result. The error log
> > > shows these two errors every time I try to access the site at "http://
> > > 192.168.4.8/review/".
> >
> > > (mod_fastcgi.c.2802) establishing connection failed: Connection
> > > refused socket: tcp:127.0.0.1:3033
> > > (mod_fastcgi.c.2743) fcgi-server re-enabled: tcp:127.0.0.7:3033
> >
> > >  A few steps I took:
> >
> > > 1) I tried setting FORCE_SCRIPT_NAME to "/" and "/review/".
> > > 2) I re-installed todays nightly build for reviewboard because of some
> > > of the issues with settings_local.py. This got me from a 404 to a 500
> > > error.
> > > 3) set directory permissions and ownership for /home/reviewboard/
> > > epmain (reviewboard site install) to www-data:www-data
> >
> > > Here's the relevant section of my lighttpd.conf. The subfolder for
> > > reviewboard is /review/
> >
> > > fastcgi.server = (
> > >".php" => ((
> > >  "bin-path" => "/usr/bin/php-cgi",
> > >  "socket" => "/tmp/php-fastcgi.socket"
> > >)),
> > >"/review/reviewboard.fcgi" => (
> > >  "main" => (
> > >"host" => "127.0.0.1",
> > >"port" => 3033,
> > >"check-local" => "disable"
> > >  )
> > >),
> > > )
> >
> > > ## WIKIMEDIA INSTALL
> > > $HTTP["url"] =~ "^/w/" {
> > >   server.document-root = "/home/mediawiki/"
> > >   alias.url = ( "/w/" => "/home/mediawiki/" )
> >
> > > }
> >
> > > ## REVIEWBOARD
> > > $HTTP["url"] =~ "^/review/" {
> > >   server.document-root = "/home/reviewboard/epmain/htdocs/"
> > >   server.errorlog = "/home/reviewboard/epmain/logs/lighttpd-error.log"
> >
> > >   alias.url = (
> > >   "/review/media" => "/home/reviewboard/epmain/htdocs/media",
> > >   "/review/errordocs" => "/home/reviewboard/epmain/htdocs/
> > > errordocs",
> > >   )
> >
> > > }
> >
> > > $HTTP["url"] =~ "^/review/(css|images|scripts)/" {
> > >   expire.url = ( "" => "access 1 hours" )
> >
> > > }
> >
> > > url.rewrite-once = (
> > > "^/wiki/([^?]*)(?:\?(.*))?" => "/w/index.php?title=$1&$1",
> > > "^/wiki" => "/w/index.php",
> > > "^(/review/media/.*)$" => "$1",
> > > "^(/review/errordocs.*)$" => "$1",
> > > "^(/review/.*)$" => "/review/reviewboard.fcgi$1"
> > > )
> >
> > > Any help would be greatly appreciated
> > > Thanks,
> > > Paul Strong
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: Installing Reviewboard - lighttpd - 500 Internal Server Error

2008-12-02 Thread Gavin M. Roy

I am running into this as well and have not been able to locate the
reviewboard.fcgi file.  Did you install this using easy_install?  If
so that'd be a common element between our issues.

Gavin

On Dec 2, 2:45 am, lapluviosilla <[EMAIL PROTECTED]> wrote:
> I've been trying to install ReviewBoard for a while now without any
> success. I have a ubuntu 8.10 server running on VMWare Server which
> hosts a lighttpd server. On top of my plan to get reviewboard up and
> running this lighttpd server is also running mediawiki. I've tried
> many different things and I always get the same result. The error log
> shows these two errors every time I try to access the site at "http://
> 192.168.4.8/review/".
>
> (mod_fastcgi.c.2802) establishing connection failed: Connection
> refused socket: tcp:127.0.0.1:3033
> (mod_fastcgi.c.2743) fcgi-server re-enabled: tcp:127.0.0.7:3033
>
>  A few steps I took:
>
> 1) I tried setting FORCE_SCRIPT_NAME to "/" and "/review/".
> 2) I re-installed todays nightly build for reviewboard because of some
> of the issues with settings_local.py. This got me from a 404 to a 500
> error.
> 3) set directory permissions and ownership for /home/reviewboard/
> epmain (reviewboard site install) to www-data:www-data
>
> Here's the relevant section of my lighttpd.conf. The subfolder for
> reviewboard is /review/
>
> fastcgi.server = (
>                    ".php" => ((
>                      "bin-path" => "/usr/bin/php-cgi",
>                      "socket" => "/tmp/php-fastcgi.socket"
>                    )),
>                    "/review/reviewboard.fcgi" => (
>                      "main" => (
>                        "host" => "127.0.0.1",
>                        "port" => 3033,
>                        "check-local" => "disable"
>                      )
>                    ),
> )
>
> ## WIKIMEDIA INSTALL
> $HTTP["url"] =~ "^/w/" {
>   server.document-root = "/home/mediawiki/"
>   alias.url = ( "/w/" => "/home/mediawiki/" )
>
> }
>
> ## REVIEWBOARD
> $HTTP["url"] =~ "^/review/" {
>   server.document-root = "/home/reviewboard/epmain/htdocs/"
>   server.errorlog = "/home/reviewboard/epmain/logs/lighttpd-error.log"
>
>   alias.url = (
>       "/review/media" => "/home/reviewboard/epmain/htdocs/media",
>       "/review/errordocs" => "/home/reviewboard/epmain/htdocs/
> errordocs",
>   )
>
> }
>
> $HTTP["url"] =~ "^/review/(css|images|scripts)/" {
>   expire.url = ( "" => "access 1 hours" )
>
> }
>
> url.rewrite-once = (
>     "^/wiki/([^?]*)(?:\?(.*))?" => "/w/index.php?title=$1&$1",
>     "^/wiki" => "/w/index.php",
>     "^(/review/media/.*)$" => "$1",
>     "^(/review/errordocs.*)$" => "$1",
>     "^(/review/.*)$" => "/review/reviewboard.fcgi$1"
> )
>
> Any help would be greatly appreciated
> Thanks,
> Paul Strong
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: LDAP authentication changes

2008-11-16 Thread Gavin M. Roy
Try specifically:
"(uid=%s)"

For the UID mask, without the quotes.  The auth does a search to get the
full dn and then binds upon that to validate the password.  What line is the
exception on in reviewboard?

On Sun, Nov 16, 2008 at 3:38 PM, Tomas Friml <[EMAIL PROTECTED]>wrote:

>
> My Base DN is: ou=Users,dc=ourdomain,dc=local  (note that capital U in
> Users is correct)
> UID mask is: uid=%s
>
> When I try to run this code manually in python
>
> >>> import ldap
> >>> ldapo = ldap.initialize('ldap://ourldapserver:389')
> >>> ldapo.search_s('ou=Users,dc=pulse,dc=local',
> ldap.SCOPE_ONELEVEL,'uid=mylogin');
>
> I got correct result - array (or whatever) with all my LDAP
> attributes.
>
> I just doesn't work on login page. I was wondering if it's not somehow
> connected with the fact that in authenticate you create all those
> objects and bind it, then call call get_or_create_user and create,
> bind the objects again without destroying or unbinding the old one?
> That is just my thought, as I mentioned before I'm not familiar with
> python :).
>
> Btw. one small suggestion - in the settings form I would change label
> "LDAP server" to "LDAP URI" as you are expecting URI not the host
> name. It's mentioned in the example but it was also my mistake, I just
> put the hostname of our LDAP server there and it of course didn't
> work :)
>
> Cheers, Tom
>
> On 17 Lis, 04:36, "Gavin M. Roy" <[EMAIL PROTECTED]> wrote:
> > Ah yeah, it's in the field setting initial, I don't know how I missed
> that
> > ;-)
> >
> > On Sun, Nov 16, 2008 at 10:35 AM, Gavin M. Roy <[EMAIL PROTECTED]>
> wrote:
> >
> > > With the patch I submitted, you set your LDAP Base DN, which would be
> > > something like ou=users,cn=yourdomain,cn=com
> > > and then in the LDAP UID Mask use something like (uid=%s).
> >
> > > I think the DN is still showing up in the UID Mask for a new install, I
> > > need to check that out and submit another patch to clean that up.
> >
> > > On Sun, Nov 16, 2008 at 3:04 AM, Tomas Friml <[EMAIL PROTECTED]
> >wrote:
> >
> > >> Hi David,
> >
> > >> I'm trying to get reviewboard working with our OpenLDAP server but
> > >> without much success so far. I've tried to use this patch before it
> > >> was committed and also updated to revision 1573 today. Result is still
> > >> the same - according to logs I'm getting LDAP error:  {'info':
> > >> 'invalid DN', 'desc': 'Invalid DN syntax'}. I've tried to connect
> > >> running the code from backends.py manually and it worked (btw. I'm
> > >> completely new to python). Also using some more debug messages I found
> > >> out that the authenticate method works normally, it's just the
> > >> get_or_create_user (which is called from authenticate) which obviously
> > >> doesn't work even if the code is the same. Also I'm quite sure that
> > >> the DN base is correct. So I'm quite confused :).
> >
> > >> Any help appreciated.
> >
> > >> Cheers,
> > >> Tom
> >
> > >> On 14 Lis, 20:25, "David Trowbridge" <[EMAIL PROTECTED]> wrote:
> > >> > FYI, in SVN revision r1573, I've committed the patch fromhttp://
> > >> reviews.review-board.org/r/634/
> >
> > >> > This generalizes the LDAP authentication scheme to work better with
> > >> > OpenLDAP. If you're using LDAP authentication, you'll have to update
> > >> > your settings:
> >
> > >> > Your "User Mask" currently looks something like
> > >> > "uid=%s,ou=users,dc=example,dc=com"
> > >> > You'll now set "User Mask" to "uid=%s" and "LDAP Base DN" to
> > >> > "ou=users,dc=example,dc=com"
> >
> > >> > -David
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: LDAP authentication changes

2008-11-16 Thread Gavin M. Roy
Ah yeah, it's in the field setting initial, I don't know how I missed that
;-)

On Sun, Nov 16, 2008 at 10:35 AM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:

> With the patch I submitted, you set your LDAP Base DN, which would be
> something like ou=users,cn=yourdomain,cn=com
> and then in the LDAP UID Mask use something like (uid=%s).
>
> I think the DN is still showing up in the UID Mask for a new install, I
> need to check that out and submit another patch to clean that up.
>
> On Sun, Nov 16, 2008 at 3:04 AM, Tomas Friml <[EMAIL PROTECTED]>wrote:
>
>>
>> Hi David,
>>
>> I'm trying to get reviewboard working with our OpenLDAP server but
>> without much success so far. I've tried to use this patch before it
>> was committed and also updated to revision 1573 today. Result is still
>> the same - according to logs I'm getting LDAP error:  {'info':
>> 'invalid DN', 'desc': 'Invalid DN syntax'}. I've tried to connect
>> running the code from backends.py manually and it worked (btw. I'm
>> completely new to python). Also using some more debug messages I found
>> out that the authenticate method works normally, it's just the
>> get_or_create_user (which is called from authenticate) which obviously
>> doesn't work even if the code is the same. Also I'm quite sure that
>> the DN base is correct. So I'm quite confused :).
>>
>> Any help appreciated.
>>
>> Cheers,
>> Tom
>>
>> On 14 Lis, 20:25, "David Trowbridge" <[EMAIL PROTECTED]> wrote:
>> > FYI, in SVN revision r1573, I've committed the patch fromhttp://
>> reviews.review-board.org/r/634/
>> >
>> > This generalizes the LDAP authentication scheme to work better with
>> > OpenLDAP. If you're using LDAP authentication, you'll have to update
>> > your settings:
>> >
>> > Your "User Mask" currently looks something like
>> > "uid=%s,ou=users,dc=example,dc=com"
>> > You'll now set "User Mask" to "uid=%s" and "LDAP Base DN" to
>> > "ou=users,dc=example,dc=com"
>> >
>> > -David
>> >>
>>
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



Re: LDAP authentication changes

2008-11-16 Thread Gavin M. Roy
With the patch I submitted, you set your LDAP Base DN, which would be
something like ou=users,cn=yourdomain,cn=com
and then in the LDAP UID Mask use something like (uid=%s).

I think the DN is still showing up in the UID Mask for a new install, I need
to check that out and submit another patch to clean that up.

On Sun, Nov 16, 2008 at 3:04 AM, Tomas Friml <[EMAIL PROTECTED]>wrote:

>
> Hi David,
>
> I'm trying to get reviewboard working with our OpenLDAP server but
> without much success so far. I've tried to use this patch before it
> was committed and also updated to revision 1573 today. Result is still
> the same - according to logs I'm getting LDAP error:  {'info':
> 'invalid DN', 'desc': 'Invalid DN syntax'}. I've tried to connect
> running the code from backends.py manually and it worked (btw. I'm
> completely new to python). Also using some more debug messages I found
> out that the authenticate method works normally, it's just the
> get_or_create_user (which is called from authenticate) which obviously
> doesn't work even if the code is the same. Also I'm quite sure that
> the DN base is correct. So I'm quite confused :).
>
> Any help appreciated.
>
> Cheers,
> Tom
>
> On 14 Lis, 20:25, "David Trowbridge" <[EMAIL PROTECTED]> wrote:
> > FYI, in SVN revision r1573, I've committed the patch fromhttp://
> reviews.review-board.org/r/634/
> >
> > This generalizes the LDAP authentication scheme to work better with
> > OpenLDAP. If you're using LDAP authentication, you'll have to update
> > your settings:
> >
> > Your "User Mask" currently looks something like
> > "uid=%s,ou=users,dc=example,dc=com"
> > You'll now set "User Mask" to "uid=%s" and "LDAP Base DN" to
> > "ou=users,dc=example,dc=com"
> >
> > -David
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



LDAP Patch

2008-11-12 Thread Gavin M. Roy
Please find the attached patch which will allow reviewboard r1570 to
authenticate against OpenLDAP.
Regards,

Gavin

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~--~~~~--~~--~--~---



reviewboard.ldap.patch
Description: Binary data