Re: Active Directory

2017-05-08 Thread nuanedi


On Tuesday, 5 October 2010 13:05:06 UTC-4, albal wrote:
>
> Hi, 
>
> I'm trying to get Active Directory Authentication working with 
> ReviewBoard 1.5.  I am running on Debian-Lenny and I have a successful 
> install of ReviewBoard but I would like to have our users authenticate 
> against our domain servers.  If I put the domain controller IP or name 
> in the field and hit save, then logout and back in I get the following 
> log entries: 
>
> 2010-10-05 16:58:18,943 - WARNING - Active Directory: Domain 
> controller is down 
> 2010-10-05 16:58:18,943 - ERROR - Active Directory error: Could not 
> contact any domain controller servers 
>
> The linux machine is not part of the domain, DNS is setup correctly 
> and the hostnames resolve fine.  Is there something else that needs to 
> be in place? 
>
> Thanks, 
> Al



I guess that by now you've already found the solution or another one but 
for the posterity I would like to point out that I could solve this issue 
on a Linux installation by telling selinux that reviewboard needs to talk 
with the domain controller (open network connections):

# setsebool -P httpd_can_network_connect 1


-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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/d/optout.


Re: Active directory/ LDAP authentication error

2015-02-24 Thread Stephen Gallagher
On Mon, 2015-02-23 at 11:37 -0800, JToThe DBizzle wrote:
> Hi there,
> 
> I have installed Review Board 1.7 on a Centos 6 server using YUM. I 
> am having difficulty getting AD authentication working, I have used 
> Active directory and LDAP and each time I get an error with the 
> domain controller's certificate. If I connect without using TLS I am 
> told that it is required. I have copied the ca root certificate cert 
> onto the server and imported it by copying it to /etc/pki/ca-
> trust/source/anchors/ and running the command update-ca-trust 
> extract.
> 
> Currently while testing with LDAP I get the error TLS error -
> 8179:Peer's Certificate issuer is not recognized. I have read that 
> this possible could be an issue in the version and that upgrading to 
> version 2.x could resolve it however there are no updates available 
> using yum.
> I have been thrashing around with this for some time now so I needed 
> to reach out for some help.
I don't think update-ca-trust works with libldap on CentOS 6.
You probably need to drop the server certificate into  
/etc/openldap/certs/ and then run
cacertdir_rehash  /etc/openldap/certs/
It should work after that.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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/d/optout.


Re: Active Directory authentication with multiple domains

2015-01-19 Thread Tyler Effinger
Mary,

Did you ever find an answer to this?  I have multiple domains across the US 
(MW, NW, SW etc) and would like to query each of them.  Let me know if you 
can point me in the right direction.

Thanks! 

On Wednesday, August 31, 2011 at 7:10:10 PM UTC-5, Mary Wholey wrote:
>
> 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

-- 
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/d/optout.


Re: Active directory groups as review groups

2014-11-05 Thread Hamid Shahid
On Wednesday, October 30, 2013 9:17:51 PM UTC, Logan Stuart wrote:
> Is it possible to utilize existing AD groups as review groups?  We have 
> several AD groups which we are currently mirroring manually in reviewboard.  
> We use AD for our authentication method so it would make sense if this were 
> an option.

