1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

23063 Commits

Author SHA1 Message Date
Volker Lendecke
44c5ee4ca6 r24143: Convert call_trans2qfilepathinfo to the new API
(This used to be commit 0b84e29120)
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 c9c0133d55)
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 a3d77a576f)
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 46d9c51631)
2007-10-10 12:29:11 -05:00
Volker Lendecke
133a8bbe07 r24139: Convert call_trans2mkdir to the new API
(This used to be commit d0b7f409e1)
2007-10-10 12:29:11 -05:00
Volker Lendecke
a1d70fcad7 r24138: Convert call_trans2findnext to the new API
(This used to be commit af1855e4ce)
2007-10-10 12:29:11 -05:00
Volker Lendecke
e5ad62702b r24137: Convert call_trans2findfirst to the new API
(This used to be commit 238edebab7)
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 9b1614f8cb)
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 248f15ff14)
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 d9eef977dc)
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 824eb26738)
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 d0ec732387)
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 5fd7e6a382)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
d2900ddf11 r24128: fix double free in error path
metze
(This used to be commit 29e2d8e044)
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
82e80e023b r24125: use TALLOC_FREE()
metze
(This used to be commit 4c21ebae95)
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 0bc5a9cd01)
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 cdaa24e804)
2007-10-10 12:29:08 -05:00
Volker Lendecke
a0a9a301d2 r24119: Convert reply_exit to the new API
(This used to be commit d4d550aa2b)
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 a7449e4ab3)
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 8cccf470cb)
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 c5f020ba1f)
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 6e6eea64a5)
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 eb353412c6)
2007-10-10 12:29:07 -05:00
Stefan Metzmacher
e1b1177196 r24104: fix the build, sorry...
metze
(This used to be commit a5e1f9fd29)
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 581a1d3a20)
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 d70a1f82fe)
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 0487971722)
2007-10-10 12:29:06 -05:00
Volker Lendecke
4473a5ec54 r24100: Convert reply_ntcancel to the new API
(This used to be commit 6e5f39379f)
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 cbaf44de1e)
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 08acadae56)
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 b545667d2a)
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 83de27968d)
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 247d6baaed)
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 28025fc17e)
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 7a19b3071e)
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 1bb2b341e2)
2007-10-10 12:29:04 -05:00
Volker Lendecke
4254af7180 r24088: Convert reply_unlink to the new API
(This used to be commit fb0a1b7bd0)
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 6c3813cf65)
2007-10-10 12:29:04 -05:00
Volker Lendecke
8084a39ce0 r24086: Convert reply_ulogoffX to the new API
(This used to be commit bbc99e1c3b)
2007-10-10 12:29:04 -05:00
Volker Lendecke
4694e757ba r24085: Convert reply_rmdir to the new API
(This used to be commit 7689048d71)
2007-10-10 12:29:03 -05:00
Volker Lendecke
68513d521d r24084: Convert reply_mkdir to the new API
(This used to be commit e93f3996fc)
2007-10-10 12:29:03 -05:00
Volker Lendecke
ef97e2dece r24079: Convert reply_dskattr to the new API
(This used to be commit c8e0aa5752)
2007-10-10 12:29:03 -05:00
Volker Lendecke
4392d47b34 r24078: Add reply_unixerror
(This used to be commit 10ac991750)
2007-10-10 12:29:02 -05:00
Volker Lendecke
09b3d25252 r24077: Convert reply_tdis to the new API
(This used to be commit bd0cb48dde)
2007-10-10 12:29:02 -05:00
Stefan Metzmacher
31dc9126c1 r24072: Add "client ldap sasl wrapping" parameter.
Possible values are "plain" (default), "sign" or "seal".

metze
(This used to be commit 26ccbad721)
2007-10-10 12:29:02 -05:00
Volker Lendecke
dd98820185 r24071: Fix a missing END_PROFILE call
(This used to be commit c9f12326dd)
2007-10-10 12:29:01 -05:00
Volker Lendecke
c1ca4c298b r24070: Apply some const
(This used to be commit e6d592dcb8)
2007-10-10 12:29:01 -05:00
Volker Lendecke
ed74f288f1 r24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8
(This used to be commit fa53632568)
2007-10-10 12:29:01 -05:00
Volker Lendecke
d5ca533043 r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
(This used to be commit b876bca6bc)
2007-10-10 12:29:01 -05:00
Volker Lendecke
84058d4933 r24067: Fix a type mismatch found by the IBM checker
(This used to be commit 411a1a2037)
2007-10-10 12:29:01 -05:00