Volker Lendecke
68d20326db
libsmb: Use tevent_req_nterror()'s retval
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2022-09-19 17:23:31 +00:00
Volker Lendecke
25c7b92fc2
libsmb: Use cli_lockingx() in cli_oplock_ack()
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2019-06-18 12:53:59 +00:00
Jeremy Allison
a876f915fd
s3: libsmb: Add uint16_t additional_flags2 arg to cli_smb_send().
...
Not yet used.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12165
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
2016-08-19 20:03:11 +02:00
Stefan Metzmacher
d0bca41f48
s3:libsmb: s/struct event_context/struct tevent_context
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-02-19 23:47:54 +01:00
Volker Lendecke
7305660c11
s3: Convert cli_oplock_break_waiter to smbXcli
2012-09-23 07:20:20 -07:00
Volker Lendecke
a272635b79
s3: Fix some nonempty line endings
2012-09-23 07:20:20 -07:00
Stefan Metzmacher
a868a51eca
s3:libsmb: remove unused 'inbuf' variable
...
metze
2012-06-05 17:33:49 +02:00
Luk Claes
aea996dba6
s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
2012-06-03 23:37:02 +02:00
Luk Claes
f43231c051
s3:libsmb: remove unused (un)set_pending functions
...
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-28 14:49:44 +02:00
Stefan Metzmacher
ab0a1cc5c6
s3:libsmb: move cli_smb_oplock_break_waiter*() to clioplock.c
...
metze
2011-08-28 17:16:51 +02:00
Stefan Metzmacher
8a234cbe15
s3:libsmb: remove unused cli_oplock_handler()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104
2011-07-12 10:53:52 +02:00
Volker Lendecke
0645deb1b4
s3: Do central cli_set_error
2011-05-19 17:31:30 +02:00
Günther Deschner
27022587e3
s3-libsmb: move protos to libsmb/proto.h
...
Guenther
2011-05-06 16:37:18 +02:00
Günther Deschner
50883cfeb4
s3-tevent: only include ../lib/util/tevent wrappers where needed.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-29 14:00:30 +02:00
Volker Lendecke
342bb471dc
s3: Remove superfluous ;
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jan 10 15:26:50 CET 2011 on sn-devel-104
2011-01-10 15:26:50 +01:00
Günther Deschner
c7fe04abc7
s3-build: only include async headers where needed.
...
Guenther
2010-09-20 13:54:42 -07:00
Volker Lendecke
d122bfc064
s3: Add a talloc_move for the inbuf to cli_smb_recv
2010-02-22 23:23:18 +01:00
Jeremy Allison
8cf78ff553
Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
...
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions.
This is smaller than it looks, it just fixes a lot of old code.
Next up, ensure all cli_XX functions return NTSTATUS.
Jeremy.
2009-04-30 15:26:43 -07:00
Volker Lendecke
0c353b5711
Make cli_oplock_ack async
2009-04-06 21:32:08 +02:00
Jeremy Allison
afc93255d1
Add SMB encryption. Still fixing client decrypt but
...
negotiation works.
Jeremy.
(This used to be commit d78045601a
)
2007-12-26 17:12:36 -08:00
Jeremy Allison
d2cf97aeba
Remove the explicit TALLOC_CTX * from cli_struct.
...
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
(This used to be commit ba9e2be2b5
)
2007-11-29 13:24:54 -08:00
Jeremy Allison
30191d1a57
RIP BOOL. Convert BOOL -> bool. I found a few interesting
...
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c
)
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
...
(This used to be commit 5c6c8e1fe9
)
2007-10-10 15:34:30 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -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
Jeremy Allison
0829e1ad1c
r22391: Looks bigger than it is. Make "inbuf" available
...
to all callers of smb_setlen (via set_message()
calls). This will allow the server to reflect back
the correct encryption context.
Jeremy.
(This used to be commit 2d80a96120
)
2007-10-10 12:19:30 -05:00
Tim Potter
ab398643a4
r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.
...
(This used to be commit 985dbb47d9
)
2007-10-10 11:00:11 -05:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06
)
2002-01-30 06:08:46 +00:00
Jeremy Allison
d6823366b8
Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
...
Jeremy.
(This used to be commit 01ff6ce496
)
2002-01-11 19:10:25 +00:00
Tim Potter
dc1fc3ee8e
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
...
(This used to be commit 2d0922b0ea
)
2001-10-02 04:29:50 +00:00
Andrew Tridgell
e324e21457
added a oplock break handler hook to the client code, this allows for more complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly
...
(This used to be commit 3d4a3bfacd
)
2001-06-18 08:26:15 +00:00