Activity log for bug #1489235

Date Who What changed Old value New value Message
2015-08-27 02:53:04 Richard Bychowski bug added bug
2015-08-27 08:06:30 Richard Bychowski description This is a correct LDAP URL syntax: query_users uid ou=users,dc=example,dc=org?sub?(&(objectClass=inetOrgPerson)(employeeType=active)) Code at http://bazaar.launchpad.net/~schooltool-owners/schooltool.ldap/trunk/view/head:/src/schooltool/ldap/config.py?sort=filename parses the '(' wrongly after "sub". You have to remove the closing brackets for it to work, which looks like: query_users uid ou=users,dc=example,dc=org?sub?&(objectClass=inetOrgPerson)(employeeType=active)) Which is wrong. LDAP URL's are busted and should be as per: https://tools.ietf.org/html/rfc4515 https://tools.ietf.org/html/rfc4516 This is a correct LDAP URL syntax:    query_users uid ou=users,dc=example,dc=org?sub?(&(objectClass=inetOrgPerson)(employeeType=active)) Code at http://bazaar.launchpad.net/~schooltool-owners/schooltool.ldap/trunk/view/head:/src/schooltool/ldap/config.py?sort=filename parses the '(' wrongly after "sub". You have to remove the closing brackets for it to work, which looks like:    query_users uid ou=users,dc=example,dc=org?sub?&(objectClass=inetOrgPerson)(employeeType=active) Which is wrong. LDAP URL's are busted and should be as per: https://tools.ietf.org/html/rfc4515 https://tools.ietf.org/html/rfc4516
2015-10-20 18:04:24 Richard Bychowski bug task added schooltool.ldap (Ubuntu)