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

1088 Commits

Author SHA1 Message Date
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
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
085ba80cc8 r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.
The switch to turn off SPNEGO in the client is a bit messy, but it works.

Andrew Bartlett
2007-10-10 13:52:15 -05:00
Jelmer Vernooij
aac1b99b36 r13842: Make some more functions public. 2007-10-10 13:52:15 -05:00
Jelmer Vernooij
9a188eb1f4 r13840: Mark some functions as public. 2007-10-10 13:52:14 -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
Jelmer Vernooij
2ec7bba03a r13654: Move some more stuff out of include/ 2007-10-10 13:52:05 -05:00
Jelmer Vernooij
5e884f156f r13653: Copy headers from the right place 2007-10-10 13:52:04 -05:00
Jelmer Vernooij
26bf2a393b r13652: Move some more stuff out off include/ 2007-10-10 13:52:04 -05:00
Simo Sorce
1e2c13b2d5 r13609: Get in the initial work on making ldb async
Currently only ldb_ildap is async, the plan
is to first make all backend support the async calls,
and then remove the sync functions from backends and
keep the only in the API.

Modules will need to be transformed along the way.

Simo
2007-10-10 13:51:59 -05:00
Stefan Metzmacher
54f0b19c55 r13508: some ASN.1 element in LDAP are optional,
make it possible to code the difference between a zero length and a NULL DATA_BLOB...

metze
2007-10-10 13:51:56 -05:00
Stefan Metzmacher
1db9501c52 r13506: zero memory as some ASN.1 elements are optional, and we should initialize
them for the internal use...

found by 'make valgrindtest'

metze
2007-10-10 13:51:56 -05:00
Andrew Tridgell
d004e250b6 r13505: allow servers to bind to non-broadcast interfaces. Servers now
specifically ask for iface_n_bcast() and have to check if it returns
NULL, in which case it is a non-broadcast interface
2007-10-10 13:51:56 -05:00