[SCM] SAMBA-CTDB repository - branch v3-6-ctdb updated - 5c0302b77389625fd356c79e5de5820d6c2f8c5b

Michael Adam obnox at samba.org
Fri Sep 30 08:04:17 MDT 2011


The branch, v3-6-ctdb has been updated
  discards  55c4bb13d605f10e48ae9b44dd1dd27d25c1b9bd (commit)
  discards  4820de304cb17ea8e0cdb21c8fe048c23398543b (commit)
  discards  64aff3f769709529963b86727cbd7261816e5fd9 (commit)
  discards  5fe766ff1e0f857ca40bc84c5f931c6ecb2f2222 (commit)
  discards  cc24117195d676521b75ba4a7f375e19c910abb7 (commit)
  discards  3f09ba7ae837ae881917e7a162ccf3325e2f19f8 (commit)
  discards  7f28b311d681e61048e3ce66a4ca4bd796d70a95 (commit)
  discards  085292b09abbbc54d48ce321a3a1d22b7adbe4b7 (commit)
  discards  85c0556a9468468028addea5f54c29a9b84136db (commit)
  discards  35c4dde6ee5a60cd9212f3623b9fc6be47875bf9 (commit)
  discards  c85a4ba040f53c65c9cbe8409775dd358ef8e8c1 (commit)
  discards  15179994c272f7f141c4bf07eb7264fc79ff6455 (commit)
  discards  5b66f736bf9311a8d445432be628b9724da80841 (commit)
  discards  20649820b232a8b6bf3d2e4f2b641501a7f15917 (commit)
  discards  40b973957d7f5bc58fdf2545e7a5575a1950a7e4 (commit)
  discards  3bfd83b7873db9f9231f4ecf3c376009cf066ccb (commit)
  discards  67c14630d7fd3c96881a7496d69df7752d6e6774 (commit)
  discards  caf90885b5fd30675789173b2302a000664766d5 (commit)
  discards  90238567c992eaa2362069f409c7b8b8d842f380 (commit)
  discards  8b128d569bdeae4ee2941686670f672d13aaf5b3 (commit)
  discards  c4ec809f7536223df9a378e3be28a2cc6bf83702 (commit)
  discards  52fa89b1aeca7e2cda264770c8351239dd3a0bc3 (commit)
  discards  21b783ea0ededc4075e69bfe868db7541ea22231 (commit)
  discards  67fcc13e646d47cb6541c9f46a34cd10cc3e0283 (commit)
  discards  df69d253de02d40e01317e6022723cca8770036c (commit)
  discards  c0ffb254f6f2df549f91aa70ae088892d7e37b86 (commit)
  discards  e885e62cd60fb474ee6084dc72d26740f41b2213 (commit)
  discards  3203c5b095ed6d4d5d210666c2372f360968345b (commit)
  discards  bde97ec075f8d47d5af3db45566daebead752dac (commit)
  discards  95877e7d41ccc70e2f05c55f20fde48a97e72d31 (commit)
  discards  ada08e829057aef4553005c6d968f0bdf7f423c9 (commit)
  discards  ab2fe321f4fa8dcc09bd0b8470201413a2e2f1b5 (commit)
  discards  32f142a1a9689c8846d072d51e8f1c980c06b203 (commit)
  discards  7643417cf5258d327350904a2c98c72f726cdffc (commit)
  discards  3137baae39c7601052c843ccfb0df0776205dbd7 (commit)
  discards  75fe7c8a6224e538ad66c1672786a9ee1d803a95 (commit)
  discards  c8d8e1a375285c0cc20c91006a87dc039f472db7 (commit)
  discards  ced877a2cad90ff80e57eea0e321c75dec5200a5 (commit)
  discards  87685971b49e6c12e8a0ff6f706dbc6fcae8c2ff (commit)
  discards  032453bfc8ef7fe04f2403763504ef427f1fe1bd (commit)
  discards  b33214c65fbedc9624981d6b21b99adc8f88ef10 (commit)
  discards  629ff8c3429fdc0b3c2f0aead1d5114be7826d9c (commit)
  discards  2f05b502ad8fc22aed2e855b81bd36d86ed0a075 (commit)
  discards  e7ad8479f11cfa70378106a372a2b40a7704da99 (commit)
  discards  801917575a2aee6f502ee5772adf3a186183bcb7 (commit)
  discards  6c2b3c999f4afab54f66b76321a794b8e1a3860f (commit)
  discards  2c289557a6c773b655390ab617a90ec6db262cd6 (commit)
  discards  45235091f97b8b440e5cc7ed1b9eb4547596f132 (commit)
  discards  b9a3fe70bbc549dc14cfb85421eef3376eaea2e9 (commit)
  discards  3917b91d11fe27f185d609afba91815e4684ad2c (commit)
  discards  2441f9e1c01f9dee895b77f1da025b038dd93e9c (commit)
  discards  b38698ec129d6aea1c1d14e4369bff574e5a8001 (commit)
  discards  3b3d141457355befe43303763ae19239f58b504d (commit)
  discards  b02a7a3b7558417c6aace0303cada8ddb5a94aba (commit)
  discards  65913092f37e3b457f6f84df2c123f1e557367fa (commit)
  discards  72e9b3659d346b5ab2843a46e0bf10b8ea113279 (commit)
  discards  e37562689215b3ffd103a8909f9be7c2cbb867a4 (commit)
       via  5c0302b77389625fd356c79e5de5820d6c2f8c5b (commit)
       via  a8fdadb821b6527813c67e76f838fffe2cb63e79 (commit)
       via  57650ad5c794be9b2e508553f9282a8910362a32 (commit)
       via  f07d23c35231b30446276274eb0b37f0a0db2341 (commit)
       via  b0fc3a62845d008b6cb8b89b56967037819b22b9 (commit)
       via  88d6507f92e7660eb5b1668d45c9c863a60c46b4 (commit)
       via  33d71bed1f113ecad9aa07f38dc3b1f57aecedd3 (commit)
       via  ec70526bdfb80952f8fddc74c3d58568567cc96f (commit)
       via  836876483013ed1f20eee382898b1e425288231e (commit)
       via  d4ec8c637e7f8f22d51ff5ddfc5b43a33ecfa25b (commit)
       via  c03547c884e54875d45fe26d83bee0c06254c130 (commit)
       via  d49cb959ec273202fb4d886130db68d5cca002a2 (commit)
       via  17462f8c1b216b2f09dbc3ba06ff7636fabec8c9 (commit)
       via  922082ec40a12b5c6bffba9fd664144ffbe4c3bd (commit)
       via  784a19616a299f37624c8c271a742af4d893b752 (commit)
       via  618d66265f248e5f852620800e842aff9c96a87a (commit)
       via  8b51ddbf7d33acb706377ee92d3dba459a0348b7 (commit)
       via  1913d9edb20c603bf4e295806d85fe2041a81ae6 (commit)
       via  814aa0ced5d30efb88510c2ae49e2ad9fa8d6f33 (commit)
       via  81074c7010c28d213b0718e595732ff8d7d917c8 (commit)
       via  dd4a255a9070b0089e6cbe42747d4c1bed76ebc3 (commit)
       via  15bf0783ce6b41321c95eb3d4142822c6eab2e15 (commit)
       via  565bba84628eb304ef5c39b358bb5691c907add2 (commit)
       via  5378c4df9c3c79c36b3b189c18bc16d78c544a57 (commit)
       via  f8ab29a30cfa99c290a3ae6eb85c7a014e16cb3c (commit)
       via  5fc34a3a7df87d7841616c88dae4915b9060e1a9 (commit)
       via  8bbe4163af9d1b3bf9270ac06203d2f2d36db39e (commit)
       via  5f64f18cebd500fcceb956f32e0b3af28b4e7ba5 (commit)
       via  9f5418b421d95ff6ad8965c896816c2188761cd2 (commit)
       via  d18b41192fc2fb8c05cb7b545348364a9785cc42 (commit)
       via  b7ea73586489a118280807cee6599423ba5d1de4 (commit)
       via  9ec387892fe6eb803dad91f8389917b9a7eed26e (commit)
       via  e20acd881d9d5d100dde8ad4182113afa7fd9200 (commit)
       via  638d29e0394e8716a22e3a86a7a2988f1d299d50 (commit)
       via  920427ddcb6c4ac2f393d2eac2fc55e1d8b1f3af (commit)
       via  c6e2efb87635a8d6acfe3b1d9cf88c23183c04c8 (commit)
       via  eeb0743addd982c8297311cb0d2a66770f7765a4 (commit)
       via  9000974f3b5e6df4a0c5e2a8ffc3445096985d2f (commit)
       via  30fa12a4b513e1a93e8687cfab568f26d2739a97 (commit)
       via  f18dc0df72a8e3731d570dffbd558bf1bcf95101 (commit)
       via  fb1b4c7687022b5adf7d3c42b8776cf0c440f17e (commit)
       via  90284306ed4ea58247f6c083fdb9ca41335c855e (commit)
       via  2ae138a76920f6d47925dbed2eb79b4f8ebab93b (commit)
       via  192288a8db484cd1487681dc8489efece23b5455 (commit)
       via  e9b48ed35425ce5e5ec4667e54a3b372856314d4 (commit)
       via  071e2f4619ee0f09f55d67d17e8335a3351273ae (commit)
       via  b10c5ec85bf53444c2dca4d905aaa547478fe4c0 (commit)
       via  d7b571334277bf375aeb9b2452a683fe8039f6cc (commit)
       via  50438ab20742e86d9729a69ef9329c3ca1a10485 (commit)
       via  ec6bdc270bb643790a837b6c144199e374fa764b (commit)
       via  a5998862d6c1f81e79dbc82959018f417378950d (commit)
       via  83f436056a3a92b5db8ae2311730204dfcdfcdd0 (commit)
       via  329c714ca88308e325214ac4ce8fa7e2383c03ac (commit)
       via  ed1cf14201e354dae3e40fa06defbe0c2ee59816 (commit)
       via  3a3c2da6119f06f5eb386dd0152c7a3365e66419 (commit)
       via  38f74b964851d3b229f5fe96fd7478a8e806f4be (commit)
       via  52de1c4a10326ff832d78560cb201573f5752d85 (commit)
       via  0a153ec24aec04c66d405e43db595fb49d51192a (commit)
       via  c0eca1f4d37ed55d5bb0b97ea5c55a198022825d (commit)
       via  b3e788bc7be9afcedb08ea8b3dd7e83a4072678c (commit)
       via  1e519eefe422367969251a1f338aebb998cd2a66 (commit)
       via  4f71de934e79364ecfeeabc81f12a224ffd98f9c (commit)
       via  8bd25f126f2a98e064f843968392d2f743faf196 (commit)
       via  4872d0ad42330c2dba1dce3fe8a4b772a2aa1b94 (commit)
       via  3c4d619f9023ad9082000e9b581e2f1908d4b92d (commit)
       via  4e83325166c557eaed0f3a56bf1b4ac40b751d47 (commit)
       via  900324a11446ae97b331f1a250c87498b0e07ead (commit)
       via  a3fd83f9d5f92e2b40fe052a1cd571247e2de9e8 (commit)
       via  4a21a142a31304abb8107396c93a3bbfd2736129 (commit)
       via  c8bf6694a0edd2b9b3d32e8b1a9ba6f63d2d00bd (commit)
       via  bee3ce8bd903a3292f370d3bc38770c0ffd66f5c (commit)
       via  94960704cf8fc4a251ed588cecff6f0eb117c103 (commit)
       via  885b814d8252622d66690a8f4135c671c3ec6e21 (commit)
       via  210cf810958a13de0d3100d08118a669727ce50a (commit)
       via  75ef4eb17d52b59f695df198168d8de04d23074a (commit)
       via  403ca0681650bf927bd0daa4991b804ce993d99d (commit)
       via  b13d6009b27f35de8e6500c37a3667e39f2145ef (commit)
       via  b31855739dacf131e2b3b203aefb614662c1a689 (commit)
       via  b30456225a2ab77e459b7d4657db09ab74995889 (commit)
       via  4a08ed8bffac38469decfd13dd18dde7d5c8a16d (commit)
       via  8bc887144d2e26c9512112f97c9d23661b1ca5fc (commit)
       via  37abc4450f1f9c92aa2b353eea04ba1d412558bb (commit)
       via  f00e493049bd859619461280755184fa0e69805b (commit)
       via  e5aab7e4bef83449536d272042b5a05959fefb34 (commit)
       via  0a2c6b840fbd39ff3f6d4ea2b39d11853fc5b221 (commit)
       via  802db47314dc2613832c9f8bd0a3cd7d12c24ac2 (commit)
       via  790aec2e0d2ad85570ddcc6d071ae755754bca8f (commit)
       via  02ce91811704907660bc05497ef5694323468f95 (commit)
       via  c815f54fcd56d963704802950add4ccf389c3a8b (commit)
       via  8e01e6fcc3b7c0802c7dd7fa5cda84d7079e1500 (commit)
       via  2ef9d57b30c7b4335909c24543e7a79bc0aab0be (commit)
       via  ca90c1aa95c164c5debceba18efcde3e52945ea7 (commit)
       via  1c8eaf9c0bba612acf37077999760f0547530ede (commit)
       via  cdfc774eb3d29e6e12c54f76ef2c35291b21d628 (commit)
       via  d691c25a219c85f794bd382b55290f2c7bf877ee (commit)
       via  c1ec085ceec2d9c4d7aac5fbb2eb3d632c75c278 (commit)
       via  df782beec7ad35cc060b2af55de758053ffd8447 (commit)
       via  b5f09f30bfdba34703463a8d285777c2e5ecc7fd (commit)
       via  a340a497a1ab17f5a0c0c3bc7b5e07c190cbbed2 (commit)
       via  41233f076ae070ce0973811b5ba853a354fa5f0d (commit)
       via  61618bf52d4ea8b955081b5b758ed90b62d77034 (commit)
       via  4f1a8af98852ad18683ed485990d71a40b3690e1 (commit)
       via  44b0c091a9e41dc96283ba13f41c302718f0cabf (commit)
       via  c1f6b98bcb1aeaa76f81cf24fdefcd44c487b7e3 (commit)
       via  df431aa4cba3c6cb6a5ba4a733d6d22c0751db24 (commit)
       via  44bc73b0ae4aac51984bae58ee1ae86975d6f4a0 (commit)
      from  55c4bb13d605f10e48ae9b44dd1dd27d25c1b9bd (commit)

