Re: Unable to login to RB Site as any user

2011-02-02 Thread Prashant
Sucess ... With that change I was able to login into the Site.

The AD authentification which was working earlier had been turned off
due to the above setting. I turned it on and AD authentification
started working. The AD name server were all in DNS name and not any
IP Addresses.

The logging was turned on. When I checked the log for the earlier
attempts, it has printed nothing. There are repeated entries like :
==
Feb. 1, 2011
16:01:18 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
16:01:18 INFO Log file for Review Board v1.5.2 (PID 8901)
Feb. 2, 2011
13:55:30 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
13:55:30 INFO Log file for Review Board v1.5.2 (PID 14739)
13:57:27 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
13:57:27 INFO Log file for Review Board v1.5.2 (PID 20021)
21:58:01 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
21:58:01 INFO Log file for Review Board v1.5.2 (PID 20026)
Feb. 3, 2011
09:22:52 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
09:22:52 INFO Log file for Review Board v1.5.2 (PID 25530)
09:23:00 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
09:23:00 INFO Log file for Review Board v1.5.2 (PID 25529)
09:23:00 INFO Logging to /path/to/site/logs/reviewboard.log with a
minimum level of DEBUG
09:23:00 INFO Log file for Review Board v1.5.2 (PID 25531)
==

I wonder what went wrong !!!

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Unable to login to RB Site as any user

2011-02-01 Thread Prashant
I am unable to login locally as admin user. I created a new super-
user, but that also does not help. I created the new super-user as

$ rb-site manage /path/to/site createsuperuser

Is there a configuration file which I can hand-edit which I can refer
and reflect any changes ?

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


Unable to login to RB Site as any user

2011-01-31 Thread Prashant
Hi,

I recently changed the IP Address of my Linux Box hosting the RB Site.
Post to this, I am unable to login as any user.

I tried to reset the password using :
$ rb-site manage /path/to/site shell
 from django.contrib.auth.models import User
 u = User.objects.get(username=admin)
 u.set_password(the new password)
 u.save()

But still cannot login. I am using :
OS : Ubuntu 10.04 LTS - 32 bit
Web Server : Apache/2.2.14 (Ubuntu)
Database : MySQL - 5.1.41-3ubuntu12
Python : 2.6.5
RB : 1.5.2
Djblets : 0.6.7-py2.6
django.VERSION : (1, 2, 1, 'final', 0)

I also have AD / LDAP Authentification enabled

The /path/to/site/conf/settings_local.py is :
# Database configuration
DATABASE_ENGINE = 'mysql'
DATABASE_NAME = 'reviewboard'
DATABASE_USER = 'root'
DATABASE_PASSWORD = 'xyzpcs'
DATABASE_HOST = 'localhost'
DATABASE_PORT = ''
#

The /etc/apache2/sites-enabled/rb_site.conf is
==
VirtualHost *:80
ServerName cr.mydomain.com
DocumentRoot /path/to/site/htdocs
# Error handlers
ErrorDocument 500 /errordocs/500.html
# Serve django pages
Location /
PythonPath ['/path/to/site/conf'] + sys.path
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE /path/to/site/tmp/egg_cache
SetEnv HOME /path/to/site/data
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
PythonDebug Off
# Used to run multiple mod_python sites in the same
apache
PythonInterpreter reviewboard_cr_digi_com
/Location
# Serve static media without running it through mod_python
# (overrides the above)
Location /media
SetHandler None
/Location
Location /errordocs
SetHandler None
/Location
Directory /path/to/site/htdocs
AllowOverride All
/Directory
# Alias static media requests to filesystem
Alias /media /path/to/site/htdocs/media
Alias /errordocs /path/to/site/htdocs/errordocs
/VirtualHost
==

There are no errors in the Apache  RB Site Logs

Please help me resolve this

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: Unable to login to RB Site as any user

2011-01-31 Thread Christian Hammond
Authentication will be going through your AD server. Sounds like some
configuration or communication problem there?

You should be able to log in as the original admin user. If so, turn
on logging (assuming it's off) and see if it says there are issues
talking to your AD server.

Christian

On Monday, January 31, 2011, Prashant mas...@gmail.com wrote:
 Hi,

 I recently changed the IP Address of my Linux Box hosting the RB Site.
 Post to this, I am unable to login as any user.

 I tried to reset the password using :
 $ rb-site manage /path/to/site shell
      from django.contrib.auth.models import User
      u = User.objects.get(username=admin)
      u.set_password(the new password)
      u.save()

 But still cannot login. I am using :
 OS : Ubuntu 10.04 LTS - 32 bit
 Web Server : Apache/2.2.14 (Ubuntu)
 Database : MySQL - 5.1.41-3ubuntu12
 Python : 2.6.5
 RB : 1.5.2
 Djblets : 0.6.7-py2.6
 django.VERSION : (1, 2, 1, 'final', 0)

 I also have AD / LDAP Authentification enabled

 The /path/to/site/conf/settings_local.py is :
 # Database configuration
 DATABASE_ENGINE = 'mysql'
 DATABASE_NAME = 'reviewboard'
 DATABASE_USER = 'root'
 DATABASE_PASSWORD = 'xyzpcs'
 DATABASE_HOST = 'localhost'
 DATABASE_PORT = ''
 #

 The /etc/apache2/sites-enabled/rb_site.conf is
 ==
 VirtualHost *:80
         ServerName cr.mydomain.com
         DocumentRoot /path/to/site/htdocs
         # Error handlers
         ErrorDocument 500 /errordocs/500.html
         # Serve django pages
         Location /
                 PythonPath ['/path/to/site/conf'] + sys.path
                 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
                 SetEnv PYTHON_EGG_CACHE /path/to/site/tmp/egg_cache
                 SetEnv HOME /path/to/site/data
                 SetHandler mod_python
                 PythonHandler django.core.handlers.modpython
                 PythonAutoReload Off
                 PythonDebug Off
                 # Used to run multiple mod_python sites in the same
 apache
                 PythonInterpreter reviewboard_cr_digi_com
         /Location
         # Serve static media without running it through mod_python
         # (overrides the above)
         Location /media
                 SetHandler None
         /Location
         Location /errordocs
                 SetHandler None
         /Location
         Directory /path/to/site/htdocs
                 AllowOverride All
         /Directory
         # Alias static media requests to filesystem
         Alias /media /path/to/site/htdocs/media
         Alias /errordocs /path/to/site/htdocs/errordocs
 /VirtualHost
 ==

 There are no errors in the Apache  RB Site Logs

 Please help me resolve this

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