@@ -43,25 +43,8 @@
#include "nss_test.h"
/* -------------------------------------------------- */
-/* Default Data. */
-
-static struct passwd default_pwd_data[] =
- {
-#define PWD(u) \
- { .pw_name = (char *) "name" #u, .pw_passwd = (char *) "*", .pw_uid = u, \
- .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \
- .pw_shell = (char *) "*" }
- PWD (30),
- PWD (100),
- PWD (200),
- PWD (60),
- PWD (20000)
- };
-#define default_npwd_data \
- (sizeof (default_pwd_data) / sizeof (default_pwd_data[0]))
-
-static struct passwd *pwd_data = default_pwd_data;
-static int npwd_data = default_npwd_data;
+static struct passwd *pwd_data = NULL;
+static int npwd_data = 0;
static struct group *grp_data = NULL;
static int ngrp_data = 0;