1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00

r17831: Attempt to fix the build farm: 0x7fffffffffffffff needs special casing too I

think. This broke 'make test' because the newly created user was set to be
kicked off Mi, 22 Jan 1975 23:55:33 CET (unix time 159663333) with the
setuserinfo21 call.

I'm not 100% sure that 0x7ff... means max time as I do it here, I vaguely
remember it to mean "don't touch".

Does anybody know that for sure?

Jeremy, please check this.

Thanks,

Volker
This commit is contained in:
Volker Lendecke
2006-08-25 14:25:06 +00:00
committed by Gerald (Jerry) Carter
parent 8ffe178930
commit 872d1299eb
2 changed files with 7 additions and 1 deletions

View File

@@ -370,7 +370,7 @@ static NTSTATUS pdb_default_create_user(struct pdb_methods *methods,
#ifdef ENABLE_BUILD_FARM_HACKS
if (add_ret != 0) {
DEBUG(1, ("Creating a faked user %s for build farm "
"purposes", name));
"purposes\n", name));
faked_create_user(name);
}
#endif