Jelmer Vernooij
a33a553054
r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
1386c5c925
r26237: Add loadparm context to the server service interface.
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
5b29ef7c03
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
0721a07aad
r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack.
2007-12-21 05:47:04 +01:00
Jelmer Vernooij
a9a9634df8
r26221: Add loadparm_context parameter to auth_context_create.
2007-12-21 05:46:58 +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
c9651e2c5c
r25551: Convert to standard bool type.
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
3468952e77
r25446: Merge some changes I made on the way home from SFO:
...
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
3fcc960839
r25398: Parse loadparm context to all lp_*() functions.
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
df9cebcb97
r25035: Fix some more warnings, use service pointer rather than service number in more places.
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
abe8349f9b
r25026: Move param/param.h out of includes.h
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
bbc4650871
r24940: Fix undeclared warning.
2007-10-10 15:03:40 -05:00
Jelmer Vernooij
9b256a0ca2
r24937: Merge tests spoolss RPC callbacks.
2007-10-10 15:03:39 -05:00
Jelmer Vernooij
1ce32673d9
r24712: No longer expose the 'BOOL' data type in any interfaces.
2007-10-10 15:02:54 -05:00
Stefan Metzmacher
deefefeadf
r24494: add comment to remind me to look at the flags on a tconx
...
metze
2007-10-10 15:02:02 -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
Andrew Tridgell
ff41bdc350
r23700: pre-open the sam in the parent smbd. This has the effect of loading
...
the schema. That stops us loading the schema for each new connection.
In future I would prefer to share a lot more of our ldb contexts with
children. That will require a larger piece of surgery.
2007-10-10 14:59:04 -05:00
Andrew Bartlett
b7e727186e
r23680: Make it easier to setup a domain member server - the 'server role'
...
will now control the auth methods, but an override is still available,
ex:
auth methods:domain controller = <methods>
Andrew Bartlett
2007-10-10 14:59:00 -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
Stefan Metzmacher
577acc198b
r23045: forward SMB2 oplock breaks to the client
...
metze
2007-10-10 14:52:44 -05:00
Stefan Metzmacher
7c29b8a7e6
r23044: - use uint32_t for handle id's
...
- include the session vuid in the SMB2 128-Bit wire handles
as SMB2 oplock breaks doesn't include a TID or VUID in the header
we need to make sure the handle is unique for the whole TCP connection
metze
2007-10-10 14:52:44 -05:00
Stefan Metzmacher
6d08c4cef2
r23043: allow more than UINT16_MAX - 1 handles on smb2 connections
...
metze
2007-10-10 14:52:44 -05:00
Andrew Tridgell
9a8da730a7
r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
df60df9678
r23019: revert r23018 - this will require more thought.
2007-10-10 14:52:40 -05:00
Andrew Tridgell
a4e043e1f8
r23018: fixed a memory leak in our server side session setup code for failed
...
session setups
2007-10-10 14:52:39 -05:00
Stefan Metzmacher
2390c9f24d
r22866: handle incoming chained smb2 requests in our server code to let
...
the windows explorer in longhorn beta3 work.
metze
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
7fa00381ef
r22843: pass smb2 lock requests to the ntvfs layer
...
metze
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
0fa4eb7323
r22774: correctly initialize the smbsrv_connection when switching to SMB2
...
metze
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
4bfe900d1b
r22381: fix memory leak
...
metze
2007-10-10 14:51:11 -05:00
Andrew Tridgell
fa3c9b29ae
r21206: - a couple more nttrans places were a memcpy() should be used
...
- changed the setup array in nttrans to be a uint8 array, instead of a
uint16 array. This makes it clearer that it is the job of the caller
to do any byte swapping within that data
2007-10-10 14:44:45 -05:00
Volker Lendecke
f2d364ebe6
r21183: Commit the big/little endian fix for nttrans setup[] handling.
...
Please check!
For code symmetry reasons, trans2 might also see this fix, but this is left to
the interested reader :-)
Volker
2007-10-10 14:44:43 -05:00
Stefan Metzmacher
ddf6c90159
r20657: fix compiler warning and bug:-)
...
metze
2007-10-10 14:37:27 -05:00
Andrew Tridgell
2365abaa99
r20646: first preparations for cluster enablement. This changes "
...
uint32_t server_id
to
struct server_id server_id;
which allows a server ID to have an node number. The node number will
be zero in non-clustered case. This is the most basic hook needed for
clustering, and ctdb.
2007-10-10 14:37:23 -05:00
Andrew Bartlett
2b569c42e0
r19598: Ahead of a merge to current lorikeet-heimdal:
...
Break up auth/auth.h not to include the world.
Add credentials_krb5.h with the kerberos dependent prototypes.
Andrew Bartlett
2007-10-10 14:25:00 -05:00
Andrew Tridgell
8b9359aa7d
r19505: fixed a valgrind error
2007-10-10 14:24:40 -05:00
Andrew Tridgell
c5423ea22b
r19504: - fixed a free error in file_lines_parse
...
- added a function to test for large file support
- enable CAP_LARGE_FILES only if the test passes
- don't test at large offsets if the server doesn't set
CAP_LARGE_FILES
2007-10-10 14:24:40 -05:00
Andrew Tridgell
be70992d71
r18972: we don't need this now all builds in the build farm are limited to 150
...
file descriptors. We'll pretty quickly find leaks :)
2007-10-10 14:20:25 -05:00
Andrew Tridgell
d3f0114a9d
r18839: align all directory search blobs on an 8 byte boundary to keep the
...
current vista release happy.
2007-10-10 14:20:14 -05:00
Volker Lendecke
14b88fefa0
r18686: Fix typo protocl->protocol
2007-10-10 14:19:02 -05:00
Andrew Tridgell
83bf458ec9
r18583: a nasty hack to allow me to monitor the number of open file
...
descriptors in smbd on all build farm machines. I suspect we have a fd
leak somewhere, but its hard to track down.
I know part of the problem is the number of (fake) network interfaces
we define in the build farm tests, with each of them listening on a
whole bunch of different protocol ports. That chews up around 48 file
descriptors just to startup. I don't think thats the real problem
though, and I suspect something else is leaking file descriptors on
some hosts.
2007-10-10 14:18:51 -05:00
Andrew Tridgell
eba6c84eff
r18301: I discovered how to load the warnings from a build farm build into
...
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
fe209e360e
r18211: wct is not a size, so don't use size_t
...
this should fix a pile of printf format warnings
2007-10-10 14:17:50 -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
Stefan Metzmacher
f20e251bfd
r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
...
configure check for the interfaces.
should fix the build on some old sun boxes
metze
2007-10-10 14:15:39 -05:00
Stefan Metzmacher
8a5bc18c5a
r17361: check that file handles are only accessable
...
by the correct session in the SMB frontend server
metze
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
3d849f9d25
r17360: add some comments
...
metze
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
679ac74e71
r17341: pass a messaging context to auth_context_create()
...
and gensec_server_start().
calling them with NULL for event context or messaging context
is no longer allowed!
metze
2007-10-10 14:15:17 -05:00
Andrew Bartlett
f814fae400
r17297: Some compilers don't seem to like the ;;
...
Andrew Bartlett
2007-10-10 14:15:07 -05:00
Stefan Metzmacher
216e02c69c
r17283: use the async calls of auth_check_password() and gensec_update()
...
in the smb server.
metze
2007-10-10 14:15:06 -05:00
Stefan Metzmacher
c70edc3fb8
r17280: NT_STATUS_INVALID_HANDLE maps to ERRbadfid, which is wrong in this
...
places, so only overwrite ERRbaduid and ERRinvnid when NTSTATUS support
is given.
metze
2007-10-10 14:15:05 -05:00