20.05.2007 23:00 Bryan Vyhmeister: >> query_filter = (&(mail=%s)) mailacceptinggeneralid=%s ist the default value for query_filter. maybe the &-operator ANDs your expression to the default. anyway, if you just want to filter for the mail address, the &- operator is unneccessary. try query_filter = (mail=%s) instead. Marc