1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

19858 Commits

Author SHA1 Message Date
Volker Lendecke
72ce8ef168 r24161: handle_trans2 takes care of errors itself, no need to do it in reply_transs2
(This used to be commit ca26b43e02)
2007-10-10 12:29:16 -05:00
Volker Lendecke
9f3062d8a7 r24160: process_trans2 in smbd/blocking.c used send_trans2_replies.
Fake a struct smb_request here.

Volker
(This used to be commit f712d1c92b)
2007-10-10 12:29:16 -05:00
Volker Lendecke
1d8851f4c7 r24159: Convert reply_transs2 to the new API
(This used to be commit a55a4d71ff)
2007-10-10 12:29:15 -05:00
Gerald Carter
cdd140fe27 r24158: SE_GROUP_RESOURCE in the other_sids list apparently means a
domain local group.

Fix a typo in the PAC debugging routine
(This used to be commit b0b66b2e7a)
2007-10-10 12:29:15 -05:00
Volker Lendecke
e2f0b5dd2a r24156: Convert reply_trans2 to the new API
(This used to be commit a9c2d75b42)
2007-10-10 12:29:15 -05:00
Volker Lendecke
675a484670 r24155: Check wct in reply_trans2
(This used to be commit e0a708c79b)
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 8eb016a91e)
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 82b34d7bdb)
2007-10-10 12:29:14 -05:00
Volker Lendecke
4514ea2034 r24152: Convert call_trans2ioctl to the new API
(This used to be commit db4e6781c4)
2007-10-10 12:29:14 -05:00
Volker Lendecke
70496e030f r24151: Convert call_trans2getdfsreferral to the new API
(This used to be commit 642c58648b)
2007-10-10 12:29:14 -05:00
Volker Lendecke
ccd0b815e8 r24150: Convert call_trans2qfsinfo to the new API
(This used to be commit cdd86497b9)
2007-10-10 12:29:14 -05:00
Volker Lendecke
24e97edc78 r24149: Convert call_trans2setfilepathinfo to the new API
(This used to be commit 50aa149cef)
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 09ed6537b3)
2007-10-10 12:29:13 -05:00
Volker Lendecke
f2e2c22b6f r24147: Remove some inbuf refs from call_trans2setfilepathinfo
(This used to be commit a13c42be75)
2007-10-10 12:29:13 -05:00
Volker Lendecke
fe92fdc67d r24145: Fix a comment
(This used to be commit 34a00d8aa9)
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 28affcca8e)
2007-10-10 12:29:12 -05:00
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