1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

23057 Commits

Author SHA1 Message Date
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
Volker Lendecke
6e5f39379f r24100: Convert reply_ntcancel to the new API 2007-10-10 12:29:06 -05:00
Stefan Metzmacher
cbaf44de1e 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
2007-10-10 12:29:06 -05:00
Volker Lendecke
08acadae56 r24097: Convert reply_ntcreate_and_X_quota to the new API 2007-10-10 12:29:06 -05:00
Stefan Metzmacher
b545667d2a r24095: add one more fallback alternative to
construct the principal

metze
2007-10-10 12:29:05 -05:00
Stefan Metzmacher
83de27968d r24093: move gssapi/krb5 principal handling into a function
metze
2007-10-10 12:29:05 -05:00
Volker Lendecke
247d6baaed 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.
2007-10-10 12:29:05 -05:00
Volker Lendecke
28025fc17e r24091: Convert reply_ntcreate_and_X to the new API
The routines called will follow
2007-10-10 12:29:05 -05:00
Volker Lendecke
7a19b3071e r24090: Separate parsing in reply_ntcreate_and_X
In particular, check if we have enough parameters
2007-10-10 12:29:05 -05:00
Volker Lendecke
1bb2b341e2 r24089: Add reply_prep/post_legacy
Routines to ease the transition to the new API
2007-10-10 12:29:04 -05:00
Volker Lendecke
fb0a1b7bd0 r24088: Convert reply_unlink to the new API 2007-10-10 12:29:04 -05:00
Volker Lendecke
6c3813cf65 r24087: Fix bug 4836, patch by Matthijs Kooijman <matthijs@stdin.nl>. Thanks!
Volker
2007-10-10 12:29:04 -05:00
Volker Lendecke
bbc99e1c3b r24086: Convert reply_ulogoffX to the new API 2007-10-10 12:29:04 -05:00
Volker Lendecke
7689048d71 r24085: Convert reply_rmdir to the new API 2007-10-10 12:29:03 -05:00
Volker Lendecke
e93f3996fc r24084: Convert reply_mkdir to the new API 2007-10-10 12:29:03 -05:00
Volker Lendecke
c8e0aa5752 r24079: Convert reply_dskattr to the new API 2007-10-10 12:29:03 -05:00
Volker Lendecke
10ac991750 r24078: Add reply_unixerror 2007-10-10 12:29:02 -05:00
Volker Lendecke
bd0cb48dde r24077: Convert reply_tdis to the new API 2007-10-10 12:29:02 -05:00
Stefan Metzmacher
26ccbad721 r24072: Add "client ldap sasl wrapping" parameter.
Possible values are "plain" (default), "sign" or "seal".

metze
2007-10-10 12:29:02 -05:00
Volker Lendecke
c9f12326dd r24071: Fix a missing END_PROFILE call 2007-10-10 12:29:01 -05:00
Volker Lendecke
e6d592dcb8 r24070: Apply some const 2007-10-10 12:29:01 -05:00
Volker Lendecke
fa53632568 r24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8 2007-10-10 12:29:01 -05:00
Volker Lendecke
b876bca6bc r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above. 2007-10-10 12:29:01 -05:00
Volker Lendecke
411a1a2037 r24067: Fix a type mismatch found by the IBM checker 2007-10-10 12:29:01 -05:00
Günther Deschner
7755ad750f r24066: Fix memleak found by Volker. We don't leak keys now with MIT and Heimdal.
Guenther
2007-10-10 12:29:01 -05:00
Volker Lendecke
ea5f53eac8 r24065: According to gd, this breaks heimdal. Thanks for checking! 2007-10-10 12:29:01 -05:00
Stefan Metzmacher
4a4fc8cccb r24062: fix logic for broken krb5 libs which always force
sign and seal...

metze
2007-10-10 12:29:00 -05:00
Volker Lendecke
000e096c27 r24058: Fix some memory leaks in ads_secrets_verify_ticket.
Jeremy, Günther, please review!

Thanks,

Volker
2007-10-10 12:29:00 -05:00
Volker Lendecke
d74bbc53c2 r24057: Fix some uninitialized variables found by the IBM checker 2007-10-10 12:29:00 -05:00
Volker Lendecke
35675a6a33 r24056: Another big one: This converts reply_sesssetup_and_X to the new API. As usual,
its history can be found on http://samba.org/~vlendec/sesssetup/. This very
obviously needs close review.

Volker
2007-10-10 12:29:00 -05:00