amitay/samba.git
16 years agor24163: Remove the send_trans2_replies_new wrapper
Volker Lendecke [Fri, 3 Aug 2007 16:06:44 +0000 (16:06 +0000)]
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.
(This used to be commit b1d133e4ffa8c9b8219ba6e7b83e23ca4bdd1616)

16 years agor24162: send_trans2_replies is now static in trans2.c
Volker Lendecke [Fri, 3 Aug 2007 15:45:41 +0000 (15:45 +0000)]
r24162: send_trans2_replies is now static in trans2.c
(This used to be commit 47261fb6fecc036cb1605f46bbe24e9b3661ff8c)

16 years agor24161: handle_trans2 takes care of errors itself, no need to do it in reply_transs2
Volker Lendecke [Fri, 3 Aug 2007 15:27:28 +0000 (15:27 +0000)]
r24161: handle_trans2 takes care of errors itself, no need to do it in reply_transs2
(This used to be commit ca26b43e02f25d75e7439c6130f32dc322acd327)

16 years agor24160: process_trans2 in smbd/blocking.c used send_trans2_replies.
Volker Lendecke [Fri, 3 Aug 2007 14:33:38 +0000 (14:33 +0000)]
r24160: process_trans2 in smbd/blocking.c used send_trans2_replies.

Fake a struct smb_request here.

Volker
(This used to be commit f712d1c92bee024a165b5facabdac1e2c866d9b1)

16 years agor24159: Convert reply_transs2 to the new API
Volker Lendecke [Fri, 3 Aug 2007 14:02:07 +0000 (14:02 +0000)]
r24159: Convert reply_transs2 to the new API
(This used to be commit a55a4d71ffe9ff1395e02f8bb3ad88fe5132fe99)

16 years agor24158: SE_GROUP_RESOURCE in the other_sids list apparently means a
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
(This used to be commit b0b66b2e7af133b199868b946fad70016e1cefbd)

16 years agor24156: Convert reply_trans2 to the new API
Volker Lendecke [Fri, 3 Aug 2007 13:34:02 +0000 (13:34 +0000)]
r24156: Convert reply_trans2 to the new API
(This used to be commit a9c2d75b42be8b0d89ed1e1a2ce2c6ab4284f5ea)

16 years agor24155: Check wct in reply_trans2
Volker Lendecke [Fri, 3 Aug 2007 13:13:57 +0000 (13:13 +0000)]
r24155: Check wct in reply_trans2
(This used to be commit e0a708c79b4db4aab84022d568b5e7bf519e4b5a)

16 years agor24154: handle_trans2 does not reference inbuf/outbuf anymore
Volker Lendecke [Fri, 3 Aug 2007 12:44:06 +0000 (12:44 +0000)]
r24154: handle_trans2 does not reference inbuf/outbuf anymore
(This used to be commit 8eb016a91e3ec8d1d9d5ae1ec6f92e1e0657d593)

16 years agor24153: Convert call_trans2setfsinfo to the new API.
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.
(This used to be commit 82b34d7bdbe5c5038810c11540b6b7bc04290653)

16 years agor24152: Convert call_trans2ioctl to the new API
Volker Lendecke [Fri, 3 Aug 2007 11:57:39 +0000 (11:57 +0000)]
r24152: Convert call_trans2ioctl to the new API
(This used to be commit db4e6781c4d1a9755a3ec45556be8dd935f15bae)

16 years agor24151: Convert call_trans2getdfsreferral 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
(This used to be commit 642c58648b2468544e9488cbffe1a8b236949bcc)

16 years agor24150: Convert call_trans2qfsinfo 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
(This used to be commit cdd86497b9830ba5fbc5b4511ed39ca44167faab)

16 years agor24149: Convert call_trans2setfilepathinfo 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
(This used to be commit 50aa149cefc1da587f110eb0bf0344c737500f5b)

