From: Günther Deschner Date: Sat, 30 May 2009 00:25:11 +0000 (+0200) Subject: s3-selftest: Fix invalid /etc/group file used with nss_wrapper. X-Git-Tag: tdb-1.1.5~390^2~11 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=df167ee7712a9c92fcb6ca1541dc4d1e5d93da02;hp=bb9103d9c4cb9d68c36f278ea31be9b8a12063b9 s3-selftest: Fix invalid /etc/group file used with nss_wrapper. Found by torture test. Guenther --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 95d2a8253ff..4723fd69099 100644 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -542,6 +542,7 @@ $unix_name:x:$unix_uid:$unix_gids[0]:$unix_name gecos:$prefix_abs:/bin/false open(GROUP, ">$nss_wrapper_group") or die("Unable to open $nss_wrapper_group"); print GROUP "nobody:x:65533: nogroup:x:65534:nobody +root:x:65532: $unix_name-group:x:$unix_gids[0]: "; close(GROUP); diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh index 956c5af77bd..e3871132d2d 100755 --- a/source3/script/tests/selftest.sh +++ b/source3/script/tests/selftest.sh @@ -289,6 +289,7 @@ EOF cat >$NSS_WRAPPER_GROUP<