Andrew Tridgell
d037dc23ce
updated SMB2 create operation to match WSPP.
...
Adding some defined for various new create options
2008-02-13 15:05:44 +11:00
Jelmer Vernooij
18cd08623e
r26672: Janitorial: Remove uses of global_loadparm.
2008-01-05 13:06:03 -06:00
Jelmer Vernooij
8858cf3972
r26440: Remove more uses of global_loadparm.
2007-12-21 05:50:08 +01:00
Jelmer Vernooij
28b1d36551
r26432: Require ndr_pull users to specify iconv_convenience.
2007-12-21 05:50:02 +01:00
Jelmer Vernooij
7352206f44
r26431: Require ndr_push creators to specify a iconv_convenience context.
2007-12-21 05:50:00 +01:00
Jelmer Vernooij
6d4c598534
r26382: Remove more uses of global_loadparm.
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
17637e4490
r26353: Remove use of global_loadparm.
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
fc1f4d2d65
r26296: Store loadparm context in DCE/RPC server context.
2007-12-21 05:48:13 +01:00
Stefan Metzmacher
590dd7f8a1
r26053: IPC_RAP: don't use ndr_pull_save anymore
...
metze
2007-12-21 05:45:48 +01:00
Stefan Metzmacher
6223c7fddc
r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
...
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/
metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
566aa14139
r25554: Convert last instances of BOOL, True and False to the standard types.
2007-10-10 15:07:55 -05:00
Andrew Bartlett
efaf91b9d5
r24075: As suggested by metze, match the behaviour of ntvfs_posix, and remove
...
the backend data (effectivly closing the handle) when we close an IPC
FD.
This should fix #4821 .
Andrew Bartlett
2007-10-10 15:01:22 -05:00
Andrew Tridgell
fcf38a38ac
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
34ef07b1f5
r23067: use 'const union smb_search_data *file' also in the server code to get rid
...
of compiler warnings in the cifs backend
metze
2007-10-10 14:52:47 -05:00
Andrew Bartlett
3947db3dcb
r22882: It seems entirly reasonable to follow metze's suggestion and check for
...
a valid file handle first.
Andrew Bartlett
2007-10-10 14:52:28 -05:00
Andrew Bartlett
8f85fb3786
r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
...
This should help with Vista joins.
Andrew Bartlett
2007-10-10 14:52:27 -05:00
Jelmer Vernooij
f7afa1cb77
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
2007-10-10 14:16:54 -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
d41a83d559
r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
...
the operation doesn't need a valid file handle in that case
metze
2007-10-10 14:10:00 -05:00
Stefan Metzmacher
5338699d0c
r16890: implement DCERPC over SMB2 in the IPC backend
...
metze
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
f38b042ded
r15970: add a more verbose comment to tridge's fix for bigendian hosts.
...
tridge: I'm fine with this fix
metze
2007-10-10 14:08:45 -05:00
Andrew Tridgell
50246e6282
r15880: the ntvfs_handle changes broke rpc on big-endian boxes, as the
...
uint16_t fnum was being byte order converted twice in the ipc server.
Metze, can you have a look at this? This change does make rpc work
again, but perhaps you might like to approach it differently
2007-10-10 14:08:37 -05:00
Andrew Tridgell
61c6100617
r15854: more talloc_set_destructor() typesafe fixes
2007-10-10 14:08:32 -05:00
Stefan Metzmacher
fb1debf219
r15772: pass the messaging context and server_id to the dcerpc server subsystem
...
metze
2007-10-10 14:08:17 -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
James Peach
e0ca5ead27
r15188: Restore svn rev. 15183, 15184 and 15185, which I inadvertantly clobbered
...
in r15186. I don't think I should be allowed to use quilt and svn at the
same time any more :(
2007-10-10 14:04:14 -05:00
James Peach
7e4ad7e8e5
r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
...
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
2007-10-10 14:04:14 -05:00
James Peach
95eb558063
r15185: Force all NTVFS modules to provide a critical sizes structure so
...
the version information can be checked when modules are registered.
2007-10-10 14:04:14 -05:00
Stefan Metzmacher
bac95bb8f4
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
2007-10-10 13:59:17 -05:00
Jelmer Vernooij
51b4270513
r14542: Remove librpc, libndr and libnbt from includes.h
2007-10-10 13:58:42 -05:00
Stefan Metzmacher
10e627032d
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
2007-10-10 13:57:32 -05:00
Stefan Metzmacher
56fac3ddbb
r14486: remove the need of a stream_connection on a dcesrv_connection,
...
and let the transport set callbacks for getting the own and peer
socket_address
metze
2007-10-10 13:57:32 -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
Stefan Metzmacher
5709c1c4e1
r14456: don't access the smbsrv_tcon inside the ntvfs modules
...
metze
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
1a16a6f1df
r14380: Reduce the size of structs.h
2007-10-10 13:57:16 -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
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
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
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
Stefan Metzmacher
c6fa9bd15c
r13923: make the state_flags per dcesrv_connection
...
this will may help with a generic named pipe solution
metze
2007-10-10 13:52:24 -05:00
Jelmer Vernooij
c80a8f1102
r13903: Don't generate prototypes for modules and binaries in include/proto.h by
...
default.
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
26bf2a393b
r13652: Move some more stuff out off include/
2007-10-10 13:52:04 -05:00
Jelmer Vernooij
e3d0676aee
r13210: Revert my named pipes patch until it passes not just 'make quicktest' but
...
also 'make test'
2007-10-10 13:51:35 -05:00
Jelmer Vernooij
898d15acbd
r13208: Clearly separate named pipes from the IPC$ NTVFS type.
...
This allows the easy addition of additional named pipes and removes the
circular dependencies between the CIFS, RPC and RAP servers.
Simple tests for a custom named pipe included.
2007-10-10 13:51:34 -05:00
Stefan Metzmacher
19205b8d89
r13129: fix the memory hierachie
...
metze
2007-10-10 13:51:28 -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
Andrew Tridgell
bf6558b897
r9794: r11627@blu: tridge | 2005-08-30 22:55:27 +1000
...
fill in correct error code for zero length and too large IPC reads
2007-10-10 13:35:02 -05:00