facing very slow authentication responses from samba4, urget help needed

Andreas Oster aoster at novanetwork.de
Tue May 22 11:05:21 MDT 2012


Am 22.05.2012 11:14, schrieb Andreas Oster:
> Am 22.05.2012 10:08, schrieb Matthieu Patou:
>> On 05/22/2012 12:35 AM, Andreas Oster wrote:
>>> Am 22.05.2012 09:27, schrieb Matthieu Patou:
>>>> On 05/21/2012 10:23 PM, Andreas Oster wrote:
>>>>> Hello Matthieu,
>>>>>
>>>>> I have managed to improve responsiveness of the mail clients by
>>>>> reducing the LDAP queries from Postfix. Actually there had been
>>>>> an error in my config which resulted in a lot of useless querries.
>>>>> But even with the reduced amount of queries it is not fast, compared
>>>>> to the Windows server and I can see high CPU utilization by the
>>>>> samba process whenever a LDAP query is done.
>>>>>
>>>> Do you have any idea of the queries that are done ?
>>> what do you mean ?
>> do you know which LDAP queries your postfix is now doing ?
>>
>> Matthieu
>>
> Hello Matthieu,
> 
> I will test this evening and send you the logs.
> 
> best regards
> 
> Andreas
> 
Hello Matthieu,

this is the ldap queries when sending a mail from test account:

ldb: ldb FULL SEARCH:
(&(!(isDeleted=TRUE))(&(objectclass=person)(otherMailbox=test at novanetwork.de)))
SCOPE: sub DN: ou=HQ,dc=novanetwork,dc=loc

ldb: ldb FULL SEARCH:
(&(!(isDeleted=TRUE))(&(objectclass=person)(|(mail=test at novanetwork.de)(otherMailbox=test at novanetwork.de))))
SCOPE: sub DN: ou=HQ,dc=novanetwork,dc=loc

so only two ldap requests for each sent mail.

best regards

Andreas


More information about the samba-technical mailing list