summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-printing: add winreg_internal functions.Günther Deschner2011-07-264-1/+541
| | | | | | | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit ada5380d2090179fc57eee66e2b46788f4944db0) Conflicts: source3/rpc_server/spoolss/srv_spoolss_nt.c source3/rpc_server/spoolss/srv_spoolss_util.c (cherry picked from commit 77ccfc6f41ca615911d49039046502fcf8e23cee)
* s3-printing: add winreg_printer_binding_handle and remove most of ↵Günther Deschner2011-07-262-4773/+13
| | | | | | | | | | | | | | srv_spoolss_util.c. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit a762eda519c995214c041170e2615c5c51b2a2b1) Conflicts: source3/rpc_server/spoolss/srv_spoolss_util.c (cherry picked from commit 6bc840366b9c421f742467ef337c8703a8d365ea)
* s3-printing: add rpc_client/cli_winreg_spoolss.cGünther Deschner2011-07-264-6/+4668
| | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit f2be8378b92669092f8444df038f769fc9312ff4) (cherry picked from commit 3c29f9b015809840aaf4de75186536f6f5e91bd9)
* s3-waf: make LIBCLI_SPOOLSS a shared libraryGünther Deschner2011-07-261-3/+4
| | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit a0fc64a88ee6f1f45d4c2b95d6773eccab50ebb4) (cherry picked from commit d53dbd8e66b45195c4879a4bb1b9a659b4bf4f99)
* s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner2011-07-264-179/+182
| | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit 43cf3a28dc539351da8a316e0e52a8292ec40cc7) (cherry picked from commit dd21eaa11c919935f959941aefbba454a272119b)
* s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner2011-07-265-93/+92
| | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit 74e416031b2fc5d9c6af30f692d5b73cb1942cf4) (cherry picked from commit 2e86c3ffac47bdb43ddc0012d96bd4d489658774)
* s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner2011-07-267-145/+191
| | | | | | | | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de> (cherry picked from commit dd5375b4a1798c856fa9c104baa36c137d664b9d) Conflicts: source3/rpc_server/spoolss/srv_spoolss_util.c (cherry picked from commit b039a965488aba0e8d31abe0a389e6ddef99d8b9)
* s3-printing: open up a winreg pipe handle for the migration code.Günther Deschner2011-07-264-4/+48
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jul 4 15:06:41 CEST 2011 on sn-devel-104 (cherry picked from commit ff94539f276bdef73bd12c67bff1f34e697ccbfc) (cherry picked from commit b1aca06b1823601a5942ead53ed66ca95bd3b8c4)
* s3-net: use printing_migrate library, and eliminate duplicate code.Günther Deschner2011-07-263-416/+8
| | | | | | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 1 17:57:09 CEST 2011 on sn-devel-104 (cherry picked from commit bafd7212eb4c82e86874b2f80ddf5c04b2d180b9) Conflicts: source3/utils/net_printing.c (cherry picked from commit 35de817734fec9dcb0197c20b9c308df2ac7dccc)
* s3-printing: split out printing migration code into a smaller library.Günther Deschner2011-07-268-249/+327
| | | | | | | | | | | Guenther (cherry picked from commit e02abd6c83708f297b1985bb1bdc7d5dfbc924b2) Conflicts: source3/printing/nt_printing_migrate.c source3/wscript_build (cherry picked from commit cb1368f19148b30c515f0632fdeb32ef127fa0c7)
* s3-printing: skip migration of non-existent printersDavid Disseldorp2011-07-261-8/+18
| | | | | | | | | | | | Skip tdb migration of printer and security descriptor entries which refer to non-existent printers. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jun 30 10:54:23 CEST 2011 on sn-devel-104 (cherry picked from commit c9e3f6ab02bdc354a9b656f62744ee66fe9e9e67) (cherry picked from commit d24c4ef87ff02975cdb024e01b067107c60050cc)
* s3-printing: fill devicemode size in migrate_printer()David Disseldorp2011-07-262-0/+2
| | | | | | Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit a36ce0735ff6cad8124bd63a056a71d9495b238c) (cherry picked from commit 8245acab26a83a006d04626f15d5a47dcb71053e)
* s3-waf: stop building smbtortre4.Günther Deschner2011-07-261-7/+0
| | | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 15:35:02 CEST 2011 on sn-devel-104 (cherry picked from commit c1ac023b588e1ca676cbbf542ca6f93aa199ad32) (cherry picked from commit f1196b1edc30549d36cc1d8a66541d79a65f31ce)
* WHATSNEW: Add changes since rc2.Karolin Seeger2011-07-261-1/+68
| | | | | Karolin (cherry picked from commit 75785ccbf6d7f633837ae65b2deac0c9bf8cd858)
* s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)Christian Ambach2011-07-261-3/+3
| | | | | | | | | when smbd tries to clean up locks after a premature end of a smb2 connection, lock_db has already been freed and so it crashes this patch changes the order in which items are freed so that lock_db is still around when it is needed (cherry picked from commit 2c94ff10332f4be909a158329c41e2f5db035949)
* s3:nmbd_subnetdb: close all sockets attached to a subnet in close_subnet() ↵Stefan Metzmacher2011-07-261-3/+11
| | | | | | | | (bug #8276) metze (cherry picked from commit 75e9f2110876137a57632d223248ac51dbfc4569) (cherry picked from commit 1c8690c82905ff55ed9eafd02df295edf79e7943)
* s3:smbldap: make smbldap_connect_system self containedGregor Beck2011-07-261-6/+11
| | | | | The last patches address bug #8253 (winbindd panics if verify_idpool() fails). (cherry picked from commit c6d5c7cc830d59e7b6f0fa5a38eae27b0f1aa4bb)
* s3:smbldap: add a destructor to smbldap_state, just in caseGregor Beck2011-07-261-0/+7
| | | | (cherry picked from commit 56bc5c73eaa7509d4e58ed010c834304b238c72c)
* s3:smbldap: let smbldap_free_struct do what it claims toGregor Beck2011-07-261-2/+1
| | | | (cherry picked from commit 66e853875ec13481093bf79522004665fe66260d)
* s3:smbldap: free the idle event scheduled in smbldap_open in smbldap_closeGregor Beck2011-07-261-1/+2
| | | | (cherry picked from commit 56e9ad4aa736875ac5666a9c3e33ae3d94fb2f5c)
* s3:smbldap: use smbldap_state as memory context for idle eventGregor Beck2011-07-261-2/+2
| | | | | | ensure the event is canceled if the smbldap_state gets freed this fixes a panic of winbindd if verify_idpool fails (cherry picked from commit 119a45e9f8e4fdc17417a1b618094e3280add584)
* s3:smbd do not panic when CTDB is unhealthy (Bug #8278)Christian Ambach2011-07-261-0/+9
| | | | | | | | | | when CTDB is unhealthy, log a message and exit cleanly instead of creating a core file Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Jun 30 13:18:12 CEST 2011 on sn-devel-104 (cherry picked from commit 847ca0a5d791d881be8d9a0721bf30399c80013b) (cherry picked from commit e282a816d45b750293c14fbd6de4569f7270107a)
* s3:build: add vfs_examples to the everything targetMichael Adam2011-07-261-1/+2
| | | | | | | | | | So that one can not pass autobuild without keeping the vfs examples intact. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Jun 30 16:52:48 CEST 2011 on sn-devel-104 The last 5 patches address bug #8281 (examples/VFS/* does not build). (cherry picked from commit f28ec1da9e51d53f4e93a23088a7c7c4ab2c109f)
* s3:build: add a vfs_examples target.Michael Adam2011-07-261-0/+11
| | | | (cherry picked from commit 737a1c9b96a4ba8d8688f4dba1df6d931e10e64d)
* examples/VFS: fix skel_transparent.c in reference to shadow_copy changesBjörn Baumbach2011-07-261-1/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit d57a51093e526d7aac05f3d210ab7aee5e2036aa)
* examples/VFS: fix skel_opaque.c in reference to shadow_copy changesBjörn Baumbach2011-07-261-1/+2
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 180749b898c4491e04c2a11d4b39b2833e3602e6)
* examples/VFS: fix shadow_copy_test.c in reference to shadow_copy changesBjörn Baumbach2011-07-261-3/+10
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit e21d132cc98abe03247f91b27b098ec83b8d08e2)
* s3-winbind: Fix bug 7888 -- deal with buggy 3.0 based PDCsGünther Deschner2011-07-261-7/+19
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jun 30 00:42:23 CEST 2011 on sn-devel-104 (cherry picked from commit 97055cee026b4f1b0e2730786a94390f6515593e)
* Second part of fix for bug #8219 - SMB Panic from Windows 7 Client.Jeremy Allison2011-07-261-1/+1
| | | | | | | | | | Pass in the correct vector to the signing algorithm in an async response - we must start with vector[1] which has the SMB2_HDR_BODY length, not vector[0] which is the 4 byte packet length. Also note we're passing in 2 vectors not 3. Metze please review. (cherry picked from commit 4b094c2acdfe93fdce80adc6dc3df73cf2d3fae1)
* Fix bug #8219 - SMB Panic from Windows 7 ClientJeremy Allison2011-07-261-0/+8
| | | | | | | Caused by referencing an uninitialized variable in the duplicated struct smbd_smb2_request when sending a signed intermediate reply. (cherry picked from commit 501969a2b95b15fd9f8602b14a391e5096b17183)
* s3: explicitly pass domain_sid to wbint_LookupRids() (bug #7841)Volker Lendecke2011-07-264-9/+11
| | | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jun 27 18:21:30 CEST 2011 on sn-devel-104 (cherry picked from commit 0a74caa473f491050bc5f64b6d6956c00088c5cd) (cherry picked from commit 44cfdd92e73d9ecb68b5a0ee1167f9e64c2aebeb)
* s3:rpc_server/svcctl: fix valgrind bug in _svcctl_QueryServiceObjectSecurity()Stefan Metzmacher2011-07-261-1/+1
| | | | | | | | | | | | | | | r->out.buffer needs to stay in its size, as it will be marshalled completely. As it's preallocated and initialized with zeros, we just need to copy the payload into it, even if it's smaller than the offered buffer size. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 14:15:47 CEST 2011 on sn-devel-104 (cherry picked from commit 67512152c007bb186e4fd8dac5d1aab89bce0689) The last 3 patches address bug #8264 (svcctl valgrind fixes). (cherry picked from commit 355ffd89e54dea15bf94b93f59c321109e951cad)
* s3:rpc_server/svcctl: fix valgrind bugs in _svcctl_QueryServiceConfig2W()Stefan Metzmacher2011-07-261-9/+5
| | | | | | | | | | | | | r->out.buffer needs to stay in its size, as it will be marshalled completely. As it's preallocated and initialized with zeros, we just need to copy the payload into it. If we always marshall the return buffer, we already have the needed buffer size and don't need to call ndr_size_* functions. metze (cherry picked from commit 11683ccf3e68606ecb1cdfa455f7921b119803c6) (cherry picked from commit 04b62ec0168e84c00fd08f0695b94ec5ca80ba88)
* s3:rpc_server/svcctl: don't allocate return values on a temporary stackframeStefan Metzmacher2011-07-261-5/+3
| | | | | | | | | | | | | And always initialize the whole return structure. This caused samba3.posix_s3.rpc.svcctl to be flakey. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 16 11:34:34 CEST 2011 on sn-devel-104 (cherry picked from commit 48de3e51eacbd1051f79dc99aaac8a4ec988fde5) (cherry picked from commit 7008fc0028993e98b335cf8533481073a5bd82df)
* Fix bug #8254 - "acl check permissions = no" does not work in all casesJeremy Allison2011-07-262-2/+16
| | | | | | | | | | | | Move lp_acl_check_permissions() into can_delete_file_in_directory() where it makes sense. Remove ACL check when requesting DELETE_ACCESS when lp_acl_check_permissions is false. Thanks to John Janosik @ IBM for noticing this. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 24 01:18:11 CEST 2011 on sn-devel-104 (cherry picked from commit 863548647dabca2c9706fbc48b4ae72277fc8c11)
* s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids testMichael Adam2011-07-261-1/+1
| | | | | "/usr/bin/env pyhton" should always work as long as pyhton is in the path. (cherry picked from commit d8d18fa66464b780818807a4fb50bf458158714a)
* s3:test: fix the smbclient_s3 test on older systemsMichael Adam2011-07-261-1/+1
| | | | | mktemp requires precisely six Xs at the end of the template name (cherry picked from commit 0892313b4b1bdcab671e18db58d7758fe87a0efd)
* s3:test: fix the net registry roundtrip test on older systemsMichael Adam2011-07-261-1/+1
| | | | | mktemp requires exactly Xs at the end of the template name on SLES8 (cherry picked from commit aa2dd250abd392b9ce77d35af7d3f4827326559b)
* s3-autconf Move nmbd socket directory to PREFIX/var/nmbdAndrew Bartlett2011-07-261-2/+2
| | | | | | | | | | | | | This is consistent with the new ncalrpc socket directory, also added in this release. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> The last 2 patches address bug #8230 (Move .nmbd socket directory to non-hidden name PREFIX/var/nmbd). (cherry picked from commit 833fdb5b3693a7c9111bb98e5bc9a29d29be9d1d)
* s3-buildoptions Show compiled-in location of the new ncaclrpc and nmbd socketsAndrew Bartlett2011-07-261-0/+2
| | | | (cherry picked from commit c558775713e505cfc1db5af417cc7b792dfc310e)
* s3:docs: fix the example in the idmap_autorid manpage to use "idmap config * ↵Michael Adam2011-07-261-1/+1
| | | | | | : rangesize" (cherry picked from commit a2fa00e4ea6f3a99953f4ec3214d68a07223b910)
* s3:vfs_commit: fix buildBjörn Jacke2011-07-261-0/+1
| | | | | | | | | | | | | fix build Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Jun 24 14:51:31 CEST 2011 on sn-devel-104 (cherry picked from commit d4ea319e7ad9ee2fc2fad0c016845f820681569a) Fix bug #8262 (vfs_commit doesn't compile). (cherry picked from commit 45a6fa93c79ea7ec378dbdb1d9c6da019dc0545a)
* s3:smb2_ioctl/FSCTL_PIPE_TRANSCEIVE: generate STATUS_BUFFER_OVERFLOW if ↵Stefan Metzmacher2011-07-262-0/+10
| | | | | | | | | | | | | needed (bug #8260) This should fix DCERPC responses with fragments larger than 1024 bytes. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 11:25:36 CEST 2011 on sn-devel-104 (cherry picked from commit 2bb325ad913c1cff88faab55102cef75d14c04a6) (cherry picked from commit 093ba63588022e3f9df81edc3393ef552e0f9825)
* s3:modules fix Bug 8244 - Cannot copy files larger than 2 GB to Samba shareChristian Ambach2011-07-261-3/+3
| | | | | | | | | | | | | | | the time_audit module uses int instead of uint64 as return value in get_alloc_size so that sizes of files larger than 2 GB are cut of leading to wrong replies to NtCreateAndX and Windows clients giving up While checking the types of all functions, I found two more wrong return value types that needed correction Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Jun 17 23:11:10 CEST 2011 on sn-devel-104 (cherry picked from commit bb66504dadf56366ea30697ae73673de3df08132) (cherry picked from commit 11008f1c73afdd86e7fa929fe37675c57ae2c32c)
* s3: Fix Coverity ID 2582: FORWARD_NULLVolker Lendecke2011-07-261-0/+5
| | | | | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jun 19 20:46:43 CEST 2011 on sn-devel-104 (cherry picked from commit 5290faca7a5ae5f3f0309a42586768a5c93bfb9d) Fix bug #8247 (SMB2 shadow copy can be crashed remotely). (cherry picked from commit 8a7a3c6704d8f2c48c8fbc2ad1bddb5b67131b4c)
* s3-spoolss: Fix some valgrind warnings.Andreas Schneider2011-07-262-8/+8
| | | | | | | | These are in/out values and need to be initialized. The last 2 patches address bug #8240 (valgrind warnings in winreg/spoolss code). (cherry picked from commit 229c7246823f3c156d065546b526f11d1298210e)
* s3-rpc_client: Fix some valgrind warnings.Andreas Schneider2011-07-261-10/+12
| | | | | These are in/out values and need to be initialized. (cherry picked from commit 7bf1418e9cfe313ee4873853d2ee41ca344f8ee0)
* s3:idmap_autorid: remove redundant codeMichael Adam2011-07-261-4/+0
| | | | | The last 4 patches address bug #8213 (Fixes in idmap_autorid). (cherry picked from commit a1a1a58101319034ea437544313591cb0fd7e7f3)
* s3:idmap_autorid: in initialize, don't leak storedconfig to talloc_tos() in ↵Michael Adam2011-07-261-2/+4
| | | | | | the success case (cherry picked from commit 496e472894c3fbd543fac88c0c2d304116d64ff8)
* s3:idmap_autorid: use "idmap config * : rangesize" instead of "autorid : ↵Michael Adam2011-07-261-1/+1
| | | | | | rangesize" (cherry picked from commit ea0b87a6e9857c27383ae3fac2c37c61427d31fc)