summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-11-05 09:27:48 +0200
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-11-11 15:33:07 +0000
commit4574d497ce306ef97c196221c1b3d34e478dde01 (patch)
tree109ee19bd22f457df23381c9fbbd1c5bc55f7186 /source4/selftest
parentba127f9849a1ac93c9bab3b8377a880264353b16 (diff)
downloadsamba-4574d497ce306ef97c196221c1b3d34e478dde01.tar.gz
samba-4574d497ce306ef97c196221c1b3d34e478dde01.tar.bz2
samba-4574d497ce306ef97c196221c1b3d34e478dde01.zip
s4/test: Add bind.py to make test
bind.py is a place to have tests for ldb binding with different credentials. For starter we have a simple bind with machine account.
Diffstat (limited to 'source4/selftest')
-rwxr-xr-xsource4/selftest/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index a08e93137a..0c7c7c2d44 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -504,6 +504,7 @@ plantestsuite("samba4.blackbox.setpassword.py", "none", ["PYTHON=%s" % python, o
plantestsuite("samba4.blackbox.newuser.py", "none", ["PYTHON=%s" % python, os.path.join(samba4srcdir, "setup/tests/blackbox_newuser.sh"), '$PREFIX/provision'])
plantestsuite("samba4.blackbox.group.py", "none", ["PYTHON=%s" % python, os.path.join(samba4srcdir, "setup/tests/blackbox_group.sh"), '$PREFIX/provision'])
plantestsuite("samba4.blackbox.spn.py(dc:local)", "dc:local", ["PYTHON=%s" % python, os.path.join(samba4srcdir, "setup/tests/blackbox_spn.sh"), '$PREFIX/dc'])
+plantestsuite("samba4.ldap.bind(dc)", "dc", [python, os.path.join(samba4srcdir, "auth/credentials/tests/bind.py"), '$SERVER', '-U"$USERNAME%$PASSWORD"'])
# DRS python tests
plantestsuite("samba4.drs_delete_object.python(vampire_dc)", "vampire_dc", ['PYTHONPATH="$PYTHONPATH:%s"' % os.path.join(samba4srcdir, 'torture/drs/python'), 'DC1=$DC_SERVER', 'DC2=$VAMPIRE_DC_SERVER', subunitrun, 'delete_object', '-U$DOMAIN/$DC_USERNAME%$DC_PASSWORD'])