Jelmer Vernooij
0e1d0a874a
Rename include to mkinclude to emphasize it is different from make's include.
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
bfad9610c4
Fix build with partial linking.
2008-02-18 16:02:33 +01:00
Andrew Tridgell
cf109460af
3 places where the VFS backend doesn't handle NULL strings.
2008-02-18 14:54:14 +11:00
Jelmer Vernooij
3c1a7c0dcc
Remove type before variables in data.mk
2008-02-14 12:03:34 +01:00
Andrew Tridgell
3aaa2e86d9
updated SMB2 code for getinfo according to WSPP docs
...
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
new docs
2008-02-14 17:11:36 +11:00
Andrew Tridgell
f6cdf3f117
A better way to handle the different format of RenameInformation in SMB2
...
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2
and set that level when handling SMB2 packets. This makes the parsers clearer.
2008-02-14 14:54:21 +11:00
Andrew Tridgell
52d7972d95
Fixed SMB2 rename operations from Vista clients
...
We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does
Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
2008-02-14 12:30:31 +11:00
Andrew Tridgell
ca6d9be6cb
Convert SMB and SMB2 code to use a common buffer handling structure
...
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.
Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)
There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
2008-02-14 10:12:33 +11:00
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
Andrew Tridgell
5913e3e549
updated SMB2 tcon as per WSPP docs
2008-02-13 10:13:28 +11:00
Andrew Tridgell
252bcf207b
fixed crash when 0 dialects (thanks metze!)
2008-02-12 20:29:31 +11:00
Andrew Tridgell
d2c6ad55ec
updated SMB2 header defines to match WSPP docs
2008-02-12 17:00:35 +11:00
Andrew Tridgell
3c2af0fdc4
converted SMB2 session setup to use WSPP protocol field names
2008-02-12 16:43:38 +11:00
Andrew Tridgell
9dc284770d
converted the out side of SMB2 negprot handling
...
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server
and do basic operations
2008-02-12 16:20:13 +11:00
Andrew Tridgell
55af8acc7b
fixed up the .in side of SMB2 negprot
...
fixed the input side of the SMB2 negprot structure and parsers according to the documentation
2008-02-12 12:54:44 +11:00
Andrew Bartlett
9c9a4731ca
Remove useless layer of indirection, where every service called
...
task_service_init() manually. Now this is called from service.c for
all services.
Andrew Bartlett
2008-02-04 21:58:29 +11:00
Andrew Bartlett
0d830580e3
Rework service init functions to pass down service name. This is
...
needed to change prefork behaviour based on what service is being
started.
Andrew Bartlett and David Disseldorp
2008-02-04 17:48:51 +11:00
Amin Azez
2ac47f5ab6
Fix sending of large nttrans responses.
...
req_grow_data was growing the original req, not this_req which
was being used for the current fragment.
2008-02-01 06:36:32 +01:00
Jelmer Vernooij
18cd08623e
r26672: Janitorial: Remove uses of global_loadparm.
2008-01-05 13:06:03 -06:00
Jelmer Vernooij
2f29f80e07
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
61ad78ac98
r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
2008-01-01 16:12:11 -06:00
Jelmer Vernooij
c4b1df0476
r26504: Don't rely on system-provided kerberos headers.
2007-12-21 05:51:07 +01:00
Jelmer Vernooij
8858cf3972
r26440: Remove more uses of global_loadparm.
2007-12-21 05:50:08 +01:00
Jelmer Vernooij
1b947fe0e6
r26430: require explicit specification of loadparm context.
2007-12-21 05:49:58 +01:00
Jelmer Vernooij
d37136b7ab
r26429: Avoid use of global_smb_iconv_convenience.
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
a35e51871b
r26402: Require a talloc context in libnetif.
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
9f975417cc
r26401: Don't cache interfaces context in libnetif.
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
6d4c598534
r26382: Remove more uses of global_loadparm.
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
5d589a0d94
r26355: Eliminate global_loadparm in more places.
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
17637e4490
r26353: Remove use of global_loadparm.
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
87799f55d5
r26350: More tests.
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5d927b5ca7
r26347: More tests.
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
e452cb2859
r26325: Remove use of global_loadparm in netif.
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
f6420d933b
r26316: Use contexts for conversion functions.
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
6fd0d9d3b7
r26313: Fix more uses of static loadparm.
2007-12-21 05:48:25 +01:00
Jelmer Vernooij
7c00866423
r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection.
2007-12-21 05:47:47 +01:00
Jelmer Vernooij
c7eae1c784
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
b9e3a4862e
r26260: Store loadparm context in gensec context.
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
2c6b755309
r26250: Avoid global_loadparm in a couple more places.
2007-12-21 05:47:28 +01:00
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