16 years agor24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfo
Volker Lendecke [Fri, 3 Aug 2007 09:45:42 +0000 (09:45 +0000)]
r24148: Remove some inbuf refs from subcommands of call_trans2setfilepathinfo
(This used to be commit 09ed6537b39f72e61043a93fadea33562b07c6c6)

16 years agor24147: Remove some inbuf refs from call_trans2setfilepathinfo
Volker Lendecke [Fri, 3 Aug 2007 09:09:00 +0000 (09:09 +0000)]
r24147: Remove some inbuf refs from call_trans2setfilepathinfo
(This used to be commit a13c42be7548fc0de3e1f6f1eaacbad3046af0d0)

16 years agor24145: Fix a comment
Volker Lendecke [Fri, 3 Aug 2007 07:00:19 +0000 (07:00 +0000)]
r24145: Fix a comment
(This used to be commit 34a00d8aa9af167c65baf7fc24de3c8e192f5ec0)

16 years agor24144: Fix the build
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
(This used to be commit 28affcca8e22b9a147876a60fec28551256bcaa8)

16 years agor24143: Convert call_trans2qfilepathinfo to the new API
Volker Lendecke [Thu, 2 Aug 2007 20:19:27 +0000 (20:19 +0000)]
r24143: Convert call_trans2qfilepathinfo to the new API
(This used to be commit 0b84e29120b87bf6fc86df10102f1c4d4f98cdb6)

16 years agor24142: Remove some direct inbuf references from call_trans2qfilepathinfo
Volker Lendecke [Thu, 2 Aug 2007 20:06:15 +0000 (20:06 +0000)]
r24142: Remove some direct inbuf references from call_trans2qfilepathinfo
(This used to be commit c9c0133d5512e68fcaf22b2abd3343ae944ddb9d)

16 years agor24141: Add check_fsp as a replacement for CHECK_FSP
Volker Lendecke [Thu, 2 Aug 2007 19:50:56 +0000 (19:50 +0000)]
r24141: Add check_fsp as a replacement for CHECK_FSP
(This used to be commit a3d77a576f863c4d9f95a1a898f70ae5b5bbc471)

16 years agor24140: Convert call_trans2findnotifyfirst/next to the new API
Volker Lendecke [Thu, 2 Aug 2007 19:48:44 +0000 (19:48 +0000)]
r24140: Convert call_trans2findnotifyfirst/next to the new API
(This used to be commit 46d9c51631d099af0f8696d3942eb51b0cb09865)

16 years agor24139: Convert call_trans2mkdir 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
(This used to be commit d0b7f409e1ec88bcd695474aa77e75cb50dce013)

16 years agor24138: Convert call_trans2findnext 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
(This used to be commit af1855e4cebb6df3415ca5389b10aaa5a956adc2)

16 years agor24137: Convert call_trans2findfirst 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
(This used to be commit 238edebab71ed1596af82f4c8611432f9156bd18)

16 years agor24136: get_lanman2_dir_entry() does not need access to inbuf/outbuf
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
(This used to be commit 9b1614f8cb415c15032e6a34f2da5df026f92e6e)

16 years agor24135: Convert call_trans2open to the new API
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
(This used to be commit 248f15ff143474db2493cef89ba446892342a361)

16 years agor24134: talloc smb_request for handle_trans2
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
(This used to be commit d9eef977dc80d6ee71898efc1ff736afb75eba0c)

16 years agor24133: Explicitly pass flags2 down to push_string_fn
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
(This used to be commit 824eb26738d64af1798d319d339582cf047521f0)

16 years agor24131: - make it more clear what the different min and max fields mean
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
(This used to be commit d0ec7323870ca16b28d458ff5f7dacce278b7d54)

16 years agor24130: Explicitly pass flags2 to srvstr_push
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.
(This used to be commit 5fd7e6a3821bea26d352e3edc23b7a216b1200e5)

