summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2020-07-20 16:49:39 +0200
committerStefan Metzmacher <metze@samba.org>2020-12-17 13:59:38 +0000
commitbcfce0ecd3153d158f712ff548a1ccd005031bc8 (patch)
treeab76625eb07d01608e8d04de52f795256188aed1 /source4
parent3e9f0e97255de1b4235c4dca6912635386328746 (diff)
downloadsamba-bcfce0ecd3153d158f712ff548a1ccd005031bc8.tar.gz
selftest: add tests for smb notify, using the a special share
That share will get the "honor change notify privilege = yes" option once it's implemented. For now it's marked as knownfail. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Björn Baumbach <bb@sernet.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 9dc2df44bc4..bc6bdb484ed 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -481,6 +481,14 @@ for t in smbtorture4_testsuites("dlz_bind9."):
planpythontestsuite("nt4_dc_smb1", "samba.tests.libsmb")
+planpythontestsuite("ad_member", "samba.tests.smb-notify",
+ environ={'USERNAME':'$DC_USERNAME',
+ 'PASSWORD':'$DC_PASSWORD',
+ 'USERNAME_UNPRIV':'alice',
+ 'PASSWORD_UNPRIV':'Secret007',
+ 'STRICT_CHECKING':'0',
+ 'NOTIFY_SHARE':'notify_priv'})
+
# Blackbox Tests:
# tests that interact directly with the command-line tools rather than using
# the API. These mainly test that the various command-line options of commands