[PATCH 5/7] selftest: Add a newline to root entries in the nss files.
Andreas Schneider
asn at samba.org
Mon Jul 1 05:02:46 MDT 2013
Signed-off-by: Andreas Schneider <asn at samba.org>
---
selftest/target/Samba3.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 91a8133..26f5e92 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -1124,7 +1124,8 @@ $unix_name:x:$unix_uid:$unix_gids[0]:$unix_name gecos:$prefix_abs:/bin/false
pdbtest:x:$uid_pdbtest:$gid_nogroup:pdbtest gecos:$prefix_abs:/bin/false
";
if ($unix_uid != 0) {
- print PASSWD "root:x:$uid_root:$gid_root:root gecos:$prefix_abs:/bin/false";
+ print PASSWD "root:x:$uid_root:$gid_root:root gecos:$prefix_abs:/bin/false
+";
}
close(PASSWD);
@@ -1139,7 +1140,8 @@ domusers:X:$gid_domusers:
domadmins:X:$gid_domadmins:
";
if ($unix_gids[0] != 0) {
- print GROUP "root:x:$gid_root:";
+ print GROUP "root:x:$gid_root:
+";
}
close(GROUP);
--
1.8.3.1
More information about the samba-technical
mailing list