1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

155 Commits

Author SHA1 Message Date
Stefan Metzmacher
54ea6ff788 testsuite/headers: remove unused checks for ntdb.h
ntdb is already removed.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Karolin Seeger <kseeger@samba.org>
2015-07-21 19:04:15 +02:00
Volker Lendecke
334015ebca autobuild: Remove ntdb target
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2015-03-17 11:30:51 +01:00
Volker Lendecke
89052936ae Remove ntdb from scripts
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2015-03-17 11:30:51 +01:00
Ira Cooper
38de110b02 third_party/popt: Initial support for popt.
ctdb, ldb, and samba are supported builds for third_party popt.

Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-08-09 18:26:17 +02:00
Andreas Schneider
69b3a0cb3f testsuit: Fix fprintf format.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-11-15 11:07:40 -08:00
Jeremy Allison
821bd95156 Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.
Will allow thread-specific credentials to be added by modifying
the central definitions. Deliberately left the setXX[ug]id()
call in popt as this is not used in Samba.
2012-06-28 17:15:16 -07:00
Rusty Russell
1fe797aada ntdb: put it back into the build.
This doesn't do anything with it yet, just wires it back into the build.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:07 +02:00
Andrew Bartlett
9712912dfc testsuite/libsmbclient: Remove unused and expensive-to-link testsuite
This testsuite never got off the ground, and unlike the other
libsmbclient tests, it is not integrated into make test, has no driver
script we could integrate.

As it has been in this state for 10 years, and adding it to the compile
did not find any link-time issues (particularly in comparison to the
link-time cost for so many individual binaries), I am now removing them.

The libsmbclient examples are seperate to this, and remain in
examples/libsmbclient.

Andrew Bartlett
2012-05-02 10:53:51 +10:00
Amitay Isaacs
cac9bfe475 testsuite: Replace deprecated bzero with memset
This fixes build issues on solaris reported in bug #8767.

  https://bugzilla.samba.org/show_bug.cgi?id=8767

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Feb 29 10:39:10 CET 2012 on sn-devel-104
2012-02-29 10:39:09 +01:00
Andrew Bartlett
62a66b00b6 testsuite: Remove unused and unlikely to be revived DejaGNU tests 2011-12-12 12:57:08 +01:00
Günther Deschner
ef87630594 s3-libsmbclient: make some functions static in testsuite code.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Oct 25 17:57:25 CEST 2011 on sn-devel-104
2011-10-25 17:57:25 +02:00
Andrew Bartlett
3ae478be0f build: compile (but do not install) all the libsmbclient tests
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Oct 20 13:49:39 CEST 2011 on sn-devel-104
2011-10-20 13:49:39 +02:00
Rusty Russell
ca1936fbb2 tdb_compat: use tdb_open_compat.
This is a helper for the common case of opening a tdb with a logging
function, but it doesn't do all the work, since TDB1 and TDB2's log
functions are different types.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20 11:18:35 +02:00
Volker Lendecke
ce9d63d161 s3: Remove the smbtorture3 OPLOCK3 test
This is the last user of cli_receive_smb. Oplocks are nowadays tested
in smbtorture4, this mainly has historic value
2011-05-22 21:07:40 +02:00
Andrew Tridgell
46384cf60a headers: cope with non-system popt in test_headers
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Mar 16 09:09:40 CET 2011 on sn-devel-104
2011-03-16 09:09:40 +01:00
Andrew Tridgell
3cfa8216b9 headers: include Python.h first to avoid warnings 2011-03-16 08:23:25 +01:00
Andrew Tridgell
72ca88d604 build: fixed cflags for test_header
when using system libraries, we need the right cflags
2011-03-15 12:22:20 +11:00
Andrew Tridgell
ba9ae79e0b build: added automated testing of our public headers
we generate test_headers.h, which includes all of our public headers,
and check it compiles
2011-03-15 12:22:19 +11:00
Andrew Bartlett
cba7f8b827 s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Lars Müller
8e26aa3d7c testsuite/libsmbclient use source3 in the path of the C and LFLAGS 2010-01-28 00:44:04 +01:00
Lars Müller
97c4c63990 Link testsuite/libsmbclient against required libtdb and libwbclient 2010-01-28 00:38:04 +01:00
Bo Yang
238bf25af4 s3: add a test to test libsmbclient
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-08 06:26:43 +08:00
Slava Semushin
3f5403220f testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition.
When fopen() fails it return NULL, so condition where return value
less than zero never evaluated to truth.