16 years agor24128: fix double free in error path
Stefan Metzmacher [Thu, 2 Aug 2007 15:11:37 +0000 (15:11 +0000)]
r24128: fix double free in error path

metze
(This used to be commit 29e2d8e044c9213643a2f5f29891ce853a839347)

16 years agor24125: use TALLOC_FREE()
Stefan Metzmacher [Thu, 2 Aug 2007 09:22:47 +0000 (09:22 +0000)]
r24125: use TALLOC_FREE()

metze
(This used to be commit 4c21ebae95f7c07bdde55a9d686af044f2effba4)

16 years agor24123: add file_id_create() to some vfs modules
Stefan Metzmacher [Thu, 2 Aug 2007 09:19:04 +0000 (09:19 +0000)]
r24123: add file_id_create() to some vfs modules

metze
(This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)

16 years agor24120: add a file_id_create() hook into the VFS layer
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
(This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)

16 years agor24119: Convert reply_exit to the new API
Volker Lendecke [Thu, 2 Aug 2007 05:50:40 +0000 (05:50 +0000)]
r24119: Convert reply_exit to the new API
(This used to be commit d4d550aa2ba20d704d2ab1265732b03405e8819c)

16 years agor24117: use locking_key() instead of forming the TDB_DATA key
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
(This used to be commit a7449e4ab390b3c1d9d5a0bbc466f71de17918e0)

16 years agor24115: try to get the file name and share patch for printing
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
(This used to be commit 8cccf470cbce87618753bc205a0c9cac1edf4d9c)

16 years agor24113: some little fixes to get the correct error message
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
(This used to be commit c5f020ba1fdefe0422dd466b9c68ff67c74ceddd)

16 years agor24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>
Volker Lendecke [Tue, 31 Jul 2007 19:15:27 +0000 (19:15 +0000)]
r24107: Fix bug 4849. Thanks to Matthijs Kooijman <matthijs@stdin.nl>
(This used to be commit 6e6eea64a5f770a585487734b1d0c28746bf5550)

16 years agor24106: Pass fnum instead of buf/offset into get_rpc_pipe_p
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
(This used to be commit eb353412c60fc21a31530d9678505470ffbf11ce)

16 years agor24104: fix the build, sorry...
Stefan Metzmacher [Tue, 31 Jul 2007 12:30:37 +0000 (12:30 +0000)]
r24104: fix the build, sorry...

metze
(This used to be commit a5e1f9fd293fab26d664a72ee652eb8ca72128b7)

16 years agor24103: add some useful debug messages, as not all LDAP
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
(This used to be commit 581a1d3a20ffed42ccc7f35f163fd343ed12ccd3)

16 years agor24102: Pass the fid instead of inbuf and an offset to file_fsp.
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
(This used to be commit d70a1f82fed64fa332f16407bea7c6671f48c59a)

16 years agor24101: Move prohibited_ea_names[] into samba_private_attr_name()
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
(This used to be commit 04879717229d5b74b94b79a962cca5e9624648bc)

16 years agor24100: Convert reply_ntcancel to the new API
Volker Lendecke [Tue, 31 Jul 2007 10:04:54 +0000 (10:04 +0000)]
r24100: Convert reply_ntcancel to the new API
(This used to be commit 6e5f39379f60e30cd0445a049df619ec8f65fc01)

16 years agor24098: - make use of the ads_service_principal abstraction
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
(This used to be commit cbaf44de1e1f8007dc4ca249791ea30d2902c7c4)

16 years agor24097: Convert reply_ntcreate_and_X_quota to the new API
Volker Lendecke [Tue, 31 Jul 2007 09:41:21 +0000 (09:41 +0000)]
r24097: Convert reply_ntcreate_and_X_quota to the new API
(This used to be commit 08acadae56e0b603ccac7dc21f89d5071a33b255)

16 years agor24095: add one more fallback alternative to
Stefan Metzmacher [Tue, 31 Jul 2007 09:37:25 +0000 (09:37 +0000)]
r24095: add one more fallback alternative to
construct the principal

