1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

372 Commits

Author SHA1 Message Date
Stefan Metzmacher
5761c59ef7 r15535: fix the build
metze
(This used to be commit 297868325f)
2007-10-10 14:05:55 -05:00
Stefan Metzmacher
bd6dd99eb9 r15533: with this vista does a fine SMB2 TreeConnect against samba4
metze
(This used to be commit 6c920d21a1)
2007-10-10 14:05:54 -05:00
Stefan Metzmacher
dc86ab3e45 r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
(This used to be commit 7829100e1e)
2007-10-10 14:05:54 -05:00
Jelmer Vernooij
806c5c9621 r15371: Revert some of my previous patch as it was breaking the plain build
(This used to be commit fac9871122)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
47bf79eac5 r15370: Fix more dependencies for shared libs
(This used to be commit 9a518661fb)
2007-10-10 14:05:27 -05:00
Jelmer Vernooij
0199eac20d r15314: Fix recursive dependency hack for static libs. Should fix the build
on most systems.
(This used to be commit c0ab0f4ed4)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
9220144604 r15313: Fix some dependencies in dso mode
(This used to be commit f0afe9e2ff)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
bc141c7957 r15304: Fix smbd build, more updates on getting --enable-dso to build again
(This used to be commit 3ef9326386)
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 0654739166)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
0eddf14b30 r15191: Avoid uint_t as it's not standard.
(This used to be commit 7af59357b9)
2007-10-10 14:04:15 -05:00
Jelmer Vernooij
a454456820 r14997: Fix build of static libraries. Libraries build fine now, but linking doesn't
work yet.
(This used to be commit d3106699db)
2007-10-10 14:03:59 -05:00
Andrew Tridgell
09a6f728a3 r14937: fix a crash that can be caused by a notify triggering during a share
disconnect
(This used to be commit 85d70f1c15)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
11963877ab r14807: fixed the format of notify responses (forgot to commit this earlier)
(This used to be commit fb91a37e92)
2007-10-10 13:59:22 -05:00
Stefan Metzmacher
316269a075 r14739: keep the last request time for the smbsrv_connection,
smbsrv_session and smbsrv_tcon for management tools

metze
(This used to be commit 2c87f210e9)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
ad06a8bd65 r14736: - the ntvfs subsystem should not know about smb_server.h
- the process module subsystem should not know about smb_server.h
- the smb_server module should not know about process models

metze
(This used to be commit bac95bb8f4)
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
b983fd949b r14733: SMBtdis needs a TCON and doesn't need a SESSION,
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid)

metze
(This used to be commit fca74f2a4b)
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
1f2d8319bd r14647: be a bit less verbose on common stuff
metze
(This used to be commit 9f9240d118)
2007-10-10 13:59:04 -05:00
Stefan Metzmacher
d72632ba08 r14644: fix SMBecho, used by w2k clients, failing this,
causes an SMBulogoffX and SMBtdis

jelmer: I think this should go into TP2

metze
(This used to be commit 94d775c74d)
2007-10-10 13:59:04 -05:00
Stefan Metzmacher
8ae3773bc4 r14638: we need to call smbsrv_setup_reply() before using smbsrv_setup_error()
tridge: can you please check if the whole function ok?

jelmer: this fixes a crash bug, when asking for Security Descriptors
        and should be in the TP2

metze
(This used to be commit b5edcde793)
2007-10-10 13:59:03 -05:00
Jelmer Vernooij
35349a58df r14542: Remove librpc, libndr and libnbt from includes.h
(This used to be commit 51b4270513)
2007-10-10 13:58:42 -05:00
Stefan Metzmacher
61fa658ebc r14541: separate smbsrv_request and ntvfs_request,
with this it's now possible to write a
ntvfs_test programm like the vfstest in samba3

also smb2 support will be possible later

metze
(This used to be commit 7253153691)
2007-10-10 13:58:41 -05:00
Andrew Tridgell
9225c02aee r14539: get rid of a pointless union layer in struct smb_notify
(This used to be commit 1e1c559381)
2007-10-10 13:58:41 -05:00
Stefan Metzmacher
027208806f r14538: ok, I have better used make valgrindtest my self...
the 3 bytes for WordCount and ByteCount are included in MIN_SMB_SIZE...

metze
(This used to be commit 4ff3fb35e8)
2007-10-10 13:58:41 -05:00
Stefan Metzmacher
8437d5b891 r14526: fix the size of the output buffer, we need 1 byte for the Word count
now smbsrv_setup_reply() and req_setup_chain_reply() do the same thing

