Volker Lendecke
32296a2c36
s3: Add a quick test for bug 8042
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
2011-04-03 16:13:21 +02:00
Andrew Tridgell
e395b5bd3c
s3-torture: a very simple test for convert_string_error()
...
this is a very simple test based on the example volker gave in
1e50f9a5. A more sophisticated test will also be worthwhile, but this
at least gives us a basic test while changes are being made
2011-03-31 12:51:24 +02:00
Jeremy Allison
c109a70531
Fix convert_string() to take a *converted_size arg. and return a bool.
...
Makes these interfaces much harder to misuse and easier to ensure error
checking.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104
2011-03-30 23:59:37 +02:00
Günther Deschner
ab36d597e7
s3-messages: make ndr_messaging.h part of messages.h.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
b2af281e50
s3-messages: only include messages.h where needed.
...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2473c2fb1b
s3-libsmb: put namequery headers to nmblib.h
...
We might find a better name for it and merge other namequery related things as
well here...
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2377039738
s3-locking: move locking prototypes out of proto.h.
...
Will later become part of locking.h
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
45364f5e69
s3-vfs: include smbd/smbd.h in vfs modules.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
2f36ef7225
s3-passdb: add passdb.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1
s3-includes: only include system/passwd.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
7369ef1f1c
s3-includes: only include system/shmem.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
99f4a64543
s3-trans2: only include trans2.h where needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
64421129b6
lib/util/util_pw: share sys_get{pw,gr} group of calls.
...
Guenther
2011-03-30 01:13:06 +02:00
Volker Lendecke
592c669d9d
s3: Convert cli_raw_tcon to cli_smb
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 27 19:50:21 CEST 2011 on sn-devel-104
2011-03-27 19:50:21 +02:00
Volker Lendecke
13c1c8ef3d
s3: Fix a memleak
2011-03-27 19:04:11 +02:00
Volker Lendecke
c83ce65ad0
s3: Replace a use of cli_errstr
2011-03-27 19:04:11 +02:00
Volker Lendecke
ffef3aa809
s3: Replace cli_negprot_sendsync() by cli_negprot_send()
2011-03-27 19:04:11 +02:00
Volker Lendecke
a60ba54618
s3: Remove a pointless static
2011-03-27 19:04:10 +02:00
Volker Lendecke
5d9075c049
s3: Remove a use of cli_send_smb
2011-03-27 19:04:10 +02:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Günther Deschner
2639f0b3ab
s3-prototypes: remove protos of some dead functions.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar 24 00:52:01 CET 2011 on sn-devel-104
2011-03-24 00:52:01 +01:00
Günther Deschner
7a91282c9f
s3-libsmb: only include rap client when needed.
...
Guenther
2011-03-15 21:16:35 +01:00
Günther Deschner
26321c6010
s3-torture: fix the build of rpc_open_tcp.
...
Guenther
2011-02-28 20:18:33 +01:00
Andreas Schneider
bf18403c81
s3-rpc_client: Move client pipe functions to own header.
2011-02-28 18:15:04 +01:00
Jeremy Allison
2296871f0c
Torture test added to run_opentest() to ensure we don't regress on
...
the previous change.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 23 03:00:53 CET 2011 on sn-devel-104
2011-02-23 03:00:53 +01:00
Andrew Bartlett
b73cfabdf5
smbtorture Remove random file name before we start RW2
2011-02-22 16:20:10 +11:00
Günther Deschner
bc83400d81
nsswitch: make wb_reqtrans a common subsystem.
...
Guenther
2011-02-17 00:52:42 +01:00
Volker Lendecke
f71c032f16
s3: test addrchange
2011-02-01 15:11:06 +01:00
Björn Baumbach
5d8ada549e
s3-masktest: Fix cli_errstr() usage (part of bug #7864 )
...
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-25 10:45:22 +01:00
Björn Baumbach
99f8f5e594
s3-torture: Fix cli_errstr() usage (part of bug #7864 )
...
Convert cli_errstr() to nt_errstr()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-25 10:45:21 +01:00
Günther Deschner
6ee39a2f42
s3-torture: fix uninitialized status code.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 21 16:52:34 CET 2011 on sn-devel-104
2011-01-21 16:52:34 +01:00
Jeremy Allison
1b43996022
Add DELETE-LN test to show bug #7863 - Unlink may unlink wrong file when hardlinks are involved
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jan 19 03:06:32 CET 2011 on sn-devel-104
2011-01-19 03:06:32 +01:00
Stefan Metzmacher
494e57d913
s3:torture: use dcerpc_echo_X() functions
...
metze
2011-01-17 08:48:25 +01:00
Volker Lendecke
cba5a26734
s3: Convert try_trans2 to cli_trans
2011-01-17 08:03:42 +01:00
Volker Lendecke
d5decfbb26
s3: Convert try_nttrans to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
bc5554bdcc
s3: Fix some nonempty blank lines
2011-01-17 08:03:40 +01:00
Jeremy Allison
dbaeb52ebe
Add OPLOCK4 test which explores how Windows copes with oplock and share mode breaks on hard links.
...
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 15 00:59:46 CET 2011 on sn-devel-104
2011-01-15 00:59:46 +01:00
Volker Lendecke
86ff8cf227
s3: Allow more control over smbsock_[any_]connect
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Dec 29 23:30:44 CET 2010 on sn-devel-104
2010-12-29 23:30:44 +01:00
Volker Lendecke
3ae7ef73b0
s3: Test smbsock_any_connect
2010-12-22 16:39:15 +01:00
Volker Lendecke
bfc4fe4012
s3: Remove unused "retry" from cli_start_connection
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Dec 20 17:58:33 CET 2010 on sn-devel-104
2010-12-20 17:58:33 +01:00
Volker Lendecke
d096de56b1
s3: Remove unused "retry" from cli_full_connection
2010-12-20 17:10:58 +01:00
Volker Lendecke
09cccee273
s3: Remove some unused variables
2010-12-20 17:10:57 +01:00
Volker Lendecke
a881d6ab86
wb_reqtrans is not used in libwbclient
2010-12-19 23:25:06 +01:00
Volker Lendecke
c0a7c9f991
Move wbc_async.[ch] to its only user: smbtorture3
2010-12-19 23:25:06 +01:00
Andrew Tridgell
283686af75
s3-vfstest: fixed paths in vfstest
...
vfstest tries to create /messages.tdb as loadparm has not been
initialised
2010-12-10 08:46:16 +01:00
Jeremy Allison
2b788aa6ce
Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_default
...
module, change the signature of VFS_REALPATH to always return a
malloc'ed string.
Needed to make some privileges work I plan on doing shortly
easier to code.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104
2010-11-20 02:15:50 +01:00
Volker Lendecke
63029eb24b
s3: Fix a missing return value
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Nov 17 20:40:18 UTC 2010 on sn-devel-104
2010-11-17 20:40:18 +00:00
Volker Lendecke
e7970c02f3
s3: Make cli_set_ea_fnum return NTSTATUS
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Nov 11 16:59:27 UTC 2010 on sn-devel-104
2010-11-11 16:59:27 +00:00
Volker Lendecke
ddd33f0351
s3: Make cli_set_ea_path return NTSTATUS
2010-11-11 16:16:24 +00:00