[Engine-devel] deprecating auto-detection of Ldap provider types

Yair Zaslavsky yzaslavs at redhat.com
Mon Apr 9 08:50:53 UTC 2012


On 04/09/2012 11:42 AM, Roy Golan wrote:
> auto-detection featured few bugs lately which convinced me that it must
> be deprecated/removed from
> the code in favor of adding manual set of the provider type.
> 
> main reasons for that:
> a. the provider is type is known by the user
> b. identifying a provider by the rootDSE attributes is error-prone, not
> reliable etc... specially if the support matrix is growing
> c. auto-detection logic is duplicated (and not shared) between the
> backend code and the manage-domains tool (nevermind the reasons now)
> 
> A manual set of the provider type requires a new configuration field for
> a domain and the
> question is the upgrade path which may look like
> 
> * set the provider type to default Active Directory (because its more
> likely to be the provider type)
I think we should not have this assumption -for new environments ldap
provider type MUST be set via manage domains.

> * things not working -  use the engine-manage-domains and choose the
> provider type.
> * optionally - keep the auto-detection (of the tool only!)  if user
> wants to use it.
> 
> your suggestion and thoughts...
+1 in general about the idea.
We have to handle upgrades though (providing ldap provider type data in
DB in already-installed environments).
> 
> Thanks,
> Roy
> 
> 
> 




More information about the Devel mailing list