Hi,

I tried to use djando-ldap-groups but got some errors from database
configuration. Could somebody shed some light on the possible problems
of my set up?

Thanks,

Our LDAP server is Sun One Server and the site is running in the
windows environment.

The settings.py file:
LDAP_SERVER = 'directory.XXX.xx'

# If using SSL use these:
LDAP_PORT = 636
LDAP_URL = 'ldaps://xxx.xxx:636'
SEARCH_DN = 'ou=people,dc=xxxxx,dc=xxxxx'
SEARCH_FIELDS = ['sn','cn','uid']
BIND_USER = 'xxxxxxxx'
sBIND_PASSWORD = 'xxxxxxxxxxxxxxxxxx'


AUTHENTICATION_BACKENDS = (
 'django.contrib.auth.backends.ModelBackend',
) .

The error message came from command: python manage.py syncdb
Creating table ldap_groups_ldapgroup
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "C:\Python26\lib\site-packages\django\core\management
\__init__.py", line
362, in execute_manager
    utility.execute()
  File "C:\Python26\lib\site-packages\django\core\management
\__init__.py", line
303, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:\Python26\lib\site-packages\django\core\management\base.py",
line 195,
 in run_from_argv
    self.execute(*args, **options.__dict__)
  File "C:\Python26\lib\site-packages\django\core\management\base.py",
line 222,
 in execute
    output = self.handle(*args, **options)
  File "C:\Python26\lib\site-packages\django\core\management\base.py",
line 351,
 in handle
    return self.handle_noargs(**options)
  File "C:\Python26\lib\site-packages\django\core\management\commands
\syncdb.py"
, line 78, in handle_noargs
    cursor.execute(statement)
  File "C:\Python26\lib\site-packages\django\db\backends\util.py",
line 19, in e
xecute
    return self.cursor.execute(sql, params)
  File "C:\Python26\lib\site-packages\django\db\backends\oracle
\base.py", line 4
34, in execute
    raise e
cx_Oracle.DatabaseError: ORA-02329: column of datatype LOB cannot be
unique or a
 primary key


--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to