Gerald Carter [Fri, 3 Aug 2007 13:53:25 +0000 (13:53 +0000)]
r24158: SE_GROUP_RESOURCE in the other_sids list apparently means a
domain local group.
Fix a typo in the PAC debugging routine
Volker Lendecke [Fri, 3 Aug 2007 13:34:02 +0000 (13:34 +0000)]
r24156: Convert reply_trans2 to the new API
Volker Lendecke [Fri, 3 Aug 2007 13:13:57 +0000 (13:13 +0000)]
r24155: Check wct in reply_trans2
Volker Lendecke [Fri, 3 Aug 2007 12:44:06 +0000 (12:44 +0000)]
r24154: handle_trans2 does not reference inbuf/outbuf anymore
Volker Lendecke [Fri, 3 Aug 2007 12:15:58 +0000 (12:15 +0000)]
r24153: Convert call_trans2setfsinfo to the new API.
This *might* break the transport encryption stuff. I need to check that.
Volker Lendecke [Fri, 3 Aug 2007 11:57:39 +0000 (11:57 +0000)]
r24152: Convert call_trans2ioctl to the new API
Volker Lendecke [Fri, 3 Aug 2007 10:51:59 +0000 (10:51 +0000)]
r24151: Convert call_trans2getdfsreferral to the new API
Volker Lendecke [Fri, 3 Aug 2007 10:32:41 +0000 (10:32 +0000)]
r24150: Convert call_trans2qfsinfo to the new API
Volker Lendecke [Fri, 3 Aug 2007 10:07:18 +0000 (10:07 +0000)]
r24149: Convert call_trans2setfilepathinfo to the new API
Volker Lendecke [Fri, 3 Aug 2007 09:45:42 +0000 (09:45 +0000)]
r24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfo
Volker Lendecke [Fri, 3 Aug 2007 09:09:00 +0000 (09:09 +0000)]
r24147: Remove some inbuf refs from call_trans2setfilepathinfo
Volker Lendecke [Fri, 3 Aug 2007 07:00:19 +0000 (07:00 +0000)]
r24145: Fix a comment
Volker Lendecke [Thu, 2 Aug 2007 20:56:40 +0000 (20:56 +0000)]
r24144: Fix the build
In a function returning void the "return;" needs to stand alone on some
compilers
Volker Lendecke [Thu, 2 Aug 2007 20:19:27 +0000 (20:19 +0000)]
r24143: Convert call_trans2qfilepathinfo to the new API
Volker Lendecke [Thu, 2 Aug 2007 20:06:15 +0000 (20:06 +0000)]
r24142: Remove some direct inbuf references from call_trans2qfilepathinfo
Volker Lendecke [Thu, 2 Aug 2007 19:50:56 +0000 (19:50 +0000)]
r24141: Add check_fsp as a replacement for CHECK_FSP
Volker Lendecke [Thu, 2 Aug 2007 19:48:44 +0000 (19:48 +0000)]
r24140: Convert call_trans2findnotifyfirst/next to the new API
Volker Lendecke [Thu, 2 Aug 2007 19:35:27 +0000 (19:35 +0000)]
r24139: Convert call_trans2mkdir to the new API
Volker Lendecke [Thu, 2 Aug 2007 19:22:14 +0000 (19:22 +0000)]
r24138: Convert call_trans2findnext to the new API
Volker Lendecke [Thu, 2 Aug 2007 19:08:21 +0000 (19:08 +0000)]
r24137: Convert call_trans2findfirst to the new API
Volker Lendecke [Thu, 2 Aug 2007 18:50:17 +0000 (18:50 +0000)]
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
Volker Lendecke [Thu, 2 Aug 2007 18:28:41 +0000 (18:28 +0000)]
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
Volker Lendecke [Thu, 2 Aug 2007 18:13:57 +0000 (18:13 +0000)]
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
Volker Lendecke [Thu, 2 Aug 2007 18:06:45 +0000 (18:06 +0000)]
r24133: Explicitly pass flags2 down to push_string_fn
This needs a bit closer review, it also touches the client libs
Stefan Metzmacher [Thu, 2 Aug 2007 17:41:47 +0000 (17:41 +0000)]
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
Volker Lendecke [Thu, 2 Aug 2007 17:37:38 +0000 (17:37 +0000)]
r24130: Explicitly pass flags2 to srvstr_push
This is in preparation of the trans2 conversion: srvstr_push should not
look at inbuf directly.
Stefan Metzmacher [Thu, 2 Aug 2007 15:11:37 +0000 (15:11 +0000)]
r24128: fix double free in error path
metze
Stefan Metzmacher [Thu, 2 Aug 2007 09:22:47 +0000 (09:22 +0000)]
r24125: use TALLOC_FREE()
metze
Stefan Metzmacher [Thu, 2 Aug 2007 09:19:04 +0000 (09:19 +0000)]
r24123: add file_id_create() to some vfs modules
metze
Stefan Metzmacher [Thu, 2 Aug 2007 08:53:24 +0000 (08:53 +0000)]
r24120: add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.
metze
Volker Lendecke [Thu, 2 Aug 2007 05:50:40 +0000 (05:50 +0000)]
r24119: Convert reply_exit to the new API
Stefan Metzmacher [Wed, 1 Aug 2007 13:39:25 +0000 (13:39 +0000)]
r24117: use locking_key() instead of forming the TDB_DATA key
by hand
metze
Stefan Metzmacher [Wed, 1 Aug 2007 11:18:56 +0000 (11:18 +0000)]
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
Stefan Metzmacher [Wed, 1 Aug 2007 10:03:13 +0000 (10:03 +0000)]
r24113: some little fixes to get the correct error message
when using "clustering = yes" and ctdbd isn't running
metze
Volker Lendecke [Tue, 31 Jul 2007 19:15:27 +0000 (19:15 +0000)]
r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>
Volker Lendecke [Tue, 31 Jul 2007 13:14:07 +0000 (13:14 +0000)]
r24106: Pass fnum instead of buf/offset into get_rpc_pipe_p
Stefan Metzmacher [Tue, 31 Jul 2007 12:30:37 +0000 (12:30 +0000)]
r24104: fix the build, sorry...
metze
Stefan Metzmacher [Tue, 31 Jul 2007 12:27:25 +0000 (12:27 +0000)]
r24103: add some useful debug messages, as not all LDAP
libraries support wrapping hooks...
metze
Volker Lendecke [Tue, 31 Jul 2007 12:05:40 +0000 (12:05 +0000)]
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
Volker Lendecke [Tue, 31 Jul 2007 11:26:24 +0000 (11:26 +0000)]
r24101: Move prohibited_ea_names[] into samba_private_attr_name()
Minor cleanup
Volker Lendecke [Tue, 31 Jul 2007 10:04:54 +0000 (10:04 +0000)]
r24100: Convert reply_ntcancel to the new API
Stefan Metzmacher [Tue, 31 Jul 2007 09:49:14 +0000 (09:49 +0000)]
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
Volker Lendecke [Tue, 31 Jul 2007 09:41:21 +0000 (09:41 +0000)]
r24097: Convert reply_ntcreate_and_X_quota to the new API
Stefan Metzmacher [Tue, 31 Jul 2007 09:37:25 +0000 (09:37 +0000)]
r24095: add one more fallback alternative to
construct the principal
metze
Stefan Metzmacher [Tue, 31 Jul 2007 09:31:47 +0000 (09:31 +0000)]
r24093: move gssapi/krb5 principal handling into a function
metze
Volker Lendecke [Tue, 31 Jul 2007 09:22:16 +0000 (09:22 +0000)]
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.
Volker Lendecke [Tue, 31 Jul 2007 08:56:08 +0000 (08:56 +0000)]
r24091: Convert reply_ntcreate_and_X to the new API
The routines called will follow
Volker Lendecke [Tue, 31 Jul 2007 08:37:54 +0000 (08:37 +0000)]
r24090: Separate parsing in reply_ntcreate_and_X
In particular, check if we have enough parameters
Volker Lendecke [Tue, 31 Jul 2007 08:06:56 +0000 (08:06 +0000)]
r24089: Add reply_prep/post_legacy
Routines to ease the transition to the new API
Volker Lendecke [Tue, 31 Jul 2007 07:57:33 +0000 (07:57 +0000)]
r24088: Convert reply_unlink to the new API
Volker Lendecke [Tue, 31 Jul 2007 05:11:40 +0000 (05:11 +0000)]
r24087: Fix bug 4836, patch by Matthijs Kooijman <matthijs@stdin.nl>. Thanks!
Volker
Volker Lendecke [Mon, 30 Jul 2007 19:53:57 +0000 (19:53 +0000)]
r24086: Convert reply_ulogoffX to the new API
Volker Lendecke [Mon, 30 Jul 2007 14:07:29 +0000 (14:07 +0000)]
r24085: Convert reply_rmdir to the new API
Volker Lendecke [Mon, 30 Jul 2007 11:35:39 +0000 (11:35 +0000)]
r24084: Convert reply_mkdir to the new API
Volker Lendecke [Mon, 30 Jul 2007 10:30:19 +0000 (10:30 +0000)]
r24079: Convert reply_dskattr to the new API
Volker Lendecke [Mon, 30 Jul 2007 10:23:26 +0000 (10:23 +0000)]
r24078: Add reply_unixerror
Volker Lendecke [Mon, 30 Jul 2007 10:20:52 +0000 (10:20 +0000)]
r24077: Convert reply_tdis to the new API
Stefan Metzmacher [Mon, 30 Jul 2007 08:22:45 +0000 (08:22 +0000)]
r24072: Add "client ldap sasl wrapping" parameter.
Possible values are "plain" (default), "sign" or "seal".
metze
Volker Lendecke [Mon, 30 Jul 2007 07:50:24 +0000 (07:50 +0000)]
r24071: Fix a missing END_PROFILE call
Volker Lendecke [Sun, 29 Jul 2007 16:40:45 +0000 (16:40 +0000)]
r24070: Apply some const
Volker Lendecke [Sun, 29 Jul 2007 09:51:06 +0000 (09:51 +0000)]
r24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8
Volker Lendecke [Sun, 29 Jul 2007 09:23:55 +0000 (09:23 +0000)]
r24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
Volker Lendecke [Sat, 28 Jul 2007 18:52:28 +0000 (18:52 +0000)]
r24067: Fix a type mismatch found by the IBM checker
Günther Deschner [Fri, 27 Jul 2007 09:22:43 +0000 (09:22 +0000)]
r24066: Fix memleak found by Volker. We don't leak keys now with MIT and Heimdal.
Guenther
Volker Lendecke [Fri, 27 Jul 2007 09:15:13 +0000 (09:15 +0000)]
r24065: According to gd, this breaks heimdal. Thanks for checking!
Stefan Metzmacher [Fri, 27 Jul 2007 07:19:36 +0000 (07:19 +0000)]
r24062: fix logic for broken krb5 libs which always force
sign and seal...
metze
Volker Lendecke [Thu, 26 Jul 2007 17:27:03 +0000 (17:27 +0000)]
r24058: Fix some memory leaks in ads_secrets_verify_ticket.
Jeremy, Günther, please review!
Thanks,
Volker
Volker Lendecke [Thu, 26 Jul 2007 16:39:48 +0000 (16:39 +0000)]
r24057: Fix some uninitialized variables found by the IBM checker
Volker Lendecke [Thu, 26 Jul 2007 16:01:12 +0000 (16:01 +0000)]
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
Gerald Carter [Thu, 26 Jul 2007 12:08:13 +0000 (12:08 +0000)]
r24055: Remove a reference to the outdated samba-docs mailing list. This entire
README really needs to be overhauled at some point.
Volker Lendecke [Thu, 26 Jul 2007 07:48:14 +0000 (07:48 +0000)]
r24054: Fix some warnings
Volker Lendecke [Wed, 25 Jul 2007 20:01:03 +0000 (20:01 +0000)]
r24050: Fix a typo
Volker Lendecke [Wed, 25 Jul 2007 18:53:16 +0000 (18:53 +0000)]
r24049: Some more 64-bit warnings
Volker Lendecke [Wed, 25 Jul 2007 18:47:40 +0000 (18:47 +0000)]
r24048: Fix the C++ warnings in our version of popt
Volker Lendecke [Wed, 25 Jul 2007 18:45:57 +0000 (18:45 +0000)]
r24047: With -Wmissing-prototypes these two always generate warnings. They
should be properly prototyped. For now, gloss over the warning.
Volker Lendecke [Wed, 25 Jul 2007 18:39:10 +0000 (18:39 +0000)]
r24046: Fix a 64-bit warning
Volker Lendecke [Wed, 25 Jul 2007 13:05:54 +0000 (13:05 +0000)]
r24044: Fix an uninitialized variable warning
Stefan Metzmacher [Wed, 25 Jul 2007 10:34:16 +0000 (10:34 +0000)]
r24042: add support for krb5 sign and seal in LDAP via "GSS-SPNEGO"
metze
Stefan Metzmacher [Wed, 25 Jul 2007 08:09:34 +0000 (08:09 +0000)]
r24039: remove unused global variable...
metze
Stefan Metzmacher [Wed, 25 Jul 2007 07:23:20 +0000 (07:23 +0000)]
r24037: only setup sasl wrapping after a successful bind
metze
Jeremy Allison [Tue, 24 Jul 2007 22:28:19 +0000 (22:28 +0000)]
r24036: Fix dfs rename bug in smbclient reported by Thomas Bork <tombork@web.de>.
Couldn't rename file as we weren't DFS enabling the target path.
Jeremy.
Volker Lendecke [Tue, 24 Jul 2007 11:50:54 +0000 (11:50 +0000)]
r24034: Print the full cluster pid in print_lock_struct
Volker Lendecke [Tue, 24 Jul 2007 11:48:35 +0000 (11:48 +0000)]
r24033: We need to be able to cope with packet_handler calling itself
recursively
Volker Lendecke [Tue, 24 Jul 2007 11:47:37 +0000 (11:47 +0000)]
r24032: It helps testing tremendously if the cluster messaging actually sends
and receives messages to other nodes... :-)
Volker Lendecke [Tue, 24 Jul 2007 11:45:29 +0000 (11:45 +0000)]
r24031: Fix some 64 bit warnings
Stefan Metzmacher [Tue, 24 Jul 2007 10:35:10 +0000 (10:35 +0000)]
r24029: merge from samba.org/~tridge/samba_3_2_ctdb/:
the claim_connection() must come after the sockets are open
metze
Stefan Metzmacher [Tue, 24 Jul 2007 10:24:27 +0000 (10:24 +0000)]
r24027: merge from people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:
add in any cluster addresses. We need to response to these,
but not listen on them. This allows us to run nmbd on every
node in the cluster, and have all of them register with a
WINS server correctly
metze
Stefan Metzmacher [Tue, 24 Jul 2007 09:47:26 +0000 (09:47 +0000)]
r24025: packet_send() expects DATA_BLOB elements as vaargs
and not TDB_DATA
metze
Günther Deschner [Tue, 24 Jul 2007 09:46:21 +0000 (09:46 +0000)]
r24024: Minor cleanup in ads_parse_gp_ext().
Guenther
Günther Deschner [Tue, 24 Jul 2007 09:42:15 +0000 (09:42 +0000)]
r24023: Correctly support REG_BINARY in registry_push_value() and
registry_pull_value().
Guenther
Stefan Metzmacher [Tue, 24 Jul 2007 09:32:05 +0000 (09:32 +0000)]
r24021: use MSG_BROADCAST_PID_STR as value for broadcast messages
to fix the cluster case
vl: please check, if this works with clustering = no
metze
Stefan Metzmacher [Tue, 24 Jul 2007 09:20:23 +0000 (09:20 +0000)]
r24019: merge from people.samba.org/bzr/metze/samba/3_2-ctdb-metze/:
use a timed event to make sure the timelimit is correctly
handled in smbcontrol when waiting for messages
metze
Stefan Metzmacher [Tue, 24 Jul 2007 08:59:36 +0000 (08:59 +0000)]
r24017: merge from samba.org/~tridge/samba_3_2_ctdb/:
add add_trusted_domain() can return NULL
metze
Stefan Metzmacher [Tue, 24 Jul 2007 08:42:21 +0000 (08:42 +0000)]
r24015: merge RHEL4-CTDB packaging stuff from
http://people.samba.org/bzr/metze/samba/3_2-ctdb-metze/
metze
Stefan Metzmacher [Tue, 24 Jul 2007 08:04:42 +0000 (08:04 +0000)]
r24013: merge from samba.org/~tridge/samba_3_2_ctdb/:
fixed prototype
metze
Volker Lendecke [Mon, 23 Jul 2007 19:46:48 +0000 (19:46 +0000)]
r24009: Revert to the 3.0.25 logic for parsing the client's protocols. hpisgr8
with gcc still gives timeouts which worry me.
Volker
Volker Lendecke [Mon, 23 Jul 2007 19:09:19 +0000 (19:09 +0000)]
r24008: Fix Bug 4792. Thanks to David Gajewski <dgajews@math.utoledo.edu> and to
Timur I. Bakeyev for bugging me :-)
Volker
Volker Lendecke [Mon, 23 Jul 2007 15:29:56 +0000 (15:29 +0000)]
r24007: Attempt to fix the build on host "gwen". The Makefile ended up with an
empty line.
Volker Lendecke [Mon, 23 Jul 2007 14:36:54 +0000 (14:36 +0000)]
r24006: Some more paranoia in reply_negprot
Some hosts see the smb_bufrem(req->inbuf, p) as an unsigned int. And as
the p += strlen(p) + 2 went one beyond the buffer, this was a very
large positive. Also take the chance to add one more consistency check.
Volker Lendecke [Mon, 23 Jul 2007 13:47:17 +0000 (13:47 +0000)]
r24005: Attempt to fix the build on host deckchair