--- src/nsvsd/nsvsd.c 2005-03-27 05:26:55.000000000 +0000 +++ src/nsvsd/nsvsd_new.c 2005-06-15 03:22:23.000000000 +0000 @@ -445,21 +445,7 @@ close (fd); continue; } -#ifdef SO_PEERCRED - /* - * Don't allow shadow queries to non-root users - * It is CRITICAL that this code occurs AFTER reading the key - * to avoid clientside sigpipe issues - */ - if ((req.type == GETSPBYNAME || req.type == GETSP) && caller.uid != 0) - { - nsvs_log (LOG_DEBUG, "%s: pid %d unauthorized for type %d", - __FUNCTION__, caller.pid, req.type); - write_wt (fd, ¬found, sizeof (notfound), WRITE_TIMEOUT); - close (fd); - continue; - } -#endif + /* Checks passed; run query, then build & send response */ if (run_query (req.type, keybuf, th_num)) {