I can't seem to get it to remember my LDAP config! I go in and set it
in Admin | Settings | General | Advanced Auth by changing the type to
LDAP, setting the LDAP server, the email domain, and updating the user
mask. When the page refreshes it has these parameters, but when I go
to the E-Mail tab and then back to the General tab, it's changed the
Auth method back to "Standard registration."
Can I modify the parameters directly by updating settings_local.py
instead as above?
On Sep 9, 9:39 pm, "Christian Hammond" <[EMAIL PROTECTED]> wrote:
> Enabling LDAP is done by going into the Admin UI, clicking Settings,
> General, and then changing the Auth Type to LDAP and filling in the fields.
> We're going to begin moving the custom LDAP mods into our upstream LDAP
> class pretty soon so that you don't have to maintain your own copy.
> Christian Hammond - [EMAIL PROTECTED]
> VMware, Inc.
> On Tue, Sep 9, 2008 at 7:15 PM, Terry Rankine <[EMAIL PROTECTED]>wrote:
> > Hi Mate
> > in accounts/backends.py there is a class called LDAPBackend.
> > The ldap mods that are spoken of are placed in here.
> > The outcome of the mods we run on our system:
> > 1. discover the DN to bind as (and check password) from the 'username'
> > 2. on create user - get email from ldap too
> > 3. on create user - check if they are in the admin group - make them a
> > super user.
> > If you want to know more about any changes - mail back to the list.
> > Terry
> > On Tue, Sep 9, 2008 at 10:46 PM, Martin <[EMAIL PROTECTED]> wrote:
> >> hi,
> >> I am new to this, would you mind providing a little howto?
> >> I.e. how to install that file you created etc?
> >> Thanks,
> >> Martin
> >> On Aug 11, 7:33 pm, teki <[EMAIL PROTECTED]> wrote:
> >> > I am using a slightly modified LDAP backend:http://gist.github.com/4967
> >> > With this settings:
> >> > LDAP_URI='ldap://127.0.0.1'
> >> > LDAP_UID_DN='cn=users,dc=....,dc=......'
> >> > LDAP_FILTER_MASK = 'uid=%s'
> >> > LDAP_ANON_BIND_UID = ''
> >> > LDAP_ANON_BIND_PASSWD = ''
> >> > AUTHENTICATION_BACKENDS = ('accounts.backends.LDAPBackend',
> >> > 'django.contrib.auth.backends.ModelBackend')
> >> > Differences:
> >> > - the first shortname will be used from the LDAP directory as username
> >> > (this way the user can use any of them)
> >> > - use email email address from the LDAP directory
> >> > teki
You received this message because you are subscribed to the Google Groups
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at