First time here? Check out the FAQ!

Revision history  [back]

userassociation table in askbot db

Whats the importance of the below code in deps/django_authopenid/backends.py ? I have integrated LDAP and LDAP server seems to be returning response but code fails over here and user is hence not able to login.

Does below code expects some predefined data in table "django_authopenid_userassociation" ?

assoc = UserAssociation.objects.get(
openid_url = ldap_username + '@ldap',
provider_name = 'ldap'
)
print "backend.py - " + str(assoc)
user = assoc.user

userassociation table in askbot db

Whats the importance of the below code in deps/django_authopenid/backends.py ? I have integrated LDAP and LDAP server seems to be returning response but code fails over here and user is hence not able to login.

Does below code expects some predefined data in table "django_authopenid_userassociation" ?

assoc = UserAssociation.objects.get(
openid_url = ldap_username + '@ldap',
provider_name = 'ldap'
)
print "backend.py - " + str(assoc)
user = assoc.user

userassociation table in askbot db

Whats the importance of the below code in deps/django_authopenid/backends.py ? I have integrated LDAP and LDAP server seems to be returning response but code fails over here and user is hence not able to login.

Does below code expects some predefined data in table "django_authopenid_userassociation" ?

assoc = UserAssociation.objects.get(
UserAssociation.objects.get( openid_url = ldap_username + '@ldap',
'@ldap', provider_name = 'ldap'
)
'ldap' ) print "backend.py - " + str(assoc)
str(assoc) user = assoc.user