Found by cppcheck.
2009-06-06 22:45:02 +02:00
todd stecher
989ad44d32 Memory leaks and other fixes found by Coverity 2009-01-21 17:13:03 -08:00
Kai Blin
c88cbbfdf3 vlp: Move closer to the code tested. 2008-10-19 15:03:22 +02:00
Michael Adam
199eb31cc9 vlp: fix an implicit cast compile warning.
Michael
(This used to be commit bf46f614c4)
2008-04-10 01:11:31 +02:00
Kai Blin
5c1e5b30a5 vlp: Build vlp (virtual line printer) against current git on make
everything.
(This used to be commit 212ab58a3a)
2007-12-11 11:53:57 +01:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362)
2007-10-10 12:28:27 -05:00
Andrew Tridgell
28b9d61076 r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
(This used to be commit 727a6cf2cb)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
9fa1c63578 r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit c676a97114)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
5b4c4181b4 r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
(This used to be commit e87bb12093)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
34bb47c9b0 r23791: found some more v2->v3 conversions
(This used to be commit b6cbac3db3)
2007-10-10 12:28:25 -05:00
Andrew Tridgell
58e9534300 r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit d0e89d246d)
2007-10-10 12:28:23 -05:00
Jeremy Allison
2a9b4da0fa r23780: Find and fix more GPL2 -> GPL3.
Jeremy.
(This used to be commit c2f7ab1c17)
2007-10-10 12:28:21 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Lars Müller
b372fd2cff r14317: Use source/bin as dir to link pam_winbind instead of source/nsswitch/
The intention is to have the resulting binaries at one place.  This is
also usefull for upcoming changes to provide a test_pammodules rule.

With these changes I even got aware of
testsuite/nsswitch/pam_winbind_syms.exp  But this only covers
pam_winbind.
(This used to be commit 9883957b74)
2007-10-10 11:15:24 -05:00
Derrell Lipman
7a8ee79925 r6501: correct deprecated lvalue casts in testsuite/libsmbclient
(This used to be commit 6d22c3c343)
2007-10-10 10:56:43 -05:00
Günther Deschner
9e9ef914ac r3709: Allow to build testsuite for libsmbclient when libsmbclient.so is
located not in -L/root/samba-head-old/source/bin.

Patch from Lars Mueller <lmuelle@suse.de>, closes Bugzilla #2013.

Guenther
(This used to be commit 0a02eac767)
2007-10-10 10:53:15 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Herb Lewis
be1b3604ef source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is done
in prs_init now

testsuite/printing/psec.c	cannot do a prs_mem_free() when tdb_prs_fetch fails
				as the prs structure has not been initialized
(This used to be commit a363e5d8c5)
2004-01-14 22:53:50 +00:00
Andrew Bartlett
c35ff0e328 We might not have the 'samba' directory in the samba_3_0 build.
Andrew Bartlett
(This used to be commit a5cf5701e2)
2004-01-08 08:44:39 +00:00
Tim Potter
72de1cd0f7 Fix typo in RW2 torture test. Closes bugzilla bug #924.
(This used to be commit d22313998a)
2004-01-05 02:57:33 +00:00
Andrew Bartlett
ffcb57e1be Without 'non unix accounts' we can't test security=domain on the build farm.
(This used to be commit c8485d3f00)
2003-12-04 03:55:12 +00:00
Andrew Bartlett
7c23573a50 Grr, the order of these arguments matters
(This used to be commit 6babc35ef9)
2003-07-01 09:27:02 +00:00
Andrew Bartlett
95cb680393 Make smbpasswd use the higher log level for the second run - this should
help us debug failures in smbpasswd.

Andrew Bartlett
(This used to be commit dcdbd530a6)
2003-07-01 07:29:23 +00:00
Andrew Tridgell
9501ddeb10 changed 'winbind uid' to 'idmap uid' in build farm tests
(This used to be commit 4a2a54cd68)
2003-06-07 00:27:15 +00:00
Andrew Bartlett
834612d9fc Fix up the build-farm testsuite again - I forgot to move some files into the
template dir, and idra's checkin removed smbpasswd_nua.

Andrew Bartlett
(This used to be commit a7b34564ae)
2003-05-12 21:56:52 +00:00
Andrew Bartlett
75c7d3147e Fix up the setting up of the build_farm smb.conf from the templates in their
new directory.

Andrew Bartlett
(This used to be commit 98f7ccebeb)
2003-05-04 00:55:52 +00:00
Andrew Bartlett
07656d6929 Remove extra file
(This used to be commit 5d95309d8a)
2003-04-29 01:06:17 +00:00
Andrew Bartlett
accb1a17da Use current 3.0 paramater names
(This used to be commit 7ed8a0eb94)
2003-04-29 01:05:51 +00:00