diff --git a/source/lib/system.c b/source/lib/system.c index fe4e700176c..321bca83bb1 100644 --- a/source/lib/system.c +++ b/source/lib/system.c @@ -1056,81 +1056,6 @@ void sys_endpwent(void) Wrappers for getpwnam(), getpwuid(), getgrnam(), getgrgid() ****************************************************************************/ -#ifdef ENABLE_BUILD_FARM_HACKS - -/* - * In the build farm we want to be able to join machines to the domain. As we - * don't have root access, we need to bypass direct access to /etc/passwd - * after a user has been created via samr. Fake those users. - */ - -static struct passwd *fake_pwd; -static int num_fake_pwd; - -struct passwd *sys_getpwnam(const char *name) -{ - int i; - - for (i=0; i