summaryrefslogtreecommitdiff
path: root/source4/auth/credentials/tests
AgeCommit message (Collapse)AuthorFilesLines
2011-02-02s4-python Ensure we add the Samba python path first.Andrew Bartlett1-1/+1
This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-2/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-11-28s4-tests/bind.py: Use samba.tests.connect_samdb() instead of directly using ↵Kamen Mazdrashki1-7/+10
SamDB class connect_samdb() functino will correctly handle things like: - session_info param - it will create system_session() using supplied LoadParm parameter and thus avoiding creation of multiple LoadParm instances (LoadParm() will mask certain command line supplied options) - host url will be prefixed with ldap:// automatically Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Nov 28 03:00:41 CET 2010 on sn-devel-104
2010-11-25s4-tests: Modified bind.py to use samba.tests.delete_forceNadezhda Ivanova1-7/+2
2010-11-13s4-test: we need to import testtools before subunit/pythonAndrew Tridgell1-1/+1
subunit/python depends on testtools Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 13 02:02:45 UTC 2010 on sn-devel-104
2010-11-11s4/test: Expand BindTestAnatoliy Atanasov1-20/+60
The test now binds with user@realm, domain\user, user dn, computer dn Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Thu Nov 11 16:15:30 UTC 2010 on sn-devel-104
2010-11-05s4/test: Added test for simple bind with machine accountAnatoliy Atanasov1-0/+116
Samba4 returns error on simple bind, when we do it using openldap simple_bind_s api.
2010-09-22s4-selftest: Move credentials tests to standard python directory.Jelmer Vernooij1-100/+0
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij1-2/+4
setUp methods are called, fix formatting.
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-1/+1
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-0/+2
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-01-24python: Add bindings for cli_credentials_set_cmdline_callbacks().Jelmer Vernooij1-0/+3
(This used to be commit 557207f86ba901262e76704df5c51888b2737ddf)
2007-12-21r26321: Fix python tests.Jelmer Vernooij1-2/+3
(This used to be commit f9bf02fd5ce76dfb08950dc4a016fa886f2f4dd5)
2007-12-21r26204: Binsings for some more functions.Jelmer Vernooij1-0/+8
(This used to be commit ab6be3086f7ad8c22e6f4805bccad5a04c0325f2)
2007-12-21r26069: Import python bindings for credentials.Jelmer Vernooij1-0/+84
(This used to be commit 97bb235cc8c2855a0903bbd9dee53f0e03c4adc0)
2007-12-21r26004: Add some simple credentials tests.Jelmer Vernooij1-0/+120
(This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)