/[adm]/puppet/modules/transifex/templates/45-ldap.conf
ViewVC logotype

Diff of /puppet/modules/transifex/templates/45-ldap.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 618 by misc, Wed Dec 15 01:39:35 2010 UTC revision 632 by misc, Wed Dec 15 21:24:26 2010 UTC
# Line 1  Line 1 
1  AUTHENTICATION_BACKENDS = (  AUTHENTICATION_BACKENDS = (
2      'django_auth_ldap.backend.LDAPBackend',      'custom_backend.ForceUidLDAPBackend',
3      'django.contrib.auth.backends.ModelBackend',      'django.contrib.auth.backends.ModelBackend',
4  )  )
5    
# Line 23  AUTH_LDAP_BIND_DN = "cn=alamut-sympa,ou= Line 23  AUTH_LDAP_BIND_DN = "cn=alamut-sympa,ou=
23  AUTH_LDAP_BIND_PASSWORD = "<%= ldap_password %>"  AUTH_LDAP_BIND_PASSWORD = "<%= ldap_password %>"
24    
25  AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=People,<%= dc_suffix %> ",  AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=People,<%= dc_suffix %> ",
26      ldap.SCOPE_SUBTREE, "(uid=%(user)s)")      ldap.SCOPE_SUBTREE, "(|(uid=%(user)s)(mail=%(user)s))")
27    
28  # Set up the basic group parameters.  # Set up the basic group parameters.
29  AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=Group,<%= dc_suffix %>",  AUTH_LDAP_GROUP_SEARCH = LDAPSearch("ou=Group,<%= dc_suffix %>",

Legend:
Removed from v.618  
changed lines
  Added in v.632

  ViewVC Help
Powered by ViewVC 1.1.28