metze
(This used to be commit b545667d2a45a79bba05c9fe9e93a19951d60af7)

16 years agor24093: move gssapi/krb5 principal handling into a function
Stefan Metzmacher [Tue, 31 Jul 2007 09:31:47 +0000 (09:31 +0000)]
r24093: move gssapi/krb5 principal handling into a function

metze
(This used to be commit 83de27968d434d67d23851b0c285221c870ff75e)

16 years agor24092: Convert do_ntcreate_pipe_open to the new API
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.
(This used to be commit 247d6baaed6f017328de6688e6daa15aa6aaa18e)

16 years agor24091: Convert reply_ntcreate_and_X to the new API
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
(This used to be commit 28025fc17efa033515cef94789e518a6615e141f)

16 years agor24090: Separate parsing in reply_ntcreate_and_X
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
(This used to be commit 7a19b3071e1d5d5002013a67794261bf6be0c81d)

16 years agor24089: Add reply_prep/post_legacy
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
(This used to be commit 1bb2b341e2cb6c0175376dc8bd2d1ce6d9c6c00e)

16 years agor24088: Convert reply_unlink 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
(This used to be commit fb0a1b7bd0a195dbedb3b0c02d8a4ec25c21b9bf)

16 years agor24087: Fix bug 4836, patch by Matthijs Kooijman <matthijs@stdin.nl>. Thanks!
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
(This used to be commit 6c3813cf65ff099a071ad8221402fbb3f877c665)

16 years agor24086: Convert reply_ulogoffX to the new API
Volker Lendecke [Mon, 30 Jul 2007 19:53:57 +0000 (19:53 +0000)]
r24086: Convert reply_ulogoffX to the new API
(This used to be commit bbc99e1c3b764bc2adf620553b7fa85efdf8ac53)

16 years agor24085: Convert reply_rmdir 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
(This used to be commit 7689048d71cc4adbdaee5521cc57890518e7090a)

16 years agor24084: Convert reply_mkdir 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
(This used to be commit e93f3996fcdde6f0fbba3fb9e1e97407e9ccdd62)

16 years agor24079: Convert reply_dskattr 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
(This used to be commit c8e0aa5752fde34f7271a4fad758dfae0991722d)

16 years agor24078: Add reply_unixerror
Volker Lendecke [Mon, 30 Jul 2007 10:23:26 +0000 (10:23 +0000)]
r24078: Add reply_unixerror
(This used to be commit 10ac991750e9476299d39ac6f763d1638ff8c619)

16 years agor24077: Convert reply_tdis to the new API
Volker Lendecke [Mon, 30 Jul 2007 10:20:52 +0000 (10:20 +0000)]
r24077: Convert reply_tdis to the new API
(This used to be commit bd0cb48dde401f48dec98fa7ca794a912e0244f1)

16 years agor24072: Add "client ldap sasl wrapping" parameter.
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
(This used to be commit 26ccbad7212e9acd480b98789f04b71c1e940ea8)

16 years agor24071: Fix a missing END_PROFILE call
Volker Lendecke [Mon, 30 Jul 2007 07:50:24 +0000 (07:50 +0000)]
r24071: Fix a missing END_PROFILE call
(This used to be commit c9f12326dd1c090bd0ef9bb97c82926c2efd6ae8)

16 years agor24070: Apply some const
Volker Lendecke [Sun, 29 Jul 2007 16:40:45 +0000 (16:40 +0000)]
r24070: Apply some const
(This used to be commit e6d592dcb8ff9f986b531435d0d03df20880880b)

16 years agor24069: Fix Coverity ID 368. We would segfault if 0 < data.dsize < 8
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
(This used to be commit fa536325681971307661b5d4efde3e8e54f3eca5)

16 years agor24068: Fix Coverity id 366 (dead code). We have checked for argc >= 3 above.
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.
(This used to be commit b876bca6bcdb091c4f4f11af3bd758c8ce4db50a)

