summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-08 10:15:01 +0200
committerGünther Deschner <gd@samba.org>2009-04-08 11:48:13 +0200
commit18d475cea92bd0de2fbb9c3251cb5b768795bce4 (patch)
tree8f3197b2d5277e8004a629ec0ffcc84a5e34dd83 /selftest
parent8e3145e55194cfef56fa792edbed724ef4bf111a (diff)
downloadsamba-18d475cea92bd0de2fbb9c3251cb5b768795bce4.tar.gz
samba-18d475cea92bd0de2fbb9c3251cb5b768795bce4.tar.bz2
samba-18d475cea92bd0de2fbb9c3251cb5b768795bce4.zip
selftest: add a fake root user to nss_wrapper_passwd in s3.
Needed to make some server calls to get_root_nt_token() succeed. make selftest/make test gurus, please check. Guenther
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba3.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 0b176d601c..a36721406c 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -521,6 +521,7 @@ sub provision($$$$$$)
open(PASSWD, ">$nss_wrapper_passwd") or die("Unable to open $nss_wrapper_passwd");
print PASSWD "nobody:x:65534:65533:nobody gecos:$prefix_abs:/bin/false
+root:x:65533:65532:root gecos:$prefix_abs:/bin/false
$unix_name:x:$unix_uid:$unix_gids[0]:$unix_name gecos:$prefix_abs:/bin/false
";
close(PASSWD);