diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-14 03:10:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:23:04 -0500 |
commit | 2d0468ac9a6dc07ac3efee4160bba285d92b890b (patch) | |
tree | 702f8a234c6113c44550e8cfcf595499d67b652f /source4/scripting/libjs | |
parent | 1ab2c5009a3a4d2538cae60c83512752929b10e9 (diff) | |
download | samba-2d0468ac9a6dc07ac3efee4160bba285d92b890b.tar.gz samba-2d0468ac9a6dc07ac3efee4160bba285d92b890b.tar.bz2 samba-2d0468ac9a6dc07ac3efee4160bba285d92b890b.zip |
r8445: if a system doesn't have "nogroup" then try "nobody"
(This used to be commit 433f9d0a619ff34a4b7506950ee091fb8d34870d)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r-- | source4/scripting/libjs/provision.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js index ba6807ce44..03360654c7 100644 --- a/source4/scripting/libjs/provision.js +++ b/source4/scripting/libjs/provision.js @@ -208,7 +208,7 @@ function provision_guess() 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); |