16 years agor24067: Fix a type mismatch found by the IBM checker
Volker Lendecke [Sat, 28 Jul 2007 18:52:28 +0000 (18:52 +0000)]
r24067: Fix a type mismatch found by the IBM checker
(This used to be commit 411a1a2037886f934c6522ddef7a04d5c4a1fa69)

16 years agor24066: Fix memleak found by Volker. We don't leak keys now with MIT and Heimdal.
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
(This used to be commit 7755ad750facc44b6a5df2136cb536547048cd48)

16 years agor24065: According to gd, this breaks heimdal. Thanks for checking!
Volker Lendecke [Fri, 27 Jul 2007 09:15:13 +0000 (09:15 +0000)]
r24065: According to gd, this breaks heimdal. Thanks for checking!
(This used to be commit ea5f53eac81e8a969587eb3996b16a1afd948877)

16 years agor24062: fix logic for broken krb5 libs which always force
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
(This used to be commit 4a4fc8cccbcbe17eebcefcd0107f7de60d751f5c)

16 years agor24058: Fix some memory leaks in ads_secrets_verify_ticket.
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
(This used to be commit 000e096c277a71ca30c1c109aae62241ad466bee)

16 years agor24057: Fix some uninitialized variables found by the IBM checker
Volker Lendecke [Thu, 26 Jul 2007 16:39:48 +0000 (16:39 +0000)]
r24057: Fix some uninitialized variables found by the IBM checker
(This used to be commit d74bbc53c2cf41e7e92309e81bb9c1b3f805cdd1)

16 years agor24056: Another big one: This converts reply_sesssetup_and_X to the new API. As usual,
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
(This used to be commit 35675a6a33d584e5c3c97d1cb5ca9b0315a5fa92)

16 years agor24055: Remove a reference to the outdated samba-docs mailing list. This entire
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.
(This used to be commit c08d85a5f1a66e8fdd0b33a1d8d1a2c9ce9c1a35)

16 years agor24054: Fix some warnings
Volker Lendecke [Thu, 26 Jul 2007 07:48:14 +0000 (07:48 +0000)]
r24054: Fix some warnings
(This used to be commit ed84540bb2825dfaca25649a1cfb9342b68c3068)

16 years agor24050: Fix a typo
Volker Lendecke [Wed, 25 Jul 2007 20:01:03 +0000 (20:01 +0000)]
r24050: Fix a typo
(This used to be commit 53027d0ee2dbe15beb2fce5d11a26f4ac0b08b9c)

16 years agor24049: Some more 64-bit warnings
Volker Lendecke [Wed, 25 Jul 2007 18:53:16 +0000 (18:53 +0000)]
r24049: Some more 64-bit warnings
(This used to be commit eabe796e464e5fe10d0f4cca1362985c529f5a5b)

16 years agor24048: Fix the C++ warnings in our version of popt
Volker Lendecke [Wed, 25 Jul 2007 18:47:40 +0000 (18:47 +0000)]
r24048: Fix the C++ warnings in our version of popt
(This used to be commit fd3683c1b3d89a47d59643b0f5751726cb2c89f9)

16 years agor24047: With -Wmissing-prototypes these two always generate warnings. They
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.
(This used to be commit 2137158260cc9677bf9652a3d85334b0d7512b7b)

16 years agor24046: Fix a 64-bit warning
Volker Lendecke [Wed, 25 Jul 2007 18:39:10 +0000 (18:39 +0000)]
r24046: Fix a 64-bit warning
(This used to be commit a2ecc34aa43f810e68815c25016da1d184a21a04)

16 years agor24044: Fix an uninitialized variable warning
Volker Lendecke [Wed, 25 Jul 2007 13:05:54 +0000 (13:05 +0000)]
r24044: Fix an uninitialized variable warning
(This used to be commit 69326a56e7fe2681eef3d58a9107765496756de4)