Hello there,
Can anyone send me some links about the custom scripts needed to allow review 
groups to be integrated with AD groups.
Thanks,
Hamid

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-18 Thread fireworm
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backends.py
Line 698:
def get_or_create_user(self, username, request, ad_user_data):
username = re.sub(INVALID_USERNAME_CHAR_REGEX, '', username).lower()
logging.error('ActiveDirectoryBackend.get_or_create_user: username 
= %s', username)

/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/webapi/resources/review_request.py
Line 1043:
def _find_user(self, username, local_site, request):
"""Finds a User object matching ``username``.

This will search all authentication backends, and may create the
User object if the authentication backend knows that the user 
exists.
"""
username = username.strip()
ddkflogging.warningsss('trying to find user...')

At this point, I swear there's something simple I'm doing wrong.  (Ubuntu 
isn't exactly an OS I use everyday.)

On Thursday, July 17, 2014 2:06:14 PM UTC-7, David Trowbridge wrote:
>
> That's pretty mysterious. Are you sure that the logging you added is in 
> the correct places?
>
> -David
>
>
> On Thu, Jul 17, 2014 at 2:01 PM, fireworm  > wrote:
>
>> Yep, that's what I did.  But it refuses to acknowledge I changed the 
>> actual execution logic...  Or it's just super smart?
>>
>> For reference, here's what I'm doing:
>>
>> $ sudo chown -R [me] 
>> /usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
>>  [delete review_request.pyc and backends.pyc]
>> $ sudo chown -R www-data 
>> /usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
>> $ sudo service apache2 restart
>> $ sudo service memcached restart
>>  [reload webpage, try to add a user to the review]
>>  [see that both request_review.pyc and backends.pyc are updated]
>> $ cat /bar/www/[rbsite]/logs/reviewboard.log
>>  [no prints in there from my new logging.debug()]
>> $ sudo cat /var/log/apache2/error.log
>>  [no prints in there from 'bad python code']
>>
>> I think I'm going insane...
>>
>> I've even just restarted the computer itself too, but that doesn't do 
>> anything either...
>>
>> On Thursday, July 17, 2014 1:49:48 PM UTC-7, David Trowbridge wrote:
>>
>>> You probably need to delete the .pyc file and reload the web server.
>>>
>>> -David
>>>
>>>
>>> On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran  wrote:
>>>
 Do you also need to restart memcached?

 -- 
  Bruce



 On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff  
 wrote:

> *bump bump*
>
> Anyone?  Still haven't figured out how to get a local change to the py 
> scripts to reflect correctly in the running copy.
>
  -- 
 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...@googlegroups.com.

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread David Trowbridge
That's pretty mysterious. Are you sure that the logging you added is in the
correct places?

-David


On Thu, Jul 17, 2014 at 2:01 PM, fireworm  wrote:

> Yep, that's what I did.  But it refuses to acknowledge I changed the
> actual execution logic...  Or it's just super smart?
>
> For reference, here's what I'm doing:
>
> $ sudo chown -R [me]
> /usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
>  [delete review_request.pyc and backends.pyc]
> $ sudo chown -R www-data
> /usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
> $ sudo service apache2 restart
> $ sudo service memcached restart
>  [reload webpage, try to add a user to the review]
>  [see that both request_review.pyc and backends.pyc are updated]
> $ cat /bar/www/[rbsite]/logs/reviewboard.log
>  [no prints in there from my new logging.debug()]
> $ sudo cat /var/log/apache2/error.log
>  [no prints in there from 'bad python code']
>
> I think I'm going insane...
>
> I've even just restarted the computer itself too, but that doesn't do
> anything either...
>
> On Thursday, July 17, 2014 1:49:48 PM UTC-7, David Trowbridge wrote:
>
>> You probably need to delete the .pyc file and reload the web server.
>>
>> -David
>>
>>
>> On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran  wrote:
>>
>>> Do you also need to restart memcached?
>>>
>>> --
>>>  Bruce
>>>
>>>
>>>
>>> On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff 
>>> wrote:
>>>
 *bump bump*

 Anyone?  Still haven't figured out how to get a local change to the py
 scripts to reflect correctly in the running copy.

>>>  --
>>> 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...@googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> 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/d/optout.
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread fireworm
Yep, that's what I did.  But it refuses to acknowledge I changed the actual 
execution logic...  Or it's just super smart?

For reference, here's what I'm doing:

$ sudo chown -R [me] 
/usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
 [delete review_request.pyc and backends.pyc]
$ sudo chown -R www-data 
/usr/locla/lib/python2.7/dist-packages/reviewboard-2.0.1-py2.7.egg/
$ sudo service apache2 restart
$ sudo service memcached restart
 [reload webpage, try to add a user to the review]
 [see that both request_review.pyc and backends.pyc are updated]
$ cat /bar/www/[rbsite]/logs/reviewboard.log
 [no prints in there from my new logging.debug()]
$ sudo cat /var/log/apache2/error.log
 [no prints in there from 'bad python code']

I think I'm going insane...

I've even just restarted the computer itself too, but that doesn't do 
anything either...

On Thursday, July 17, 2014 1:49:48 PM UTC-7, David Trowbridge wrote:
>
> You probably need to delete the .pyc file and reload the web server.
>
> -David
>
>
> On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran  > wrote:
>
>> Do you also need to restart memcached?
>>
>> -- 
>> Bruce
>>
>>
>>
>> On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff > > wrote:
>>
>>> *bump bump*
>>>
>>> Anyone?  Still haven't figured out how to get a local change to the py 
>>> scripts to reflect correctly in the running copy.
>>>
>>  -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread David Trowbridge
You probably need to delete the .pyc file and reload the web server.

-David


On Thu, Jul 17, 2014 at 11:32 AM, Bruce Cran  wrote:

> Do you also need to restart memcached?
>
> --
> Bruce
>
>
>
> On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff 
> wrote:
>
>> *bump bump*
>>
>> Anyone?  Still haven't figured out how to get a local change to the py
>> scripts to reflect correctly in the running copy.
>>
>  --
> 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/d/optout.
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread Bruce Cran
Do you also need to restart memcached?

-- 
Bruce


On Thu, Jul 17, 2014 at 9:51 AM, Jason Batchkoff 
wrote:

> *bump bump*
>
> Anyone?  Still haven't figured out how to get a local change to the py
> scripts to reflect correctly in the running copy.
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-07-17 Thread Jason Batchkoff
*bump bump*

Anyone?  Still haven't figured out how to get a local change to the py
scripts to reflect correctly in the running copy.


On Wed, Jul 2, 2014 at 9:58 AM, fireworm  wrote:

> *bump*
>
> Anyone have any ideas?
>
>
> On Thursday, June 26, 2014 11:53:46 AM UTC-7, fireworm wrote:
>>
>> Removed the pyc file (review_request.pyc).
>> Set myself as the owner (not www-data or admin or whatever).
>> Restarted apache.
>> Refreshed the review webpage.
>> Page loaded just fine, no pyc next to review_request.py.
>>
>> Seems super suspicious.
>>
>> On Thursday, June 26, 2014 11:47:41 AM UTC-7, Christian Hammond wrote:
>>>
>>> Yeah, it does sound like it’s not executing.
>>>
>>> Try removing the .pyc file, just to check.
>>>
>>> Christian
>>> --
>>> Christian Hammond - chri...@beanbaginc.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>> On June 26, 2014 at 10:12:41 AM, fireworm (firew...@gmail.com) wrote:
>>>
>>> Ok, adding garbage text to the python is not causing the server to go
>>> down, I'm thinking my updates aren't taking effect.
>>>
>>> More sanity checking: I don't have any of the developer code installed
>>> and am modifying the install itself, right?  I don't need to update an
>>> executable somewhere forcibly?
>>>
>>> The folder which I'm updating the python is in:
>>>
>>>  /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-
>>> py2.7.egg/reviewboard
>>>
>>> I see the pyc get updated, but again, it just runs happily, which seems
>>> very suspicious to me.
>>>
>>> I even put logging in webapi/resources/review_request.py, in
>>> _find_user(), which didn't update.
>>>
>>> Does any of this make sense?
>>>
>>> On Thursday, June 26, 2014 9:46:30 AM UTC-7, fireworm wrote:

 ...I get the feeling my changes to the python are somehow not being
 actually run.

 Is there a place I can put a logging.debug() call that absolutely gets
 hit 100% of the time to make sure i can see it?

 On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote:
>
> Local Site: Not that I'm aware. (I don't know what it is...)
>
> Yep, Authentication Settings are Active Directory.  (New Users can
> login via AD just fine.)
>
> On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote:
>>
>>  Hmm, it should be called under those conditions.
>>
>>  Just to check, are you using the Local Sites feature? (If you don’t
>> know what that is, then no.)
>>
>>  Can you also just verify in Authentication Settings that it’s Active
>> Directory and not LDAP?
>>
>>  Christian
>>
>>   --
>>  Christian Hammond - chri...@beanbaginc.com
>>  Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:
>>
>>  Christian:
>>
>> Open an existing review open in the RB website.
>> Click the pencil under 'People' (which brings up a text box that is
>> empty (no one is currently on the review)).
>> Type in a name in our domain that doesn't have an account yet.
>>  (Other accounts show up in the 'intellisense'.)
>> Hit Enter.
>> Message in red says "User '' does not exist."
>>
>> Bruce:
>>
>> Yes, looking at the server log I even see other logs at DEBUG and
>> INFO level.
>>
>>18:08:32 WARNING
>>
>>  - 
>> /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
>>  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
>> content_type instead
>>   super(HttpResponse, self).__init__(*args, **kwargs)
>>
>>   18:52:28 DEBUG
>>
>>  - DiffParser.parse: Beginning parse of diff, size = 16150
>>
>>
>> On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote:
>>>
>>>  Have you bumped the logging level to DEBUG in the admin settings?
>>>
>>> --
>>> Bruce
>>>
>>>
>>> On Tue, Jun 24, 2014 at 7:02 PM, fireworm 
>>> wrote:
>>>
 I modified the one in /usr/local/lib/python2.7/
 dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py


 Then I restarted Apache, and reloaded the page, and tried to add a
 user who doesn't have an RB account.

 (I see an updated pyc in that folder as well)

 But I don't see anything in reviewboard.log or the apache error.log.

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

Re: Active Directory - Can't Assign New User to Review

2014-07-02 Thread fireworm
*bump*

Anyone have any ideas?

On Thursday, June 26, 2014 11:53:46 AM UTC-7, fireworm wrote:
>
> Removed the pyc file (review_request.pyc).
> Set myself as the owner (not www-data or admin or whatever).
> Restarted apache.
> Refreshed the review webpage.
> Page loaded just fine, no pyc next to review_request.py.
>
> Seems super suspicious.
>
> On Thursday, June 26, 2014 11:47:41 AM UTC-7, Christian Hammond wrote:
>>
>> Yeah, it does sound like it’s not executing.
>>
>> Try removing the .pyc file, just to check.
>>
>> Christian
>> -- 
>> Christian Hammond - chri...@beanbaginc.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On June 26, 2014 at 10:12:41 AM, fireworm (firew...@gmail.com) wrote:
>>
>> Ok, adding garbage text to the python is not causing the server to go 
>> down, I'm thinking my updates aren't taking effect. 
>>
>> More sanity checking: I don't have any of the developer code installed 
>> and am modifying the install itself, right?  I don't need to update an 
>> executable somewhere forcibly?
>>
>> The folder which I'm updating the python is in:
>>
>>  
>> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard
>>  
>> I see the pyc get updated, but again, it just runs happily, which seems 
>> very suspicious to me.
>>
>> I even put logging in webapi/resources/review_request.py, in 
>> _find_user(), which didn't update.
>>
>> Does any of this make sense?
>>
>> On Thursday, June 26, 2014 9:46:30 AM UTC-7, fireworm wrote: 
>>>
>>> ...I get the feeling my changes to the python are somehow not being 
>>> actually run. 
>>>
>>> Is there a place I can put a logging.debug() call that absolutely gets 
>>> hit 100% of the time to make sure i can see it?
>>>
>>> On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote: 

 Local Site: Not that I'm aware. (I don't know what it is...) 

 Yep, Authentication Settings are Active Directory.  (New Users can 
 login via AD just fine.)

 On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote: 
>
>  Hmm, it should be called under those conditions.
>  
>  Just to check, are you using the Local Sites feature? (If you don’t 
> know what that is, then no.)
>  
>  Can you also just verify in Authentication Settings that it’s Active 
> Directory and not LDAP?
>  
>  Christian
>  
>   -- 
>  Christian Hammond - chri...@beanbaginc.com
>  Review Board - http://www.reviewboard.org 
> Beanbag, Inc. - http://www.beanbaginc.com
>  
> On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:
>
>  Christian: 
>
> Open an existing review open in the RB website.
> Click the pencil under 'People' (which brings up a text box that is 
> empty (no one is currently on the review)).
> Type in a name in our domain that doesn't have an account yet.  (Other 
> accounts show up in the 'intellisense'.)
> Hit Enter.
> Message in red says "User '' does not exist."
>
> Bruce:
>
> Yes, looking at the server log I even see other logs at DEBUG and INFO 
> level.
>
>18:08:32 WARNING 
>
>  - 
> /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
>  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
> content_type instead
>   super(HttpResponse, self).__init__(*args, **kwargs)
>
>   18:52:28 DEBUG 
>
>  - DiffParser.parse: Beginning parse of diff, size = 16150
>
>   
> On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote: 
>>
>>  Have you bumped the logging level to DEBUG in the admin settings?
>>
>> --
>> Bruce
>>  
>>
>> On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:
>>
>>> I modified the one 
>>> in 
>>> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
>>>  
>>>
>>>
>>> Then I restarted Apache, and reloaded the page, and tried to add a 
>>> user who doesn't have an RB account.
>>>
>>> (I see an updated pyc in that folder as well)
>>>
>>> But I don't see anything in reviewboard.log or the apache error.log.
>>>  
>> --
> 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...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>  
>  --
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/

