[SCM] Samba Shared Repository - branch v4-0-stable updated - release-4-0-0alpha4-168-g74e9526

Andrew Bartlett abartlet at samba.org
Mon Jun 30 11:53:27 GMT 2008


The branch, v4-0-stable has been updated
       via  74e95269fcded3454253452802f404d529508ce5 (commit)
       via  333bd6a219d7c3f3dc0d2fe2034cf13255e8c148 (commit)
       via  757acb6802cfb0e98e91e6062c62b6c5a852302b (commit)
       via  861b79c91fb39b6b7f40d57000770f0f839e6c59 (commit)
       via  3379630a91bd96a34f99ed24ac92380bd97ccb07 (commit)
       via  0aef6d394d7a93cce9aee17af1153b07ea1a9c07 (commit)
       via  b5187dd58ccae03e22ba8857c344a2d7d94f13b3 (commit)
       via  5bf414efbdf279fd1b85eb47e7b47656bc435f11 (commit)
       via  a2a506ba2e044699d147486e987b11d839373784 (commit)
       via  54b06a1c839a9af4565635011e3e624271769cc7 (commit)
       via  be3f3e18d476431f991d08317eb94b4aebe927e6 (commit)
       via  1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd (commit)
       via  a485a363c3dc1b6b4d12410ed8e390b4d64a739f (commit)
       via  23494a91de6d1c36a5db0d622f707f2c15b3f549 (commit)
       via  ddb62bf6cc9371c11778ea6630ef0fbbe22cd4f9 (commit)
       via  d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362 (commit)
       via  963bcfc777679ba122189ea6cf7f94b8d46cdce7 (commit)
       via  daddfae9fd8b7375bd4f469808378edc60a55be0 (commit)
       via  9c220c0dce31fbe4b2f6433f40a52162d21c03f7 (commit)
       via  6479f481dbf2f5c83edec0702ece73e83b6c810e (commit)
       via  c19b28f7579268133939aebe06e1c947d4415182 (commit)
       via  7e20919d5ba9244362503e450273938a7cc94796 (commit)
       via  fa361354433fb9a5c09c84997a7c51f3052c294e (commit)
       via  a18363d72ac58ee27b4ff3b065f3fab50722718a (commit)
       via  7b1bccc33eecce6a8f5b486c321c0e6dd52f108f (commit)
       via  89e90556ec57fce24faf0ed3d6fe262edd974b28 (commit)
       via  c904e28bef95cb0d61bf86f2ba1cef2d4e018d5f (commit)
       via  c161de2245cd26aa26642f09736fc6eeba14cf6d (commit)
       via  7bb1da210ac58b7a8b89077cb9fcde504a0b4b2e (commit)
       via  23280b2e6ed5afb968bf0b8c40febb085eed38a1 (commit)
       via  a0b2440c70a3f453c22159a02ff4a82fe6439cad (commit)
       via  2813882ef3cc3609a74ad83bcee6be0c2cd53494 (commit)
       via  a516bc9a2d4ce86244d0e2fbfacf6fda5e12e987 (commit)
       via  f10c9ca3612d7bdc4c2c221e959f8c48ec2f9349 (commit)
       via  d88be1a1cb543b4e2cc5d15262da786558aa276d (commit)
       via  31cf1a781efce932d0574d7840979fcd0a07ec08 (commit)
       via  7b6927832a1118b142d0d8a3a5548761f5a04f1a (commit)
       via  ba6394cb654f2a6683b5e97fad8e838d8e457e06 (commit)
       via  f2725f14918b7d1cd7664fe41ad0fc184aa794c8 (commit)
       via  0b8508f75eac84ef68850e91300fb837a621cc77 (commit)
       via  a7ee17a10f330297dc4d9d15499276b3985c7a51 (commit)
       via  5ff4ffd162339583c7f6ebee0c8a2efc30d8b65f (commit)
       via  9bbdc682a985f210874c008a0abc25645e7fbd50 (commit)
       via  2b40fd7e950a7f06d2c589eadc0f604a4c65e325 (commit)
       via  274ae4b06a3d2e99ee4fd7f04430d361d500d451 (commit)
       via  9cb5327ac9811b3c1309d0e4082da3f54ab2a050 (commit)
       via  9607e79c3db9743617397c347bb69f87f6525801 (commit)
       via  97b724417fc8110f7c591779b0c17bd072be304f (commit)
       via  3fb35fc03d5cfb48d0d4f51564ef76e99e74f81c (commit)
       via  c9b2e2aa861ccc01e5d92cfe468be1f6324ed294 (commit)
       via  3f48f68800176d992a1bd9b6349f22ec152fc34a (commit)
       via  78760606fa71c370ae3c05b077c5146166bdaa7b (commit)
       via  6416b637ea6570edd27eb8ef3005c408d311f3a3 (commit)
       via  25f500d2233198b88c1d54268f5f6f461cea75d9 (commit)
       via  effc25e805facea001ebd64d383f1a536c61d0e3 (commit)
       via  a422c6c5ff47f36ef3376f54e707561c6a53ac23 (commit)
       via  55a6e852c77ffb91d2e0a0503dab06214f675db8 (commit)
       via  21b4d017a2cccdaa6ab4ed32409f19c612293fd0 (commit)
       via  1a771c664444ff43e141238f473273700b392aa7 (commit)
       via  8b4c7fb200598b7f747fc681f76d464760f693ee (commit)
       via  edd9ecce9511871d9c9942d50eb91c68a8e04ec9 (commit)
       via  fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09 (commit)
       via  5fcb39594b07c7b7a11985711a912b7a4d629ae7 (commit)
       via  87385e4c873f80956dc1c43424dd4f49a993586c (commit)
       via  c85a3632623184cb97c2e8567ca77834e81070a4 (commit)
       via  f573c1ff4443f3002c310d3ba29d8c343ad03907 (commit)
       via  5fb5a4e13db3a03da414876efa717c3de44ca77c (commit)
       via  33789111241a1d97fc105ec4edd7b8054895b28c (commit)
       via  60c93b9777d9bd7dce89f9024ba767f5404ac72d (commit)
       via  d96a6482dad54d1d27a87107865e833a9c32cf53 (commit)
       via  e28481fc0976231c6f4cb7a5f7c7708f4becdb18 (commit)
       via  09cf8c7dd82bb95e2f8782782286869654d96375 (commit)
       via  30a33cd0a64c434d6aee551f641343c3b2a6d9ca (commit)
       via  e12c0b61573f27969a79d4c07a8fd42f6c931d7e (commit)
       via  1b0621068998590e7b1e9528b78744dcd2cd5909 (commit)
       via  7a7e8f30dd3e5bfad788a098872afa8263321cbb (commit)
       via  649f6c0c1084828dda7d50bd2904208192de77da (commit)
       via  0e1fccbd73eb0f219ea9662c56ee6da8a92f641a (commit)
       via  9a5859c33e2377f3c5ee8d637fa81d49cb6f5456 (commit)
       via  c623313189728dd0553384e2e115cf10db4c7f25 (commit)
       via  220b58070239141158d796bd782d62cc36cd19db (commit)
       via  fd9f7c56752a06433cc26fa61a16d87941cbb2d3 (commit)
       via  acbe365e34571218fe312f52edec98f4fe5b76be (commit)
       via  10ffa87b6b7ebfe51e81819feb93a72e9ec10418 (commit)
       via  1659a572c49b2f9cf336b27ec1c1bec1b86d688e (commit)
       via  4ac91e301455721b76f7f456bc50c5c6e47c05d3 (commit)
       via  dd1f24d0c6dfb19ba08282b91998f6881782c4fb (commit)
       via  b32a040c2f0eb28d68837bde727437ca118d1b18 (commit)
       via  412f7a98dd809306ac9f35003fce554e1e1252e7 (commit)
       via  edf6b77a1314d8f91839836855ae049393f73aca (commit)
       via  eb351e33e58abdacdf44cf700f028cc13f52c4c8 (commit)
       via  5457c667647ec156bb7b4f86ce580def4e9350d5 (commit)
       via  d5525b79649ff75d6e9e853615949e4fbe9e0b6e (commit)
       via  9a169c341bfb0c4ff423f05c27345d439890576c (commit)
       via  e566a2f308ac6fb4b526a744f7059b565670aea5 (commit)
       via  3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0 (commit)
       via  7109b6a5a19eb2dbef4259104858b171298bad6e (commit)
       via  f54084b65fce67457cb838544c83ceb17c7d88db (commit)
       via  168bb8473c0cfeb388f9955059f92410b8ba5d06 (commit)
       via  280c411613b21acc1e65e5657b209d266dbad8d3 (commit)
       via  0e8f946ed02a6d2d9469f9ccab5f3342b2b80725 (commit)
       via  74a0a9bb54b2583dde7a5fbadd4d10858de12ee7 (commit)
       via  cd4eddd31354f4ae45e8747da1a70340000716c3 (commit)
       via  22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7 (commit)
       via  d4c06bf333fe9ba2dd8b7ebd51a848d512f40983 (commit)
       via  0f57fcaa2e8af3e2b03ba401f4fda812fe55745b (commit)
       via  f134a701e7c2d64a684d55691fd66e2aaeb15812 (commit)
       via  9c88f5e1de9db34751f16c2247fa91ae2445c5f7 (commit)
       via  74e1dd28f2f669bc196dc16b68c8b175bf835721 (commit)
       via  9a58d9138af51dec6eab832a78506e93a86c34c5 (commit)
       via  bd0ec1754e6e187d421a718410ecd7c21922aa8b (commit)
       via  3a4198b1181d6b97804afebbb91dac5a8242f615 (commit)
       via  4933cd49ac81454cbd4b0fc33d888585a9437b9d (commit)
       via  5b01206f1bb2e62c08bda34b45904ec4f83ac5de (commit)
       via  1d52d9cc70158dbe30325220aa5c1e6203c8b72b (commit)
       via  4ae5c1a8bd43aa04ce54d72a318c7f445e0e5027 (commit)
       via  33700d4a97e14aab1b45b3ddb8c80c48cd789bc6 (commit)
       via  0dbacbf8be0eacaa4db6477873b7512f7261ef4c (commit)
       via  72bb01dda4d425528e28cd96e249595dc6c1952f (commit)
       via  67e43860b4973a458676b36785570bb4a66e046a (commit)
       via  0241af873fdefd5856932190ca0019a2d3c05703 (commit)
       via  0671dce355432a2a4c08ab010831eadd73e4561e (commit)
       via  3d798a1440603b7929955f2120f09ba1482885a1 (commit)
       via  abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd (commit)
       via  e9fd9b821c04d1cb7b574f539dd8169611e662aa (commit)
       via  056f16e664e581bab1c07759e99ad4f6685c58eb (commit)
       via  8e96f2edb003d997e71e9e237463882696279d0f (commit)
       via  8e919dcb0826a5b25d037ee6144af5f7cb21f3ae (commit)
       via  0643b5a2bfc401d8318964241ad522eb427a170e (commit)
       via  388f4fde3655146bf57b4c51c59c39f475aa7fe8 (commit)
       via  dcdfee611ccc0ae798e3eea2cfdf3c7642dc5677 (commit)
       via  1e6bfb1aa7eba1b92ee4bfb318ba843752a993a9 (commit)
       via  c014ffabc65c30a6b83c8f9f9f9a80bb79333f59 (commit)
       via  d4d4d62939e325f8529b11fcd2d490e8f63293b0 (commit)
       via  fa2ecfea7a1acc388a86e8fba5b42df7925c9045 (commit)
       via  d206517f90ac02e829193c5a17e5df25059cf18d (commit)
       via  feca16dd6d03730b4a67adf5d912ba2d5e1a3025 (commit)
       via  2c8904be3bac2c696712cc3160fe95d62afde43a (commit)
       via  9d74201e462f2f95ed5bd91200681db3bd2a9277 (commit)
       via  f65e43e9456e8e951d172779cba53ab417114b20 (commit)
       via  03f43a9a91bffd60de8f59f8fb717505a428d070 (commit)
       via  c285b540cb1c2b554a85ef08a4280f544d9d20cc (commit)
       via  62030027d1ab735fb9c590fafb0887dc882662d1 (commit)
       via  61bad69e2d7f84e2c6d6fb82917cfa86b17f54b0 (commit)
       via  7f033ce4fb6fc897f8159926d5a6d2e45dd447b6 (commit)
       via  58c118ab4d2b76c4ea68d79b711b81900634f767 (commit)
       via  418e2592b48d558ff1d32031d64263ae21cf1eb0 (commit)
       via  c8e15d4c185f18322a882aa908939fa9d0e341a0 (commit)
       via  c3ba19ca62affced96b927fcbe63cf5d075aed22 (commit)
       via  def52cc0988c26a815e74b3391e5857512408d90 (commit)
       via  3868d8ce630c71e2c70aae442fcdbd68ba1eb708 (commit)
       via  fde9880f9943897549859037b0fc9341d3a032f7 (commit)
       via  9c004df8910c07d75bb3f75d7c3cfba9f9c94f51 (commit)
       via  e9bc72495affb31e5c3d25be7e86d51659333374 (commit)
       via  7e24ec1430cc14c732ad78f3ce8869931996f6b7 (commit)
       via  436cb17b869e2d6cc57936ccc5e81680fb992341 (commit)
       via  b8f2e6321dd06508f9cc48e8d76d20232cb7d60e (commit)
       via  63f315572969e7fc52bdc7c0b38eaaee736d5e2a (commit)
       via  58f66184f0f732a78e86bbb0f3c29e920f086d08 (commit)
       via  85d1873ee92fcc7df3addc42ddb8189144901f8b (commit)
       via  12ecd7f4b8934e3e11e8b6019b92b82a53e55b96 (commit)
       via  7a1877db15e6a57f0f057dcf5da6609b9bdeef51 (commit)
       via  9483b7c137b61d3029a1e1e7d8d8d0723b541129 (commit)
       via  a2854fd6eaf097b5a9a562e0b8f1a599485fec42 (commit)
       via  f84620324a8cebcd2fd19388d910928ca1ad1334 (commit)
       via  7a8ee50105265a4da1f2b89144094f2269c6b119 (commit)
       via  ed8f16379d01d3dffd2645e2b275aa27507dfec9 (commit)
       via  70569a78cf3443ce5c0b0a28dcd17a3031d8aa55 (commit)
      from  f9ef7009bc73e3ee27f0ef32d6983bc9286d7e4d (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-stable


- Log -----------------------------------------------------------------
commit 74e95269fcded3454253452802f404d529508ce5
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Jun 30 18:12:20 2008 +1000

    Mark as 'not a git snapshot'.

commit 333bd6a219d7c3f3dc0d2fe2034cf13255e8c148
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Jun 30 18:07:26 2008 +1000

    Prepare for alpha5 tarball.
    
    Now we have packaging/Fedora in the tree, make that directory or copy
    files into there.
    
    Andrew Bartlett

commit 757acb6802cfb0e98e91e6062c62b6c5a852302b
Merge: 23494a91de6d1c36a5db0d622f707f2c15b3f549 861b79c91fb39b6b7f40d57000770f0f839e6c59
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Jun 30 18:06:02 2008 +1000

    Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

commit 23494a91de6d1c36a5db0d622f707f2c15b3f549
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Mon Jun 30 14:04:43 2008 +1000

    Fix small formatting details in WHATSNET for an alpha5 release.
    
    Andrew Bartlett

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

Summary of changes:
 BUGS.txt                                          |   22 +-
 WHATSNEW.txt                                      |   87 +-
 packaging/Fedora/samba4.init                      |  113 +
 packaging/Fedora/samba4.log                       |    7 +
 packaging/Fedora/samba4.spec                      |  350 ++
 packaging/Fedora/samba4.sysconfig                 |    2 +
 source/Makefile                                   |   43 +-
 source/VERSION                                    |    2 +-
 source/auth/credentials/credentials_files.c       |    3 +-
 source/auth/credentials/credentials_krb5.c        |   30 +-
 source/auth/gensec/schannel_state.c               |    1 +
 source/auth/ntlm/config.mk                        |    1 -
 source/auth/ntlmssp/ntlmssp_parse.c               |    6 +-
 source/auth/session.h                             |    1 +
 source/build/m4/check_cc.m4                       |    6 +-
 source/build/m4/check_path.m4                     |   39 +-
 source/build/make/rules.mk                        |    2 -
 source/build/make/templates.mk                    |   33 +
 source/build/smb_build/input.pm                   |    1 +
 source/build/smb_build/main.pl                    |    4 +-
 source/build/smb_build/makefile.pm                |    9 +-
 source/build/smb_build/summary.pm                 |    3 -
 source/cldap_server/cldap_server.c                |    2 +-
 source/client/cifsdd.c                            |    2 +-
 source/client/client.c                            |    2 +-
 source/client/tests/test_cifsdd.sh                |   73 +
 source/client/tests/test_smbclient.sh             |  166 +
 source/cluster/ctdb/ib/ibwrapper_test.c           |    2 +-
 source/cluster/ctdb/opendb_ctdb.c                 |   51 +-
 source/cluster/ctdb/server/ctdb_daemon.c          |    2 +-
 source/cluster/ctdb/server/ctdb_recoverd.c        |    2 +-
 source/cluster/ctdb/server/ctdbd.c                |    2 +-
 source/cluster/ctdb/tests/ctdb_bench.c            |    2 +-
 source/cluster/ctdb/tests/ctdb_fetch.c            |    2 +-
 source/cluster/ctdb/tests/ctdb_store.c            |    2 +-
 source/cluster/ctdb/tools/ctdb.c                  |    2 +-
 source/configure.ac                               |   12 +-
 source/dsdb/common/util.c                         |    1 +
 source/dsdb/samdb/cracknames.c                    |    3 +-
 source/dsdb/samdb/ldb_modules/config.mk           |   87 +-
 source/dsdb/samdb/ldb_modules/simple_ldap_map.c   |    2 +-
 source/dsdb/samdb/samdb.c                         |    5 +-
 source/dynconfig/config.mk                        |    4 +-
 source/dynconfig/dynconfig.c                      |    3 +
 source/dynconfig/dynconfig.h                      |    1 +
 source/heimdal/lib/gssapi/krb5/init_sec_context.c |   22 +-
 source/heimdal/lib/gssapi/krb5/set_cred_option.c  |    4 +-
 source/heimdal_build/asn1_deps.pl                 |    2 +-
 source/heimdal_build/config.h                     |    2 +
 source/heimdal_build/config.m4                    |  256 --
 source/heimdal_build/config.mk                    |  624 ---
 source/heimdal_build/et_deps.pl                   |    2 +-
 source/heimdal_build/internal.m4                  |  256 ++
 source/heimdal_build/internal.mk                  |  624 +++
 source/include/includes.h                         |    6 +
 source/kdc/hdb-ldb.c                              |    4 +-
 source/kdc/kdc.c                                  |    5 +-
 source/kdc/kdc.h                                  |    1 +
 source/kdc/kpasswdd.c                             |    2 +-
 source/kdc/pac-glue.c                             |    2 +-
 source/lib/crypto/config.mk                       |    5 +-
 source/lib/crypto/crypto.h                        |    4 +-
 source/lib/crypto/hmacsha1.c                      |   86 -
 source/lib/crypto/hmacsha1.h                      |   33 -
 source/lib/crypto/hmacsha1test.c                  |   97 -
 source/lib/crypto/hmacsha256.c                    |   91 +
 source/lib/crypto/hmacsha256.h                    |   38 +
 source/lib/crypto/sha1.c                          |  390 --
 source/lib/crypto/sha1.h                          |   62 -
 source/lib/crypto/sha1test.c                      |  110 -
 source/lib/crypto/sha256.c                        |  234 +
 source/lib/crypto/sha256.h                        |   91 +
 source/lib/events/config.m4                       |   18 -
 source/lib/events/config.mk                       |   26 +-
 source/lib/events/configure.ac                    |    2 +-
 source/lib/events/events.c                        |   43 +-
 source/lib/events/events.h                        |    4 +
 source/lib/events/events.mk                       |   74 +-
 source/lib/events/events.py                       |    2 +-
 source/lib/events/events_aio.c                    |   24 +-
 source/lib/events/events_debug.c                  |   83 +
 source/lib/events/events_epoll.c                  |   31 +-
 source/lib/events/events_internal.h               |   32 +-
 source/lib/events/events_liboop.c                 |    5 +-
 source/lib/events/events_s4.c                     |  108 +
 source/lib/events/events_select.c                 |   23 +-
 source/lib/events/events_signal.c                 |   11 +-
 source/lib/events/events_standard.c               |   28 +-
 source/lib/events/events_timed.c                  |  102 +-
 source/lib/events/events_util.c                   |  102 +-
 source/lib/events/events_util.h                   |   10 +-
 source/lib/events/libevents.m4                    |   47 +-
 source/lib/events/rules.mk                        |   21 +
 source/lib/ldb-samba/config.mk                    |    2 +-
 source/lib/ldb/Makefile.in                        |    9 +-
 source/lib/ldb/autogen.sh                         |    1 +
 source/lib/ldb/common/ldb.c                       |  366 +-
 source/lib/ldb/common/ldb_modules.c               |  224 +-
 source/lib/ldb/config.mk                          |   85 +-
 source/lib/ldb/configure.ac                       |    1 +
 source/lib/ldb/examples/ldbreader.c               |    2 +-
 source/lib/ldb/examples/ldifreader.c              |    2 +-
 source/lib/ldb/external/libevents.m4              |    4 +
 source/lib/ldb/include/ldb.h                      |    5 +-
 source/lib/ldb/include/ldb_includes.h             |    1 +
 source/lib/ldb/include/ldb_private.h              |    2 +
 source/lib/ldb/ldb.i                              |    5 +-
 source/lib/ldb/ldb.pc.in                          |    2 +-
 source/lib/ldb/ldb_ildap/config.mk                |    6 +-
 source/lib/ldb/ldb_ildap/ldb_ildap.c              |   73 +-
 source/lib/ldb/ldb_tdb/ldb_tdb.c                  |  149 +-
 source/lib/ldb/ldb_wrap.c                         |    5 +-
 source/lib/ldb/nssldb/ldb-nss.c                   |    2 +-
 source/lib/ldb/python.mk                          |    8 +-
 source/lib/ldb/standalone.sh                      |    3 +
 source/lib/ldb/tests/python/ldap.py               |  216 +-
 source/lib/ldb/tools/ad2oLschema.c                |    2 +-
 source/lib/ldb/tools/config.mk                    |   28 +-
 source/lib/ldb/tools/ldbadd.c                     |    2 +-
 source/lib/ldb/tools/ldbdel.c                     |    2 +-
 source/lib/ldb/tools/ldbedit.c                    |    2 +-
 source/lib/ldb/tools/ldbmodify.c                  |    2 +-
 source/lib/ldb/tools/ldbrename.c                  |    2 +-
 source/lib/ldb/tools/ldbsearch.c                  |    5 +-
 source/lib/ldb/tools/ldbtest.c                    |    4 +-
 source/lib/ldb/tools/oLschema2ldif.c              |    2 +-
 source/lib/ldb_wrap.c                             |   23 +-
 source/lib/messaging/pymessaging.c                |    4 +-
 source/lib/popt/config.mk                         |    2 +-
 source/lib/registry/registry.i                    |    2 +-
 source/lib/registry/registry_wrap.c               |   48 +-
 source/lib/registry/tools/regdiff.c               |    2 +-
 source/lib/registry/tools/regpatch.c              |    2 +-
 source/lib/registry/tools/regshell.c              |    2 +-
 source/lib/registry/tools/regtree.c               |    2 +-
 source/lib/replace/libreplace.m4                  |    3 +-
 source/lib/replace/win32.m4                       |    8 +-
 source/lib/socket_wrapper/config.m4               |    7 -
 source/lib/socket_wrapper/socket_wrapper.c        |   12 +-
 source/lib/talloc/config.mk                       |    2 +-
 source/lib/tdb/python.mk                          |    4 +-
 source/lib/tdb/tdb.i                              |    4 +
 source/lib/tdb/tdb.py                             |   14 +
 source/lib/tdb/tdb_wrap.c                         |   10 +-
 source/lib/tls/config.m4                          |   61 +-
 source/lib/torture/torture.h                      |    2 +-
 source/lib/util/util_ldb.c                        |    1 +
 source/lib/util/util_tdb.c                        |    8 +-
 source/libcli/config.mk                           |    8 +-
 source/libcli/ldap/ldap_ndr.c                     |    1 +
 source/libcli/nbt/pynbt.c                         |  408 ++
 source/libcli/raw/interfaces.h                    |   17 +-
 source/libcli/raw/raweas.c                        |    2 +
 source/libcli/raw/rawsetfileinfo.c                |   29 +-
 source/libcli/raw/trans2.h                        |   27 +-
 source/libcli/smb2/session.c                      |   10 +-
 source/libcli/smb2/signing.c                      |   89 +-
 source/libcli/smb2/smb2.h                         |    2 +-
 source/libcli/smb2/tcon.c                         |    1 +
 source/libcli/smb2/transport.c                    |   32 +-
 source/libcli/swig/libcli_nbt.i                   |  101 -
 source/libcli/swig/libcli_nbt.py                  |  127 -
 source/libcli/swig/libcli_nbt_wrap.c              | 4771 ---------------------
 source/libcli/swig/libcli_smb_wrap.c              |    2 +-
 source/libcli/util/nterr.c                        |    1 +
 source/libcli/util/pyerrors.h                     |    2 +-
 source/libnet/libnet_join.c                       |    2 +-
 source/libnet/py_net.c                            |    2 +-
 source/librpc/config.mk                           |    6 +-
 source/librpc/idl/opendb.idl                      |    2 +
 source/librpc/rpc/dcerpc_smb2.c                   |    2 +-
 source/librpc/rpc/pyrpc.c                         |    2 +-
 source/main.mk                                    |    2 +-
 source/nbt_server/config.mk                       |    1 -
 source/nbt_server/dgram/netlogon.c                |   12 +-
 source/nbt_server/nbt_server.c                    |    2 +-
 source/nbt_server/wins/winsdb.h                   |    2 +-
 source/nsswitch/tests/test_wbinfo.sh              |  187 +
 source/nsswitch/wbinfo.c                          |   40 +-
 source/ntp_signd/ntp_signd.c                      |   11 +-
 source/ntvfs/common/brlock.c                      |    2 +-
 source/ntvfs/common/brlock_tdb.c                  |    8 +-
 source/ntvfs/common/opendb.c                      |   24 +-
 source/ntvfs/common/opendb.h                      |    9 +-
 source/ntvfs/common/opendb_tdb.c                  |   51 +-
 source/ntvfs/ntvfs.h                              |    2 +-
 source/ntvfs/ntvfs_base.c                         |    2 -
 source/ntvfs/ntvfs_generic.c                      |   45 +-
 source/ntvfs/posix/config.mk                      |   23 +-
 source/ntvfs/posix/pvfs_acl.c                     |   22 +
 source/ntvfs/posix/pvfs_fileinfo.c                |   31 +-
 source/ntvfs/posix/pvfs_lock.c                    |    2 +-
 source/ntvfs/posix/pvfs_open.c                    |   80 +-
 source/ntvfs/posix/pvfs_oplock.c                  |    2 +-
 source/ntvfs/posix/pvfs_rename.c                  |    8 +-
 source/ntvfs/posix/pvfs_resolve.c                 |   32 +-
 source/ntvfs/posix/pvfs_search.c                  |    2 +-
 source/ntvfs/posix/pvfs_seek.c                    |    2 +-
 source/ntvfs/posix/pvfs_setfileinfo.c             |   87 +-
 source/ntvfs/posix/pvfs_unlink.c                  |    9 +-
 source/ntvfs/posix/pvfs_write.c                   |   55 +
 source/ntvfs/posix/vfs_posix.c                    |   11 +
 source/ntvfs/posix/vfs_posix.h                    |   15 +
 source/param/loadparm.c                           |    4 +
 source/param/param.h                              |    1 +
 source/param/param_wrap.c                         |   24 +-
 source/param/secrets.c                            |    9 +-
 source/param/secrets.h                            |    5 +-
 source/param/util.c                               |    2 +-
 source/pidl/lib/Parse/Pidl/NDR.pm                 |    7 +-
 source/rpc_server/lsa/dcesrv_lsa.c                |    4 +-
 source/samba4-knownfail                           |    1 -
 source/samba4-skip                                |    4 +-
 source/script/installbin.sh                       |   40 -
 source/script/mkversion.sh                        |    8 +-
 source/script/uninstallbin.sh                     |   42 -
 source/scripting/python/ac_pkg_swig.m4            |    2 +-
 source/scripting/python/examples/netbios.py       |   28 +
 source/scripting/python/samba/provision.py        |   62 +-
 source/selftest/config.mk                         |    2 +-
 source/selftest/samba4_tests.sh                   |   17 +-
 source/selftest/target/Samba4.pm                  |   17 +-
 source/setup/newuser                              |    8 -
 source/setup/tests/blackbox_provision-backend.sh  |   25 +
 source/smb_server/smb/trans2.c                    |   15 +-
 source/smb_server/smb2/fileinfo.c                 |    5 +
 source/smb_server/smb2/negprot.c                  |   15 +-
 source/smb_server/smb2/receive.c                  |   40 +
 source/smb_server/smb2/sesssetup.c                |    8 +
 source/smb_server/smb2/tcon.c                     |    2 +-
 source/smb_server/smb_server.h                    |    2 +
 source/smbd/process_model.c                       |    1 +
 source/smbd/process_prefork.c                     |    4 +-
 source/smbd/process_standard.c                    |    4 +-
 source/smbd/process_thread.c                      |    4 +-
 source/smbd/server.c                              |   22 +-
 source/smbd/service_stream.c                      |    4 +-
 source/torture/basic/delaywrite.c                 |   16 +-
 source/torture/gentest.c                          |   21 +-
 source/torture/ldap/cldap.c                       |    2 +-
 source/torture/libnet/libnet_BecomeDC.c           |    4 +-
 source/torture/local/local.c                      |    5 +-
 source/torture/locktest.c                         |    2 +-
 source/torture/locktest2.c                        |    2 +-
 source/torture/masktest.c                         |    2 +-
 source/torture/nbench/nbench.c                    |    3 +-
 source/torture/nbt/dgram.c                        |    4 +-
 source/torture/nbt/nbt.c                          |    5 +
 source/torture/nbt/query.c                        |    3 +-
 source/torture/nbt/register.c                     |    6 +-
 source/torture/nbt/wins.c                         |    2 +-
 source/torture/rpc/drsuapi.c                      |    8 +-
 source/torture/rpc/drsuapi_cracknames.c           |    2 +-
 source/torture/rpc/join.c                         |    4 +-
 source/torture/rpc/lsa.c                          |    2 +-
 source/torture/rpc/rpc.c                          |    2 +-
 source/torture/rpc/rpc.h                          |    2 +-
 source/torture/rpc/samlogon.c                     |    8 +-
 source/torture/rpc/samr_accessmask.c              |    2 +-
 source/torture/rpc/samsync.c                      |    6 +-
 source/torture/rpc/schannel.c                     |    8 +-
 source/torture/rpc/testjoin.c                     |   18 +-
 source/torture/smb2/getinfo.c                     |   35 +
 source/torture/smb2/lock.c                        |   12 +-
 source/torture/smb2/scan.c                        |   17 +-
 source/torture/smbtorture.c                       |    2 +-
 source/utils/net/net.c                            |    2 +-
 source/utils/nmblookup.c                          |    2 +-
 source/utils/ntlm_auth.c                          |    6 +-
 source/winbind/wb_init_domain.c                   |   32 -
 source/winbind/wb_server.c                        |   15 +-
 source/winbind/wb_server.h                        |    2 -
 testprogs/blackbox/test_cifsdd.sh                 |   73 -
 testprogs/blackbox/test_smbclient.sh              |  166 -
 testprogs/blackbox/test_wbinfo.sh                 |  187 -
 testprogs/blackbox/test_wintest.sh                |   45 +
 testprogs/blackbox/wintest/wintest.conf           |    7 +
 testprogs/ejs/ldap.js                             | 1596 -------
 278 files changed, 5340 insertions(+), 10354 deletions(-)
 create mode 100644 packaging/Fedora/samba4.init
 create mode 100644 packaging/Fedora/samba4.log
 create mode 100644 packaging/Fedora/samba4.spec
 create mode 100644 packaging/Fedora/samba4.sysconfig
 create mode 100755 source/client/tests/test_cifsdd.sh
 create mode 100755 source/client/tests/test_smbclient.sh
 delete mode 100644 source/heimdal_build/config.m4
 delete mode 100644 source/heimdal_build/config.mk
 create mode 100644 source/heimdal_build/internal.m4
 create mode 100644 source/heimdal_build/internal.mk
 delete mode 100644 source/lib/crypto/hmacsha1.c
 delete mode 100644 source/lib/crypto/hmacsha1.h
 delete mode 100644 source/lib/crypto/hmacsha1test.c
 create mode 100644 source/lib/crypto/hmacsha256.c
 create mode 100644 source/lib/crypto/hmacsha256.h
 delete mode 100644 source/lib/crypto/sha1.c
 delete mode 100644 source/lib/crypto/sha1.h
 delete mode 100644 source/lib/crypto/sha1test.c
 create mode 100644 source/lib/crypto/sha256.c
 create mode 100644 source/lib/crypto/sha256.h
 delete mode 100644 source/lib/events/config.m4
 create mode 100644 source/lib/events/events_debug.c
 create mode 100644 source/lib/events/events_s4.c
 create mode 100644 source/lib/events/rules.mk
 create mode 100644 source/lib/ldb/external/libevents.m4
 create mode 100644 source/libcli/nbt/pynbt.c
 delete mode 100644 source/libcli/swig/libcli_nbt.i
 delete mode 100644 source/libcli/swig/libcli_nbt.py
 delete mode 100644 source/libcli/swig/libcli_nbt_wrap.c
 create mode 100755 source/nsswitch/tests/test_wbinfo.sh
 delete mode 100755 source/script/installbin.sh
 delete mode 100755 source/script/uninstallbin.sh
 create mode 100644 source/scripting/python/examples/netbios.py
 mode change 100644 => 100755 source/setup/setpassword
 create mode 100755 source/setup/tests/blackbox_provision-backend.sh
 delete mode 100755 testprogs/blackbox/test_cifsdd.sh
 delete mode 100755 testprogs/blackbox/test_smbclient.sh
 delete mode 100755 testprogs/blackbox/test_wbinfo.sh
 create mode 100755 testprogs/blackbox/test_wintest.sh
 create mode 100644 testprogs/blackbox/wintest/wintest.conf
 delete mode 100755 testprogs/ejs/ldap.js


Changeset truncated at 500 lines:

diff --git a/BUGS.txt b/BUGS.txt
index 52e1791..1a9790d 100644
--- a/BUGS.txt
+++ b/BUGS.txt
@@ -1,5 +1,23 @@
-Samba 4 is still feature incomplete. If you are using it for anything other
-than education you are insane, or perhaps just very interested.
+Samba4 alpha4 is not a final Samba release.  That is more a reference
+to Samba4's lack of the features we expect you will need than a
+statement of code quality, but clearly it hasn't seen a broad
+deployment yet.  If you were to upgrade Samba3 (or indeed Windows) to
+Samba4, you would find many things work, but that other key features
+you may have relied on simply are not there yet.
+
+For example, while Samba 3.0 is an excellent member of a Active
+Directory domain, Samba4 is happier as a domain controller, and it is
+in this role where it has seen deployment into production.
+
+Samba4 is subjected to an awesome battery of tests on an
+automated basis, we have found Samba4 to be very stable in it's
+behaviour.  We have to recommend against upgrading production servers
+from Samba 3 to Samba 4 at this stage, because there may be the features on
+which you may rely that are not present, or the mapping of
+your configuration and user database may not be complete. 
+
+If you are upgrading, or looking to develop, test or deploy Samba4, you should
+backup all configuration and data.
 
 We welcome your testing, please file bug reports at
 https://bugzilla.samba.org/, product: Samba4.  Please include as much
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index e4c4ea8..726fb1c 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -1,4 +1,4 @@
-What's new in Samba 4 alpha4
+What's new in Samba 4 alpha5
 ============================
 
 Samba 4 is the ambitious next version of the Samba suite that is being
@@ -6,17 +6,13 @@ developed in parallel to the stable 3.0 series. The main emphasis in
 this branch is support for the Active Directory logon protocols used
 by Windows 2000 and above.
 
-Samba 4 is currently not yet in a state where it is usable in
-production environments. Note the WARNINGS below, and the STATUS file,
-which aims to document what should and should not work.
-
-Samba4 alpha4 follows on from the alpha release series we have been
-publishing since September last year.
+Samba4 alpha5 follows on from the alpha release series we have been
+publishing since September 2007
 
 WARNINGS
 ========
 
-Samba4 alpha4 is not a final Samba release.  That is more a reference
+Samba4 alpha5 is not a final Samba release.  That is more a reference
 to Samba4's lack of the features we expect you will need than a
 statement of code quality, but clearly it hasn't seen a broad
 deployment yet.  If you were to upgrade Samba3 (or indeed Windows) to
@@ -24,14 +20,17 @@ Samba4, you would find many things work, but that other key features
 you may have relied on simply are not there yet.
 
 For example, while Samba 3.0 is an excellent member of a Active
-Directory domain, Samba4 is happier as a domain controller: (This is
-where we have done most of the research and development).
-
-While Samba4 is subjected to an awesome battery of tests on an
-automated basis, and we have found Samba4 to be very stable in it's
-behaviour, we have to recommend against upgrading production servers
-from Samba 3 to Samba 4 at this stage.  If you are upgrading an
-experimental server, or looking to develop and test Samba, you should
+Directory domain, Samba4 is happier as a domain controller, and it is
+in this role where it has seen deployment into production.
+
+Samba4 is subjected to an awesome battery of tests on an
+automated basis, we have found Samba4 to be very stable in it's
+behaviour.  We have to recommend against upgrading production servers
+from Samba 3 to Samba 4 at this stage, because there may be the features on
+which you may rely that are not present, or the mapping of
+your configuration and user database may not be complete. 
+
+If you are upgrading, or looking to develop, test or deploy Samba4, you should
 backup all configuration and data.
 
 NEW FEATURES
@@ -63,19 +62,24 @@ working on modules to map between AD-like behaviours and this backend.
 We are aiming for Samba 4 to be powerful frontend to large
 directories.
 
-CHANGES SINCE Alpha3
+CHANGES SINCE Alpha4
 =====================
 
-In the time since Samba4 Alpha2 was released in December 2007, Samba has
+In the time since Samba4 Alpha4 was released in June 2008, Samba has
 continued to evolve, but you may particularly notice these areas:
 
-  Python Bindings: Bindings for Python are now used for all internal
-  scripting, and the system python installation is used to run all
-  Samba python scripts (in place of smbpython found in the previous
-  alpha).
+  LDAP backend support restored (issues preventing the use of the LDAP
+  backend in alpha4 have been addressed).
+
+  SMB2 Support:  The SMB2 server, while still disabled, has improved,
+  and now supports SMB2 signing. 
+
+  OpenChange support:  Updates have been made since alpha4 to better
+  support OpenChange's use of Samba4's libraries. 
 
-  As such Python is no longer optional, and configure will generate an
-  error if it cannot locate an appropriate Python installation.
+  Faster ldb loading:  A fix to avoid calling 'init_module' (which was
+  not defined by Samba modules, but was by the C library) will fix
+  some of the slowness in authentication. 
 
   SWAT Remains Disabled: Due to a lack of developer time and without a
   long-term web developer to maintain it, the SWAT web UI remains been
@@ -84,26 +88,6 @@ continued to evolve, but you may particularly notice these areas:
   GNU Make: To try and simplfy our build system, we rely on GNU Make
   to avoid autogenerating a massive single makefile. 
 
-  Registry: Samba4's registry library has continued to improve.
-
-  ID mapping: Samba4 uses the internal ID mapping in winbind for all
-  but a few core users.  Samba users should not appear in /etc/passwd,
-  as Samba will generate new user and group IDs regradless. 
-
-  NTP: Samba4 can act as a signing server for the ntp.org NTP deamon,
-  allowing NTPd to reply using Microsoft's non-standard signing
-  scheme.  A patch to make NTPd talk to Samba for this purpose has
-  been submitted to the ntp.org project.
-
-  CLDAP: Users should experience less arbitary delays and more success with
-  group policy, domain joins and logons due to an improved
-  implementation of CLDAP and the 'netlogon' mailslot datagrams.
-
-  SMB2: The Samba4 SMB2 server and testsuite have been greatly
-  improved, but the SMB2 server remains off by default.
-
-  Secure DNS update: Configuration for GSS-TSIG updates of DNS records
-  is now generated by the provision script.
 
 These are just some of the highlights of the work done in the past few
 months.  More details can be found in our GIT history.
@@ -123,22 +107,23 @@ KNOWN ISSUES
 
 - There is no printing support in the current release.
 
-- There is no netbios browsing support in the current release
+- There is no NetBIOS browsing support in the current release
 
 - The Samba4 port of the CTDB clustering support is not yet complete
 
 - Clock Synchronisation is critical.  Many 'wrong password' errors are
   actually due to Kerberos objecting to a clock skew between client
-  and server.  (The NTP work is partly to assist with this problem).
+  and server.  (The NTP work in the previous alpha is partly to assist
+  with this problem).
 
-- Samba4 alpha4 is currently only portable to recent Linux
+- Samba4 alpha5 is currently only portable to recent Linux
   distributions.  Work to return support for other Unix varients is
   expected during the next alpha cycle
 
-- Samba4 alpha4 is incompatible with GnuTLS 2.0, found in Fedora 9 and
-  recent Ubuntu releases.  Please remove the
-  gnutls-devel/libgnutls-dev package before compiling (otherwise 'make
-  test' and LDAPS operations will hang).
+- Samba4 alpha5 is incompatible with GnuTLS 2.0, found in Fedora 9 and
+  recent Ubuntu releases.  GnuTLS use may be disabled using the
+  --disable-gnutls argument to ./configure. (otherwise 'make test' and
+  LDAPS operations will hang).
 
 RUNNING Samba4
 ==============
diff --git a/packaging/Fedora/samba4.init b/packaging/Fedora/samba4.init
new file mode 100644
index 0000000..a04cce9
--- /dev/null
+++ b/packaging/Fedora/samba4.init
@@ -0,0 +1,113 @@
+#!/bin/sh
+#
+# chkconfig: - 91 35
+# description: Starts and stops the Samba smbd daemon \
+#	       used to provide SMB network services.
+#
+# pidfile: /var/run/samba4/smbd.pid
+# config:  /etc/samba4/smb.conf
+
+SAMBA_NAME=samba4
+
+# Source function library.
+if [ -f /etc/init.d/functions ] ; then
+  . /etc/init.d/functions
+elif [ -f /etc/rc.d/init.d/functions ] ; then
+  . /etc/rc.d/init.d/functions
+else
+  exit 1
+fi
+
+# Avoid using root's TMPDIR
+unset TMPDIR
+
+# Source networking configuration.
+. /etc/sysconfig/network
+
+if [ -f /etc/sysconfig/$SAMBA_NAME ]; then
+   . /etc/sysconfig/$SAMBA_NAME
+fi
+
+# Check that networking is up.
+[ ${NETWORKING} = "no" ] && exit 1
+
+# Check that smb.conf exists.
+[ -f /etc/$SAMBA_NAME/smb.conf ] || exit 6
+
+RETVAL=0
+
+
+start() {
+	echo -n $"Starting Samba services: "
+	daemon smbd $SMBDOPTIONS
+	RETVAL=$?
+	echo
+	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SAMBA_NAME || \
+	   RETVAL=1
+	return $RETVAL
+}	
+
+stop() {
+	echo -n $"Shutting down Samba services: "
+	killproc smbd
+	RETVAL=$?
+	echo
+	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$SAMBA_NAME
+	return $RETVAL
+}	
+
+restart() {
+	stop
+	start
+}	
+
+reload() {
+        echo -n $"Reloading smb.conf file: "
+	killproc smbd -HUP
+	RETVAL=$?
+	echo
+	return $RETVAL
+}	
+
+rhstatus() {
+	status smbd
+	return $?
+}	
+
+
+# Allow status as non-root.
+if [ "$1" = status ]; then
+       rhstatus
+       exit $?
+fi
+
+# Check that we can write to it... so non-root users stop here
+[ -w /etc/$SAMBA_NAME/smb.conf ] || exit 4
+
+
+
+case "$1" in
+  start)
+  	start
+	;;
+  stop)
+  	stop
+	;;
+  restart)
+  	restart
+	;;
+  reload)
+  	reload
+	;;
+  status)
+  	rhstatus
+	;;
+  condrestart)
+  	[ -f /var/lock/subsys/$SAMBA_NAME ] && restart || :
+	;;
+  *)
+	echo $"Usage: $0 {start|stop|restart|reload|status|condrestart}"
+	exit 2
+esac
+
+exit $?
diff --git a/packaging/Fedora/samba4.log b/packaging/Fedora/samba4.log
new file mode 100644
index 0000000..cd0cf9a
--- /dev/null
+++ b/packaging/Fedora/samba4.log
@@ -0,0 +1,7 @@
+/var/log/samba4/* {
+    notifempty
+    olddir /var/log/samba4/old
+    missingok
+    sharedscripts
+    copytruncate
+}
diff --git a/packaging/Fedora/samba4.spec b/packaging/Fedora/samba4.spec
new file mode 100644
index 0000000..4e4de03
--- /dev/null
+++ b/packaging/Fedora/samba4.spec
@@ -0,0 +1,350 @@
+%define main_release 2
+%define alpha_version 5
+%define samba_version 4.0.0alpha%{alpha_version}
+%define tarball_name samba-4.0.0alpha%{alpha_version}
+
+#Set what versions we require for tdb and talloc
+%define tdb_version 1.1.1
+%define talloc_version 1.2.0
+
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Summary: The Samba4 CIFS and AD client and server suite
+Name: samba4
+Epoch: 0
+Version: 4.0.0
+Release: 0.%{main_release}.alpha%{alpha_version}%{?dist}
+License: GPLv3+, LGPLv3+, BSD
+Group: System Environment/Daemons
+URL: http://www.samba.org/
+
+Source: http://download.samba.org/samba/ftp/samba4/%{tarball_name}.tar.gz
+
+# Red Hat specific replacement-files
+Source1: %{name}.log
+Source4: %{name}.sysconfig
+Source5: %{name}.init
+
+Requires(pre): %{name}-common = %{epoch}:%{version}-%{release}
+Requires: pam >= 0:0.64
+Requires: logrotate >= 0:3.4
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires(pre): /usr/sbin/groupadd
+Requires(post): /sbin/chkconfig, /sbin/service
+Requires(preun): /sbin/chkconfig, /sbin/service
+BuildRequires: pam-devel, readline-devel, ncurses-devel, libacl-devel, e2fsprogs-devel
+BuildRequires: popt-devel, libattr-devel, libaio-devel, sed, ldconfig
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires: libtalloc-devel >= %{talloc_version}
+BuildRequires: libtdb-devel >= %{tdb_version}
+
+%description
+
+Samba 4 is the ambitious next version of the Samba suite that is being
+developed in parallel to the stable 3.0 series. The main emphasis in
+this branch is support for the Active Directory logon protocols used
+by Windows 2000 and above.
+
+%package client
+Summary: Samba client programs
+Group: Applications/System
+Requires: %{name}-common = %{epoch}:%{version}-%{release}
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description client
+The %{name}-client package provides some SMB/CIFS clients to complement
+the built-in SMB/CIFS filesystem in Linux. These clients allow access
+of SMB/CIFS shares and printing to SMB/CIFS printers.
+
+%package libs
+Summary: Samba libraries
+Group: Applications/System
+Requires: libtdb >= 0:%{tdb_version}
+Requires: libtalloc >= 0:%{talloc_version}
+
+%description libs
+The %{name}-libs package  contains the libraries needed by programs 
+that link against the SMB, RPC and other protocols provided by the Samba suite.
+
+%package python
+Summary: Samba python libraries
+Group: Applications/System
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description python
+The %{name}-python package contains the python libraries needed by programs 
+that use SMB, RPC and other Samba provided protocols in python programs/
+
+%package devel
+Summary: Developor tools for Samba libraries
+Group: Development/Libraries
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+
+%description devel
+The %{name}-devel package contains the header files for the libraries
+needed to develop programs that link against the SMB, RPC and other
+libraries in the Samba suite.
+
+%package pidl
+Summary: Perl IDL compiler
+Group: Development/Tools
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description pidl
+The %{name}-pidl package contains the Perl IDL compiler used by Samba
+and Wireshark to parse IDL and similar protocols
+
+%package common
+Summary: Files used by both Samba servers and clients
+Group: Applications/System
+Requires: %{name}-libs = %{epoch}:%{version}-%{release}
+Requires(post): /sbin/chkconfig, /sbin/service, coreutils
+Requires(preun): /sbin/chkconfig, /sbin/service
+
+%description common
+%{Name}-common provides files necessary for both the server and client
+packages of Samba.
+
+%package winbind
+Summary: Samba winbind
+Group: Applications/System
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description winbind
+The samba-winbind package provides the winbind NSS library, and some
+client tools.  Winbind enables Linux to be a full member in Windows
+domains and to use Windows user and group accounts on Linux.
+
+
+%prep
+# TAG: change for non-pre
+%setup -q -n %{tarball_name}
+#%setup -q
+
+# copy Red Hat specific scripts
+
+# Upstream patches
+#(none)
+
+mv source/VERSION source/VERSION.orig
+sed -e 's/SAMBA_VERSION_VENDOR_SUFFIX=$/&%{release}/' < source/VERSION.orig > source/VERSION
+cd source
+script/mkversion.sh
+cd ..
+
+%build
+cd source
+
+%configure \
+	--with-fhs \
+	--with-lockdir=/var/lib/%{name} \
+	--with-piddir=/var/run \
+	--with-privatedir=/var/lib/%{name}/private \
+	--with-logfilebase=/var/log/%{name} \
+	--with-configdir=%{_sysconfdir}/%{name} \
+	--with-winbindd-socket-dir=/var/run/winbind \
+	--with-ntp-signd-socket-dir=/var/run/ntp_signd \
+	--disable-gnutls
+
+#Build PIDL for installation into vendor directories before 'make proto' gets to it
+(cd pidl && %{__perl} Makefile.PL INSTALLDIRS=vendor )
+
+#Builds using PIDL the IDL and many other things 
+make proto
+
+make everything
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd source
+
+#Don't call 'make install' as we want to call out to the PIDL install manually 
+make installbin installdat installswat installmisc installlib installheader installpc installplugins installpython DESTDIR=%{buildroot}
+
+#Install PIDL
+( cd pidl && make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT )
+
+#Clean out crap left behind by the Pidl install
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+cd ..
+
+mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
+mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
+mkdir -p $RPM_BUILD_ROOT/var/run/winbindd
+mkdir -p $RPM_BUILD_ROOT/var/run/ntp_signd
+mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/winbindd_privileged
+mkdir -p $RPM_BUILD_ROOT/var/log/%{name}/
+mkdir -p $RPM_BUILD_ROOT/var/log/%{name}/old
+
+mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}
+mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}/private


-- 
Samba Shared Repository


More information about the samba-cvs mailing list