Exemple #1
0
planpythontestsuite("none", "samba.tests.xattr")
planpythontestsuite("none", "samba.tests.ntacls")
planpythontestsuite("none", "samba.tests.policy")
planpythontestsuite("none", "samba.tests.kcc.graph")
planpythontestsuite("none", "samba.tests.kcc.graph_utils")
planpythontestsuite("none", "samba.tests.kcc.ldif_import_export")
planpythontestsuite("none", "samba.tests.graph")
plantestsuite("wafsamba.duplicate_symbols", "none", [os.path.join(srcdir(), "buildtools/wafsamba/test_duplicate_symbol.sh")])
planpythontestsuite("none", "samba.tests.glue")
planpythontestsuite("none", "samba.tests.tdb_util")
planpythontestsuite("none", "samba.tests.samdb_api")

if with_pam:
    plantestsuite("samba.tests.pam_winbind(local)", "ad_member",
                  [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
                   valgrindify(python), pam_wrapper_so_path,
                   "$SERVER", "$USERNAME", "$PASSWORD"])
    plantestsuite("samba.tests.pam_winbind(domain)", "ad_member",
                  [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
                   valgrindify(python), pam_wrapper_so_path,
                   "$DOMAIN", "$DC_USERNAME", "$DC_PASSWORD"])

    for pam_options in ["''", "use_authtok", "try_authtok"]:
        plantestsuite("samba.tests.pam_winbind_chauthtok with options %s" % pam_options, "ad_member",
                      [os.path.join(srcdir(), "python/samba/tests/test_pam_winbind_chauthtok.sh"),
                       valgrindify(python), pam_wrapper_so_path, pam_set_items_so_path,
                       "$DOMAIN", "TestPamOptionsUser", "oldp@ssword0", "newp@ssword0",
                       pam_options, 'yes',
                       "$DC_SERVER", "$DC_USERNAME", "$DC_PASSWORD"])

    plantestsuite("samba.tests.pam_winbind_warn_pwd_expire(domain)", "ad_member",
Exemple #2
0
        {
            "description": "krb5",
            "pam_options": "krb5_auth krb5_ccache_type=FILE",
        },
        {
            "description": "default",
            "pam_options": "",
        },
    ]
    for o in options:
        description = o["description"]
        pam_options = "'%s'" % o["pam_options"]

        plantestsuite("samba.tests.pam_winbind(local+%s)" % description, env, [
            os.path.join(srcdir(), "python/samba/tests/test_pam_winbind.sh"),
            valgrindify(python), pam_wrapper_so_path, "$SERVER", "$USERNAME",
            "$PASSWORD", pam_options
        ])
        plantestsuite(
            "samba.tests.pam_winbind(domain1+%s)" % description, env, [
                os.path.join(srcdir(),
                             "python/samba/tests/test_pam_winbind.sh"),
                valgrindify(python), pam_wrapper_so_path, "$DOMAIN",
                "$DC_USERNAME", "$DC_PASSWORD", pam_options
            ])
        plantestsuite(
            "samba.tests.pam_winbind(domain2+%s)" % description, env, [
                os.path.join(srcdir(),
                             "python/samba/tests/test_pam_winbind.sh"),
                valgrindify(python), pam_wrapper_so_path, "$REALM",
                "$DC_USERNAME", "$DC_PASSWORD", pam_options