[Samba] Performance tuning of Samba4.1 LDAP CRUD operations

Rowland Penny rowlandpenny at googlemail.com
Wed Oct 15 02:19:57 MDT 2014

On 15/10/14 05:50, Yohei Igata wrote:
> Hi, I would like to accelerate CURD operation of LDAP.
> Please let me know a tuning setup of OS or Samba.
> Although I am performing shift verification to Samba 4.1.12 from
> OpenLDAP 2.3, the CURD operation using a LDAP interface becomes 1/10
> or less speed compared with OpenLDAP.
> Although this OpenLDAP is performing an optimized tuning setup, Samba
> is in the default state immediately after carrying out "samba-tool
> domain provision".
> Even if it sees "man smb.conf", there is no information about
> performance tuning and I am troubled. ><
> # I am sorry in awkward English. I am poor at English. I need your
> help by small-children-oriented simple expression....
Hi, I take it that CURD = 'create, update, read, and delete' and you 
want to speed up any of these operations against samba4 AD.

You could try ldb-tools instead of the standard ldaptools, these were 
written to be used with samba4, they provide ldbsearch, ldbmodify etc


More information about the samba mailing list