Re: Active Directory - Can't Assign New User to Review

2014-06-26 Thread fireworm
Removed the pyc file (review_request.pyc).
Set myself as the owner (not www-data or admin or whatever).
Restarted apache.
Refreshed the review webpage.
Page loaded just fine, no pyc next to review_request.py.

Seems super suspicious.

On Thursday, June 26, 2014 11:47:41 AM UTC-7, Christian Hammond wrote:
>
> Yeah, it does sound like it’s not executing.
>
> Try removing the .pyc file, just to check.
>
> Christian
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On June 26, 2014 at 10:12:41 AM, fireworm (firew...@gmail.com 
> ) wrote:
>
> Ok, adding garbage text to the python is not causing the server to go 
> down, I'm thinking my updates aren't taking effect. 
>
> More sanity checking: I don't have any of the developer code installed and 
> am modifying the install itself, right?  I don't need to update an 
> executable somewhere forcibly?
>
> The folder which I'm updating the python is in:
>
>  
> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard
>  
> I see the pyc get updated, but again, it just runs happily, which seems 
> very suspicious to me.
>
> I even put logging in webapi/resources/review_request.py, in _find_user(), 
> which didn't update.
>
> Does any of this make sense?
>
> On Thursday, June 26, 2014 9:46:30 AM UTC-7, fireworm wrote: 
>>
>> ...I get the feeling my changes to the python are somehow not being 
>> actually run. 
>>
>> Is there a place I can put a logging.debug() call that absolutely gets 
>> hit 100% of the time to make sure i can see it?
>>
>> On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote: 
>>>
>>> Local Site: Not that I'm aware. (I don't know what it is...) 
>>>
>>> Yep, Authentication Settings are Active Directory.  (New Users can login 
>>> via AD just fine.)
>>>
>>> On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote: 

  Hmm, it should be called under those conditions.
  
  Just to check, are you using the Local Sites feature? (If you don’t 
 know what that is, then no.)
  
  Can you also just verify in Authentication Settings that it’s Active 
 Directory and not LDAP?
  
  Christian
  
   -- 
  Christian Hammond - chri...@beanbaginc.com
  Review Board - http://www.reviewboard.org 
 Beanbag, Inc. - http://www.beanbaginc.com
  
 On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:

  Christian: 

 Open an existing review open in the RB website.
 Click the pencil under 'People' (which brings up a text box that is 
 empty (no one is currently on the review)).
 Type in a name in our domain that doesn't have an account yet.  (Other 
 accounts show up in the 'intellisense'.)
 Hit Enter.
 Message in red says "User '' does not exist."

 Bruce:

 Yes, looking at the server log I even see other logs at DEBUG and INFO 
 level.

18:08:32 WARNING 

  - 
 /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
 content_type instead
   super(HttpResponse, self).__init__(*args, **kwargs)

   18:52:28 DEBUG 

  - DiffParser.parse: Beginning parse of diff, size = 16150

   
 On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote: 
>
>  Have you bumped the logging level to DEBUG in the admin settings?
>
> --
> Bruce
>  
>
> On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:
>
>> I modified the one 
>> in 
>> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
>>  
>>
>>
>> Then I restarted Apache, and reloaded the page, and tried to add a 
>> user who doesn't have an RB account.
>>
>> (I see an updated pyc in that folder as well)
>>
>> But I don't see anything in reviewboard.log or the apache error.log.
>>  
> --
 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...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.
  
  --
> 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 
> "reviewb

Re: Active Directory - Can't Assign New User to Review

2014-06-26 Thread Christian Hammond
Yeah, it does sound like it’s not executing.

Try removing the .pyc file, just to check.

Christian
-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 26, 2014 at 10:12:41 AM, fireworm (firewor...@gmail.com) wrote:

Ok, adding garbage text to the python is not causing the server to go down, I'm 
thinking my updates aren't taking effect.

More sanity checking: I don't have any of the developer code installed and am 
modifying the install itself, right?  I don't need to update an executable 
somewhere forcibly?

The folder which I'm updating the python is in:

/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard

I see the pyc get updated, but again, it just runs happily, which seems very 
suspicious to me.

I even put logging in webapi/resources/review_request.py, in _find_user(), 
which didn't update.

Does any of this make sense?

On Thursday, June 26, 2014 9:46:30 AM UTC-7, fireworm wrote:
...I get the feeling my changes to the python are somehow not being actually 
run.

Is there a place I can put a logging.debug() call that absolutely gets hit 100% 
of the time to make sure i can see it?

On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote:
Local Site: Not that I'm aware. (I don't know what it is...)

Yep, Authentication Settings are Active Directory.  (New Users can login via AD 
just fine.)

On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote:
Hmm, it should be called under those conditions.

Just to check, are you using the Local Sites feature? (If you don’t know what 
that is, then no.)

Can you also just verify in Authentication Settings that it’s Active Directory 
and not LDAP?

Christian

-- 
Christian Hammond - chri...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:

Christian:

Open an existing review open in the RB website.
Click the pencil under 'People' (which brings up a text box that is empty (no 
one is currently on the review)).
Type in a name in our domain that doesn't have an account yet.  (Other accounts 
show up in the 'intellisense'.)
Hit Enter.
Message in red says "User '' does not exist."

Bruce:

Yes, looking at the server log I even see other logs at DEBUG and INFO level.

18:08:32 WARNING

 - 
/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
 DeprecationWarning: Using mimetype keyword argument is deprecated, use 
content_type instead
  super(HttpResponse, self).__init__(*args, **kwargs)
18:52:28 DEBUG  

 - DiffParser.parse: Beginning parse of diff, size = 16150

On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote:
Have you bumped the logging level to DEBUG in the admin settings?

--
Bruce


On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:
I modified the one in 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py

Then I restarted Apache, and reloaded the page, and tried to add a user who 
doesn't have an RB account.

(I see an updated pyc in that folder as well)

But I don't see anything in reviewboard.log or the apache error.log.
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/d/optout.

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-26 Thread fireworm
Ok, adding garbage text to the python is not causing the server to go down, 
I'm thinking my updates aren't taking effect.

More sanity checking: I don't have any of the developer code installed and 
am modifying the install itself, right?  I don't need to update an 
executable somewhere forcibly?

The folder which I'm updating the python is in:

/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard

I see the pyc get updated, but again, it just runs happily, which seems 
very suspicious to me.

I even put logging in webapi/resources/review_request.py, in _find_user(), 
which didn't update.

Does any of this make sense?

On Thursday, June 26, 2014 9:46:30 AM UTC-7, fireworm wrote:
>
> ...I get the feeling my changes to the python are somehow not being 
> actually run.
>
> Is there a place I can put a logging.debug() call that absolutely gets hit 
> 100% of the time to make sure i can see it?
>
> On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote:
>>
>> Local Site: Not that I'm aware. (I don't know what it is...)
>>
>> Yep, Authentication Settings are Active Directory.  (New Users can login 
>> via AD just fine.)
>>
>> On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote:
>>>
>>> Hmm, it should be called under those conditions.
>>>
>>> Just to check, are you using the Local Sites feature? (If you don’t know 
>>> what that is, then no.)
>>>
>>> Can you also just verify in Authentication Settings that it’s Active 
>>> Directory and not LDAP?
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chri...@beanbaginc.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>> On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:
>>>
>>> Christian: 
>>>
>>> Open an existing review open in the RB website.
>>> Click the pencil under 'People' (which brings up a text box that is 
>>> empty (no one is currently on the review)).
>>> Type in a name in our domain that doesn't have an account yet.  (Other 
>>> accounts show up in the 'intellisense'.)
>>> Hit Enter.
>>> Message in red says "User '' does not exist."
>>>
>>> Bruce:
>>>
>>> Yes, looking at the server log I even see other logs at DEBUG and INFO 
>>> level.
>>>
>>>18:08:32 WARNING 
>>>
>>>  - 
>>> /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
>>>  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
>>> content_type instead
>>>   super(HttpResponse, self).__init__(*args, **kwargs)
>>>
>>>   18:52:28 DEBUG 
>>>
>>>  - DiffParser.parse: Beginning parse of diff, size = 16150
>>>
>>>   
>>> On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote: 

  Have you bumped the logging level to DEBUG in the admin settings?

 --
 Bruce
  

 On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:

