[SSSD] sssd and ldb versions

Jan Engelhardt jengelh at inai.de
Sun Feb 17 18:07:08 UTC 2013


Hi,


I am writing again with respect to the LDB matter
(https://lists.fedorahosted.org/pipermail/sssd-devel/2012-June/010303.html )

>There isn't really a workaround for it right now. The problem is that
>SSSD needs to build a plugin for LDB (our memberOf plugin) and because
>of a poor design decision in libldb, modules have to be rebuilt for
>every version number bump of the LDB library.

Samba people are letting it be known that sssd is part of the problem:
memberof.so has the following code piece:

	int ldb_init_module(const char *version)                                        
	{                                                                               
	#ifdef LDB_MODULE_CHECK_VERSION                                                 
-->	    LDB_MODULE_CHECK_VERSION(version);                                          
	#endif                                                                          
	    return ldb_register_module(&ldb_memberof_module_ops);                       
	}                                                                               

If sssd's memberof.so really did not care about ldb-1.1.x vs ldb-1.1.y,
then it probably should not call LDB_MODULE_CHECK_VERSION in the
first place.

(The samba part is at https://bugzilla.samba.org/show_bug.cgi?id=9495
comment 5.)



More information about the sssd-devel mailing list