git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3145e
)
selftest: add a fake root user to nss_wrapper_passwd in s3.
author
Günther Deschner
<gd@samba.org>
Wed, 8 Apr 2009 08:15:01 +0000
(10:15 +0200)
committer
Günther Deschner
<gd@samba.org>
Wed, 8 Apr 2009 09:48:13 +0000
(11:48 +0200)
Needed to make some server calls to get_root_nt_token() succeed.
make selftest/make test gurus, please check.
Guenther
selftest/target/Samba3.pm
patch
|
blob
|
history
diff --git
a/selftest/target/Samba3.pm
b/selftest/target/Samba3.pm
index 0b176d601c1bc4b6f094a5c9c7b2a55e3fc93c26..a36721406c0fe4d108555bb4918edb7acfae655c 100644
(file)
--- 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);