> I modified the one 
> in 
> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
>  
>
>
> Then I restarted Apache, and reloaded the page, and tried to add a 
> user who doesn't have an RB account.
>
> (I see an updated pyc in that folder as well)
>
> But I don't see anything in reviewboard.log or the apache error.log.
>  
 --
>>> 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...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-26 Thread fireworm
...I get the feeling my changes to the python are somehow not being 
actually run.

Is there a place I can put a logging.debug() call that absolutely gets hit 
100% of the time to make sure i can see it?

On Thursday, June 26, 2014 9:19:22 AM UTC-7, fireworm wrote:
>
> Local Site: Not that I'm aware. (I don't know what it is...)
>
> Yep, Authentication Settings are Active Directory.  (New Users can login 
> via AD just fine.)
>
> On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote:
>>
>> Hmm, it should be called under those conditions.
>>
>> Just to check, are you using the Local Sites feature? (If you don’t know 
>> what that is, then no.)
>>
>> Can you also just verify in Authentication Settings that it’s Active 
>> Directory and not LDAP?
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chri...@beanbaginc.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com) wrote:
>>
>> Christian: 
>>
>> Open an existing review open in the RB website.
>> Click the pencil under 'People' (which brings up a text box that is empty 
>> (no one is currently on the review)).
>> Type in a name in our domain that doesn't have an account yet.  (Other 
>> accounts show up in the 'intellisense'.)
>> Hit Enter.
>> Message in red says "User '' does not exist."
>>
>> Bruce:
>>
>> Yes, looking at the server log I even see other logs at DEBUG and INFO 
>> level.
>>
>>18:08:32 WARNING 
>>
>>  - 
>> /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
>>  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
>> content_type instead
>>   super(HttpResponse, self).__init__(*args, **kwargs)
>>
>>   18:52:28 DEBUG 
>>
>>  - DiffParser.parse: Beginning parse of diff, size = 16150
>>
>>   
>> On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote: 
>>>
>>>  Have you bumped the logging level to DEBUG in the admin settings?
>>>
>>> --
>>> Bruce
>>>  
>>>
>>> On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:
>>>
 I modified the one 
 in 
 /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
  


 Then I restarted Apache, and reloaded the page, and tried to add a user 
 who doesn't have an RB account.

 (I see an updated pyc in that folder as well)

 But I don't see anything in reviewboard.log or the apache error.log.
  
>>> --
>> 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...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-26 Thread fireworm
Local Site: Not that I'm aware. (I don't know what it is...)

Yep, Authentication Settings are Active Directory.  (New Users can login 
via AD just fine.)

On Thursday, June 26, 2014 12:49:57 AM UTC-7, Christian Hammond wrote:
>
> Hmm, it should be called under those conditions.
>
> Just to check, are you using the Local Sites feature? (If you don’t know 
> what that is, then no.)
>
> Can you also just verify in Authentication Settings that it’s Active 
> Directory and not LDAP?
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On June 25, 2014 at 9:21:24 AM, fireworm (firew...@gmail.com ) 
> wrote:
>
> Christian: 
>
> Open an existing review open in the RB website.
> Click the pencil under 'People' (which brings up a text box that is empty 
> (no one is currently on the review)).
> Type in a name in our domain that doesn't have an account yet.  (Other 
> accounts show up in the 'intellisense'.)
> Hit Enter.
> Message in red says "User '' does not exist."
>
> Bruce:
>
> Yes, looking at the server log I even see other logs at DEBUG and INFO 
> level.
>
>18:08:32 WARNING 
>
>  - 
> /usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
>  DeprecationWarning: Using mimetype keyword argument is deprecated, use 
> content_type instead
>   super(HttpResponse, self).__init__(*args, **kwargs)
>
>   18:52:28 DEBUG 
>
>  - DiffParser.parse: Beginning parse of diff, size = 16150
>
>   
> On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote: 
>>
>>  Have you bumped the logging level to DEBUG in the admin settings?
>>
>> --
>> Bruce
>>  
>>
>> On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:
>>
>>> I modified the one 
>>> in 
>>> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
>>>  
>>>
>>>
>>> Then I restarted Apache, and reloaded the page, and tried to add a user 
>>> who doesn't have an RB account.
>>>
>>> (I see an updated pyc in that folder as well)
>>>
>>> But I don't see anything in reviewboard.log or the apache error.log.
>>>  
>> --
> 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...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-26 Thread Christian Hammond
Hmm, it should be called under those conditions.

Just to check, are you using the Local Sites feature? (If you don’t know what 
that is, then no.)

Can you also just verify in Authentication Settings that it’s Active Directory 
and not LDAP?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 25, 2014 at 9:21:24 AM, fireworm (firewor...@gmail.com) wrote:

Christian:

Open an existing review open in the RB website.
Click the pencil under 'People' (which brings up a text box that is empty (no 
one is currently on the review)).
Type in a name in our domain that doesn't have an account yet.  (Other accounts 
show up in the 'intellisense'.)
Hit Enter.
Message in red says "User '' does not exist."

Bruce:

Yes, looking at the server log I even see other logs at DEBUG and INFO level.

18:08:32 WARNING

 - 
/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
 DeprecationWarning: Using mimetype keyword argument is deprecated, use 
content_type instead
  super(HttpResponse, self).__init__(*args, **kwargs)
18:52:28 DEBUG  

 - DiffParser.parse: Beginning parse of diff, size = 16150

On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote:
Have you bumped the logging level to DEBUG in the admin settings?

--
Bruce


On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:
I modified the one in 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py

Then I restarted Apache, and reloaded the page, and tried to add a user who 
doesn't have an RB account.

(I see an updated pyc in that folder as well)

But I don't see anything in reviewboard.log or the apache error.log.
--
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/d/optout.

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-25 Thread fireworm
Christian:

Open an existing review open in the RB website.
Click the pencil under 'People' (which brings up a text box that is empty 
(no one is currently on the review)).
Type in a name in our domain that doesn't have an account yet.  (Other 
accounts show up in the 'intellisense'.)
Hit Enter.
Message in red says "User '' does not exist."

Bruce:

Yes, looking at the server log I even see other logs at DEBUG and INFO 
level.

18:08:32WARNING

 - 
/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/http/response.py:327:
 DeprecationWarning: Using mimetype keyword argument is deprecated, use 
content_type instead
  super(HttpResponse, self).__init__(*args, **kwargs)

18:52:28DEBUG

 - DiffParser.parse: Beginning parse of diff, size = 16150


On Wednesday, June 25, 2014 7:41:39 AM UTC-7, Bruce Cran wrote:
>
> Have you bumped the logging level to DEBUG in the admin settings?
>
> -- 
> Bruce
>
>
> On Tue, Jun 24, 2014 at 7:02 PM, fireworm  > wrote:
>
>> I modified the one 
>> in 
>> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
>>
>> Then I restarted Apache, and reloaded the page, and tried to add a user 
>> who doesn't have an RB account.
>>
>> (I see an updated pyc in that folder as well)
>>
>> But I don't see anything in reviewboard.log or the apache error.log.
>>
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-25 Thread Bruce Cran
Have you bumped the logging level to DEBUG in the admin settings?

-- 
Bruce


On Tue, Jun 24, 2014 at 7:02 PM, fireworm  wrote:

