Stefan Metzmacher
8322fc70ad
r15505: - add 'generic' alias to smb_seek and smb_flush
...
- add struct ntvfs_handle pointer to smb_file, this will
later be used by the ntvfs backends
metze
2007-10-10 14:05:43 -05:00
Jelmer Vernooij
0fafa2e595
r15379: Fix shared library build's unresolved dependencies
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
8985093d3f
r15338: Fix build of most things with shared libs enabled.
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
7af59357b9
r15191: Avoid uint_t as it's not standard.
2007-10-10 14:04:15 -05:00
Stefan Metzmacher
f30f9cd328
r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
...
"readx.read_for_execute = True" case.
metze
2007-10-10 14:04:10 -05:00
Andrew Tridgell
2031e07a8a
r14974: work around an ibm checker bug
2007-10-10 14:00:49 -05:00
Andrew Tridgell
c2cde823ee
r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
2007-10-10 14:00:48 -05:00
Stefan Metzmacher
afa8f944a7
r14859: fix bugs noticed by the ibm code checker
...
metze
2007-10-10 13:59:43 -05:00
Jelmer Vernooij
51b4270513
r14542: Remove librpc, libndr and libnbt from includes.h
2007-10-10 13:58:42 -05:00
Andrew Tridgell
1e1c559381
r14539: get rid of a pointless union layer in struct smb_notify
2007-10-10 13:58:41 -05:00
Jelmer Vernooij
e1f896948f
r14511: Install more headers
2007-10-10 13:57:35 -05:00
Jelmer Vernooij
3dd477ca51
r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
...
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Andrew Tridgell
c43a7ec7ac
r14413: don't do memcpy of length 0
2007-10-10 13:57:20 -05:00
Stefan Metzmacher
da1ac9b224
r14372: fix bug found by sparse
...
metze
2007-10-10 13:57:15 -05:00
Stefan Metzmacher
be6d5298a2
r14256: - rename smb_file -> smb_handle
...
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo
metze
2007-10-10 13:57:06 -05:00
Andrew Tridgell
b78abbbce6
r14208: removed use of req->flags2 inside the ntvfs layer. This should help
...
metze on his quest to unify the ntvfs strucures for the smb and smb2
servers. The only place we needed flags2 inside ntvfs was for the
FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a
readx.in.read_for_execute flag instead.
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
180a79d103
r14205: move smb specific stuff out of includes.h (finally!!!:-)
...
all this changes really help ccache to speed up the samba4 build:-)
metze
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
29240bae44
r14174: fix typos
...
metze
2007-10-10 13:56:58 -05:00
Stefan Metzmacher
2ef3f59709
r14173: change smb interface structures to always use
...
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2
the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2
metze
2007-10-10 13:56:57 -05:00
Stefan Metzmacher
bce4db8d1c
r14160: don't write behind the buffer
...
metze
2007-10-10 13:56:56 -05:00
Andrew Tridgell
f432d23b04
r14141: fixed bugzilla 2921, forcing correct alignment when in ascii mode
2007-10-10 13:56:54 -05:00
Jelmer Vernooij
1228358767
r13924: Split more prototypes out of include/proto.h + initial work on header
...
file dependencies
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
ba62880f5b
r13658: More moving around of files:
...
- Collect the generic utility functions into a lib/util/ (a la GLib is
for the GNOME folks)
- Remove even more files from include/
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
2ec7bba03a
r13654: Move some more stuff out of include/
2007-10-10 13:52:05 -05:00
Jelmer Vernooij
243cf760b0
r12801: Some more include/ cleanups (remove unused macros + move files
...
to specific dirs)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
f2e97983f2
r12725: some minor updates
...
metze
2007-10-10 13:49:45 -05:00
Jelmer Vernooij
c722f665c9
r12694: Move some headers to the directory of the subsystem they belong to.
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
70e7449318
r12608: Remove some unused #include lines.
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
0aca5fd513
r12542: Move some more prototypes out to seperate headers
2007-10-10 13:47:55 -05:00
Andrew Tridgell
f327393074
r11982: ensure the fde event gets freed before the socket itself, as otherwise
...
we get a error from epoll about disabling events for a file descriptor
that is closed
2007-10-10 13:46:54 -05:00
Andrew Tridgell
ed8d307347
r11848: separate out the info levels common to SMB and SMB2 for raw_search
2007-10-10 13:46:37 -05:00
Volker Lendecke
fb9a3c7ef3
r11812: Convert winbind to the async bind routines. Also remove tridge's hack for the
...
winbind "bug" :-)
Volker
2007-10-10 13:46:32 -05:00
Andrew Tridgell
8c7c54a46d
r11800: - filled in unknown fields in SMB2 all_info level
...
- allow setting of the ALL_EAS flags bits in SMB2 getinfo
2007-10-10 13:46:29 -05:00
Andrew Tridgell
da0b6fb936
r11771: - split out the setinfo blob construction in the libcli/raw code
...
- added a smb2_setinfo call
- added smb2_setinfo_file*() calls
2007-10-10 13:46:24 -05:00
Andrew Tridgell
ba897e537b
r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo calls
2007-10-10 13:46:23 -05:00
Andrew Tridgell
5ca2d609e6
r11756: split out the parsers for the pass-through levels of QFSINFO and
...
QFILEINFO levels in trans2, so they can be shared with SMB2
2007-10-10 13:46:23 -05:00
Andrew Tridgell
ca65bf0235
r11730: added parsing and tests for a bunch more SMB2 getinfo levels
2007-10-10 13:46:18 -05:00
Andrew Tridgell
c4115293d8
r11714: put in a workaround for a winbind problem volker asked me about. The
...
problem is that winbind currently relies on being able to receive on a
smb connection from within the same connections receive routine. This
means it relies on a non-serialised connection, so disable the
serialisation until winbind is fixed.
The correct fix will be to get rid of full_request() in dcerpc.c so
that bind requests can be fully async.
2007-10-10 13:46:17 -05:00
Andrew Tridgell
6a47cd65a8
r11713: separate out the setting of the fde in the packet context from the
...
enabling of packet serialisation
2007-10-10 13:46:17 -05:00
Stefan Metzmacher
43aa5cffd3
r11669: - make sure req is initialized
...
- call async callback on error
metze
2007-10-10 13:46:10 -05:00
Andrew Tridgell
d19235ede5
r11660: - the libcli/raw/ lib no longer uses the SMBCLI_REQUEST_SEND state, or
...
the associated send queue
- fixed negnowait to not watch for the SMBCLI_REQUEST_SEND state
2007-10-10 13:46:08 -05:00
Stefan Metzmacher
e6eb0fd2c2
r11649: - add support for ntcancel replies (they only happen in error cases,
...
e.g when you supply an invalid TID or VUID)
- as we don't yet understand how to check the smb_signing of this
replies, we just ignore the whole packet
abartlet,jra,tridge:
can someone try to find out how to create and verify
the signatures for this replies.
what I noticed is that still use the increment by one for the request,
and later requests are still generated fine, only the generating and verifying
of the ntcancel replies make problems
metze
2007-10-10 13:46:08 -05:00
Stefan Metzmacher
356e7d037c
r11647: add smbcli_ prefix
...
metze
2007-10-10 13:46:07 -05:00
Stefan Metzmacher
16f2d92618
r11644: free the buffer when it's not used
...
metze
2007-10-10 13:46:07 -05:00
Andrew Tridgell
ba7864b07e
r11636: a bit neater solution to the nt_cancel problem
2007-10-10 13:46:03 -05:00
Stefan Metzmacher
97cd824e44
r11635: fix a handling of packet_send in the smb client lib
...
this was cause of the PANIC on the build farm on metze01
as we use req->out.buffer from the old request in the smb_raw_ntcancel()
and send a 0 TID, that causes our server code to crash
(a fix for the server code will follow)
metze
2007-10-10 13:46:03 -05:00
Andrew Tridgell
fa904afed9
r11632: removed 2 unused functions
2007-10-10 13:46:02 -05:00
Tim Potter
03c7da27a0
r11626: Fix unhandled enum in case statement warnings by noting appropriately
...
that some values aren't handled. The remaining warnings I think are
actual bugs or required functionality that is missing (mostly lack of
server side Unix extensions).
2007-10-10 13:46:01 -05:00
Andrew Tridgell
d2b568a111
r11609: fixed handling of one way requests with new send code
2007-10-10 13:45:58 -05:00
Andrew Tridgell
0bcea45b15
r11606: use the generic packet send code in libcli/raw/
2007-10-10 13:45:57 -05:00