Stefan Metzmacher
87ce6b198a
s4:libcli/raw: s/class/eclass
...
metze
2009-02-02 13:09:08 +01:00
Stefan Metzmacher
0ac7792e02
s4:libcliraw: s/private/private_data
...
metze
2009-02-02 13:08:51 +01:00
Stefan Metzmacher
1ee4bbec1a
s4:libcli/raw: s/private/private_data
...
metze
2009-02-02 13:08:28 +01:00
Stefan Metzmacher
9967907190
util_str: setup the correct talloc name for strings
...
metze
(partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2009-01-19 07:05:21 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Jelmer Vernooij
ff36c52d8c
Remove another use of global_loadparm.
...
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Jelmer Vernooij
7a6190e9a7
Remove another use of global_loadparm.
2008-11-02 01:03:26 +01:00
Jelmer Vernooij
57a60f0920
Move lp_*() calls a bit higher up the calls tack.
2008-11-01 22:13:47 +01:00
Jelmer Vernooij
af2940459d
Fix prototype for attrib_string().
2008-11-01 16:00:41 +01:00
Jelmer Vernooij
23302413b3
Remove unused include param/param.h.
2008-10-24 16:37:56 +02:00
Jelmer Vernooij
37d885c51a
Remove iconv_convenience argument from convert_string{,talloc}() but
...
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24 14:26:46 +02:00
Jelmer Vernooij
284f523ec7
Remove a few more usages of global_loadparm.
2008-10-24 13:22:12 +02:00
Jelmer Vernooij
8b06312f7e
Eliminate another instance of global_loadparm.
2008-10-24 13:13:27 +02:00
Jelmer Vernooij
e9ab9e52f0
Just hardcode workgroup to empty string, to avoid use of
...
global_loadparm.
2008-10-24 04:00:07 +02:00
Jelmer Vernooij
922a29992e
Remove iconv_convenience parameter from simple string push/pull
...
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
87ec1d2532
Make sure prototypes are always included, make some functions static and
...
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
c484b0465c
Move SMB-specific attribute function to SMB client library.
2008-10-19 10:45:02 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
181ee01da6
Pass session options around; saves another use of global_loadparm.
2008-09-30 02:47:19 +02:00
Jelmer Vernooij
c8a19f0b83
Pass options struct into session initialization functions rather than
...
using global_loadparm.
2008-09-30 01:29:53 +02:00
Andrew Tridgell
9cf3d82d63
added the structure for LINK_INFORMATION setfileinfo call
2008-09-24 18:10:23 -07:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Andrew Tridgell
66092ced5e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-09-23 11:15:46 -07:00
Stefan Metzmacher
8c3d969934
libcli/raw: real signing starts at seqnumber 2
...
metze
2008-09-23 11:30:03 +02:00
Stefan Metzmacher
7deacc615e
libcli/raw: in SMB_SIGNING_ENGINE_BSRSPYL state it's ok to accept any signature
...
Even if signing is mandatory.
With NTLMSSP this happens for the session setup:
request1 => BSRSPYL
response1 => BSRSPYL
request2 => BSRSPYL
response2 => <SIGNATURE>
and with krb5:
request1 => BSRSPYL
response1 => <SIGNATURE>
metze
2008-09-23 11:30:03 +02:00
Stefan Metzmacher
e00ab641b4
libcli/raw: give the caller the chance to do the signing checks on its own.
...
metze
2008-09-23 11:30:02 +02:00
Stefan Metzmacher
781d7c4c1c
libcli/raw: give the caller the chance to prevent the talloc_free(req) in the _recv functions
...
metze
2008-09-23 11:30:02 +02:00
Günther Deschner
a1a92688ba
s4-nbt: use ../libcli/nbt
...
Guenther
2008-09-23 09:37:24 +02:00
Andrew Tridgell
219aa1b4fd
added FULL_EA_INFORMATION setea call
2008-09-23 16:45:10 +10:00
Andrew Bartlett
d104a706d1
Make SMB signing work with Windows 2008 and kerberos.
...
Pinched from b53e6387e30010509034835acf88b91b380ff44a by metze.
Andrew Bartlett
(This used to be commit d55602e23e7947462cb402b20b2d354b96aa7ba3)
2008-09-06 09:07:41 +10:00
Stefan Metzmacher
dbcdbb3348
libcli/raw: fix the special NTCREATE_OPTIONS_*_MASK values
...
We now reuse ignored values for the ntvfs backend private flags.
metze
(This used to be commit 14eda93aeface307e1ffd1ea012d8f236fa78290)
2008-08-14 13:13:50 +02:00
Andrew Bartlett
853194c308
More 'must be ignored' options from the MS-SMB doc.
...
Also in particular the 'sync' flags (which Samba has traditionally
ignored).
Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out
more flags that needed to be handled.
Andrew Bartlett
(This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
2008-07-18 18:40:19 +10:00
Andrew Bartlett
e92125e631
Ignore and handle more NT Create & X options.
...
The MS-SMB document explains that some of these options should be
ignored. The test proves it.
/* Must be ignored by the server, per MS-SMB 2.2.8 */
/* Must be ignored by the server, per MS-SMB 2.2.8 */
If we implement HSM in samba4 (likely) we should honour this bit.
/* Don't pull this file off tape in a HSM system */
Andrew Bartlett
(This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
2008-07-16 14:00:18 +10:00
Stefan Metzmacher
997f539bf5
libcli/raw: remove unused smb_raw_max_trans_data() function
...
metze
(This used to be commit d235ce673705641e06b4ad5f5679e146b59a19e1)
2008-07-07 20:59:18 +02:00
Stefan Metzmacher
efaf4cedb2
libcli/raw: make multi fragmented nttrans requests possible
...
metze
(This used to be commit a6aa055097313975299f214d8ebe8d45aa51d10a)
2008-07-07 18:10:08 +02:00
Stefan Metzmacher
848ab7fa3b
libcli/raw: trans(2) setup count is uint8_t
...
metze
(This used to be commit 48ccb51caf7976ec07c8a9bfc1afd3076bf4ee22)
2008-07-07 18:10:07 +02:00
Stefan Metzmacher
fd1ce8c263
libcli/raw: remove unused smbcli_request_receive_more() function
...
metze
(This used to be commit e1d81388fcabba9a947ed0be9ccae875e2b19135)
2008-07-07 18:10:07 +02:00
Stefan Metzmacher
1777734240
libcli/raw: use the new recv_helper infrastructure for trans/trans2 replies
...
metze
(This used to be commit ec67c61b6a82e4f39a15f37a98ae3fe93bb81316)
2008-07-07 18:10:03 +02:00
Stefan Metzmacher
b4726d48e5
libcli/raw: use the new recv_helper infrastructure for nttrans replies
...
metze
(This used to be commit 5bf136e233e26b4372155f494bae5118ef777a76)
2008-07-07 13:43:13 +02:00
Stefan Metzmacher
7718a89222
libcli/raw: add a recv_helper hook infrastructure
...
The recv helper will be called when a response comes
and the recv helper can decide to let the request
on the SMBCLI_REQUEST_RECV when more reponse packets
are expected. It's up to the helper function
to keep a reference to the in buffers, each incoming
response overwrites req->in.
metze
(This used to be commit 6d84af89ba96627abe142ba7080c24ae2421ed6c)
2008-07-07 13:43:13 +02:00
Stefan Metzmacher
70ccb7e7ce
libcli/raw: the nttrans setup count is only 8-bit
...
metze
(This used to be commit a65599cc83a12ec61e5a6ba6ad9628619a0dc8a3)
2008-07-07 13:43:12 +02:00
Andrew Tridgell
3df3bf577d
ensure we don't end up with a partially initialised EA structure
...
(This used to be commit 388f4fde3655146bf57b4c51c59c39f475aa7fe8)
2008-06-06 10:53:00 -07:00
Andrew Tridgell
3850d47fef
updated some info levels based on WSPP docs
...
(This used to be commit f84620324a8cebcd2fd19388d910928ca1ad1334)
2008-06-02 11:02:57 +10:00
Andrew Tridgell
c86dc11be6
added support for returning the maximal access MXAC tag in SMB2 create
...
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
2008-05-29 19:16:26 +10:00
Andrew Tridgell
2173169e19
added support for all of the known SMB2 create tags in our client
...
library
(This used to be commit 597b38e97b01d2137e6ac96ca07cd56fadb2c09e)
2008-05-28 15:27:50 +10:00
Andrew Tridgell
8daeee5c5d
ensure that we honor SMB2 read min_count properly
...
(This used to be commit 318038d6f670efffa96d8b0db63f46b3752e1cd3)
2008-05-27 18:20:23 +10:00
Andrew Tridgell
cb36437db2
added support for the output fields of SMB2 close
...
(This used to be commit 2633bc749792c224acc73a2e4ca723404331c19c)
2008-05-27 16:43:36 +10:00
Andrew Tridgell
2ad2bdda89
stricter checks for valid inputs in SMB2 open and lock
...
(This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
2008-05-26 15:02:43 +10:00
Andrew Tridgell
d5def936fe
pass in the required alignment to the EA construction routines
...
(This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
2008-05-22 22:46:29 +10:00
Andrew Tridgell
a6e5c70da7
added a define for all valid file attributes
...
(This used to be commit 198ed9336756f973cebd7cc3df7f51e2c4575205)
2008-05-22 17:54:06 +10:00