> I modified the one
> in 
> /usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py
>
> Then I restarted Apache, and reloaded the page, and tried to add a user
> who doesn't have an RB account.
>
> (I see an updated pyc in that folder as well)
>
> But I don't see anything in reviewboard.log or the apache error.log.
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-25 Thread Christian Hammond
Just to sanity-check, can you tell me the exact steps you’re using for adding a 
user, and exactly what you see on the screen?

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 24, 2014 at 6:02:03 PM, fireworm (firewor...@gmail.com) wrote:

I modified the one in 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py

Then I restarted Apache, and reloaded the page, and tried to add a user who 
doesn't have an RB account.

(I see an updated pyc in that folder as well)

But I don't see anything in reviewboard.log or the apache error.log.

On Tuesday, June 24, 2014 12:45:22 PM UTC-7, Christian Hammond wrote:
Sorry, busy few days.

You would need to edit reviewboard/accounts/backends.py and look for 
ActiveDirectoryBackend.

In it, you will find a ‘get_or_create_user’ function.

I’d start by adding a logging statement just below where username is assigned:

    logging.debug(‘ActiveDirectoryBackend.get_or_create_user: username = %s’, 
username)

Then, after the ‘user =‘ line:

    logging.debug(‘ActiveDirectoryBackend.get_or_create_user: Found user: %r’, 
user)

Then, before the ‘return user’:

    logging.debug(‘ActiveDirectoryBackend.get_or_create_user: Created new user 
%r’, user)

Then, change the ‘except’: to:

    except Exception as e:
        logging.error(‘ActiveDirectoryBackend.get_or_create_user: Failed to 
create user: %s’, e, exc_info=1)

Make sure to keep all indentation as spaces, multiples of 4.

You’ll then need to restart Apache, try to add a user in LDAP, and see what’s 
in the log.

The users will not appear in the auto-complete list until the user has either 
logged in or you’ve explicitly typed their username and added them at least 
once.

Christian

-- 
Christian Hammond - chri...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 23, 2014 at 2:11:27 PM, fireworm (firew...@gmail.com) wrote:

*bump*

Any ideas on what I can do?

On Thursday, June 19, 2014 9:08:00 AM UTC-7, fireworm wrote:
I'd be ok with adding some logging.

Just be super explicit on what to do and what commands to run after.  :)

On Thursday, June 19, 2014 12:54:49 AM UTC-7, Christian Hammond wrote:
Hi,

Would you feel comfortable adding some logging statements to the 
ActiveDirectory code to help track this down? It’s supposed to look up the 
appropriate user and add it, even if Review Board doesn’t yet know about it.

I can give you instructions on where to add them.

Christian

-- 
Christian Hammond - chri...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 18, 2014 at 1:42:43 PM, fireworm (firew...@gmail.com) wrote:

New install of RB 2.0.2 on Ubuntu, with Active Directory login working.  Users 
can login once and create their account correctly.

But I can't seem to add a user to a review who has not logged in at least once.

I enabled logging, but don't see anything in the log after failing to add a 
user.

(Looking at the sources, backends.py for ActiveDirectory doesn't output errors 
for exceptions in get_or_create_user())

Any advice on how to get this working?
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/d/optout.

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

Re: Active Directory - Can't Assign New User to Review

2014-06-24 Thread fireworm
I modified the one 
in 
/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.1-py2.7.egg/reviewboard/accounts/backend.py

Then I restarted Apache, and reloaded the page, and tried to add a user who 
doesn't have an RB account.

(I see an updated pyc in that folder as well)

But I don't see anything in reviewboard.log or the apache error.log.

On Tuesday, June 24, 2014 12:45:22 PM UTC-7, Christian Hammond wrote:
>
> Sorry, busy few days.
>
> You would need to edit reviewboard/accounts/backends.py and look for 
> ActiveDirectoryBackend.
>
> In it, you will find a ‘get_or_create_user’ function.
>
> I’d start by adding a logging statement just below where username is 
> assigned:
>
> logging.debug(‘ActiveDirectoryBackend.get_or_create_user: username = 
> %s’, username)
>
> Then, after the ‘user =‘ line:
>
> logging.debug(‘ActiveDirectoryBackend.get_or_create_user: Found user: 
> %r’, user)
>
> Then, before the ‘return user’:
>
> logging.debug(‘ActiveDirectoryBackend.get_or_create_user: Created new 
> user %r’, user)
>
> Then, change the ‘except’: to:
>
> except Exception as e:
> logging.error(‘ActiveDirectoryBackend.get_or_create_user: Failed 
> to create user: %s’, e, exc_info=1)
>
> Make sure to keep all indentation as spaces, multiples of 4.
>
> You’ll then need to restart Apache, try to add a user in LDAP, and see 
> what’s in the log.
>
> The users will not appear in the auto-complete list until the user has 
> either logged in or you’ve explicitly typed their username and added them 
> at least once.
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On June 23, 2014 at 2:11:27 PM, fireworm (firew...@gmail.com ) 
> wrote:
>
> *bump* 
>
> Any ideas on what I can do?
>
> On Thursday, June 19, 2014 9:08:00 AM UTC-7, fireworm wrote: 
>>
>> I'd be ok with adding some logging. 
>>
>> Just be super explicit on what to do and what commands to run after.  :)
>>
>> On Thursday, June 19, 2014 12:54:49 AM UTC-7, Christian Hammond wrote: 
>>>
>>>  Hi,
>>>  
>>>  Would you feel comfortable adding some logging statements to the 
>>> ActiveDirectory code to help track this down? It’s supposed to look up the 
>>> appropriate user and add it, even if Review Board doesn’t yet know about it.
>>>  
>>>  I can give you instructions on where to add them.
>>>  
>>>  Christian
>>>  
>>>   -- 
>>>  Christian Hammond - chri...@beanbaginc.com
>>>  Review Board - http://www.reviewboard.org 
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>  
>>> On June 18, 2014 at 1:42:43 PM, fireworm (firew...@gmail.com) wrote:
>>>
>>>  New install of RB 2.0.2 on Ubuntu, with Active Directory login 
>>> working.  Users can login once and create their account correctly. 
>>>
>>> But I can't seem to add a user to a review who has not logged in at 
>>> least once.
>>>
>>> I enabled logging, but don't see anything in the log after failing to 
>>> add a user.
>>>
>>> (Looking at the sources, backends.py for ActiveDirectory doesn't output 
>>> errors for exceptions in get_or_create_user())
>>>
>>> Any advice on how to get this working?
>>>  --
>>> 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...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>  
>>> --
> 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...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-24 Thread Christian Hammond
Sorry, busy few days.

You would need to edit reviewboard/accounts/backends.py and look for 
ActiveDirectoryBackend.

In it, you will find a ‘get_or_create_user’ function.

I’d start by adding a logging statement just below where username is assigned:

    logging.debug(‘ActiveDirectoryBackend.get_or_create_user: username = %s’, 
username)

Then, after the ‘user =‘ line:

    logging.debug(‘ActiveDirectoryBackend.get_or_create_user: Found user: %r’, 
user)

Then, before the ‘return user’:

    logging.debug(‘ActiveDirectoryBackend.get_or_create_user: Created new user 
%r’, user)

Then, change the ‘except’: to:

    except Exception as e:
        logging.error(‘ActiveDirectoryBackend.get_or_create_user: Failed to 
create user: %s’, e, exc_info=1)

Make sure to keep all indentation as spaces, multiples of 4.

You’ll then need to restart Apache, try to add a user in LDAP, and see what’s 
in the log.

The users will not appear in the auto-complete list until the user has either 
logged in or you’ve explicitly typed their username and added them at least 
once.

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 23, 2014 at 2:11:27 PM, fireworm (firewor...@gmail.com) wrote:

*bump*

Any ideas on what I can do?

On Thursday, June 19, 2014 9:08:00 AM UTC-7, fireworm wrote:
I'd be ok with adding some logging.

Just be super explicit on what to do and what commands to run after.  :)

On Thursday, June 19, 2014 12:54:49 AM UTC-7, Christian Hammond wrote:
Hi,

Would you feel comfortable adding some logging statements to the 
ActiveDirectory code to help track this down? It’s supposed to look up the 
appropriate user and add it, even if Review Board doesn’t yet know about it.

I can give you instructions on where to add them.

Christian

