1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

22986 Commits

Author SHA1 Message Date
Volker Lendecke
4863ff2899 r24223: Convert reply_echo to the new API 2007-10-10 12:29:17 -05:00
Volker Lendecke
fa385e9f3c r24167: Fix Coverity ID 365
We checked argc>=3 some lines above
2007-10-10 12:29:17 -05:00
Volker Lendecke
461974d2cc r24166: Fix Coverity ID 391 2007-10-10 12:29:17 -05:00
Volker Lendecke
59b4914df3 r24165: Fix Coverity ID 369.
This was not really a bug I think, but this change cleans up the code a
bit.
2007-10-10 12:29:17 -05:00
Jeremy Allison
7bd65060bd r24164: Fix for write cache corruption bug reported by Jean-Francois Panisset <panisset@A52.com>.
Awaiting confirmation from reporter.
Jeremy.
2007-10-10 12:29:17 -05:00
Volker Lendecke
b1d133e4ff r24163: Remove the send_trans2_replies_new wrapper
This changes send_trans2_replies to not depend on large buffers anymore
and finishes the trans2 conversion.
2007-10-10 12:29:16 -05:00
Volker Lendecke
47261fb6fe r24162: send_trans2_replies is now static in trans2.c 2007-10-10 12:29:16 -05:00
Volker Lendecke
ca26b43e02 r24161: handle_trans2 takes care of errors itself, no need to do it in reply_transs2 2007-10-10 12:29:16 -05:00
Volker Lendecke
f712d1c92b r24160: process_trans2 in smbd/blocking.c used send_trans2_replies.
Fake a struct smb_request here.

Volker
2007-10-10 12:29:16 -05:00
Volker Lendecke
a55a4d71ff r24159: Convert reply_transs2 to the new API 2007-10-10 12:29:15 -05:00
Gerald Carter
b0b66b2e7a r24158: SE_GROUP_RESOURCE in the other_sids list apparently means a
domain local group.

Fix a typo in the PAC debugging routine
2007-10-10 12:29:15 -05:00
Volker Lendecke
a9c2d75b42 r24156: Convert reply_trans2 to the new API 2007-10-10 12:29:15 -05:00
Volker Lendecke
e0a708c79b r24155: Check wct in reply_trans2 2007-10-10 12:29:15 -05:00
Volker Lendecke
8eb016a91e r24154: handle_trans2 does not reference inbuf/outbuf anymore 2007-10-10 12:29:14 -05:00
Volker Lendecke
82b34d7bdb r24153: Convert call_trans2setfsinfo to the new API.
This *might* break the transport encryption stuff. I need to check that.
2007-10-10 12:29:14 -05:00
Volker Lendecke
db4e6781c4 r24152: Convert call_trans2ioctl to the new API 2007-10-10 12:29:14 -05:00
Volker Lendecke
642c58648b r24151: Convert call_trans2getdfsreferral to the new API 2007-10-10 12:29:14 -05:00
Volker Lendecke
cdd86497b9 r24150: Convert call_trans2qfsinfo to the new API 2007-10-10 12:29:14 -05:00
Volker Lendecke
50aa149cef r24149: Convert call_trans2setfilepathinfo to the new API 2007-10-10 12:29:13 -05:00
Volker Lendecke
09ed6537b3 r24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfo 2007-10-10 12:29:13 -05:00
Volker Lendecke
a13c42be75 r24147: Remove some inbuf refs from call_trans2setfilepathinfo 2007-10-10 12:29:13 -05:00
Volker Lendecke
34a00d8aa9 r24145: Fix a comment 2007-10-10 12:29:13 -05:00
Volker Lendecke
28affcca8e r24144: Fix the build
In a function returning void the "return;" needs to stand alone on some
compilers
2007-10-10 12:29:12 -05:00
Volker Lendecke
0b84e29120 r24143: Convert call_trans2qfilepathinfo to the new API 2007-10-10 12:29:12 -05:00
Volker Lendecke
c9c0133d55 r24142: Remove some direct inbuf references from call_trans2qfilepathinfo 2007-10-10 12:29:12 -05:00
Volker Lendecke
a3d77a576f r24141: Add check_fsp as a replacement for CHECK_FSP 2007-10-10 12:29:12 -05:00
Volker Lendecke
46d9c51631 r24140: Convert call_trans2findnotifyfirst/next to the new API 2007-10-10 12:29:11 -05:00
Volker Lendecke
d0b7f409e1 r24139: Convert call_trans2mkdir to the new API 2007-10-10 12:29:11 -05:00
Volker Lendecke
af1855e4ce r24138: Convert call_trans2findnext to the new API 2007-10-10 12:29:11 -05:00
Volker Lendecke
238edebab7 r24137: Convert call_trans2findfirst to the new API 2007-10-10 12:29:11 -05:00
Volker Lendecke
9b1614f8cb 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
2007-10-10 12:29:10 -05:00
Volker Lendecke
248f15ff14 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
2007-10-10 12:29:10 -05:00
Volker Lendecke
d9eef977dc 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
2007-10-10 12:29:10 -05:00
Volker Lendecke
824eb26738 r24133: Explicitly pass flags2 down to push_string_fn
This needs a bit closer review, it also touches the client libs
2007-10-10 12:29:10 -05:00
Stefan Metzmacher
d0ec732387 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
2007-10-10 12:29:09 -05:00
Volker Lendecke
5fd7e6a382 r24130: Explicitly pass flags2 to srvstr_push
This is in preparation of the trans2 conversion: srvstr_push should not
look at inbuf directly.
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
29e2d8e044 r24128: fix double free in error path
metze
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
4c21ebae95 r24125: use TALLOC_FREE()
metze
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
0bc5a9cd01 r24123: add file_id_create() to some vfs modules
metze
2007-10-10 12:29:09 -05:00
Stefan Metzmacher
cdaa24e804 r24120: add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.

metze
2007-10-10 12:29:08 -05:00
Volker Lendecke
d4d550aa2b r24119: Convert reply_exit to the new API 2007-10-10 12:29:08 -05:00
Stefan Metzmacher
a7449e4ab3 r24117: use locking_key() instead of forming the TDB_DATA key
by hand

metze
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
8cccf470cb 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
2007-10-10 12:29:08 -05:00
Stefan Metzmacher
c5f020ba1f r24113: some little fixes to get the correct error message
when using "clustering = yes" and ctdbd isn't running

metze
2007-10-10 12:29:08 -05:00
Volker Lendecke
6e6eea64a5 r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl> 2007-10-10 12:29:07 -05:00
Volker Lendecke
eb353412c6 r24106: Pass fnum instead of buf/offset into get_rpc_pipe_p 2007-10-10 12:29:07 -05:00
Stefan Metzmacher
a5e1f9fd29 r24104: fix the build, sorry...
metze
2007-10-10 12:29:07 -05:00
Stefan Metzmacher
581a1d3a20 r24103: add some useful debug messages, as not all LDAP
libraries support wrapping hooks...

metze
2007-10-10 12:29:07 -05:00
Volker Lendecke
d70a1f82fe 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
2007-10-10 12:29:07 -05:00
Volker Lendecke
0487971722 r24101: Move prohibited_ea_names[] into samba_private_attr_name()
Minor cleanup
2007-10-10 12:29:06 -05:00