http://gitweb.samba.org/?p=obnox/samba-ctdb.git;a=shortlog;h=v3-6-ctdb


- Log -----------------------------------------------------------------
commit 5c0302b77389625fd356c79e5de5820d6c2f8c5b
Author: Michael Adam <obnox at samba.org>
Date:   Tue Sep 27 16:11:06 2011 +0200

    v3-6-ctdb: Bump ctdb vendor patch level to 25

commit a8fdadb821b6527813c67e76f838fffe2cb63e79
Author: Michael Adam <obnox at samba.org>
Date:   Mon Sep 5 17:09:37 2011 +0200

    v3-6-ctdb: bump ctdb vendor patch level to 24

commit 57650ad5c794be9b2e508553f9282a8910362a32
Author: Christian Ambach <ambi at samba.org>
Date:   Wed Aug 31 17:10:40 2011 +0200

    v3-6-ctdb: bump version number to 23

commit f07d23c35231b30446276274eb0b37f0a0db2341
Author: Christian Ambach <ambi at samba.org>
Date:   Thu Aug 25 13:52:04 2011 +0200

    v3-6-ctdb: bump vendor level to 22

commit b0fc3a62845d008b6cb8b89b56967037819b22b9
Author: Michael Adam <obnox at samba.org>
Date:   Tue Aug 23 14:36:52 2011 +0200

    v3-6-ctdb: VERSION: Bump the ctdb vendor patch level to 21

