Hi , About ldap integration, in my case, ldap authentication is OK, but what's the better way to disable for end user the possiblities of changing own password and own profile edit ? ( I notice that after a user change its password, it is possible for him to login either with ldap password, or with mysql password ). perhaps have I missed someting in docs ? thanks for your response .
Yves ---- here's parts of my configuration : #cat /etc/redhat-release CentOS release 6.3 (Final) # rpm -qa |grep baruwa baruwa-release-6-0.noarch baruwa-1.1.1-1.el6.noarch # /etc/baruwa/settings.py : import ldap from django_auth_ldap.config import LDAPSearch ... AUTHENTICATION_BACKENDS = ( 'django_auth_ldap.backend.LDAPBackend', #'baruwa.auth.backends.MailBackend', 'django.contrib.auth.backends.ModelBackend', #'baruwa.auth.radius.RadiusAuth', ) ... AUTH_PROFILE_MODULE = 'accounts.userprofile' AUTH_LDAP_SERVER_URI = "ldap://my-ldap.example.com" AUTH_LDAP_BIND_DN = "cn=xx,dc=xx" AUTH_LDAP_BIND_PASSWORD = "xx" AUTH_LDAP_USER_SEARCH = LDAPSearch("dc=xx", ldap.SCOPE_SUBTREE, "(uid=%(user)s)") AUTH_LDAP_START_TLS = True AUTH_LDAP_USER_ATTR_MAP = { "first_name": "givenName", "last_name": "sn", "email": "mail" } AUTH_LDAP_ALWAYS_UPDATE_USER = True _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