16 years agor24042: add support for krb5 sign and seal in LDAP via "GSS-SPNEGO"
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
(This used to be commit 34ab84aceb86195743abd26c46a631640409725e)

16 years agor24039: remove unused global variable...
Stefan Metzmacher [Wed, 25 Jul 2007 08:09:34 +0000 (08:09 +0000)]
r24039: remove unused global variable...

metze
(This used to be commit 05fce8815f2f08f71522ba326224185dcecd62ae)

16 years agor24037: only setup sasl wrapping after a successful bind
Stefan Metzmacher [Wed, 25 Jul 2007 07:23:20 +0000 (07:23 +0000)]
r24037: only setup sasl wrapping after a successful bind

metze
(This used to be commit 85d6cd3dfb5cbd9e899957265e352583ff608ed4)

16 years agor24036: Fix dfs rename bug in smbclient reported by Thomas Bork <tombork@web.de>.
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.
(This used to be commit cd66c133a1b010874ea9e7a500ea24c52011e523)

16 years agor24034: Print the full cluster pid in print_lock_struct
Volker Lendecke [Tue, 24 Jul 2007 11:50:54 +0000 (11:50 +0000)]
r24034: Print the full cluster pid in print_lock_struct
(This used to be commit ff1996ce4b0edfee90758c85ea0ac653877a1b9f)

16 years agor24033: We need to be able to cope with packet_handler calling itself
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
(This used to be commit b74797a31eae1c59c1a23934a3302987de9ab87c)

16 years agor24032: It helps testing tremendously if the cluster messaging actually sends
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... :-)
(This used to be commit 3e9e9a3f28763500a1c5e551a808a14661d7d9fa)

16 years agor24031: Fix some 64 bit warnings
Volker Lendecke [Tue, 24 Jul 2007 11:45:29 +0000 (11:45 +0000)]
r24031: Fix some 64 bit warnings
(This used to be commit c0fd9a14cf4f2a4334a8cae22248e7831ffa6bcf)

16 years agor24029: merge from http://samba.org/~tridge/samba_3_2_ctdb/:
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
(This used to be commit 306846a14f554c55b57e9ce0ad324d5c81776330)

16 years agor24027: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-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
(This used to be commit 98c57562c4dcf04b72a1e4ad5d9f5cf48e7d0b28)

16 years agor24025: packet_send() expects DATA_BLOB elements as vaargs
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
(This used to be commit 3e4f552dbdd065fd7934d646e34199b52f486d5d)

16 years agor24024: Minor cleanup in ads_parse_gp_ext().
Günther Deschner [Tue, 24 Jul 2007 09:46:21 +0000 (09:46 +0000)]
r24024: Minor cleanup in ads_parse_gp_ext().

Guenther
(This used to be commit 57aa0acb84a41a24ea89950bcb51b5ffc68b4564)

16 years agor24023: Correctly support REG_BINARY in registry_push_value() and
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
(This used to be commit 6a3c44fd99c91beddd9d6a04a30c35d429d0b9a5)

16 years agor24021: use MSG_BROADCAST_PID_STR as value for broadcast messages
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
(This used to be commit 9d4104b8d5773537f2271f7be1439f1da1e0bf42)

16 years agor24019: merge from http://people.samba.org/bzr/metze/samba/3_2-ctdb-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
(This used to be commit 68c786dafacb187dfea83c45b7fd84127dc02e43)

16 years agor24017: merge from http://samba.org/~tridge/samba_3_2_ctdb/:
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
(This used to be commit 12440efe0bab70a8a1b5100d77e387ce1c371a4e)

16 years agor24015: merge RHEL4-CTDB packaging stuff from
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
(This used to be commit 51c90bfa6fdd1c151a27afefb43521540308f234)

16 years agor24013: merge from http://samba.org/~tridge/samba_3_2_ctdb/:
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
(This used to be commit 0add4e9478afd9b20205f572a485b450a669c275)