Closed MukeZ closed 6 years ago
Hi,
I set up LDAP_STORE_BUSINESS_UNIT = { 'CN=xxxx,DC=au': 'XXX', } in settings.py
LDAP_STORE_BUSINESS_UNIT = { 'CN=xxxx,DC=au': 'XXX', }
And I got a KeyError when I use request.session['LDAP_USER_BU']
request.session['LDAP_USER_BU']
request.session['LDAP_USER_DN'] just fine.
request.session['LDAP_USER_DN']
Cheers
ok, I see why..
I'm using LDAP_STORE_BUSINESS_UNIT that is different with LDAP_USER_DN.
Hi,
I set up
LDAP_STORE_BUSINESS_UNIT = { 'CN=xxxx,DC=au': 'XXX', }
in settings.pyAnd I got a KeyError when I use
request.session['LDAP_USER_BU']
request.session['LDAP_USER_DN']
just fine.Cheers