-- 
Christian Hammond - chri...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 18, 2014 at 1:42:43 PM, fireworm (firew...@gmail.com) wrote:

New install of RB 2.0.2 on Ubuntu, with Active Directory login working.  Users 
can login once and create their account correctly.

But I can't seem to add a user to a review who has not logged in at least once.

I enabled logging, but don't see anything in the log after failing to add a 
user.

(Looking at the sources, backends.py for ActiveDirectory doesn't output errors 
for exceptions in get_or_create_user())

Any advice on how to get this working?
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/d/optout.

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-23 Thread fireworm
*bump*

Any ideas on what I can do?

On Thursday, June 19, 2014 9:08:00 AM UTC-7, fireworm wrote:
>
> I'd be ok with adding some logging.
>
> Just be super explicit on what to do and what commands to run after.  :)
>
> On Thursday, June 19, 2014 12:54:49 AM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> Would you feel comfortable adding some logging statements to the 
>> ActiveDirectory code to help track this down? It’s supposed to look up the 
>> appropriate user and add it, even if Review Board doesn’t yet know about it.
>>
>> I can give you instructions on where to add them.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chri...@beanbaginc.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On June 18, 2014 at 1:42:43 PM, fireworm (firew...@gmail.com) wrote:
>>
>> New install of RB 2.0.2 on Ubuntu, with Active Directory login working. 
>>  Users can login once and create their account correctly. 
>>
>> But I can't seem to add a user to a review who has not logged in at least 
>> once.
>>
>> I enabled logging, but don't see anything in the log after failing to add 
>> a user.
>>
>> (Looking at the sources, backends.py for ActiveDirectory doesn't output 
>> errors for exceptions in get_or_create_user())
>>
>> Any advice on how to get this working?
>>  --
>> 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...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-19 Thread fireworm
I'd be ok with adding some logging.

Just be super explicit on what to do and what commands to run after.  :)

On Thursday, June 19, 2014 12:54:49 AM UTC-7, Christian Hammond wrote:
>
> Hi,
>
> Would you feel comfortable adding some logging statements to the 
> ActiveDirectory code to help track this down? It’s supposed to look up the 
> appropriate user and add it, even if Review Board doesn’t yet know about it.
>
> I can give you instructions on where to add them.
>
> Christian
>
> -- 
> Christian Hammond - chri...@beanbaginc.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On June 18, 2014 at 1:42:43 PM, fireworm (firew...@gmail.com ) 
> wrote:
>
> New install of RB 2.0.2 on Ubuntu, with Active Directory login working. 
>  Users can login once and create their account correctly. 
>
> But I can't seem to add a user to a review who has not logged in at least 
> once.
>
> I enabled logging, but don't see anything in the log after failing to add 
> a user.
>
> (Looking at the sources, backends.py for ActiveDirectory doesn't output 
> errors for exceptions in get_or_create_user())
>
> Any advice on how to get this working?
>  --
> 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...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
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/d/optout.


Re: Active Directory - Can't Assign New User to Review

2014-06-19 Thread Christian Hammond
Hi,

Would you feel comfortable adding some logging statements to the 
ActiveDirectory code to help track this down? It’s supposed to look up the 
appropriate user and add it, even if Review Board doesn’t yet know about it.

I can give you instructions on where to add them.

Christian

-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

On June 18, 2014 at 1:42:43 PM, fireworm (firewor...@gmail.com) wrote:

New install of RB 2.0.2 on Ubuntu, with Active Directory login working.  Users 
can login once and create their account correctly.

But I can't seem to add a user to a review who has not logged in at least once.

I enabled logging, but don't see anything in the log after failing to add a 
user.

(Looking at the sources, backends.py for ActiveDirectory doesn't output errors 
for exceptions in get_or_create_user())

Any advice on how to get this working?
--
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/d/optout.

-- 
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/d/optout.


Re: Active directory groups as review groups

2013-10-30 Thread Christian Hammond
Hi Logan,

I believe I've heard of people doing this in the past, with custom
scripts, but we don't have any support for it directly in Review Board
today.

Christian


On Wednesday, October 30, 2013, Logan Stuart wrote:

> Is it possible to utilize existing AD groups as review groups?  We have
> several AD groups which we are currently mirroring manually in
> reviewboard.  We use AD for our authentication method so it would make
> sense if this were an option.
>
> --
> 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  'cvml', 'reviewboard%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>


-- 
-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

-- 
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: Active Directory Authentication with TLS

2012-01-18 Thread Thilo-Alexander Ginkel
On Tue, Jan 17, 2012 at 21:09, Brad Hards  wrote:
> On Wednesday 18 January 2012 02:08:50 Thilo-Alexander Ginkel wrote:
>> When disabling TLS, everything works like expected.
> Are you just enabling / disabling TLS?

Yes.

>> Any ideas? Do I need to register the AD DC's CA certificate as trusted
>> root somewhere?
> Check you're using the right port for your AD configuration (perhaps 636 or
> 3269 depending on whether you're trying to talk to the GC or not).

According to tcpdump Review Board uses port 389 (ldap) to connect to
the AD if TLS is enabled.

I verified using another LDAP client that the AD server supports
StartTLS on port 389 and ldaps on port 636.

AFAICS, there is no way to change the port from the RB admin
interface. Is there anything obvious that I am missing?

Thanks,
Thilo

-- 
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: Active Directory Authentication with TLS

2012-01-17 Thread Brad Hards
On Wednesday 18 January 2012 02:08:50 Thilo-Alexander Ginkel wrote:
> When disabling TLS, everything works like expected.
Are you just enabling / disabling TLS?

> Any ideas? Do I need to register the AD DC's CA certificate as trusted
> root somewhere?
Check you're using the right port for your AD configuration (perhaps 636 or 
3269 depending on whether you're trying to talk to the GC or not).

HTH

Brad

-- 
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: Active directory auth

2011-08-26 Thread sssd help
Is there anyway to pass a bind user to initiate the authentication request?

On Fri, Aug 26, 2011 at 10:47 AM, sssd help  wrote:

> Hi list,
>
> Thanks everyone for the help I've received thus far. I'm running into
> one final issue and that is with authentication to active directory. I
> have updated the settings as would seem correct for our environment,
> however I am not able to authenticate to AD.
>
> When i make changes to the settings page where are these changes
> reflected? Is python handling the auth requests or is it apache? Is
> this logged anywhere?
>
> Thanks for any help.
>
> Brandon
>
> --
> 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

Re: Active Directory (or LDAP) authentication setup to AD server that disallows anonymous queries

2011-04-28 Thread Christian Hammond
Hi,

There's no support in RB for syncing/mapping groups. You'd need a
custom tool that performs this based on your setup and requirements.

Christian

On Thursday, April 28, 2011, Game_Maker  wrote:
> UPDATE:  I found that this actually *is* working properly (it checks
> Active Directory then falls back to standard auth if Active Directory
> fails).
>
> I'd still appreciate any information anyone can provide on mapping RB
> groups to Active Directory or LDAP groups.
>
> Thanks!
>
> On Apr 27, 2:51 pm, Game_Maker wrote:
>> I haven't been able to find in the documentation or the forums any
>> information on how Active Directory or LDAP requests from reviewboard
>> are themselves authenticated.  For security reasons, we disallow
>> anonymous/unauthenticated queries against our Active Directory/LDAP
>> service.  Is this possible with the current version of RB?
>>
>> Also, if I want to tie reviewboard groups to Active Directory or LDAP
>> groups, is that possible?
>>
>> Any assistance or insights are greatly appreciated!
>>
>> ===
>> From the bug template:
>> ===
>>
>> What version are you running?
>>
>> 1.5.4 on Ubuntu Server 10.04.2 (lucid)
>>
>> What's the URL of the page containing the problem?
>>
>> n/a
>>
>> What steps will reproduce the problem?
>> 1.  Configure Windows Active Directory to disallow anonymous queries
>> 2.  Configure reviewboard to use Active Directory authentication;
>> point to Active Direcory service from step 1.
>> 3.  Observe that Active Directory queries from review board fail
>>
>> What is the expected output? What do you see instead?
>>
>> Expected outcome is that users and passwords are now checked against
>> the Windows Active Directory instead of the standard/builtin user
>> database.
>>
>> What operating system are you using? What browser?
>>
>> Ubuntu Server 10.04.2 (lucid) [reviewboard]
>> Python v2.6.5 [reviewboard]
>> Windows Server 2003 [Active Directory]
>>
>> Please provide any additional information below.
>
> --
> 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


