Enabling RPC-NETLOGSAMBA3 in the build farm?
jra at samba.org
Fri Jun 9 00:51:40 GMT 2006
On Thu, Jun 08, 2006 at 10:05:51AM +0200, Volker Lendecke wrote:
> Attached find a *really* dirty patch that would make it
> possible to enable the RPC-NETLOGSAMBA3 torture test in the
> build farm.
> RPC-NETLOGSAMBA3 does a normal join, a number of schannel'ed
> NETLOGON operations like interactive and network logons and
> the NETLOGON variant of machine password change and then it
> leaves again.
> The problem is that this has to create machine accounts
> which is not really possible without root.
> This patch enables faking passwd entries as the are created
> by samr_CreateUser. As you can see, this is activated if
> during configure the environment variable
> RUN_FROM_BUILD_FARM is set to "yes".
> Question: Is this too ugly to live, too dangerous?
> I think there are definitely benefits in doing this, being
> informed when we break this important code path.
> What do you think? For maximum exposure this would also have
> to live in 3_0, not only in trunk because only very few
> machines build trunk.
It's the hack in passdb/pdb_interface.c that's really horrid :-).
Any way to clean that bit up ? The rest aren't too bad, honest !
More information about the samba-technical