commit 88d6507f92e7660eb5b1668d45c9c863a60c46b4
Author: Michael Adam <obnox at samba.org>
Date:   Mon Aug 15 17:40:21 2011 +0200

    v3-6-ctdb: VERSION: Bump the ctdb vendor patch level to 20

commit 33d71bed1f113ecad9aa07f38dc3b1f57aecedd3
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Aug 9 16:54:46 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 19

commit ec70526bdfb80952f8fddc74c3d58568567cc96f
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Aug 9 10:46:42 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 18

commit 836876483013ed1f20eee382898b1e425288231e
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Aug 3 11:26:26 2011 +0200

    v3-6-ctdb: bump vendor patch level to 17

commit d4ec8c637e7f8f22d51ff5ddfc5b43a33ecfa25b
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jul 27 13:07:56 2011 +0200

    v3-6-ctdb: VERSION: Bump vendor patch level to 16

commit c03547c884e54875d45fe26d83bee0c06254c130
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 21 17:45:49 2011 +0200

    v3-6-ctdb: bump vendor patch level to 15

commit d49cb959ec273202fb4d886130db68d5cca002a2
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 21 17:45:49 2011 +0200

    v3-6-ctdb: bump vendor patch level to 14

commit 17462f8c1b216b2f09dbc3ba06ff7636fabec8c9
Author: Michael Adam <obnox at samba.org>
Date:   Thu Jun 9 17:16:53 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 13

commit 922082ec40a12b5c6bffba9fd664144ffbe4c3bd
Author: Michael Adam <obnox at samba.org>
Date:   Wed Mar 30 16:40:48 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 12

commit 784a19616a299f37624c8c271a742af4d893b752
Author: Volker Lendecke <vl at samba.org>
Date:   Mon May 16 11:40:46 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 11

commit 618d66265f248e5f852620800e842aff9c96a87a
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Apr 27 14:23:51 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 10

commit 8b51ddbf7d33acb706377ee92d3dba459a0348b7
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Apr 18 11:44:13 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 9

commit 1913d9edb20c603bf4e295806d85fe2041a81ae6
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Mar 5 16:10:49 2010 +0100

    v3-6-ctdb: packaging(RHEL-CTDB): package the gpfs_prefetch vfs module

commit 814aa0ced5d30efb88510c2ae49e2ad9fa8d6f33
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Jan 21 14:07:15 2011 +0100

    v3-6-ctdb: s3:vfs: Add a gpfs_prefetch module.
    
    This can not go upstream yet because it uses the gpfs_fcntl call
    from the non-GPL libgpfs.

commit 81074c7010c28d213b0718e595732ff8d7d917c8
Author: Michael Adam <obnox at samba.org>
Date:   Wed Mar 30 16:40:48 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 8

commit dd4a255a9070b0089e6cbe42747d4c1bed76ebc3
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Mar 30 16:40:48 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 7

commit 15bf0783ce6b41321c95eb3d4142822c6eab2e15
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Mar 29 12:49:40 2011 +0200

    v3-6-ctdb: VERSION bump vendor patch level to 6

commit 565bba84628eb304ef5c39b358bb5691c907add2
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 10 00:37:30 2011 +0100

    v3-6-ctdb: VERSION bump vendor patch level to 5

commit 5378c4df9c3c79c36b3b189c18bc16d78c544a57
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 10 00:37:30 2011 +0100

    v3-6-ctdb: VERSION bump vendor patch level to 4

commit f8ab29a30cfa99c290a3ae6eb85c7a014e16cb3c
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 10 00:37:30 2011 +0100

    v3-6-ctdb: VERSION bump vendor patch level to 3

commit 5fc34a3a7df87d7841616c88dae4915b9060e1a9
Author: Michael Adam <obnox at samba.org>
Date:   Thu Feb 10 00:37:30 2011 +0100

    v3-6-ctdb: VERSION bump vendor patch level to 2

commit 8bbe4163af9d1b3bf9270ac06203d2f2d36db39e
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Dec 15 00:16:56 2008 +0100

    v3-6-ctdb: s3: Add the "net groupfilter" command
    
    This is the start of a bad hack for even worse systems: Many Unix systems still
    have the NGROUPS problem: A user can not be member of more than a very limited
    number of groups. Solaris for example limits this to 16 by default. Many
    Windows environments have a *LOT* more groups per user, some even go to
    hundreds. Whether that is efficient is debatable, but it's there.
    
    This patch implements the
    
    "net groupfilter"
    
    command with the "addsid", "delsid" and "list" subcommands. If any SIDs are
    present according to "net groupfilter list" (they are stored in secrets.tdb),
    then only the SIDs in that list are converted to GIDs for a user at login time.
    
    This gives the Administrator the possibility to define a set of groups that are
    used on the Unix box, making sure that no user is in more than NGROUPS of those
    at a time.
    
    This patch is incomplete in the sense that winbind is not aware of this, only
    smbd. So it is kind of an emergency hack for smbd-only machines.
    
    Volker
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 5f64f18cebd500fcceb956f32e0b3af28b4e7ba5
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Apr 21 18:41:32 2008 +0200

    v3-6-ctdb: apply patch from v3-0-ctdb to special case root in libnss_winbind
    
    This is needed to ensure the administrator can login to a node even
    when ctdbd and winbindd are stuck

commit 9f5418b421d95ff6ad8965c896816c2188761cd2
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jan 18 13:19:55 2011 +0100

    v3-6-ctdb: add README.v3-6-ctdb

commit d18b41192fc2fb8c05cb7b545348364a9785cc42
Author: Michael Adam <obnox at samba.org>
Date:   Tue Jun 23 16:41:38 2009 +0200

    v3-6-ctdb: VERSION: add vendor-suffix "ctdb" and vendor-patch level "1"
    
    Michael
    
    following the versioning scheme of the v3-2-ctdb branch
    
    Michael

commit b7ea73586489a118280807cee6599423ba5d1de4
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Sep 26 09:26:41 2011 +0200

    s3:net: registry check: fix the output for keys to delete once more
    
    dbwrap_rbt didn't preserve the NULL dptr of an empty value
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 9ec387892fe6eb803dad91f8389917b9a7eed26e
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Sep 26 09:22:49 2011 +0200

    s3:net: registry check: add heuristic to handle keys with wrong separator
    intelligently.
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit e20acd881d9d5d100dde8ad4182113afa7fd9200
Author: Gregor Beck <gbeck at sernet.de>
Date:   Fri Sep 23 14:56:24 2011 +0200

    s3:net: registry check: give all warnings in read-only mode
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 638d29e0394e8716a22e3a86a7a2988f1d299d50
Author: Gregor Beck <gbeck at sernet.de>
Date:   Fri Sep 23 14:55:17 2011 +0200

    s3:net: registry check: console output for invalid sortedsubkey list
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 920427ddcb6c4ac2f393d2eac2fc55e1d8b1f3af
Author: Gregor Beck <gbeck at sernet.de>
Date:   Fri Sep 23 14:54:20 2011 +0200

    s3:net: registry check: console output cosmetic
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit c6e2efb87635a8d6acfe3b1d9cf88c23183c04c8
Author: Gregor Beck <gbeck at sernet.de>
Date:   Fri Sep 23 13:33:17 2011 +0200

    s3:net: registry check: avoid double warning in case of a missing entry in the subkeylist
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit eeb0743addd982c8297311cb0d2a66770f7765a4
Author: Gregor Beck <gbeck at sernet.de>
Date:   Fri Sep 23 11:58:35 2011 +0200

    s3:dbwrap: remove m_all marshall buffer from ctdb transaction.
    
    it was only used by ctdb_replay_transaction and was a actually write only
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 9000974f3b5e6df4a0c5e2a8ffc3445096985d2f
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Sep 22 13:58:24 2011 +0200

    s3:dbwrap: traverse records created within this transaction.
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 30fa12a4b513e1a93e8687cfab568f26d2739a97
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Sep 13 14:30:03 2011 +0200

    s3:net: registry check: fix console output for keys to delete
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit f18dc0df72a8e3731d570dffbd558bf1bcf95101
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Sep 13 14:29:16 2011 +0200

    s3:net: registry check: fix zero termination of keys to delete
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit fb1b4c7687022b5adf7d3c42b8776cf0c440f17e
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Sep 6 09:24:10 2011 +0200

    s3:registry: reg_format: handle unterminated REG_SZ blobs
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 90284306ed4ea58247f6c083fdb9ca41335c855e
Author: Michael Adam <obnox at samba.org>
Date:   Tue Sep 27 16:06:48 2011 +0200

    s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ record in traverse
    
    It did not compare the last charcter (usually '\0')

