Jelmer Vernooij
4236ec9d6d
Remove unused imports.
2011-01-06 15:21:21 +01:00
Anatoliy Atanasov
c9757371db
s4/ldapcmp: Correct fix for creds2
...
We need to set domain and workstation to creds2 otherwise we get Segfault
because they are not initialized correctly.
2011-01-05 16:16:59 +02:00
Anatoliy Atanasov
2e30897503
Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"
...
This reverts commit 1cbce84683ef4fa49b85d87988c5e8db7057530a.
Wrong assumption about a segmentation fault
2011-01-05 16:14:14 +02:00
Anatoliy Atanasov
3f0db2e53b
Revert "s4/ldapcmp: Check if creds2 is actualy set by the command line"
...
This reverts commit f8275bae5d7b471967be7222170d049c18b8882f.
Wrong assumption about a segmentation fault.
2011-01-05 16:14:14 +02:00
Jelmer Vernooij
26c8a520f3
upgradeprovision: Fix use of dict.get().
...
Avoid modifying list while iterating over it.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Jan 5 03:37:35 CET 2011 on sn-devel-104
2011-01-05 03:37:35 +01:00
Jelmer Vernooij
e80b322077
s4-python: Allow setting TEST_DEBUG_LEVEL to override debug level for tests.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Jan 5 01:58:44 CET 2011 on sn-devel-104
2011-01-05 01:58:44 +01:00
Anatoliy Atanasov
f8275bae5d
s4/ldapcmp: Check if creds2 is actualy set by the command line
...
When parsing the command line for the second set of credentials
the parser returns wrong user if the second set of parameters isn't set.
So check if the password is set instead.
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Tue Jan 4 18:11:26 CET 2011 on sn-devel-104
2011-01-04 18:11:26 +01:00
Anatoliy Atanasov
1cbce84683
s4/ldapcmp: Fix the parsing of the second set of credentials
...
We need this second set of credentials so we can do comparison
between DCs in two different domains.
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Tue Jan 4 16:36:06 CET 2011 on sn-devel-104
2011-01-04 16:36:06 +01:00
Günther Deschner
0279422c83
s4-smbtorture: check driver_version equality as well.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
2011-01-04 11:22:08 +01:00
Günther Deschner
64576106b1
s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().
...
Guenther
2011-01-04 10:33:56 +01:00
Günther Deschner
69174fea5b
s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 as
...
well.
Guenther
2011-01-04 10:33:56 +01:00
Günther Deschner
19a295dee8
s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.
...
Guenther
2011-01-04 10:33:55 +01:00
Günther Deschner
8fc28818b9
s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
...
Guenther
2011-01-04 10:33:55 +01:00
Günther Deschner
9c46370e91
s4-smbtorture: add more tests for driver_dates.
...
Guenther
2011-01-04 10:33:52 +01:00
Brad Hards
263642b536
dynconfig: Add extern to header, try to unbreak imini buildfarm host.
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jan 4 05:39:57 CET 2011 on sn-devel-104
2011-01-04 05:39:57 +01:00
Andrew Bartlett
0a4758770c
s4-heimdal_build Remove talloc dep for krb5-glue.c
...
This glue does not require any internal Samba functionality, just the
same heimdal headers as the files it is providing a stub replacement for.
Andrew Bartlett
2011-01-04 14:40:21 +11:00
Andrew Bartlett
184098d484
s4-heimdal_build Remove talloc dependency from hdb-glue.c
...
This file can compile with just heimdal headers.
Andrew Bartlett
2011-01-04 14:34:27 +11:00
Stefan Metzmacher
cbf6c88aa8
s4:gensec/schannel: use netsec_outgoing_sig_size() to get the signature size
...
metze
2011-01-03 16:44:28 +01:00
Brad Hards
3f9157acae
s4:dynconfig: Add prototypes to match dynconfig.c
...
Also, SCRIPTSBINDIR isn't really common with Samba3 dynconfig
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 13:25:04 CET 2011 on sn-devel-104
2011-01-03 13:25:04 +01:00
Brad Hards
ca47dedaaf
s4:ldb: Make sample module implementation static.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 3 12:28:21 CET 2011 on sn-devel-104
2011-01-03 12:28:21 +01:00
Brad Hards
d8dfdea2cc
s4:ldb: Add prototype header.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-03 11:17:51 +01:00
Jelmer Vernooij
b5474f2441
remove unnecessary use of pass.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
2011-01-03 08:21:12 +01:00
Jelmer Vernooij
22b7cb3f29
pyldb: Fix memory reference error.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Jan 3 02:34:05 CET 2011 on sn-devel-104
2011-01-03 02:34:05 +01:00
Jelmer Vernooij
9fc2e6c352
Use TestCase.get_credentials() where possible.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
0346f51632
pyldb: Always return -1, 0, or 1 in tp_compare functions.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
fdb0aa2b04
Revert broken destructor changes.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
027e6b2b22
pyldb: Fix memory context, add more OOM checks.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
50a2c83908
pyldb: Some more OOM checks.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
2533a50471
Make all functions in pyldb.c private, as they can't be used anyway.
2011-01-03 01:48:05 +01:00
Jelmer Vernooij
8bf5356958
s4-python: Add missing prototypes.
2011-01-03 01:48:04 +01:00
Jelmer Vernooij
e31224e27c
pyldb: Use pytalloc-util.
2011-01-03 01:48:04 +01:00
Jelmer Vernooij
b63f9c1996
ldb: Remove duplicate definition of check_special, use PyObject_New.
2011-01-03 01:48:04 +01:00
Jelmer Vernooij
cbf504b0c5
s4-python: Properly call PyObject_Del from all destructors.
2011-01-03 01:48:04 +01:00
Stefan Metzmacher
4d5c0c3ec5
s4: Happy New Year 2011
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jan 2 18:42:12 CET 2011 on sn-devel-104
2011-01-02 18:42:12 +01:00
Jelmer Vernooij
3b4fd3573e
heimdal_build: Add missing dependencies when building with system heimdal.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 04:46:35 CET 2011 on sn-devel-104
2011-01-01 04:46:35 +01:00
Jelmer Vernooij
d93fd5f06b
heimdal_build: Support using system gssapi library.
2011-01-01 04:00:04 +01:00
Jelmer Vernooij
6a669c7454
heimdal_build: Support using system hdb and kdc libraries.
2011-01-01 04:00:03 +01:00
Jelmer Vernooij
0d6c739260
heimdal_build: Add conditionals for all libraries.
2011-01-01 04:00:03 +01:00
Jelmer Vernooij
91fc7a2ddc
heimdal_build: Allow using system krb5.
2011-01-01 04:00:03 +01:00
Jelmer Vernooij
4ea992428b
heimdal_build: Allow using system heimntlm.
2011-01-01 04:00:03 +01:00
Jelmer Vernooij
3febaed9ba
heimdal_build: Look for asn1_compile (but by default, don't use it).
2011-01-01 04:00:03 +01:00
Jelmer Vernooij
5792fa90ac
s4-python: Only set BASETYPE flag if subclassing is supported.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jan 1 03:39:58 CET 2011 on sn-devel-104
2011-01-01 03:39:58 +01:00
Jelmer Vernooij
f5fe9c32ef
s4-python: Add more prototypes.
2011-01-01 02:54:05 +01:00
Jelmer Vernooij
4350e0c3c9
s4-python: Properly call PyObject_Del from all destructors.
2011-01-01 02:54:05 +01:00
Stefan Metzmacher
3321d87327
s4:ldb: setup TEST_DATA_PREFIX for make test
...
metze
2010-12-27 15:37:58 +01:00
Stefan Metzmacher
fd4436abfe
s4:ldb:python/api: use filename() instead of hardcoded filenames
...
metze
2010-12-27 15:37:58 +01:00
Stefan Metzmacher
aaa16b8224
s4:ldb/tests: there's no need to copy samba4.png
...
metze
2010-12-27 15:37:57 +01:00
Stefan Metzmacher
01a1a71b55
s4:selftest: specify the gentest_seeds.dat location
...
metze
2010-12-27 15:37:56 +01:00
Stefan Metzmacher
d0cbbee2dd
s4:selftest: selftest.pl already sets TEST_DATA_PREFIX
...
metze
2010-12-27 15:37:56 +01:00
Stefan Metzmacher
f34e7978c2
s4:ldb:python/api: use only one ldb file in test_contains()
...
metze
2010-12-24 17:31:06 +01:00