A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=928 ====================================================================== Reported By: kkurzyk Assigned To: ====================================================================== Project: DBMail Issue ID: 928 Category: Authentication layer Reproducibility: always Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 23-Sep-11 10:57 CEST Last Modified: 23-Sep-11 12:10 CEST ====================================================================== Summary: LDAP filter not working Description: Hello
- ldap filter not generating proper for auth and delivery [LDAP] user_objectclass = top,dbmailUser forw_objectclass = top,dbmailUser field_mail = mail query_string = (&(mail=%s)(active=on)(service=imap)) in both methods filter string is slapd[35872]: filter: (mail=x) should be (&(objectClass=top)(objectClass=dbmailUser)(mail=x)(active=on)(service=imap)) - temporary solution for auth change ldap query in auth_user_exists (authldap.c) ====================================================================== ---------------------------------------------------------------------- (0003271) paul (administrator) - 23-Sep-11 11:08 http://www.dbmail.org/mantis/view.php?id=928#c3271 ---------------------------------------------------------------------- That filter is used *only* during delivery, not in auth_user_exists. Maybe using that filter could also be used there, but as such it's a bug - more like a feature. ---------------------------------------------------------------------- (0003272) kkurzyk (reporter) - 23-Sep-11 11:35 http://www.dbmail.org/mantis/view.php?id=928#c3272 ---------------------------------------------------------------------- This is old "problem" tt 785 , "Is it already planned to add support for this" ?. ---------------------------------------------------------------------- (0003273) paul (administrator) - 23-Sep-11 11:50 http://www.dbmail.org/mantis/view.php?id=928#c3273 ---------------------------------------------------------------------- No plans, no. If you want to block access for certain users, use the usermap feature. see README.usermap It's SQL bases, not LDAP. ---------------------------------------------------------------------- (0003274) kkurzyk (reporter) - 23-Sep-11 12:10 http://www.dbmail.org/mantis/view.php?id=928#c3274 ---------------------------------------------------------------------- Ofcourse , simple "ldap trigger" add row in sql on change service or active, "nightmare" Issue History Date Modified Username Field Change ====================================================================== 23-Sep-11 10:57 kkurzyk New Issue 23-Sep-11 11:08 paul Note Added: 0003271 23-Sep-11 11:35 kkurzyk Note Added: 0003272 23-Sep-11 11:50 paul Note Added: 0003273 23-Sep-11 12:10 kkurzyk Note Added: 0003274 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev