Volker Lendecke
e2f0b5dd2a
r24156: Convert reply_trans2 to the new API
...
(This used to be commit a9c2d75b42be8b0d89ed1e1a2ce2c6ab4284f5ea)
2007-10-10 12:29:15 -05:00
Volker Lendecke
675a484670
r24155: Check wct in reply_trans2
...
(This used to be commit e0a708c79b4db4aab84022d568b5e7bf519e4b5a)
2007-10-10 12:29:15 -05:00
Volker Lendecke
c28bd38aa6
r24154: handle_trans2 does not reference inbuf/outbuf anymore
...
(This used to be commit 8eb016a91e3ec8d1d9d5ae1ec6f92e1e0657d593)
2007-10-10 12:29:14 -05:00
Volker Lendecke
2516942a4b
r24153: Convert call_trans2setfsinfo to the new API.
...
This *might* break the transport encryption stuff. I need to check that.
(This used to be commit 82b34d7bdbe5c5038810c11540b6b7bc04290653)
2007-10-10 12:29:14 -05:00
Volker Lendecke
4514ea2034
r24152: Convert call_trans2ioctl to the new API
...
(This used to be commit db4e6781c4d1a9755a3ec45556be8dd935f15bae)
2007-10-10 12:29:14 -05:00
Volker Lendecke
70496e030f
r24151: Convert call_trans2getdfsreferral to the new API
...
(This used to be commit 642c58648b2468544e9488cbffe1a8b236949bcc)
2007-10-10 12:29:14 -05:00
Volker Lendecke
ccd0b815e8
r24150: Convert call_trans2qfsinfo to the new API
...
(This used to be commit cdd86497b9830ba5fbc5b4511ed39ca44167faab)
2007-10-10 12:29:14 -05:00
Volker Lendecke
24e97edc78
r24149: Convert call_trans2setfilepathinfo to the new API
...
(This used to be commit 50aa149cefc1da587f110eb0bf0344c737500f5b)
2007-10-10 12:29:13 -05:00
Volker Lendecke
67fde05d68
r24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfo
...
(This used to be commit 09ed6537b39f72e61043a93fadea33562b07c6c6)
2007-10-10 12:29:13 -05:00
Volker Lendecke
f2e2c22b6f
r24147: Remove some inbuf refs from call_trans2setfilepathinfo
...
(This used to be commit a13c42be7548fc0de3e1f6f1eaacbad3046af0d0)
2007-10-10 12:29:13 -05:00
Volker Lendecke
fe92fdc67d
r24145: Fix a comment
...
(This used to be commit 34a00d8aa9af167c65baf7fc24de3c8e192f5ec0)
2007-10-10 12:29:13 -05:00
Volker Lendecke
bd627a1597
r24144: Fix the build
...
In a function returning void the "return;" needs to stand alone on some
compilers
(This used to be commit 28affcca8e22b9a147876a60fec28551256bcaa8)
2007-10-10 12:29:12 -05:00
Volker Lendecke
44c5ee4ca6
r24143: Convert call_trans2qfilepathinfo to the new API
...
(This used to be commit 0b84e29120b87bf6fc86df10102f1c4d4f98cdb6)
2007-10-10 12:29:12 -05:00
Volker Lendecke
fa2b8a447a
r24142: Remove some direct inbuf references from call_trans2qfilepathinfo
...
(This used to be commit c9c0133d5512e68fcaf22b2abd3343ae944ddb9d)
2007-10-10 12:29:12 -05:00
Volker Lendecke
2945d4492d
r24141: Add check_fsp as a replacement for CHECK_FSP
...
(This used to be commit a3d77a576f863c4d9f95a1a898f70ae5b5bbc471)
2007-10-10 12:29:12 -05:00
Volker Lendecke
e3a53acafe
r24140: Convert call_trans2findnotifyfirst/next to the new API
...
(This used to be commit 46d9c51631d099af0f8696d3942eb51b0cb09865)
2007-10-10 12:29:11 -05:00
Volker Lendecke
133a8bbe07
r24139: Convert call_trans2mkdir to the new API
...
(This used to be commit d0b7f409e1ec88bcd695474aa77e75cb50dce013)
2007-10-10 12:29:11 -05:00
Volker Lendecke
a1d70fcad7
r24138: Convert call_trans2findnext to the new API
...
(This used to be commit af1855e4cebb6df3415ca5389b10aaa5a956adc2)
2007-10-10 12:29:11 -05:00
Volker Lendecke
e5ad62702b
r24137: Convert call_trans2findfirst to the new API
...
(This used to be commit 238edebab71ed1596af82f4c8611432f9156bd18)
2007-10-10 12:29:11 -05:00
Volker Lendecke
4d34c5eef7
r24136: get_lanman2_dir_entry() does not need access to inbuf/outbuf
...
It did not use inbuf anyway. Outbuf was used for alignment and to the
flags2. The alignment works ok if we align relative to base_data because this
and outbuf are both malloc'ed, and we put send_trans2_replies aligns out_data
properly relative to the start of the outbuf.
I don't know if the explicit align_string() calls in get_lanman2_dir_entry are
really necessary. I think that srvstr_push also does the same.
Please also note that this changes dst_len in srvstr_push from -1 to the real
length remaining.
Volker
(This used to be commit 9b1614f8cb415c15032e6a34f2da5df026f92e6e)
2007-10-10 12:29:10 -05:00
Volker Lendecke
b91704d47b
r24135: Convert call_trans2open to the new API
...
This itself won't help much, because send_trans2_replies_new still allocates
the big buffers, but stay tuned :-)
Also add/update my copyright on stuff I recently touched.
Volker
(This used to be commit 248f15ff143474db2493cef89ba446892342a361)
2007-10-10 12:29:10 -05:00
Volker Lendecke
d526657d5f
r24134: talloc smb_request for handle_trans2
...
When starting to convert the individual trans2 subcalls, I need the new
API conventions to be present there. This means that those calls fill in
req->outbuf when there's something to ship
(This used to be commit d9eef977dc80d6ee71898efc1ff736afb75eba0c)
2007-10-10 12:29:10 -05:00
Volker Lendecke
b62bd05b93
r24133: Explicitly pass flags2 down to push_string_fn
...
This needs a bit closer review, it also touches the client libs
(This used to be commit 824eb26738d64af1798d319d339582cf047521f0)
2007-10-10 12:29:10 -05:00
Stefan Metzmacher
cc8d700364
r24131: - make it more clear what the different min and max fields mean
...
- with the "GSSAPI" sasl mech the plain, sign or seal negotiation
is independed from the req_flags and ret_flags
- verify the server supports the wrapping type we want
- better handling on negotiated buffer sizes
metze
(This used to be commit d0ec7323870ca16b28d458ff5f7dacce278b7d54)
2007-10-10 12:29:09 -05:00
Volker Lendecke
6c6fed5e65
r24130: Explicitly pass flags2 to srvstr_push
...
This is in preparation of the trans2 conversion: srvstr_push should not
look at inbuf directly.
(This used to be commit 5fd7e6a3821bea26d352e3edc23b7a216b1200e5)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
d2900ddf11
r24128: fix double free in error path
...
metze
(This used to be commit 29e2d8e044c9213643a2f5f29891ce853a839347)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
82e80e023b
r24125: use TALLOC_FREE()
...
metze
(This used to be commit 4c21ebae95f7c07bdde55a9d686af044f2effba4)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
564e6841d6
r24123: add file_id_create() to some vfs modules
...
metze
(This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
4b15f31f10
r24120: add a file_id_create() hook into the VFS layer
...
it's needed for some cluster filesystems to
overload this function.
metze
(This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a0a9a301d2
r24119: Convert reply_exit to the new API
...
(This used to be commit d4d550aa2ba20d704d2ab1265732b03405e8819c)
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
b352a4532a
r24117: use locking_key() instead of forming the TDB_DATA key
...
by hand
metze
(This used to be commit a7449e4ab390b3c1d9d5a0bbc466f71de17918e0)
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
39ddd0a520
r24115: try to get the file name and share patch for printing
...
brlocks from the share_mode db, as the same fileid
is used.
metze
(This used to be commit 8cccf470cbce87618753bc205a0c9cac1edf4d9c)
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
ebdfd34548
r24113: some little fixes to get the correct error message
...
when using "clustering = yes" and ctdbd isn't running
metze
(This used to be commit c5f020ba1fdefe0422dd466b9c68ff67c74ceddd)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a81c8b2a28
r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>
...
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)
2007-10-10 12:29:07 -05:00
Volker Lendecke
bfbd756535
r24106: Pass fnum instead of buf/offset into get_rpc_pipe_p
...
(This used to be commit eb353412c60fc21a31530d9678505470ffbf11ce)
2007-10-10 12:29:07 -05:00
Stefan Metzmacher
e1b1177196
r24104: fix the build, sorry...
...
metze
(This used to be commit a5e1f9fd293fab26d664a72ee652eb8ca72128b7)
2007-10-10 12:29:07 -05:00
Stefan Metzmacher
56766b1f3e
r24103: add some useful debug messages, as not all LDAP
...
libraries support wrapping hooks...
metze
(This used to be commit 581a1d3a20ffed42ccc7f35f163fd343ed12ccd3)
2007-10-10 12:29:07 -05:00
Volker Lendecke
a2d6aa829f
r24102: Pass the fid instead of inbuf and an offset to file_fsp.
...
This removes the buf==NULL condition in file_fsp(), but wherever it is called
we do have a buffer anyway.
Volker
(This used to be commit d70a1f82fed64fa332f16407bea7c6671f48c59a)
2007-10-10 12:29:07 -05:00
Volker Lendecke
3d769de244
r24101: Move prohibited_ea_names[] into samba_private_attr_name()
...
Minor cleanup
(This used to be commit 04879717229d5b74b94b79a962cca5e9624648bc)
2007-10-10 12:29:06 -05:00
Volker Lendecke
4473a5ec54
r24100: Convert reply_ntcancel to the new API
...
(This used to be commit 6e5f39379f60e30cd0445a049df619ec8f65fc01)
2007-10-10 12:29:06 -05:00
Stefan Metzmacher
3edc6088aa
r24098: - make use of the ads_service_principal abstraction
...
also for the "GSSAPI" sasl mech.
- also use the ads_kinit_password() fallback logic
from the "GSS-SPNEGO" sasl mech.
metze
(This used to be commit cbaf44de1e1f8007dc4ca249791ea30d2902c7c4)
2007-10-10 12:29:06 -05:00
Volker Lendecke
ae5da66e23
r24097: Convert reply_ntcreate_and_X_quota to the new API
...
(This used to be commit 08acadae56e0b603ccac7dc21f89d5071a33b255)
2007-10-10 12:29:06 -05:00
Stefan Metzmacher
db718085fd
r24095: add one more fallback alternative to
...
construct the principal
metze
(This used to be commit b545667d2a45a79bba05c9fe9e93a19951d60af7)
2007-10-10 12:29:05 -05:00
Stefan Metzmacher
062bca6675
r24093: move gssapi/krb5 principal handling into a function
...
metze
(This used to be commit 83de27968d434d67d23851b0c285221c870ff75e)
2007-10-10 12:29:05 -05:00
Volker Lendecke
04dcbbbd68
r24092: Convert do_ntcreate_pipe_open to the new API
...
nt_open_pipe_new() is a copy of nt_open_pipe(). It will stick for a bit
until do_nt_transact_create_pipe is converted as well.
(This used to be commit 247d6baaed6f017328de6688e6daa15aa6aaa18e)
2007-10-10 12:29:05 -05:00
Volker Lendecke
d95725370f
r24091: Convert reply_ntcreate_and_X to the new API
...
The routines called will follow
(This used to be commit 28025fc17efa033515cef94789e518a6615e141f)
2007-10-10 12:29:05 -05:00
Volker Lendecke
5e9d12cd30
r24090: Separate parsing in reply_ntcreate_and_X
...
In particular, check if we have enough parameters
(This used to be commit 7a19b3071e1d5d5002013a67794261bf6be0c81d)
2007-10-10 12:29:05 -05:00
Volker Lendecke
15dc8917db
r24089: Add reply_prep/post_legacy
...
Routines to ease the transition to the new API
(This used to be commit 1bb2b341e2cb6c0175376dc8bd2d1ce6d9c6c00e)
2007-10-10 12:29:04 -05:00
Volker Lendecke
4254af7180
r24088: Convert reply_unlink to the new API
...
(This used to be commit fb0a1b7bd0a195dbedb3b0c02d8a4ec25c21b9bf)
2007-10-10 12:29:04 -05:00
Volker Lendecke
e198b9d167
r24087: Fix bug 4836, patch by Matthijs Kooijman <matthijs@stdin.nl>. Thanks!
...
Volker
(This used to be commit 6c3813cf65ff099a071ad8221402fbb3f877c665)
2007-10-10 12:29:04 -05:00