summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WHATSNEW: Add further changes since pre3.samba-3.6.0rc1Karolin Seeger2011-05-171-4/+10
| | | | | | | And remove double entry. Karolin (cherry picked from commit 4024d092f6ef2ea43960bc6cd5c06f3632c3c10e)
* Fix the SMB2 showstopper, found by an extended torture test from Volker.Jeremy Allison2011-05-171-3/+25
| | | | | | | | | | | | | | | | | | | In the oplock refactoring, the algorithm underwent an unnoticed change. In 3.5.x stat_opens were silently (i.e. no explicit code had comments explaining this) ignored when looking for oplock breaks and share mode violations. After the refactoring, the function find_oplock_types() no longer ignored stat_open entries in the share mode table when looking for batch and exclusive oplocks. This patch adds two changes to find_oplock_types() to ignore the case where the incoming open request is a stat open being tested against existing opens, and also when the incoming open request is a non-stat open being tested against existing stat opens. Neither of these cause an oplock break or share mode violation. Thanks a *lot* to Volker, who persevered in reproducing this problem. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon May 16 22:38:20 CEST 2011 on sn-devel-104 (cherry picked from commit 8cf14c21b3bc55454728bf48b23f696e15c92aea) (cherry picked from commit a2bc1d37b98a0581960039a5ff3deb55cf0c4f90)
* Ensure we always write the correct incoming mid into the share modeJeremy Allison2011-05-172-4/+8
| | | | | | table entries. (cherry picked from commit fe21bdc43c0aeacfc8592998e6a90f6f83c939e0) (cherry picked from commit 76f6eed7068909c87f103e96e7e94e59647a7736)
* s3-printing: remove cups_pull_comment_location from header fileDavid Disseldorp2011-05-171-4/+0
| | | | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 16:03:57 CEST 2011 on sn-devel-104 (cherry picked from commit 6bfe488f29a9df26f3d6dbc4166200ea286536c1) (cherry picked from commit 327598652b106e9a09bfab5d35d3534c9093356a)
* s3-printing: Remove obsolete and unused cups_pull_comment_location().Andreas Schneider2011-05-171-157/+0
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 01bc556d03a592e1f3c848d71b2e72a7cb74706f) (cherry picked from commit 07652a7c7e55bf1e4acd3e4dd97880b8aba01596)
* s3-spoolss: Get the printer location from cups.Andreas Schneider2011-05-171-2/+33
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit da1fa201040b2dab89fdc99663155a1c79ad4de9) (cherry picked from commit 3006de14fb3b68d2be0bae65023e9ca8e4d11ff6)
* s3-printing: Get the location info from cups.Günther Deschner2011-05-1712-32/+85
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 854467851da48e02dcd8f869cb031c8943707017) (cherry picked from commit 090b5b03d2c52c4fa4eeaecc4b4b815bd1948177)
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-177-1/+10
| | | | | | Guenther (cherry picked from commit 1e208a705718adb105d89093041c0ba5d51f2429) (cherry picked from commit 68936f478dfc0cb9c7ae9e7b208b5e5c22ea2973)
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-1712-3/+15
| | | | | | Guenther (cherry picked from commit 675573d54b717ffc24cf3b49301ff649aecc259a) (cherry picked from commit 58cae168b5f29afda9dc7132f2770c3f58a89772)
* s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2011-05-1710-28/+9
| | | | | | | | | This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett (cherry picked from commit d309499b9e268bff5e366a9986528f0accbc02b3) (cherry picked from commit 66f6359d9106872e226f08a9bbcf0917c987b84a)
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-1785-818/+1316
| | | | | Guenther (cherry picked from commit 3b2fe4728d6d916508b677e696ecad88f8b7b9fd)
* s3: only include tdb headers where needed.Günther Deschner2011-05-1768-8/+81
| | | | | | Guenther (cherry picked from commit d8cfca3a9bd2b6b6c562fd202377d95a98eb5472) (cherry picked from commit 138da8f4b1eb4715b7fb259986b9c1e8ffae469e)
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-1726-311/+222
| | | | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett (cherry picked from commit 14750139639b3531e57a3ca3f9e481d6e458dc06) (cherry picked from commit a7f39847ebf29b821aab2570a2f2bd841a28e836)
* s3-includes: remove ipv6 related prototype which is already defined in ↵Günther Deschner2011-05-171-5/+0
| | | | | | | | ../lib/util/util_net.h. Guenther (cherry picked from commit a3609457912123037ca9fc51349d89d7921bc4e7) (cherry picked from commit f407006cd59d5957e4564d96c942b2aa913bcd18)
* lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett2011-05-177-238/+275
| | | | | | | | This will help with the merge of the interfaces layer. Andrew Bartlett (cherry picked from commit fbea52f74a80268446f45936a0cf40400aba8565) (cherry picked from commit 007b781b39e4bd2ddc25ab6bd2b6f9b88dfdba8b)
* s3-rpc_server: run minimal_includes.pl.Günther Deschner2011-05-177-8/+0
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 5 03:04:38 CEST 2011 on sn-devel-104 (cherry picked from commit 8563d5c384f672276d8ea2ab20a1810ff485e37d) (cherry picked from commit 154637cf36f5a47d3e83fcf2e2ed081cbff3e141)
* s3-printing: run minimal_includes.pl.Günther Deschner2011-05-174-9/+0
| | | | | | Guenther (cherry picked from commit c9f3a2c83e208fcf05576eb2137c893fe4f3fe6d) (cherry picked from commit d4e6e964ec87cd91a3bfe03efe754454644a3272)
* s3-rpc_server: (re)move last globally included rpc_server prototypes.Günther Deschner2011-05-175-9/+36
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104 (cherry picked from commit 56cd3b3bbbb595cb0c98fa2dfa397c915fbf37d2) (cherry picked from commit 7a4cc69ac8d2b6f53735a2f2cea8d40b7e965235)
* s3: include ntdomain.h before including generated srv_ headers.Günther Deschner2011-05-1723-18/+23
| | | | | | Guenther (cherry picked from commit 0e76eddcc8a4e7e98167b8f92387fae015fae095) (cherry picked from commit ce063fde45bfe649f8f50dd72e42db10b3d94f30)
* s3-rpc_server: add pipes_struct forward declaration.Günther Deschner2011-05-172-0/+3
| | | | | | Guenther (cherry picked from commit 911cdc56c146014058063b872372ff8096c06065) (cherry picked from commit 9a6a1a5b934247c3d8c81934788231e331c2b020)
* s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-173-17/+16
| | | | | | Guenther (cherry picked from commit cd5b2b242b39437081592d41d297bce0668b40ab) (cherry picked from commit 44c6ed73b6f27484014cde771715c94475cac53f)
* s3-proto: move remaining srvsvc protos to own header file.Günther Deschner2011-05-174-5/+35
| | | | | | Guenther (cherry picked from commit daa02f34b181a3ec7224e920f787cc677bc3cdf2) (cherry picked from commit 54559a55bd90f18330759b88fc9b2457951ccfdb)
* s3-proto: move remaining spoolss protos to own header file.Günther Deschner2011-05-177-10/+45
| | | | | | Guenther (cherry picked from commit c233c21425a183dd1124329fdbca13ab92cc6d6a) (cherry picked from commit 8143106d7290aa4ae713bc04603b8b589bc86346)
* s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner2011-05-1711-25/+60
| | | | | | Guenther (cherry picked from commit 047d8c073b57bc12648a251deaceedb65f4f59cf) (cherry picked from commit e3c65e2b7da2f7fbee4e6211bbe4f01c0873edec)
* s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner2011-05-179-19/+49
| | | | | | Guenther (cherry picked from commit 49d5f62b42d821bb8a11b595efb53eb88ec3c570) (cherry picked from commit 6c07214f6a851f5fef573c8e7ffd9c1959e3702b)
* s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.Günther Deschner2011-05-175-5/+9
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104 (cherry picked from commit bbacaec4e9365b128eb11467c95412de7473c1ec) (cherry picked from commit 2cc2f7fe76e501c95206f91f4170d7e3829d89a0)
* s3-proto: remove duplicate prototypes.Günther Deschner2011-05-173-29/+3
| | | | | | Guenther (cherry picked from commit bc781bf7d98baca57c8043bf7dc0a95f8ffd1345) (cherry picked from commit 0b0dc24c82a6dd383cbffebae366fbf8e60ed66e)
* s3-rpc_server: remove some unneeded headers.Günther Deschner2011-05-171-4/+0
| | | | | | Guenther (cherry picked from commit 487cb0c96ef8ca05fcef35d0d7c49bc067f6cff7) (cherry picked from commit 944dceb45b384c68a581b3f27a914c9e1d9d10cf)
* s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.hGünther Deschner2011-05-172-29/+28
| | | | | Guenther (cherry picked from commit dfdc021e75fa4168b01ab77bfa1cb8c2539393db)
* s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.hGünther Deschner2011-05-173-8/+10
| | | | | | Guenther (cherry picked from commit faf11751255202274505d72848c54ee6e5dce7b6) (cherry picked from commit f92793f3f728c05f47671dc2697bf3ea3ace705d)
* s3-proto: move more rpc client prototypes to cli_pipe.h.Günther Deschner2011-05-172-6/+35
| | | | | Guenther (cherry picked from commit 7daafe4d9e3620d8de2796a08924ff780528ac4f)
* s4-smbtorture: add test_netremotetod.Günther Deschner2011-05-172-0/+18
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104 (cherry picked from commit 74d82faa78e64bdaed68efb9331a7af1c3016c34) (cherry picked from commit fce32d92de313862fc9d34fff28d1d10d2f4e5b4)
* s4-libcli/rap: add smbcli_rap_netremotetod().Günther Deschner2011-05-171-0/+47
| | | | | | Guenther (cherry picked from commit b1948659ad987ce50d048dabc34f03031a243ee5) (cherry picked from commit 1ace9011db167b96cb60fef713d69d8d502e9222)
* s3-rap: add rap_NetRemoteTOD to IDL.Günther Deschner2011-05-171-0/+22
| | | | | | Guenther (cherry picked from commit b82caab5c9d8821cd125654e3233da40eb4c61d1) (cherry picked from commit e4765bf9f800f565b355d6821459d87658698174)
* s3-rpc_client: run minimal_includes.pl.Günther Deschner2011-05-173-3/+0
| | | | | | Guenther (cherry picked from commit bd92826aa837f56119153b93cfce7f843e567896) (cherry picked from commit a68a7dfedd72cb97e98069ed0cc9d53dedb0b4ac)
* s3-rpcclient: run minimal_includes.pl.Günther Deschner2011-05-171-1/+0
| | | | | | Guenther (cherry picked from commit c11d52c7f6b560fe66a2f197e30602d57370fd5c) (cherry picked from commit 79294deb58ea85f5d0d688b56df47a6c3bbb82fb)
* s3-param: run minimal_includes.pl.Günther Deschner2011-05-171-1/+0
| | | | | | Guenther (cherry picked from commit 62314da8059ae888c0d1b299c486156664611e06) (cherry picked from commit aba946b91dd4dc32e3b5dbf2b19e01a4181b4f4e)
* s3-libsmb: run minimal_includes.pl.Günther Deschner2011-05-172-2/+0
| | | | | | Guenther (cherry picked from commit ea8960448d0a40067382a8d14ae19351d20acbdd) (cherry picked from commit 0241e64238249c730acbf3d18d36532a14c74570)
* s3-libnet: run minimal_includes.pl.Günther Deschner2011-05-172-2/+0
| | | | | | Guenther (cherry picked from commit a05a59e8e2a421f22978e6eedbb1a7501a603aff) (cherry picked from commit 7987f1555648051ef4a5a00b42062d4fb149c0e2)
* s3-libads: run minimal_includes.pl.Günther Deschner2011-05-171-2/+0
| | | | | | Guenther (cherry picked from commit 653b84d2d6ed7387f93e5a126b5f2114b831044e) (cherry picked from commit af98bc24e3f8708f6382611538afa2df2d5a68c5)
* s3-lib: run minimal_includes.pl.Günther Deschner2011-05-172-2/+0
| | | | | | Guenther (cherry picked from commit 63ebc918e4514f0006b94856d9b089255fca9718) (cherry picked from commit 274f3fea50cd3ae5bb5bdedc75402a11cfcbb114)
* s3-auth: run minimal_includes.plGünther Deschner2011-05-175-6/+0
| | | | | | Guenther (cherry picked from commit 58db720e27d4b0c580fb4d3e036d823bc5d3a141) (cherry picked from commit 2a0c2636c40ef35a46f3ae33a4f28f0c87174d13)
* libcli/named_pipe_auth: add forward declaration in npa_tstream.h.Günther Deschner2011-05-171-0/+1
| | | | | | Guenther (cherry picked from commit 89ceb489784358f9476bb6be0ad3ab9ea4d1b9c2) (cherry picked from commit 1fff2580d791a92137f9d5ab27dcb4a82188f020)
* s3-waf: check for pthread support.Günther Deschner2011-05-171-0/+31
| | | | | | Guenther (cherry picked from commit cad8fafa0391e9f13c2958c45ca5ec57f93f1e7b) (cherry picked from commit 00e5d087ca0ce1c5258d89aec44d59adeb681b50)
* s3-proto: move remaining krb5 protos to krb5_protos.hGünther Deschner2011-05-172-7/+6
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 3 15:38:40 CEST 2011 on sn-devel-104 (cherry picked from commit 9c48345e32c9aebd93c67103ea6984d74f2061b4) (cherry picked from commit f7411daa8cb1bb8222a09d112031a259cbd69ac8)
* s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner2011-05-178-8/+0
| | | | | | | | needed). Guenther (cherry picked from commit 0bb4701a747599042242b0612bc392a6e6d777af) (cherry picked from commit 8deb28c63b324771815513858b89f1a0c58472f8)
* s3: move pipe_auth_data to dcerpc.hGünther Deschner2011-05-172-15/+14
| | | | | | Guenther (cherry picked from commit 80fa624861e6f45c4b6837969253d5fbac2f3b1e) (cherry picked from commit e74b7405586a50349be236a81e71fd432855663d)
* s3-smbd: avoid using pipes_struct when only session_info is needed.Günther Deschner2011-05-173-7/+6
| | | | | | Guenther (cherry picked from commit 61cd1067efacd91e22b4acbdf0d1d92dc2efc162) (cherry picked from commit 3fe82d0152f9760326e905516c6959fb4b9973e5)
* s3-printing: include ../librpc/ndr/libndr.h in ads printing.Günther Deschner2011-05-171-0/+1
| | | | | | Guenther (cherry picked from commit f7d6a0a1121c355a87dd113d2cb2a4985cdc06ce) (cherry picked from commit 87cd7c5fe13d8a1a2e7c251feed75900a338ad34)
* s3-winbindd: remove unused headers.Günther Deschner2011-05-172-6/+0
| | | | | | Guenther (cherry picked from commit 233779cce4f47799d5912f362faadcd564bbf096) (cherry picked from commit a68a2b0cd3192da5450d3de64211f390aa96ef59)