summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-20 02:12:17 +0200
committerGünther Deschner <gd@samba.org>2009-05-20 12:37:44 +0200
commite11f9b46c6345471cca76b9772080d3bfd687852 (patch)
tree30ce1ce96b5231a6eb28adbd820c8a30f6b9a3da
parent3bd360c73de77559593e11301d247fd53c4ce128 (diff)
downloadsamba-e11f9b46c6345471cca76b9772080d3bfd687852.tar.gz
samba-e11f9b46c6345471cca76b9772080d3bfd687852.tar.bz2
samba-e11f9b46c6345471cca76b9772080d3bfd687852.zip
s3-selftest: add add and delete group scripts using nss_wrapper.
Guenther
-rw-r--r--selftest/target/Samba3.pm2
-rwxr-xr-xsource3/script/tests/selftest.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index bf27f36a50..30453f2e9b 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -459,8 +459,10 @@ 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
kernel oplocks = no
kernel change notify = no
diff --git a/source3/script/tests/selftest.sh b/source3/script/tests/selftest.sh
index 8f078d2383..1e84d1c0b8 100755
--- a/source3/script/tests/selftest.sh
+++ b/source3/script/tests/selftest.sh
@@ -217,8 +217,10 @@ cat >$SERVERCONFFILE<<EOF
time server = yes
add user script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl --path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
+ add group script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper_pl --path $NSS_WRAPPER_GROUP --type group --action add --name %g
add machine script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl --path $NSS_WRAPPER_PASSWD --type passwd --action add --name %u
delete user script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper.pl --path $NSS_WRAPPER_PASSWD --type passwd --action delete --name %u
+ delete group script = $PERL $SRCDIR/../lib/nss_wrapper/nss_wrapper_pl --path $NSS_WRAPPER_GROUP --type group --action delete --name %g
kernel oplocks = no
kernel change notify = no