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]
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.
> On Tue, Sep 9, 2008 at 10:46 PM, Martin <[EMAIL PROTECTED]> wrote:
>> I am new to this, would you mind providing a little howto?
>> I.e. how to install that file you created etc?
>> 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 firstname.lastname@example.org
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at