commit 2ae138a76920f6d47925dbed2eb79b4f8ebab93b
Author: Michael Adam <obnox at samba.org>
Date:   Tue Sep 20 04:33:31 2011 +0200

    s3:dbwrap_ctdb: skip the internal __db_sequence_number__ key from (persistent) traverse and traverse_read
    
    This is is used internally in the persistent transactions and should not surface.

commit 192288a8db484cd1487681dc8489efece23b5455
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Sep 8 16:43:06 2011 +0200

    s3: Fix \name handed into WINBINDD_LOOKUPNAME
    
    This fooled winbind into believing we have a qualified name

commit e9b48ed35425ce5e5ec4667e54a3b372856314d4
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Sep 8 14:54:57 2011 +0200

    s3: Actually stop guessing in lookup_name if we were given a domain

commit 071e2f4619ee0f09f55d67d17e8335a3351273ae
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Sep 8 14:00:35 2011 +0200

    s3: Pass up domain name from msrpc name_to_sid
    
    This fixes a bug where winbind caching did the wrong thing. rpcclient
    lookupnames for \\domain admins (without domain) followed by a wbinfo -s <sid>
    made the wbinfo call return \\domain admins as name, not the one with the
    correct domain prefix.

commit b10c5ec85bf53444c2dca4d905aaa547478fe4c0
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Sep 8 13:15:21 2011 +0200

    s3: Fix a debug message

commit d7b571334277bf375aeb9b2452a683fe8039f6cc
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Sep 6 17:32:50 2011 +0200

    s3: Give name_to_sid the chance to return names

commit 50438ab20742e86d9729a69ef9329c3ca1a10485
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Sep 8 10:44:53 2011 +0200

    s3: Add debug messages to the lookup name process

commit ec6bdc270bb643790a837b6c144199e374fa764b
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Sep 5 17:07:37 2011 +0200

    s3:dbwrap_ctdb: improve error message in transaction destructor
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit a5998862d6c1f81e79dbc82959018f417378950d
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 10:19:18 2011 +0200

    s3: let g_lock_unlock() return more specific status codes on failure
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 83f436056a3a92b5db8ae2311730204dfcdfcdd0
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 16:45:21 2011 +0200

    s3:net: registry check: keep empty subkeylists
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 329c714ca88308e325214ac4ce8fa7e2383c03ac
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 16:44:40 2011 +0200

    s3:net: registry check: do not ignore sorted subkey lists remove them if empty or version > 2
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit ed1cf14201e354dae3e40fa06defbe0c2ee59816
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 16:41:53 2011 +0200

    s3:net: registry check: implement option --auto
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 3a3c2da6119f06f5eb386dd0152c7a3365e66419
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 14:20:33 2011 +0200

    s3:net: registry check: do not write to the input database!
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 38f74b964851d3b229f5fe96fd7478a8e806f4be
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 14:19:17 2011 +0200

    s3:net: registry check use dbwrap_traverse_read()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 52de1c4a10326ff832d78560cb201573f5752d85
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 31 14:18:09 2011 +0200

    s3:dbwrap: add function dbwrap_traverse_read()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 0a153ec24aec04c66d405e43db595fb49d51192a
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 30 10:15:06 2011 +0200

    s3:net: registry check automaticaly skip __db_sequence_number__. Only treat the uppercase version as an invalid path
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit c0eca1f4d37ed55d5bb0b97ea5c55a198022825d
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 30 10:12:46 2011 +0200

    s3:net: registry check code cleanup
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit b3e788bc7be9afcedb08ea8b3dd7e83a4072678c
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Sep 5 13:11:59 2011 +0200

    s3: Fix smbcontrol smbd idmap kill S-1-5-21-...
    
    The calls to sid_to_gid and sid_to_uid create id mapping entries themselves,
    which makes it pretty difficult to reliably delete id mapping entries
    everywhere just using a SID.

commit 1e519eefe422367969251a1f338aebb998cd2a66
Author: Christian Ambach <ambi at samba.org>
Date:   Wed Aug 31 18:28:51 2011 +0200

    s3:idmap/autorid add a small alloc pool to autorid
    
    this is needed to allocate gids for BUILTIN\Users and
    BUILTIN\Administrators
    
    gids are stored at the start of the first domain
    as RIDs start with values over 500, we have some room there
    so we do not need to allocate a range

commit 4f71de934e79364ecfeeabc81f12a224ffd98f9c
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Aug 31 15:06:35 2011 +0200

    s3: Fix bug 8334, do not fork the echo handler for smb2
    
    If a smb1 negprot negotiated smb2 we forked the echo responder. This will
    eventually lead to a panic from
    
    [2011/08/30 10:33:29.212578,  0, pid=3846917] smbd/smb2_server.c:243(smbd_smb2_request_create)
      Invalid SMB packet: first request: 0x0009
    
    because from the echo responder we always read using the normal smb1 protocol
    handling routine. If that is a bit down the smb2 stream, we get a non-negprot
    packet and panic.
    
    BTW, the echo responder is not required for smb2 anyway, Microsoft confirmed
    that it probes the server liveness using TCP keepalives and not smb2 echo
    requests.

