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
ed9ed1f48f
r14157: - pass a struct ntvfs_request to the ntvfs layer
...
(for now we just do #define ntvfs_request smbsrv_request,
but it's the first step...)
- rename ntvfs_openfile() -> ntvfs_open()
- fix the talloc hierachie in some places in the ntvfs_map_*() code
metze
2007-10-10 13:56:55 -05:00
Andrew Tridgell
2cd4cd1674
r14142: fixed ascii padding of nttrans create in server too
2007-10-10 13:56:54 -05:00
Stefan Metzmacher
7ad522c7ac
r14096: setup a service task for smbsrv and dcesrv
...
metze
2007-10-10 13:56:50 -05:00
Stefan Metzmacher
526f20bbec
r14079: I just found the setproctitle library from alt linux:-)
...
- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections
metze
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
67a42a8097
r14041: be a bit less verbose
...
metze
2007-10-10 13:52:38 -05:00
Andrew Tridgell
78dd6b3e0c
r14016: use type safe talloc when constructing operation structures in smb server
2007-10-10 13:52:37 -05:00
Andrew Tridgell
e03a2e2de2
r14013: added construction of the notify reply buffer in the nttrans server
...
code
the RAW-NOTIFY test now passes against the CIFS backend
2007-10-10 13:52:36 -05:00
Andrew Tridgell
0ad70bfd83
r14011: - added a ntvfs_notify op to allow backends to support change notify
...
- converted the nttrans server side code to be async (needed for change notify)
This is the start of some work on supporting change notify via a new
approach. More soon.
2007-10-10 13:52:36 -05:00
Jelmer Vernooij
2c74698032
r13960: Generate makefile rules for installing/removing shared modules.
2007-10-10 13:52:32 -05:00
Stefan Metzmacher
7aabff8298
r13937: fix the build
...
metze
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
930daa9f41
r13926: More header splitups.
2007-10-10 13:52:26 -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
Andrew Bartlett
9c8350c64b
r13911: Make these debug messages clearer.
2007-10-10 13:52:23 -05:00
Stefan Metzmacher
60d7920527
r13877: remove smbsrv_send_dos_error() and use smbsrv_send_error(..,NT_STATUS_DOS())
...
metze
2007-10-10 13:52:19 -05:00
Stefan Metzmacher
f28fb440d5
r13872: fix typo
...
metze
2007-10-10 13:52:19 -05:00
Stefan Metzmacher
e6275db7b9
r13870: prefix more functions with smbsrv_
...
metze
2007-10-10 13:52:19 -05:00
Stefan Metzmacher
bd3162e6a7
r13868: remove useless talloc_free() wrapper
...
metze
2007-10-10 13:52:19 -05:00
Stefan Metzmacher
bb083f17c9
r13866: prefix more functions with smbsrv_
...
metze
2007-10-10 13:52:18 -05:00
Stefan Metzmacher
2af9663275
r13865: prefix functions with smbsrv_
...
metze
2007-10-10 13:52:18 -05:00
Stefan Metzmacher
ab659d8ee0
r13863: this can be static...
...
metze
2007-10-10 13:52:18 -05:00
Stefan Metzmacher
497b219c7d
r13862: rename chain_reply -> smbsrv_chain_reply
...
metze
2007-10-10 13:52:18 -05:00
Stefan Metzmacher
d1bae931b3
r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
...
- the default max protocol is still NT1
metze
2007-10-10 13:52:17 -05:00
Stefan Metzmacher
7f2a6cfd6f
r13858: - use req_pull_ascii4() instead of doing strlen() on client provided buffers
...
- also terminate the connection if we don't support any protocol the client
provides
metze
2007-10-10 13:52:17 -05:00
Stefan Metzmacher
58af0acafd
r13857: add "Windows for Workgroups 3.1a" support to the server
...
metze
2007-10-10 13:52:17 -05:00
Andrew Tridgell
af6606fe98
r13856: fixed a misleading comment
2007-10-10 13:52:17 -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
Stefan Metzmacher
7cf1423bc8
r13620: initialize the CMD with 0 too
...
metze
2007-10-10 13:52:01 -05:00
Andrew Bartlett
7f821097fb
r13403: Try to better handle a case where SPNEGO isn't available (allow us to
...
emulate the behaviour of XP standalone if required).
Andrew Bartlett
2007-10-10 13:51:53 -05:00
Andrew Bartlett
765caa14b3
r13204: Remove extra newline we don't need.
...
Andrew Bartlett
2007-10-10 13:51:33 -05:00
Andrew Bartlett
88198c4881
r12804: This patch reworks the Samba4 sockets layer to use a socket_address
...
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
2007-10-10 13:49:57 -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
6391761601
r12696: Reduce the size of include/structs.h
2007-10-10 13:49:40 -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
Jelmer Vernooij
87f665a1d5
r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
b24f2583ed
r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
...
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
a7baf165c1
r12126: get rid of the local ->terminate hacks, we do that genericly now
...
metze
2007-10-10 13:47:12 -05:00
Stefan Metzmacher
99cf7dbb17
r12115: bring SMB sesssetup_spnego in sync with SMB2 sesssetup
...
metze
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
15973be48e
r12113: in SMB2 we should only allocate a new session
...
when the client sends UID = 0, otherwise we return
NT_STATUS_USER_SESSION_DELETED
metze
2007-10-10 13:47:10 -05:00
Stefan Metzmacher
4d527ac005
r12102: for SMB2 we need to allocate tcons per session
...
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
40b301c6bd
r12095: the most SMB2 opcodes need a valid session and tcon,
...
metze
2007-10-10 13:47:09 -05:00
Stefan Metzmacher
cb9ddf7997
r12094: - implement dummy smb2srv_tcon()
...
- implement smb2srv_tdis()
metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
1506be37db
r12093: add missing file
...
metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
859ab627f4
r12092: - add dummy functions for the missing SMB2 opcodes
...
- implement keepalive and logoff
metze
2007-10-10 13:47:08 -05:00
Stefan Metzmacher
436c5127ef
r12091: the SMB2 specific level are not available via SMB
...
(get rid of the compiler warnings)
metze
2007-10-10 13:47:08 -05:00
Andrew Tridgell
5c81986bff
r12082: fixed a valgrind error found by kukks in the transs server handling
2007-10-10 13:47:06 -05:00
Andrew Bartlett
e74ca624e7
r11992: Potentially allow SPNEGO to be disabled (as occours on WinXP
...
standalone), and use only NTLMSSP.
(But doing so would break Samba3's client).
Andrew Bartlett
2007-10-10 13:46:56 -05:00