First time here? Check out the FAQ!

benstokes's profile - activity

2017-12-07 16:21:12 -0500 received badge Good Question (source)
2014-12-13 20:57:14 -0500 received badge Nice Question (source)
2012-07-10 19:46:29 -0500 received badge Notable Question (source)
2012-06-22 02:22:37 -0500 received badge Famous Question (source)
2012-05-18 04:51:47 -0500 received badge Popular Question (source)
2012-01-24 08:39:40 -0500 commented answer Configure LDAP authentication

Thanks for the update.

2012-01-24 08:04:35 -0500 received badge Student (source)
2012-01-24 04:11:45 -0500 received badge Editor (source)
2012-01-24 04:11:26 -0500 asked a question Configure LDAP authentication

I can see a few people seem to have had success setting up askbot to authenticate against active directory but I'm having trouble with it, could anyone clarify how these fields should be used:

LDAP service provider name: I tried "Active Directory"

URL for LPAP service: I tried "ldap://10.23.2.1:389"

Explain how to change pwd: left blank

With these settings I get an Internal Server Error, and nothing inserted into the log.

2012-01-11 02:35:58 -0500 commented question Can't log in after fresh install

I can't migrate either, this is what happens. I think I will blow away the DB and start again.

2012-01-11 02:35:57 -0500 commented question Can't log in after fresh install

I can't migrate either, this is what happens. I think I will blow away the DB and start again.

/usr/lib/python2.6/site-packages/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. DeprecationWarning /usr/lib/python2.6/site-packages/django/db/__init__.py:60: DeprecationWarning: Short names for ENGINE in database configurations are deprecated. Prepend default.ENGINE with 'django.db.backends.' DeprecationWarning Running migrations for django_authopenid: - Migrating forwards to 0005_auto__del_externallogindata. > django_authopeni

2012-01-11 02:35:56 -0500 commented question Can't log in after fresh install

I can't migrate either, this is what happens. I think I will blow away the DB and start again.

2012-01-10 09:26:08 -0500 asked a question Can't log in after fresh install

I get an internal server error when logging on a user after a fresh install. The log file says this:

/usr/lib/python2.6/site-packages/askbot/middleware/pagesize.py TIME: 2012-01-10 15:19:22,959 MSG: pagesize.py:process_exception:43   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.6/site-packages/django/utils/decorators.py", line 93, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/askbot/deps/django_authopenid/views.py", line 346, in signin
    method = 'password'
  File "/usr/lib/python2.6/site-packages/django/contrib/auth/__init__.py", line 55, in authenticate
    user = backend.authenticate(**credentials)
  File "/usr/lib/python2.6/site-packages/askbot/deps/django_authopenid/backends.py", line 101, in authenticate
    provider_name = provider_name
  File "/usr/lib/python2.6/site-packages/django/db/models/manager.py", line 132, in get
    return self.get_query_set().get(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 344, in get
    num = len(clone)
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 82, in __len__
    self._result_cache = list(self.iterator())
  File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 273, in iterator
    for row in compiler.results_iter():
  File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.6/site-packages/django/db/backends/mysql/base.py", line 86, in execute
    return self.cursor.execute(query, args)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/cursors.py", line 174, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
    raise errorclass, errorvalue

My database encoding is correct (ENGINE=MyISAM)

I have searched for an answer here but coming up blank ... are there any pointers for this situation?