commit 8bd25f126f2a98e064f843968392d2f743faf196
Author: Christian Ambach <ambi at samba.org>
Date:   Tue Aug 30 17:39:56 2011 +0200

    s3:smb2 fix Bug 8428 - wrong reply to DHnC (durable handle reconnect)
    
    According to [MS-SMB2] 3.3.5.9.7
    (http://msdn.microsoft.com/en-us/library/cc246784%28v=PROT.13%29.aspx),
    smbd must reply with NT_STATUS_OBJECT_NAME_NOT_FOUND as it does not
    support durable file-handles yet.
    
    I have seen w2k8r2 running xcopy /C ending up in an endless loop
    trying to get back the original file handle from smbd sending the same
    requests over and over.
    
    Metze, Jeremy, please check!
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Tue Aug 30 22:20:36 CEST 2011 on sn-devel-104

commit 4872d0ad42330c2dba1dce3fe8a4b772a2aa1b94
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Aug 26 11:39:41 2011 +0200

    s3: Use sys_write in fork_domain_child
    
    Counterpart for last checkin. A lot less likely, but not impossible in a child.
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Fri Aug 26 13:14:27 CEST 2011 on sn-devel-104

commit 3c4d619f9023ad9082000e9b581e2f1908d4b92d
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Aug 26 11:38:21 2011 +0200

    s3: Use sys_read in fork_domain_child
    
    I've seen
    
    [2011/08/26 01:44:10.872057,  1] winbindd/winbindd_dual.c:1336(fork_domain_child)
      fork_domain_child: Could not read child status: nread=-1, error=Interrupted system call
    
    on a customer box. Not good.

commit 4e83325166c557eaed0f3a56bf1b4ac40b751d47
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Aug 26 16:54:18 2011 +0200

    s3: Fix a winbind race leading to 100% CPU
    
    This fixes a race condition that leads to the winbindd_children list becoming
    corrupted. It happens when on a busy winbind SIGCHLD is a bit late.
    
    Imagine a winbind with multiple requests in the queue for a single child. Child
    dies, and before the SIGCHLD handler is called we find the socket to be dead.
    wb_child_request_done is called, receiving an error from wb_simple_trans_recv.
    It closes the socket. Then immediately the wb_child_request_trigger will do
    another fork_domain_child before the signal handler is called. This means that
    we do another fork_domain_child, we have child->sock==-1 at this point.
    fork_domain_child will do a DLIST_ADD(winbindd_children, child) a second time
    where the child is already part of that list. This corrupts the list. Then the
    signal handler kicks in, spinning in
    
    for (child = winbindd_children; child != NULL; child = child->next) {
    
    forever. Not good. This patch makes sure that both conditions (sock==-1 and not
    part of the list) for a winbindd_child struct match up.

commit 900324a11446ae97b331f1a250c87498b0e07ead
Author: Christian Ambach <ambi at samba.org>
Date:   Thu Aug 25 13:47:37 2011 +0200

    s3:smb2 add some debugs
    
    panic the process instead of returning so we get a backtrace
    to help us analyse the intermittent problems

commit a3fd83f9d5f92e2b40fe052a1cd571247e2de9e8
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Aug 17 12:05:26 2011 +0200

    s3: Next step to fix MIT trusts
    
    aa3f10c was not complete in the sense that it did not fully cover some
    conditions that led to invalid domains in the winbind parent

commit 4a21a142a31304abb8107396c93a3bbfd2736129
Author: Volker Lendecke <vl at samba.org>
Date:   Wed Aug 17 11:58:57 2011 +0200

    s3: Increase a debug level in ads_find_dc
    
    This message can happen with AD trusts that winbind can not cope with. The
    message is not really clear and not worth spamming syslog always.

commit c8bf6694a0edd2b9b3d32e8b1a9ba6f63d2d00bd
Author: Christian Ambach <ambi at samba.org>
Date:   Tue Jul 26 13:43:14 2011 +0200

    s3:lib change default share security access mask
    
    when there is no share SD set, the default share SD that
    is used e.g. for the output of sharesec -v defaults to a
    value that is not equivalent to the desired FULL access.
    
    This is a more or less a cosmetical follow-up for the patches
    in Bug #8201 that makes them more consumeable by printing
    FULL (that is what the user expects) instead of a bitmask
    in hexadecimal form.
    
    previous output:
    REVISION:1
    OWNER:(NULL SID)
    GROUP:(NULL SID)
    ACL:S-1-1-0:ALLOWED/0/0x101f01ff
    
    with patch:
    REVISION:1
    OWNER:(NULL SID)
    GROUP:(NULL SID)
    ACL:S-1-1-0:ALLOWED/0/FULL
    
    Autobuild-User: Christian Ambach <ambi at samba.org>
    Autobuild-Date: Tue Jul 26 15:57:55 CEST 2011 on sn-devel-104

commit bee3ce8bd903a3292f370d3bc38770c0ffd66f5c
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Jul 28 14:24:40 2011 +0200

    s3: Priorize the async echo responder over the client
    
    Without this, an active client connection can starve the echo responder. This
    leads to apparently "lost" SMBs.
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Thu Jul 28 18:53:38 CEST 2011 on sn-devel-104

commit 94960704cf8fc4a251ed588cecff6f0eb117c103
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Jul 28 14:09:13 2011 +0200

    tevent: Slightly simplify poll_event_loop_poll
    
    No real code change. Do an early return instead of an if-statement, avoiding
    one level of indentation.

commit 885b814d8252622d66690a8f4135c671c3ec6e21
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jul 26 15:39:58 2011 +0200

    s3: Remove unused smbd_echo_reader()

commit 210cf810958a13de0d3100d08118a669727ce50a
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jul 26 15:39:29 2011 +0200

    s3: Use smbd_echo_read_send in the async echo handler

commit 75ef4eb17d52b59f695df198168d8de04d23074a
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jul 26 15:07:22 2011 +0200

    s3: Add smbd_echo_read_send/recv
    
    Read a SMB packet in the echo responder, giving the parent one second to step
    in

commit 403ca0681650bf927bd0daa4991b804ce993d99d
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jul 26 15:06:44 2011 +0200

    Add wait_for_read_send/recv
    
    Wait for readability of a socket as a tevent_req

commit b13d6009b27f35de8e6500c37a3667e39f2145ef
Author: Christian Ambach <ambi at samba.org>
Date:   Wed Aug 24 16:21:37 2011 +0200

    s3:winbindd fix a return code check
    
    talloc_traverse_dict will return with -1 in case of an error and
    might return positive values that indicate the count of found
    entries

commit b31855739dacf131e2b3b203aefb614662c1a689
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 24 10:52:01 2011 +0200

    s3:smbcontrol: let smbd pass the idmap msg to its children for convenience
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit b30456225a2ab77e459b7d4657db09ab74995889
Author: Michael Adam <obnox at samba.org>
Date:   Wed Aug 24 01:14:22 2011 +0200

    s3:registry: fix the v2_to_v3 upgrade code so that it does not create value list security records for the INFO/version key ...

commit 4a08ed8bffac38469decfd13dd18dde7d5c8a16d
Author: Michael Adam <obnox at samba.org>
Date:   Wed Aug 24 01:13:47 2011 +0200

    s3:registry: fix the v1_to_v2 upgrade code so that it does not normalize the INFO/version key ...

commit 8bc887144d2e26c9512112f97c9d23661b1ca5fc
Author: Michael Adam <obnox at samba.org>
Date:   Wed Aug 24 01:12:28 2011 +0200

    s3:registry: define a constant REGDB_VERSION_KEYNAME for the key INFO/version (and use it)

commit 37abc4450f1f9c92aa2b353eea04ba1d412558bb
Author: Michael Adam <obnox at samba.org>
Date:   Thu Aug 25 17:18:12 2011 +0200

    s3:registry: hand db context in to v2_to_v3 upgrade code via private_data
    
    This also fixes the earlier faulty handing in of a useless stackframe
    memory context via private_data.

commit f00e493049bd859619461280755184fa0e69805b
Author: Michael Adam <obnox at samba.org>
Date:   Thu Aug 25 17:12:33 2011 +0200

    s3:registry: fix broken use of dbwrap store record in v1_to_v2 upgrade code
    
    This also fixes broken private_data parameter for the traverse function
    (making use of it): Originally a memory context was handed in but was not used.

commit e5aab7e4bef83449536d272042b5a05959fefb34
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Aug 25 16:32:50 2011 +0200

    s3:net let "net registry check" be a little more verbose
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 0a2c6b840fbd39ff3f6d4ea2b39d11853fc5b221
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Aug 25 16:28:16 2011 +0200

    s3:net fix commandline help of "net registry check"
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 802db47314dc2613832c9f8bd0a3cd7d12c24ac2
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Aug 25 16:26:25 2011 +0200

    s3:doc manpage for "net registry check"
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 790aec2e0d2ad85570ddcc6d071ae755754bca8f
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 23 19:10:43 2011 +0200

    s3:net: registry check ignore __db_sequence_number__ records

commit 02ce91811704907660bc05497ef5694323468f95
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 23 19:09:33 2011 +0200

    s3:net: registry check handle INFO records
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit c815f54fcd56d963704802950add4ccf389c3a8b
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 23 18:31:08 2011 +0200

    s3:net: check return value of check_ctx_create()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 8e01e6fcc3b7c0802c7dd7fa5cda84d7079e1500
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Jun 30 12:08:16 2011 +0200

    s3:net add command "registry check"
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 2ef9d57b30c7b4335909c24543e7a79bc0aab0be
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Aug 18 14:13:28 2011 +0200

    s3:net: factor out interact_edit()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit ca90c1aa95c164c5debceba18efcde3e52945ea7
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Jul 7 14:50:47 2011 +0200

    s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by value

commit 1c8eaf9c0bba612acf37077999760f0547530ede
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Jul 12 13:04:37 2011 +0200

    s3:registry add function srprs_hive()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit cdfc774eb3d29e6e12c54f76ef2c35291b21d628
Author: Gregor Beck <gbeck at sernet.de>
Date:   Wed Aug 17 11:44:12 2011 +0200

    s3:dbwrap: fix db_rbt_traverse() to return the record count on success
    
    this makes it consistent with documented behaviour of tdb_traverse()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit d691c25a219c85f794bd382b55290f2c7bf877ee
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 16 14:55:30 2011 +0200

    s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbt
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit c1ec085ceec2d9c4d7aac5fbb2eb3d632c75c278
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 16 14:43:29 2011 +0200

    s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdb
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit df782beec7ad35cc060b2af55de758053ffd8447
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Aug 16 14:39:19 2011 +0200

    s3:dbwrap: add function dbwrap_wipe()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit b5f09f30bfdba34703463a8d285777c2e5ecc7fd
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Jul 4 10:22:46 2011 +0200

    s3:dbwrap: add specific dbwrap_exists implementation to dbwrap_rbt
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit a340a497a1ab17f5a0c0c3bc7b5e07c190cbbed2
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Jul 4 09:54:31 2011 +0200

    s3:dbwrap: factor out db_rpt_search_internal
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 41233f076ae070ce0973811b5ba853a354fa5f0d
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Jul 4 10:27:17 2011 +0200

    s3:dbwrap: add specific dbwrap_exists implementation to dbwrap_tdb
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 61618bf52d4ea8b955081b5b758ed90b62d77034
Author: Gregor Beck <gbeck at sernet.de>
Date:   Mon Jul 4 10:15:44 2011 +0200

    s3:dbwrap: add function dbwrap_exists()
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 4f1a8af98852ad18683ed485990d71a40b3690e1
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Jun 14 13:19:59 2011 +0200

    s3:smbcacls fix leaking talloc stackframce on tcon failure
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 44b0c091a9e41dc96283ba13f41c302718f0cabf
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Jun 14 13:56:22 2011 +0200

    s3:smbcacls fix possible SEGFAULT
    
    sddl_encode returns NULL on failure
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit c1f6b98bcb1aeaa76f81cf24fdefcd44c487b7e3
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Jun 9 15:29:32 2011 +0200

    s3:smbcacls add option domain-sid
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit df431aa4cba3c6cb6a5ba4a733d6d22c0751db24
Author: Gregor Beck <gbeck at sernet.de>
Date:   Thu Jun 9 14:32:27 2011 +0200

    s3:smbcacls get_domain_sid for sddl parsing/formating from lsarpc
    
    get_global_sid panics if we are not root and may give the wrong answer anyway.
    
    Signed-off-by: Michael Adam <obnox at samba.org>

commit 44bc73b0ae4aac51984bae58ee1ae86975d6f4a0
Author: Gregor Beck <gbeck at sernet.de>
Date:   Tue Jun 7 10:54:16 2011 +0200

    s3:smbcacls pretty print acl control field
    
    Signed-off-by: Michael Adam <obnox at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 lib/async_req/async_sock.c             |   55 +++++
 lib/async_req/async_sock.h             |    5 +
 lib/tevent/tevent_poll.c               |   71 ++++---
 source3/VERSION                        |    2 +-
 source3/include/dbwrap.h               |    4 +
 source3/lib/dbwrap_ctdb.c              |   92 ++++++---
 source3/lib/dbwrap_util.c              |    8 +-
 source3/lib/g_lock.c                   |    4 +-
 source3/lib/sharesec.c                 |    6 +-
 source3/libads/ldap.c                  |    3 +-
 source3/librpc/idl/wbint.idl           |    1 +
 source3/passdb/lookup_sid.c            |   22 ++
 source3/registry/reg_format.c          |   10 +-
 source3/smbd/msg_idmap.c               |   26 ++-
 source3/smbd/negprot.c                 |    3 +-
 source3/smbd/process.c                 |  343 ++++++++++++++++++++++----------
 source3/smbd/smb2_create.c             |   12 +-
 source3/smbd/smb2_server.c             |    4 +
 source3/utils/net_registry_check.c     |  258 +++++++++++++++++--------
 source3/winbindd/idmap_autorid.c       |   52 +++++
 source3/winbindd/wb_lookupname.c       |    7 +-
 source3/winbindd/winbindd.h            |    4 +-
 source3/winbindd/winbindd_ads.c        |    4 +-
 source3/winbindd/winbindd_cache.c      |   25 ++-
 source3/winbindd/winbindd_dual.c       |    9 +-
 source3/winbindd/winbindd_dual_srv.c   |   19 ++-
 source3/winbindd/winbindd_lookupname.c |   22 ++-
 source3/winbindd/winbindd_misc.c       |    4 +
 source3/winbindd/winbindd_msrpc.c      |   28 ++-
 source3/winbindd/winbindd_reconnect.c  |    4 +-
 source3/winbindd/winbindd_rpc.c        |   17 +-
 source3/winbindd/winbindd_rpc.h        |    4 +-
 source3/winbindd/winbindd_samr.c       |    4 +-
 33 files changed, 816 insertions(+), 316 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/async_req/async_sock.c b/lib/async_req/async_sock.c
index 2c90b6d..43de837 100644
--- a/lib/async_req/async_sock.c
+++ b/lib/async_req/async_sock.c
@@ -666,3 +666,58 @@ ssize_t read_packet_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
 	*pbuf = talloc_move(mem_ctx, &state->buf);
 	return talloc_get_size(*pbuf);
 }
+
+struct wait_for_read_state {
+	struct tevent_req *req;
+	struct tevent_fd *fde;
+};
+
+static void wait_for_read_done(struct tevent_context *ev,
+			       struct tevent_fd *fde,
+			       uint16_t flags,
+			       void *private_data);
+
+struct tevent_req *wait_for_read_send(TALLOC_CTX *mem_ctx,
+				      struct tevent_context *ev,
+				      int fd)
+{
+	struct tevent_req *req;
+	struct wait_for_read_state *state;
+
+	req = tevent_req_create(mem_ctx, &state, struct wait_for_read_state);
+	if (req == NULL) {
+		return NULL;
+	}
+	state->req = req;
+	state->fde = tevent_add_fd(ev, state, fd, TEVENT_FD_READ,
+				   wait_for_read_done, state);
+	if (tevent_req_nomem(state->fde, req)) {
+		return tevent_req_post(req, ev);
+	}
+	return req;
+}
+
+static void wait_for_read_done(struct tevent_context *ev,
+			       struct tevent_fd *fde,
+			       uint16_t flags,
+			       void *private_data)
+{
+	struct wait_for_read_state *state = talloc_get_type_abort(
+		private_data, struct wait_for_read_state);
+
+	if (flags & TEVENT_FD_READ) {
+		TALLOC_FREE(state->fde);
+		tevent_req_done(state->req);
+	}
+}
+
+bool wait_for_read_recv(struct tevent_req *req, int *perr)
+{
+	int err;
+
+	if (tevent_req_is_unix_error(req, &err)) {
+		*perr = err;
+		return false;
+	}
+	return true;
+}
diff --git a/lib/async_req/async_sock.h b/lib/async_req/async_sock.h
index 8d98886..1910643 100644
--- a/lib/async_req/async_sock.h
+++ b/lib/async_req/async_sock.h
@@ -61,4 +61,9 @@ struct tevent_req *read_packet_send(TALLOC_CTX *mem_ctx,
 ssize_t read_packet_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
 			 uint8_t **pbuf, int *perrno);
 
+struct tevent_req *wait_for_read_send(TALLOC_CTX *mem_ctx,
+				      struct tevent_context *ev,
+				      int fd);
+bool wait_for_read_recv(struct tevent_req *req, int *perr);
+
 #endif
diff --git a/lib/tevent/tevent_poll.c b/lib/tevent/tevent_poll.c
index 0b782e9..0a9c0f0 100644
--- a/lib/tevent/tevent_poll.c
+++ b/lib/tevent/tevent_poll.c
@@ -222,40 +222,45 @@ static int poll_event_loop_poll(struct tevent_context *ev,
 		return 0;
 	}
 
-	if (pollrtn > 0) {
-		/* at least one file descriptor is ready - check
-		   which ones and call the handler, being careful to allow
-		   the handler to remove itself when called */
-		for (fde = ev->fd_events; fde; fde = fde->next) {
-			struct pollfd *pfd;
-			uint64_t pfd_idx = fde->additional_flags;
-			uint16_t flags = 0;
-
-			pfd = &poll_ev->fds[pfd_idx];
-
-			if (pfd->revents & (POLLHUP|POLLERR)) {
-				/* If we only wait for TEVENT_FD_WRITE, we
-				   should not tell the event handler about it,
-				   and remove the writable flag, as we only
-				   report errors when waiting for read events
-				   to match the select behavior. */
-				if (!(fde->flags & TEVENT_FD_READ)) {
-					TEVENT_FD_NOT_WRITEABLE(fde);
-					continue;
-				}
-				flags |= TEVENT_FD_READ;
-			}
-			if (pfd->revents & POLLIN) {
-				flags |= TEVENT_FD_READ;
-			}
-			if (pfd->revents & POLLOUT) {
-				flags |= TEVENT_FD_WRITE;
-			}
-			if (flags != 0) {
-				fde->handler(ev, fde, flags,
-					     fde->private_data);
-				break;
+	if (pollrtn <= 0) {
+		/*
+		 * No fd's ready
+		 */
+		return 0;
+	}
+
+	/* at least one file descriptor is ready - check
+	   which ones and call the handler, being careful to allow
+	   the handler to remove itself when called */
+
+	for (fde = ev->fd_events; fde; fde = fde->next) {
+		struct pollfd *pfd;
+		uint64_t pfd_idx = fde->additional_flags;
+		uint16_t flags = 0;
+
+		pfd = &poll_ev->fds[pfd_idx];
+
+		if (pfd->revents & (POLLHUP|POLLERR)) {
+			/* If we only wait for TEVENT_FD_WRITE, we
+			   should not tell the event handler about it,
+			   and remove the writable flag, as we only
+			   report errors when waiting for read events
+			   to match the select behavior. */
+			if (!(fde->flags & TEVENT_FD_READ)) {
+				TEVENT_FD_NOT_WRITEABLE(fde);
+				continue;
 			}
+			flags |= TEVENT_FD_READ;
+		}
+		if (pfd->revents & POLLIN) {
+			flags |= TEVENT_FD_READ;
+		}
+		if (pfd->revents & POLLOUT) {
+			flags |= TEVENT_FD_WRITE;
+		}
+		if (flags != 0) {
+			fde->handler(ev, fde, flags, fde->private_data);
+			break;
 		}
 	}
 
diff --git a/source3/VERSION b/source3/VERSION
index 99d389c..257c67d 100644
--- a/source3/VERSION
+++ b/source3/VERSION
@@ -85,7 +85,7 @@ SAMBA_VERSION_IS_GIT_SNAPSHOT=no
 #                                                      #
 ########################################################
 SAMBA_VERSION_VENDOR_SUFFIX="ctdb"
-SAMBA_VERSION_VENDOR_PATCH=22
+SAMBA_VERSION_VENDOR_PATCH=25
 
 ########################################################
 # This can be set by vendors if they want..            #
diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h
index e8493ed..3a01c42 100644
--- a/source3/include/dbwrap.h
+++ b/source3/include/dbwrap.h
@@ -140,6 +140,10 @@ NTSTATUS dbwrap_traverse(struct db_context *db,
 			 int (*f)(struct db_record*, void*),
 			 void *private_data);
 
+NTSTATUS dbwrap_traverse_read(struct db_context *db,
+			      int (*f)(struct db_record*, void*),
+			      void *private_data);
+
 NTSTATUS dbwrap_delete_bystring_upper(struct db_context *db, const char *key);
 NTSTATUS dbwrap_store_bystring_upper(struct db_context *db, const char *key,
 				     TDB_DATA data, int flags);
diff --git a/source3/lib/dbwrap_ctdb.c b/source3/lib/dbwrap_ctdb.c
index de02f60..11a1a2b 100644
--- a/source3/lib/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap_ctdb.c
@@ -32,11 +32,8 @@
 struct db_ctdb_transaction_handle {
 	struct db_ctdb_ctx *ctx;
 	/*
-	 * we store the reads and writes done under a transaction:
-	 * - one list stores both reads and writes (m_all),
-	 * - the other just writes (m_write)
+	 * we store the writes done under a transaction:
 	 */
-	struct ctdb_marshall_buffer *m_all;
 	struct ctdb_marshall_buffer *m_write;
 	uint32_t nesting;
 	bool nested_cancel;
@@ -309,7 +306,8 @@ static int db_ctdb_transaction_destructor(struct db_ctdb_transaction_handle *h)
 
 	status = g_lock_unlock(h->ctx->lock_ctx, h->lock_name);
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(0, ("g_lock_unlock failed: %s\n", nt_errstr(status)));
+		DEBUG(0, ("g_lock_unlock failed for %s: %s\n", h->lock_name,
+			  nt_errstr(status)));
 		return -1;
 	}
 	return 0;
@@ -467,16 +465,6 @@ static int db_ctdb_transaction_fetch(struct db_ctdb_ctx *db,
 		return -1;
 	}
 
-	h->m_all = db_ctdb_marshall_add(h, h->m_all, h->ctx->db_id, 1, key,
-					NULL, *data);
-	if (h->m_all == NULL) {
-		DEBUG(0,(__location__ " Failed to add to marshalling "
-			 "record\n"));
-		data->dsize = 0;
-		talloc_free(data->dptr);
-		return -1;
-	}
-
 	return 0;
 }
 
@@ -653,15 +641,6 @@ static NTSTATUS db_ctdb_transaction_store(struct db_ctdb_transaction_handle *h,
 	header.dmaster = get_my_vnn();
 	header.rsn++;
 
-	h->m_all = db_ctdb_marshall_add(h, h->m_all, h->ctx->db_id, 0, key,
-					NULL, data);
-	if (h->m_all == NULL) {
-		DEBUG(0,(__location__ " Failed to add to marshalling "
-			 "record\n"));
-		talloc_free(tmp_ctx);
-		return NT_STATUS_NO_MEMORY;
-	}
-
 	h->m_write = db_ctdb_marshall_add(h, h->m_write, h->ctx->db_id, 0, key, &header, data);
 	if (h->m_write == NULL) {
 		DEBUG(0,(__location__ " Failed to add to marshalling record\n"));
@@ -1243,15 +1222,35 @@ static int traverse_persistent_callback(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DAT
 	struct db_record *rec;
 	TALLOC_CTX *tmp_ctx = talloc_new(state->db);
 	int ret = 0;
+
+	/*
+	 * Skip the __db_sequence_number__ key:
+	 * This is used for persistent transactions internally.
+	 */
+	if (kbuf.dsize == strlen(CTDB_DB_SEQNUM_KEY) + 1 &&
+	    strcmp((const char*)kbuf.dptr, CTDB_DB_SEQNUM_KEY))
+	{
+		goto done;
+	}
+
 	/* we have to give them a locked record to prevent races */
 	rec = db_ctdb_fetch_locked(state->db, tmp_ctx, kbuf);
 	if (rec && rec->value.dsize > 0) {
 		ret = state->fn(rec, state->private_data);
 	}
+
+done:
 	talloc_free(tmp_ctx);
 	return ret;
 }
 
+/* wrapper to use traverse_persistent_callback with dbwrap */
+static int traverse_persistent_callback_dbwrap(struct db_record *rec, void* data)
+{
+	return traverse_persistent_callback(NULL, rec->key, rec->value, data);
+}
+
+
 static int db_ctdb_traverse(struct db_context *db,
 			    int (*fn)(struct db_record *rec,
 				      void *private_data),
@@ -1266,9 +1265,40 @@ static int db_ctdb_traverse(struct db_context *db,
 	state.private_data = private_data;
 
 	if (db->persistent) {
+		struct tdb_context *ltdb = ctx->wtdb->tdb;
+		int ret;
+
 		/* for persistent databases we don't need to do a ctdb traverse,
 		   we can do a faster local traverse */
-		return tdb_traverse(ctx->wtdb->tdb, traverse_persistent_callback, &state);
+		ret = tdb_traverse(ltdb, traverse_persistent_callback, &state);
+		if (ret < 0) {
+			return ret;
+		}
+		if (ctx->transaction && ctx->transaction->m_write) {
+			/* we now have to handle keys not yet present at transaction start */
+			struct db_context *newkeys = db_open_rbt(talloc_tos());
+			struct ctdb_marshall_buffer *mbuf = ctx->transaction->m_write;
+			struct ctdb_rec_data *rec=NULL;
+			NTSTATUS status;
+			int i;
+			for (i=0; i<mbuf->count; i++) {
+				TDB_DATA key;
+				rec =db_ctdb_marshall_loop_next(mbuf, rec,
+								NULL, NULL,
+								&key, NULL);
+				SMB_ASSERT(rec != NULL);
+
+				if (!tdb_exists(ltdb, key)) {
+					dbwrap_store(newkeys, key, tdb_null, 0);
+				}
+			}
+			status = dbwrap_traverse(newkeys,
+						 traverse_persistent_callback_dbwrap,
+						 &state);
+			ret = NT_STATUS_IS_OK(status) ? 0 : -1;
+			talloc_free(newkeys);
+		}
+		return ret;
 	}
 
 
@@ -1303,6 +1333,18 @@ static int traverse_persistent_callback_read(TDB_CONTEXT *tdb, TDB_DATA kbuf, TD
 {
 	struct traverse_state *state = (struct traverse_state *)private_data;
 	struct db_record rec;
+
+	/*
+	 * Skip the __db_sequence_number__ key:
+	 * This is used for persistent transactions internally.
+	 */
+	if (kbuf.dsize == strlen(CTDB_DB_SEQNUM_KEY) + 1 &&
+	    strncmp((const char*)kbuf.dptr, CTDB_DB_SEQNUM_KEY,
+		    strlen(CTDB_DB_SEQNUM_KEY)) == 0)
+	{
+		return 0;
+	}
+
 	rec.key = kbuf;
 	rec.value = dbuf;
 	rec.store = db_ctdb_store_deny;
diff --git a/source3/lib/dbwrap_util.c b/source3/lib/dbwrap_util.c
index 365f0a0..10902de 100644
--- a/source3/lib/dbwrap_util.c
+++ b/source3/lib/dbwrap_util.c
@@ -452,7 +452,13 @@ NTSTATUS dbwrap_traverse(struct db_context *db,
 	return (ret == -1) ? NT_STATUS_INTERNAL_DB_CORRUPTION : NT_STATUS_OK;
 }
 
-
+NTSTATUS dbwrap_traverse_read(struct db_context *db,
+			 int (*f)(struct db_record*, void*),
+			 void *private_data)
+{
+	int ret = db->traverse_read(db, f, private_data);
+	return (ret == -1) ? NT_STATUS_INTERNAL_DB_CORRUPTION : NT_STATUS_OK;
+}
 
 
 NTSTATUS dbwrap_delete_bystring_upper(struct db_context *db, const char *key)
diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c
index c3d863f..a37fe93 100644
--- a/source3/lib/g_lock.c
+++ b/source3/lib/g_lock.c
@@ -520,7 +520,7 @@ static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name,
 
 	if (!g_lock_parse(talloc_tos(), rec->value, &num_locks, &locks)) {
 		DEBUG(10, ("g_lock_parse for %s failed\n", name));
-		status = NT_STATUS_INTERNAL_ERROR;
+		status = NT_STATUS_FILE_INVALID;
 		goto done;
 	}
 
@@ -532,7 +532,7 @@ static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name,
 
 	if (i == num_locks) {
 		DEBUG(10, ("g_lock_force_unlock: Lock not found\n"));
-		status = NT_STATUS_INTERNAL_ERROR;
+		status = NT_STATUS_NOT_FOUND;
 		goto done;
 	}
 
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c
index 410fc13..0cc9ded 100644
--- a/source3/lib/sharesec.c
+++ b/source3/lib/sharesec.c
@@ -293,7 +293,7 @@ struct security_descriptor *get_share_security( TALLOC_CTX *ctx, const char *ser
 
 	if (data.dptr == NULL) {
 		return get_share_security_default(ctx, psize,
-						  GENERIC_ALL_ACCESS);
+						  SEC_RIGHTS_DIR_ALL);
 	}
 
 	status = unmarshall_sec_desc(ctx, data.dptr, data.dsize, &psd);
@@ -304,14 +304,14 @@ struct security_descriptor *get_share_security( TALLOC_CTX *ctx, const char *ser
 		DEBUG(0, ("unmarshall_sec_desc failed: %s\n",
 			  nt_errstr(status)));
 		return get_share_security_default(ctx, psize,
-						  GENERIC_ALL_ACCESS);
+						  SEC_RIGHTS_DIR_ALL);
 	}
 
 	if (psd) {
 		*psize = ndr_size_security_descriptor(psd, 0);
 	} else {
 		return get_share_security_default(ctx, psize,
-						  GENERIC_ALL_ACCESS);
+						  SEC_RIGHTS_DIR_ALL);
 	}
 
 	return psd;
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 90c645c..d7231be 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -340,7 +340,8 @@ static NTSTATUS ads_find_dc(ADS_STRUCT *ads)
 	}
 
 	if ( !c_realm || !*c_realm ) {
-		DEBUG(0,("ads_find_dc: no realm or workgroup!  Don't know what to do\n"));
+		DEBUG(1, ("ads_find_dc: no realm or workgroup!  Don't know "
+			  "what to do\n"));
 		return NT_STATUS_INVALID_PARAMETER; /* rather need MISSING_PARAMETER ... */
 	}
 
diff --git a/source3/librpc/idl/wbint.idl b/source3/librpc/idl/wbint.idl
index cb8a4e4..92d69c7 100644
--- a/source3/librpc/idl/wbint.idl
+++ b/source3/librpc/idl/wbint.idl
@@ -33,6 +33,7 @@ interface wbint
 	[in,string,charset(UTF8)] char *domain,
 	[in,string,charset(UTF8)] char *name,
 	[in] uint32 flags,
+	[out,string,charset(UTF8)] char **out_domain,
 	[out] lsa_SidType *type,
 	[out] dom_sid *sid
 	);
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 5cf391f..29b86c0 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -55,6 +55,8 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
 		return false;
 	}
 
+	DEBUG(10, ("lookup_name called with [%s]\n", full_name));
+
 	p = strchr_m(full_name, '\\');
 
 	if (p != NULL) {
@@ -79,6 +81,7 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
 	if ((flags & LOOKUP_NAME_DOMAIN) &&
 	    strequal(domain, get_global_sam_name()))
 	{
+		DEBUG(10, ("%s is our own domain\n", domain));
 
 		/* It's our own domain, lookup the name in passdb */
 		if (lookup_global_sam_name(name, flags, &rid, &type)) {
@@ -92,6 +95,8 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
 	if ((flags & LOOKUP_NAME_BUILTIN) &&
 	    strequal(domain, builtin_domain_name()))
 	{
+		DEBUG(10, ("%s is the builtin domain\n", domain));
+
 		if (strlen(name) == 0) {
 			/* Swap domain and name */
 			tmp = name; name = domain; domain = tmp;
@@ -116,6 +121,7 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
 	if ((domain[0] != '\0') &&
 	    (flags & ~(LOOKUP_NAME_DOMAIN|LOOKUP_NAME_ISOLATED)) &&
 	    (winbind_lookup_name(domain, name, &sid, &type))) {
+		DEBUG(10, ("%s\\%s was looked up by winbind\n", domain, name));
 			goto ok;
 	}
 
@@ -144,6 +150,13 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
 		return false;
 	}
 
+	if (domain[0] != '\0') {
+		TALLOC_FREE(tmp_ctx);
+		return false;
+	}
+
+	DEBUG(10, ("guesswork for domain [%s] begins\n", domain));
+
 	/* Now the guesswork begins, we haven't been given an explicit
 	 * domain. Try the sequence as documented on
 	 * http://msdn.microsoft.com/library/en-us/secmgmt/security/lsalookupnames.asp
@@ -154,6 +167,7 @@ bool lookup_name(TALLOC_CTX *mem_ctx,
 	if ((flags & LOOKUP_NAME_WKN) &&
 	    lookup_wellknown_name(tmp_ctx, name, &sid, &domain))
 	{
+		DEBUG(10, ("%s is a well known name\n", full_name));
 		type = SID_NAME_WKN_GRP;


-- 
SAMBA-CTDB repository


More information about the samba-cvs mailing list