Re: Active Directory (or LDAP) authentication setup to AD server that disallows anonymous queries

2011-04-28 Thread Game_Maker
UPDATE:  I found that this actually *is* working properly (it checks
Active Directory then falls back to standard auth if Active Directory
fails).

I'd still appreciate any information anyone can provide on mapping RB
groups to Active Directory or LDAP groups.

Thanks!

On Apr 27, 2:51 pm, Game_Maker wrote:
> I haven't been able to find in the documentation or the forums any
> information on how Active Directory or LDAP requests from reviewboard
> are themselves authenticated.  For security reasons, we disallow
> anonymous/unauthenticated queries against our Active Directory/LDAP
> service.  Is this possible with the current version of RB?
>
> Also, if I want to tie reviewboard groups to Active Directory or LDAP
> groups, is that possible?
>
> Any assistance or insights are greatly appreciated!
>
> ===
> From the bug template:
> ===
>
> What version are you running?
>
> 1.5.4 on Ubuntu Server 10.04.2 (lucid)
>
> What's the URL of the page containing the problem?
>
> n/a
>
> What steps will reproduce the problem?
> 1.  Configure Windows Active Directory to disallow anonymous queries
> 2.  Configure reviewboard to use Active Directory authentication;
> point to Active Direcory service from step 1.
> 3.  Observe that Active Directory queries from review board fail
>
> What is the expected output? What do you see instead?
>
> Expected outcome is that users and passwords are now checked against
> the Windows Active Directory instead of the standard/builtin user
> database.
>
> What operating system are you using? What browser?
>
> Ubuntu Server 10.04.2 (lucid) [reviewboard]
> Python v2.6.5 [reviewboard]
> Windows Server 2003 [Active Directory]
>
> Please provide any additional information below.

-- 
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: Active Directory

2010-10-11 Thread Thilo-Alexander Ginkel
On Mon, Oct 11, 2010 at 15:18, Al West  wrote:
> Okay so at least I know it works!  I did try using LDAP settings but
> it's only my second time using LDAP on Linux so I was getting the
> parameters wrong and locked myself out a few times.  How does one
> reset the authentication settings if this happens.  Though I don't
> have anything uploaded to review board it would save me doing a
> reinstall each time I lock myself out.

Reinstalling is not strictly necessary as you can tweak the site
configuration (and reset it to safe defaults) on the database.

Apart from that you may want to look into tcpdump to figure out
whether any communication is happening at all and where it starts
failing (does it talk to the LDAP server, does the DNS lookup fail,
etc.).

Regards,
Thilo

-- 
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: Active Directory

2010-10-11 Thread Al West
Okay so at least I know it works!  I did try using LDAP settings but
it's only my second time using LDAP on Linux so I was getting the
parameters wrong and locked myself out a few times.  How does one
reset the authentication settings if this happens.  Though I don't
have anything uploaded to review board it would save me doing a
reinstall each time I lock myself out.

The error I came across with LDAP was that it had failed to bind to
the server and from reading other similar problems it seemed as though
the intial connection had to have login credentials to perform the
bind. On a previous system I did not have to do this, anonymous bind
should work fine.

Cheers,
Al

On 11 October 2010 14:05, Jan Koprowski  wrote:
> We also use ReviewBoard with AD authentication but in our situation we
> use LDAP option which have some additional fields which allow restrict
> access to users selected by filter. This work really good - without
> problems with AD.
>
> On Mon, Oct 11, 2010 at 2:44 PM, Tim Pinet  wrote:
>> We use AD auth on our Windows server and it works great. If you would like
>> help with the settings then please email me personally (I don’t want to post
>> our params).
>>
>>
>>
>> Tim
>>
>>
>>
>> From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On
>> Behalf Of Christian Hammond
>> Sent: October-11-10 5:50 AM
>> To: reviewboard@googlegroups.com
>> Subject: Re: Active Directory
>>
>>
>>
>> Hi,
>>
>> People do use it, but I guess nobody who uses it has had anything useful to
>> contribute to this.
>>
>> The error you're getting is what we get from the Python ldap library when it
>> determines that the server name you provided is down. This would indicate
>> that either the machine is unreachable or that the port on it can't be
>> reached.
>>
>> Are you able to ping the AD server as specified in Review Board's AD
>> configuration from the Review Board server?
>>
>> Christian
>>
>> --
>> Christian Hammond - chip...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>> On Mon, Oct 11, 2010 at 2:30 AM, Al West  wrote:
>>
>> Does no one use active directory integration then?
>>
>> Thanks,
>> Al
>>
>> On 5 October 2010 18:05, albal  wrote:
>>> Hi,
>>>
>>> I'm trying to get Active Directory Authentication working with
>>> ReviewBoard 1.5.  I am running on Debian-Lenny and I have a successful
>>> install of ReviewBoard but I would like to have our users authenticate
>>> against our domain servers.  If I put the domain controller IP or name
>>> in the field and hit save, then logout and back in I get the following
>>> log entries:
>>>
>>> 2010-10-05 16:58:18,943 - WARNING - Active Directory: Domain
>>> controller is down
>>> 2010-10-05 16:58:18,943 - ERROR - Active Directory error: Could not
>>> contact any domain controller servers
>>>
>>> The linux machine is not part of the domain, DNS is setup correctly
>>> and the hostnames resolve fine.  Is there something else that needs to
>>> be in place?
>>>
>>> Thanks,
>>> Al
>>>
>>
>> --
>> 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
>>
>> --
>> 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: Active Directory

2010-10-11 Thread Jan Koprowski
We also use ReviewBoard with AD authentication but in our situation we
use LDAP option which have some additional fields which allow restrict
access to users selected by filter. This work really good - without
problems with AD.

On Mon, Oct 11, 2010 at 2:44 PM, Tim Pinet  wrote:
> We use AD auth on our Windows server and it works great. If you would like
> help with the settings then please email me personally (I don’t want to post
> our params).
>
>
>
> Tim
>
>
>
> From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On
> Behalf Of Christian Hammond
> Sent: October-11-10 5:50 AM
> To: reviewboard@googlegroups.com
> Subject: Re: Active Directory
>
>
>
> Hi,
>
> People do use it, but I guess nobody who uses it has had anything useful to
> contribute to this.
>
> The error you're getting is what we get from the Python ldap library when it
> determines that the server name you provided is down. This would indicate
> that either the machine is unreachable or that the port on it can't be
> reached.
>
> Are you able to ping the AD server as specified in Review Board's AD
> configuration from the Review Board server?
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
> On Mon, Oct 11, 2010 at 2:30 AM, Al West  wrote:
>
> Does no one use active directory integration then?
>
> Thanks,
> Al
>
> On 5 October 2010 18:05, albal  wrote:
>> Hi,
>>
>> I'm trying to get Active Directory Authentication working with
>> ReviewBoard 1.5.  I am running on Debian-Lenny and I have a successful
>> install of ReviewBoard but I would like to have our users authenticate
>> against our domain servers.  If I put the domain controller IP or name
>> in the field and hit save, then logout and back in I get the following
>> log entries:
>>
>> 2010-10-05 16:58:18,943 - WARNING - Active Directory: Domain
>> controller is down
>> 2010-10-05 16:58:18,943 - ERROR - Active Directory error: Could not
>> contact any domain controller servers
>>
>> The linux machine is not part of the domain, DNS is setup correctly
>> and the hostnames resolve fine.  Is there something else that needs to
>> be in place?
>>
>> Thanks,
>> Al
>>
>
> --
> 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
>
> --
> 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

-- 
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: Active Directory

2010-10-11 Thread Tim Pinet
We use AD auth on our Windows server and it works great. If you would like
help with the settings then please email me personally (I don't want to post
our params).

 

Tim

 

From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On
Behalf Of Christian Hammond
Sent: October-11-10 5:50 AM
To: reviewboard@googlegroups.com
Subject: Re: Active Directory

 

Hi,

People do use it, but I guess nobody who uses it has had anything useful to
contribute to this.

The error you're getting is what we get from the Python ldap library when it
determines that the server name you provided is down. This would indicate
that either the machine is unreachable or that the port on it can't be
reached.

