Author: tridge
Date: 2005-07-14 03:10:17 +0000 (Thu, 14 Jul 2005)
New Revision: 8445

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8445

Log:
if a system doesn't have "nogroup" then try "nobody"

Modified:
   branches/SAMBA_4_0/source/scripting/libjs/provision.js


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/provision.js      2005-07-14 
02:56:18 UTC (rev 8444)
+++ branches/SAMBA_4_0/source/scripting/libjs/provision.js      2005-07-14 
03:10:17 UTC (rev 8445)
@@ -208,7 +208,7 @@
        subobj.USN          = nextusn;
        subobj.ROOT         = findnss(getpwnam, "root");
        subobj.NOBODY       = findnss(getpwnam, "nobody");
-       subobj.NOGROUP      = findnss(getgrnam, "nogroup");
+       subobj.NOGROUP      = findnss(getgrnam, "nogroup", "nobody");
        subobj.WHEEL        = findnss(getgrnam, "wheel", "root");
        subobj.USERS        = findnss(getgrnam, "users", "guest", "other");
        subobj.DNSDOMAIN    = strlower(subobj.REALM);

Reply via email to