1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-28 03:33:13 +03:00
Commit Graph

326 Commits

Author SHA1 Message Date
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
Tim Potter
d479f2d760 r11968: More warning fixes. We're on track to getting to double digits for
the number of warnings generated now.
2007-10-10 13:46:52 -05:00
Tim Potter
9c4436a124 r11967: Fix more 64-bit warnings. 2007-10-10 13:46:52 -05:00
Stefan Metzmacher
08b31d5f61 r11789: - add the start of a SMB2 server
- it does Negprot and SessionSetup yet
  the rest returns NT_STATUS_NOT_IMPLEMENTED
- it's off by default, enable with:
  smbsrv:enable smb2 = yes
- negotition in the SMB Negprot isn't supported yet
- it's only tested with smbtorture SMB2-CONNECT
  not with vista as client

metze
2007-10-10 13:46:28 -05:00
Stefan Metzmacher
27a2615876 r11788: remove unused header files
metze
2007-10-10 13:46:27 -05:00
Stefan Metzmacher
d74f333a84 r11787: add missing file
metze
2007-10-10 13:46:27 -05:00
Stefan Metzmacher
5fea278cb6 r11786: move all SMB protocol specific stuff to smb_server/smb/
metze
2007-10-10 13:46:27 -05:00
Stefan Metzmacher
eba4f6b706 r11785: rename conn.c into tcon.c
metze
2007-10-10 13:46:27 -05:00
Stefan Metzmacher
7eb10048b2 r11783: - make the VIUD field in smbsrv_session 64bit, as SMB2 needs it
- add an idtree_limit to limit the max VUID we give the clients
  it's UINT16_MAX (0xffff) for the SMB protocol
- add auth_time to the smbsrv_session statistics
- use the session_info as marker for finished and non-finished
  session setups

metze
2007-10-10 13:46:26 -05:00