Are you able to ping the AD server as specified in Review Board's AD
configuration from the Review Board server?

Christian

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



On Mon, Oct 11, 2010 at 2:30 AM, Al West  wrote:

Does no one use active directory integration then?

Thanks,
Al


On 5 October 2010 18:05, albal  wrote:
> Hi,
>
> I'm trying to get Active Directory Authentication working with
> ReviewBoard 1.5.  I am running on Debian-Lenny and I have a successful
> install of ReviewBoard but I would like to have our users authenticate
> against our domain servers.  If I put the domain controller IP or name
> in the field and hit save, then logout and back in I get the following
> log entries:
>
> 2010-10-05 16:58:18,943 - WARNING - Active Directory: Domain
> controller is down
> 2010-10-05 16:58:18,943 - ERROR - Active Directory error: Could not
> contact any domain controller servers
>
> The linux machine is not part of the domain, DNS is setup correctly
> and the hostnames resolve fine.  Is there something else that needs to
> be in place?
>
> Thanks,
> Al
>

--
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
<mailto:reviewboard%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

-- 
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: Active Directory

2010-10-11 Thread Christian Hammond
Hi,

People do use it, but I guess nobody who uses it has had anything useful to
contribute to this.

The error you're getting is what we get from the Python ldap library when it
determines that the server name you provided is down. This would indicate
that either the machine is unreachable or that the port on it can't be
reached.

Are you able to ping the AD server as specified in Review Board's AD
configuration from the Review Board server?

Christian

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


On Mon, Oct 11, 2010 at 2:30 AM, Al West  wrote:

> Does no one use active directory integration then?
>
> Thanks,
> Al
>
> On 5 October 2010 18:05, albal  wrote:
> > Hi,
> >
> > I'm trying to get Active Directory Authentication working with
> > ReviewBoard 1.5.  I am running on Debian-Lenny and I have a successful
> > install of ReviewBoard but I would like to have our users authenticate
> > against our domain servers.  If I put the domain controller IP or name
> > in the field and hit save, then logout and back in I get the following
> > log entries:
> >
> > 2010-10-05 16:58:18,943 - WARNING - Active Directory: Domain
> > controller is down
> > 2010-10-05 16:58:18,943 - ERROR - Active Directory error: Could not
> > contact any domain controller servers
> >
> > The linux machine is not part of the domain, DNS is setup correctly
> > and the hostnames resolve fine.  Is there something else that needs to
> > be in place?
> >
> > Thanks,
> > Al
> >
>
> --
> 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

Re: Active Directory

2010-10-11 Thread Al West
Does no one use active directory integration then?

Thanks,
Al

On 5 October 2010 18:05, albal  wrote:
> Hi,
>
> I'm trying to get Active Directory Authentication working with
> ReviewBoard 1.5.  I am running on Debian-Lenny and I have a successful
> install of ReviewBoard but I would like to have our users authenticate
> against our domain servers.  If I put the domain controller IP or name
> in the field and hit save, then logout and back in I get the following
> log entries:
>
> 2010-10-05 16:58:18,943 - WARNING - Active Directory: Domain
> controller is down
> 2010-10-05 16:58:18,943 - ERROR - Active Directory error: Could not
> contact any domain controller servers
>
> The linux machine is not part of the domain, DNS is setup correctly
> and the hostnames resolve fine.  Is there something else that needs to
> be in place?
>
> Thanks,
> Al
>

-- 
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: Active Directory form is disabled

2010-02-06 Thread Jan Koprowski
Hi Christian!

I find solution :) My problem based on fact i had ldap and pydns :]
and this for still doesn't work.
But running "import ldap" explain me everything. Installing all
dependencies to python-ldap on Windows is still hard so I gave up and
start using ReviewBoard under Linux.

Jan Koprowski
--
Greetings from Poland




On Feb 6, 12:32 am, Christian Hammond  wrote:
> Hi Jan,
>
> It doesn't tell you that there's a missing dependency or anything? You will
> need the ldap and PyDNS modules installed to use it. Make sure to restart
> Apache after installing those.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, Feb 3, 2010 at 8:44 AM, Jan Koprowski wrote:
>
>
>
> > Hi !
>
> > How I can edit my ActiveDirectory settings? When I enter to this
> > section i just get gray, disabled form. What modules needed?
>
> > Greetings from Poland!
> > --
> > Jan Koprowski
>
> > --
> > Want to help the Review Board project? Donate today at
> >http://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~--~~~~--~~--~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com > oups.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: Active Directory form is disabled

2010-02-05 Thread Christian Hammond
Hi Jan,

It doesn't tell you that there's a missing dependency or anything? You will
need the ldap and PyDNS modules installed to use it. Make sure to restart
Apache after installing those.

Christian

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


On Wed, Feb 3, 2010 at 8:44 AM, Jan Koprowski wrote:

> Hi !
>
> How I can edit my ActiveDirectory settings? When I enter to this
> section i just get gray, disabled form. What modules needed?
>
> Greetings from Poland!
> --
> Jan Koprowski
>
> --
> 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

Re: Active Directory Settings and ReviewBoard

2009-11-14 Thread Christian Hammond
Hi Kunjal,

There's no good way for this, short of writing custom code to automate it.
You'd need to loop through every user in AD and call
reviewboard.webapi.json.find_user("username"). I can't really help with the
part about looping through AD users, though.

That being said, you should be able to type a username in the reviewers list
and, while it won't auto-complete, it will look it up from AD and create a
user account if the user exists.

Christian

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


On Fri, Nov 13, 2009 at 11:14 AM, Kunjal  wrote:

>
> Hello,
>
> We have setup AD with ReviewBoard.
> The issue is that users need to login once in order to get
> authenticated with RB.
> Is there a way we can pre-populate user list in RB?
> This way each user does not need to login at-least once to get there
> name added.
>
> Thanks
> Kunjal
>
> > 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
-~--~~~~--~~--~--~---



Re: Active Directory

2009-08-25 Thread gbjbaanb

Eventually, I restarted httpd and tried again... and got it working.
So now I'm not going to touch it :)

My settings - to connect to a Active Directory server, using an
anonymous proxy agent (ie our AD is configured not to allow direct
connections from the untrusted world, but I can connect using a
special user account that is set up) are:

LDAP Server: "ldap://myldap.mydomain.com:389";   <-- this is important,
although other systems accept just the hostname, RB needs to be told
what port to connect to. (You might need to use the AD Global Catalog
on port 3268 instead)

LDAP Base DN: "DC=mydomain,DC=com"

E-Mail LDAP Attribute: "mail"

User Mask: "sAMAccountName=%s"
Anonymous User Mask: "CN=spec_user_id,OU=Service
Accounts,DC=mydomain,DC=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: Active Directory

2009-08-25 Thread gbjbaanb

Update: reloading httpd fixes some of the issues, and re-applying the
upgrade script (running rb-site upgrade /www/...) made a lot of
difference. It now remembers the settings!

In fact, it remembers the settings too well.. this is probably the
problem - caching. I can update a few things, then try my ldap query
(with wiresharp running so I can see what it's trying to do:  tshark -
R "ip.addr==webserver ip addr" "tcp port 389" ) and often I re-entry
my username/password and nothing happens - no ldap query gets made.
Its almost as if the settings I can see say 'use ldap' but the
authentication is still using the standard auth... actually, I find I
can log in as either of the standard users I added when I first tested
so it doesn't seem like it is using LDAP at all even thought the page
says "log in with your standard username and password".

Its driving me potty, and it has been working - I have seen LDAP
queries in wireshark as I spelled the proxy username incorrectly.
correcting that stopped ldap from working ever since.
--~--~-~--~~~---~--~~
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: Active Directory

2009-08-25 Thread gbjbaanb



On Aug 5, 8:43 pm, Tony Bibbs  wrote:
> When I select this in the settings tab it won't let me edit any of the
> AD settings.  Am I missing something?
>
> --Tony

I have a similar problem, but the settings occasionally return. It
appears that the settings do not save correctly. I can move from page
to page and my new settings are ok, but if I log out they disappear.
This also occasionally occurs when I'm moving between pages without
logging off. Typically i try to set logging on, move to change the
auth page, then go back to logging page and the fields are blank.

G.

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