These are chat archives for allegro/ralph
OK, the error is out, if I enter a domain user to AUTH_LDAP_BIND_DN
The ldapsync tests are working good
but now I have a question, the major configuration as beyond is to sync only one user or all users with AUTH_LDAP_USER_USERNAME_ATTR in the name?
AUTH_LDAP_SERVER_URI = "ldap://domain.net:389" # ldap domain server AUTH_LDAP_BIND_DN = "ralph-sync" # login user AUTH_LDAP_BIND_PASSWORD = "password" # user pass AUTH_LDAP_PROTOCOL_VERSION = 3 AUTH_LDAP_USER_SEARCH_BASE = "OU=Users,DC=domain,DC=net" # OU where is synced user AUTH_LDAP_USER_USERNAME_ATTR = "ziompaul" # user to sync
username = ldap_dict[settings.AUTH_LDAP_USER_USERNAME_ATTR] KeyError: 'pszczecinski'
Sorry for my quesrions that may be very trivial for you, but I am very beginer and your documentation is not idiotresistant ;-)
username = ldap_dict[settings.AUTH_LDAP_USER_USERNAME_ATTR] KeyError: 'ziompaul'
login- check in your LDAP