summaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-28 10:40:22 +0200
committerKarolin Seeger <kseeger@samba.org>2009-06-02 08:59:26 +0200
commite9963e1c4ed5daaf02734af1e0fdf5c4c9c14804 (patch)
tree7bbc7a85c3c43571e3a8344dcc40fb923e315480 /selftest
parentf4cecbf117686830b542cd03c6a809cc1047d21c (diff)
downloadsamba-e9963e1c4ed5daaf02734af1e0fdf5c4c9c14804.tar.gz
samba-e9963e1c4ed5daaf02734af1e0fdf5c4c9c14804.tar.xz
samba-e9963e1c4ed5daaf02734af1e0fdf5c4c9c14804.zip
s3-selftest: use nss_wrapper.pl as "add user to group" and "delete user from group" script.
Guenther (cherry picked from commit 7a5475f098c6a20f867adc081ca455e6c393755b) (cherry picked from commit 1a129e79baac7c7ebbc63c9e077ede4b123cf390)
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba3.pm12
1 files changed, 7 insertions, 5 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index c62d454800b..c636be22f1f 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -456,11 +456,13 @@ sub provision($$$$$$)
time server = yes
- add user script = $nss_wrapper_pl --path $nss_wrapper_passwd --type passwd --action add --name %u
- add group script = $nss_wrapper_pl --path $nss_wrapper_group --type group --action add --name %g
- add machine script = $nss_wrapper_pl --path $nss_wrapper_passwd --type passwd --action add --name %u
- delete user script = $nss_wrapper_pl --path $nss_wrapper_passwd --type passwd --action delete --name %u
- delete group script = $nss_wrapper_pl --path $nss_wrapper_group --type group --action delete --name %g
+ add user script = $nss_wrapper_pl --passwd_path $nss_wrapper_passwd --type passwd --action add --name %u
+ add group script = $nss_wrapper_pl --group_path $nss_wrapper_group --type group --action add --name %g
+ add machine script = $nss_wrapper_pl --passwd_path $nss_wrapper_passwd --type passwd --action add --name %u
+ add user to group script = $nss_wrapper_pl --passwd_path $nss_wrapper_passwd --type member --action add --member %u --name %g --group_path $nss_wrapper_group
+ delete user script = $nss_wrapper_pl --passwd_path $nss_wrapper_passwd --type passwd --action delete --name %u
+ delete group script = $nss_wrapper_pl --group_path $nss_wrapper_group --type group --action delete --name %g
+ delete user from group script = $nss_wrapper_pl --passwd_path $nss_wrapper_passwd --type member --action delete --member %u --name %g --group_path $nss_wrapper_group
kernel oplocks = no
kernel change notify = no