tridge: can you please check if this is correct,
        I wonder why we don't got valgrind errors...
	as the over allocation is disabled currently

metze
(This used to be commit 3441a4a74f)
2007-10-10 13:57:37 -05:00
Stefan Metzmacher
d7254a3615 r14523: make async search request possible
metze
(This used to be commit f130632dc5)
2007-10-10 13:57:36 -05:00
Jelmer Vernooij
5b0051e032 r14511: Install more headers
(This used to be commit e1f896948f)
2007-10-10 13:57:35 -05:00
Stefan Metzmacher
66b2ed2866 r14504: make trans and trans2 able to use async ntvfs backends
tridge: can you review this please

metze
(This used to be commit f2e9b2c3a2)
2007-10-10 13:57:35 -05:00
Andrew Bartlett
bae6672ea9 r14502: Supply both needed arguments for the backend logoff processing.
This should fix the segfaults on the build farm.

Metze: please check

Andrew Bartlett
(This used to be commit fb927a7117)
2007-10-10 13:57:35 -05:00
Stefan Metzmacher
d3087451c4 r14487: split smbsrv_request into two parts, one will be moved to ntvfs_request
but I don't to get the commit to large, to I'll do this tomorrow...

metze
(This used to be commit 10e627032d)
2007-10-10 13:57:32 -05:00
Stefan Metzmacher
3948fcac49 r14485: mark smb commands as need session and need tcon explicit,
so we only need to check in one global place and can't forget
in other places...

metze
(This used to be commit 742be8e075)
2007-10-10 13:57:31 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51)
2007-10-10 13:57:27 -05:00
Stefan Metzmacher
2e7df84576 r14456: don't access the smbsrv_tcon inside the ntvfs modules
metze
(This used to be commit 5709c1c4e1)
2007-10-10 13:57:26 -05:00
Stefan Metzmacher
5555e28cab r14447: remove unused stuff
metze
(This used to be commit 4df843658f)
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
e3f2414cf9 r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1df)
2007-10-10 13:57:16 -05:00
Stefan Metzmacher
a1b295ed48 r14256: - rename smb_file -> smb_handle
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo

metze
(This used to be commit be6d5298a2)
2007-10-10 13:57:06 -05:00
Andrew Tridgell
7f0c7702f6 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.
(This used to be commit b78abbbce6)
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
32b0bb64bc r14205: move smb specific stuff out of includes.h (finally!!!:-)
all this changes really help ccache to speed up the samba4 build:-)

metze
(This used to be commit 180a79d103)
2007-10-10 13:57:03 -05:00
Stefan Metzmacher
307e43bb56 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
(This used to be commit 2ef3f59709)
2007-10-10 13:56:57 -05:00
Stefan Metzmacher
86497db611 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
(This used to be commit ed9ed1f48f)
2007-10-10 13:56:55 -05:00
Andrew Tridgell
9259790df7 r14142: fixed ascii padding of nttrans create in server too
(This used to be commit 2cd4cd1674)
2007-10-10 13:56:54 -05:00
Stefan Metzmacher
bfcaa4000e r14096: setup a service task for smbsrv and dcesrv
metze
(This used to be commit 7ad522c7ac)
2007-10-10 13:56:50 -05:00
Stefan Metzmacher
651ca6553e 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
(This used to be commit 526f20bbec)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
1d495bc269 r14041: be a bit less verbose
metze
(This used to be commit 67a42a8097)
2007-10-10 13:52:38 -05:00
Andrew Tridgell
db45433f31 r14016: use type safe talloc when constructing operation structures in smb server
(This used to be commit 78dd6b3e0c)
2007-10-10 13:52:37 -05:00
Andrew Tridgell
276162cc9d r14013: added construction of the notify reply buffer in the nttrans server
code

the RAW-NOTIFY test now passes against the CIFS backend
(This used to be commit e03a2e2de2)
2007-10-10 13:52:36 -05:00
Andrew Tridgell
418befec18 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.
(This used to be commit 0ad70bfd83)
2007-10-10 13:52:36 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c74698032)
2007-10-10 13:52:32 -05:00
Stefan Metzmacher
0de1ad5ae6 r13937: fix the build
metze
(This used to be commit 7aabff8298)
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
9bd7dd9121 r13926: More header splitups.
(This used to be commit 930daa9f41)
2007-10-10 13:52:26 -05:00