[email protected]
[Top] [All Lists]

Re: Samba VERY SLOW RPC (Spoolss, GetStatusPrinter). Samba Bug?

Subject: Re: Samba VERY SLOW RPC (Spoolss, GetStatusPrinter). Samba Bug?
From: Volker Lendecke
Date: Sat, 4 Apr 2009 10:19:32 +0200
On Fri, Apr 03, 2009 at 08:38:34PM +0400, Grey Karapetyan wrote:
> Hi Guys,
> Very need help.
> I have a printserver (Samba + Cups with passdb backend =
> ldapsam:ldap://x.x.x.x  (another server - Fedora Directory Server))
> situation:
> when windows client try open shared folders\files - works FAST(2 seconds).
> dosen't mater how many entires in ou=Users in Ldap server.
> when same windows client try print (from Windows notepad or another
> application) - getting status printer very-very-very slow(40-50 seconds)
> When in ldap number entries less - performance grow (when 10 users -
> printerstatus shows 2 seconds)
> (when 2000 users - printerstatus shows 5-8 seconds)
> WHY this may occrus? I think this Samba RPC trouble...
> Help please.

Might be due to id maps being done when checking the
security descriptors. The fact that it gets slower with the
number of users in LDAP might be an indication of bad or
missing LDAP indexes.

<Prev in Thread] Current Thread [Next in Thread>