[SAMBA4] Help wanted: Python script to make OpenLDAP indexes

Andrew Bartlett abartlet at samba.org
Fri Mar 13 23:34:06 GMT 2009


On Fri, 2009-03-13 at 17:41 +0100, Michael Ströder wrote:
> Andrew Bartlett wrote:
> > Currently the performance of Samba4 against the OpenLDAP backend isn't
> > very good. 
> > 
> > Part of this might be because we don't set up the correct indexes.  I'm
> > wondering if someone might like to modify Samba4's provision-backend
> > system (see scripting/python/samba/provisi to
> > generate indexes in the same way it generates refint and memberof
> > configuration.
> > 
> > This would replace the hard-coded indexes in setup/slapd.conf
> > 
> > We already generate the index for local ldb in
> > source/dsdb/schema/schema_set.c:dsdb_schema_set_attributes(), but this
> > is via an abstraction layer that is probably a bit painful to use in
> > provision.py. 
> 
> Hmm, I'm not sure how compatible Samba4 is supposed to be at the
> management level. In AD the index configuration can also be changed in
> the schema configuration container. Also you can define which attributes
> are present in the global catalog. If you want to implement this use of
> the dynamic configuration with OpenLDAP would be mandantory.
> 
> So what are the plans?

Clearly dynamic configuration would be useful at some point, but I see
far more need to get the static configuration right first. 

If the OpenLDAP backend really takes off, then I'm sure someone will
make an all-signing all-dancing dynamic configuration synchronization
tool.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090314/4798fdc5/attachment.bin


More information about the samba-technical mailing list