1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00
Commit Graph

105 Commits

Author SHA1 Message Date
Stefan Metzmacher
c70edc3fb8 r17280: NT_STATUS_INVALID_HANDLE maps to ERRbadfid, which is wrong in this
places, so only overwrite ERRbaduid and ERRinvnid when NTSTATUS support
is given.

metze
2007-10-10 14:15:05 -05:00
Stefan Metzmacher
699dee70aa r17274: fix typos
metze
2007-10-10 14:10:26 -05:00
Simo Sorce
a89cc346b9 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
2007-10-10 14:10:18 -05:00
Stefan Metzmacher
b7418aec33 r17012: don't try to send any data when the socket is gone already...
(fixes crash bugs)

metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
de50e0ccdd r16980: - make struct smb_notify a union and add levels RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2
- parse SMB2 Notify reponse

metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
20311e58d5 r16979: - ntcancel should compare TID,UID,MID and PID
- don't return ntcancel error, as we don't know how signing works
  for them

metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
04f0d3d031 r16950: remove the smb mid from the ntvfs layer and keep a list of pending
requests on the smbsrv_connection, to be able to match then on
ntcancel

metze
2007-10-10 14:10:02 -05:00
Stefan Metzmacher
ea88c8c99e r16923: remove unused substitude code
metze
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
78c201db8a r16834: split the level's of smb_search_first/smb_search_next and the levels
of smb_search_data

metze
2007-10-10 14:09:49 -05:00
Stefan Metzmacher
3b8ecc19fa r16815: split out search levels which are also used by smb2
metze
2007-10-10 14:09:47 -05:00
Stefan Metzmacher
3b2936a431 r16735: vista beta2 reuses the tcp connect where it does the
SMB negprot

metze
2007-10-10 14:09:42 -05:00
Stefan Metzmacher
6cd64cb78f r16621: split out passthru levels of setfileinfo
metze
2007-10-10 14:09:36 -05:00
Stefan Metzmacher
6164d1e22e r16464: split client and server min/max protocol settings
metze
2007-10-10 14:09:29 -05:00
Stefan Metzmacher
77a711c54a r16449: move some code to a generic place
metze
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
d6d86c65bf r16448: add more error checks
metze
2007-10-10 14:09:15 -05:00
Stefan Metzmacher
e7d339d496 r16444: - split out qfsinfo passthru levels
- use 1 to 1 mapping of interface and wire levels

metze
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
142680ab9b r16443: add push code for SMB2 levels
metze
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
42324c1f63 r16440: split out passthru level into a new functions,
so they can we reused for smb2 later

metze
2007-10-10 14:09:14 -05:00
Stefan Metzmacher
708a5d3bf0 r16403: remove dependency to smbsrv_request next part...
metze
2007-10-10 14:09:13 -05:00
Stefan Metzmacher
e4a5e2db7f r16402: start to remove the dependecy to smbsrv_request from the parsing functions
metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
c868b8b7d7 r16401: keep the old pointer when realloc fails, this is needed for the
search callback

metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
779c51ad52 r16400: add more error checks
metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
2aaca1631f r16399: - split out pushing smb_fsinfo into a DATA_BLOB
- add error checks

metze
2007-10-10 14:09:12 -05:00
Stefan Metzmacher
d021a8b3ee r16357: - start get rid of void parsing functions
- there will more changes come but I want to do them in
  relative small chunks

metze
2007-10-10 14:09:12 -05:00
Andrew Tridgell
801357af2e r15827: fixed a spelling error 2007-10-10 14:08:29 -05:00
Stefan Metzmacher
9c4c40772b r15769: this functions belong to params/ so move it.
metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
6c304a1a5f r15751: thanks to talloc_get_type() I noticed that I used smbsrv_request in the smb2srv code
metze
2007-10-10 14:08:13 -05:00
Stefan Metzmacher
79af05551f r15747: move some functions to the protocol independend part of the
smb server

metze
2007-10-10 14:08:12 -05:00
Stefan Metzmacher
9180635317 r15741: move smb2 request structures into the main smb request structs
as new levels

metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
fc20e4154a r15739: return False when the function is called with an invalid level
metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
287fc1c22d r15734: This is a major change to the NTVFS subsystem:
- to use a struct ntvfs_handle instead of a uint16_t fnum.
  (to make it independend from the frontend protocol)
- the allocation of handles now is provided by the frontend
  (smbsrv_*) via callbacks and not by each backend module
- this also makes sure that file handles are only passed
  to the ntvfs subsystem when the tcon and session matches,
  so modules can rely on this and need to check this.
- this allows multiple modules in the ntvfs module chain
  to allocate file handles. This can be used for virtual
  files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"...
- also this will make SMB2 with 128 bit file handles possible

metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
95bf41b4d4 r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
metze
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
0ac9a49f42 r15714: fix async handling of ntioctl calls and push the DATA_BLOB into the reply
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
a870c084f6 r15711: - make use of nttrans_setup_reply()
metze
2007-10-10 14:08:08 -05:00
Stefan Metzmacher
6a0c24c73e r15710: - we no longer need to set the nttrans out fields to zero
in the backends
- some whitespace cleanups

metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
b21d98a875 r15709: - return an error is better than ignoring a non supported request
- zero nttrans output fields before calling the backends

metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
6bc89b422c r15708: setup count is 8bit and param_count and data_count are 32bit
metze
2007-10-10 14:08:07 -05:00
Stefan Metzmacher
3cab02f6f5 r15656: for NT IOCTL's we need to control the max_data field for some calls
metze
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
358d03143f r15640: - NT IOCTL calls also have an 'in' data_blob
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload
  not the SMB payload here

metze
2007-10-10 14:07:25 -05:00
Jelmer Vernooij
c0ab0f4ed4 r15314: Fix recursive dependency hack for static libs. Should fix the build
on most systems.
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
f0afe9e2ff r15313: Fix some dependencies in dso mode 2007-10-10 14:05:09 -05:00
Jelmer Vernooij
3ef9326386 r15304: Fix smbd build, more updates on getting --enable-dso to build again 2007-10-10 14:05:08 -05:00
Jelmer Vernooij
0654739166 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
adc8a019b6 r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
7af59357b9 r15191: Avoid uint_t as it's not standard. 2007-10-10 14:04:15 -05:00
Andrew Tridgell
85d70f1c15 r14937: fix a crash that can be caused by a notify triggering during a share
disconnect
2007-10-10 14:00:19 -05:00
Andrew Tridgell
fb91a37e92 r14807: fixed the format of notify responses (forgot to commit this earlier) 2007-10-10 13:59:22 -05:00
Stefan Metzmacher
2c87f210e9 r14739: keep the last request time for the smbsrv_connection,
smbsrv_session and smbsrv_tcon for management tools

metze
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
fca74f2a4b r14733: SMBtdis needs a TCON and doesn't need a SESSION,
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid)

metze
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
9f9240d118 r14647: be a bit less verbose on common stuff
metze
2007-10-10 13:59:04 -05:00