1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

1100 Commits

Author SHA1 Message Date
Andrew Tridgell
2031e07a8a r14974: work around an ibm checker bug 2007-10-10 14:00:49 -05:00
Andrew Tridgell
c2cde823ee r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker) 2007-10-10 14:00:48 -05:00
Andrew Tridgell
b8b9acc600 r14946: added a smbcli_ftruncate() call, useful for torture testing 2007-10-10 14:00:21 -05:00
Andrew Tridgell
517db1b1b0 r14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
torture testing. Used by RAW-NOTIFY.
2007-10-10 14:00:20 -05:00
Stefan Metzmacher
81390dcda5 r14894: - add some 'const'
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions

metze
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
a69f000324 r14891: fix a bug found by the ibm checker
the problem was that we shift with <<= (privilege-1)

and we called the function with privilege=0

add some checks to catch invalid privilege values
and hide the mask representation in privilege.c

metze
2007-10-10 14:00:12 -05:00
Andrew Tridgell
77f32a2735 r14876: added ENOSYS to unix error mapping 2007-10-10 14:00:11 -05:00
Stefan Metzmacher
9ec706238c r14860: create libcli/security/security.h
metze
2007-10-10 13:59:44 -05:00
Stefan Metzmacher
afa8f944a7 r14859: fix bugs noticed by the ibm code checker
metze
2007-10-10 13:59:43 -05:00
Stefan Metzmacher
e391f3c98a r14840: - rename some functions
- stack specific functions on top of generic ones

metze
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
7146c1600f r14724: Rearrange some source files, install more headers. 2007-10-10 13:59:14 -05:00
Stefan Metzmacher
0ad464f686 r14641: fix typo
metze
2007-10-10 13:59:04 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Andrew Tridgell
1e1c559381 r14539: get rid of a pointless union layer in struct smb_notify 2007-10-10 13:58:41 -05:00
Jelmer Vernooij
e1f896948f r14511: Install more headers 2007-10-10 13:57:35 -05:00
Jelmer Vernooij
657a893b25 r14498: Revert part of my commit that removed support for compilers that
don't support immediate structures
2007-10-10 13:57:34 -05:00
Jelmer Vernooij
4682bc5ce0 r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now. 2007-10-10 13:57:32 -05:00
Jelmer Vernooij
430c6516d3 r14484: Install more headers 2007-10-10 13:57:31 -05:00
Jelmer Vernooij
9c37f847d3 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
6046dd8220 r14473: Modern splint has no problems with immediate structures. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
f7312dab3b r14470: Remove some unnecessary headers. 2007-10-10 13:57:29 -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
Andrew Tridgell
40e5bfdb0f r14435: return after an error 2007-10-10 13:57:24 -05:00
Andrew Tridgell
507def57cb r14434: use the right enum type 2007-10-10 13:57:24 -05:00
Andrew Tridgell
7d0eb678bf r14424: another empty controls case 2007-10-10 13:57:21 -05:00
Andrew Tridgell
9787fb8e91 r14423: don't die on no controls 2007-10-10 13:57:21 -05:00
Andrew Tridgell
cd9f3adc75 r14414: added some error checks 2007-10-10 13:57:20 -05:00
Andrew Tridgell
c43a7ec7ac r14413: don't do memcpy of length 0 2007-10-10 13:57:20 -05:00
Jelmer Vernooij
7054ebf024 r14402: Generate seperate headers for RPC client functions. 2007-10-10 13:57:19 -05:00
Jelmer Vernooij
1a16a6f1df r14380: Reduce the size of structs.h 2007-10-10 13:57:16 -05:00
Stefan Metzmacher
da1ac9b224 r14372: fix bug found by sparse
metze
2007-10-10 13:57:15 -05:00
Jelmer Vernooij
98c4c30513 r14363: Remove credentials.h from the global includes. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
3da79bf909 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7871b07e21 r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
2007-10-10 13:57:12 -05:00
Andrew Tridgell
6a84940bd3 r14297: make sure we can go through the loop for than once 2007-10-10 13:57:09 -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
Rafal Szczesniak
7aa90f58b9 r14239: Fix indentation.
rafal
2007-10-10 13:57:05 -05:00
Andrew Tridgell
b78abbbce6 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.
2007-10-10 13:57:03 -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
29240bae44 r14174: fix typos
metze
2007-10-10 13:56:58 -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
bce4db8d1c r14160: don't write behind the buffer
metze
2007-10-10 13:56:56 -05:00
Andrew Tridgell
f432d23b04 r14141: fixed bugzilla 2921, forcing correct alignment when in ascii mode 2007-10-10 13:56:54 -05:00
Stefan Metzmacher
43733c9556 r14064: - split out MSRPC_PARSE into a speperate subsystem
- build gensec_ntlmssp always static for now, because torture/auth/ntlmssp.c
  needs to access functions from it

metze
2007-10-10 13:52:39 -05:00
Jelmer Vernooij
2c74698032 r13960: Generate makefile rules for installing/removing shared modules. 2007-10-10 13:52:32 -05:00
Jelmer Vernooij
f87debeb12 r13944: Yet another round of splitups. 2007-10-10 13:52:31 -05:00
Jelmer Vernooij
2d655f0528 r13938: Around round of splitups 2007-10-10 13:52:29 -05:00
Stefan Metzmacher
9650d15c21 r13936: fix dependecy
metze
2007-10-10 13:52:28 -05:00
Stefan Metzmacher
569275bc2b r13935: add dependecies
metze
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
930daa9f41 r13926: More header splitups. 2007-10-10 13:52:26 -05:00