s4: adding a DsdbTestCase class

Nadezhda Ivanova nivanova at samba.org
Fri Nov 19 14:27:32 MST 2010

On Fri, Nov 19, 2010 at 10:43 PM, Andrew Bartlett <abartlet at samba.org>wrote:

> However, I don't see how these are test-specific.  The domain_sid should
> be replaced by a call to SamDB.get_domain_sid(), and the dshuristics
> calls added there, alongside all the other calls.
> That leaves delete_force(), which isn't enough of a reason to create a
> new class.

True, but I would really like to define it somewhere common, or not use it
at all. Having it identical in 10 different places really bugs me.

> Andrew Bartlett
> --
> Andrew Bartlett                                http://samba.org/~abartlet/<http://samba.org/%7Eabartlet/>
> Authentication Developer, Samba Team           http://samba.org
> Samba Developer, Cisco Inc.

More information about the samba-technical mailing list