AW: AW: LDAP Users can see other's mails

2017-11-27 Thread Katterl Christian
Update: By modifying the parameter from $config['LDAP_DISTRIBUTIONLIST_OBJECTCLASS'] = 'group'; to $config['LDAP_DISTRIBUTIONLIST_OBJECTCLASS'] = 'user'; it seems to accomplish the same without changing code in /var/www/piler/model/user/auth.php Christian Katterl Teamleader Technical IT [cid:

AW: AW: LDAP Users can see other's mails

2017-11-27 Thread Katterl Christian
I will save my fix – but i think it would be useful for others too. I wonder, that no one came across this issue before? BR and thanks for your help and support, Christian Christian Katterl Teamleader Technical IT [cid:0076-0001@01d36818.3d87f6d7] Asamer Baustoffe AG Unterthalham Straße 2 46

Re: AW: LDAP Users can see other's mails

2017-11-27 Thread Janos SUTO
OK, if it gives you a proper result, then case is solved. Be sure to save your fix in case of a future upgrade. Or I may introduce a configure option to apply your fix. Janos Original Message From: Katterl Christian Sent: Tue Nov 28 06:35:25 GMT+01:00 2017 To: Piler User Su

AW: AW: LDAP Users can see other's mails

2017-11-27 Thread Katterl Christian
Hello, maybe I have found a solution for this issue. In /var/www/piler/model/user/auth.php I changed the line 217, which originally looked like this: $query = $ldap->query($ldap_base_dn, "(|(&(objectClass=$ldap_account_objectclass)($ldap_mail_attr=$username_prefix$username))(&(objectCl