summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix unqualified "net join"Volker Lendecke2009-08-241-4/+1
| | | | | | | | | | | | Kai, please check! Fixes bug #6585. Thanks, Volker (cherry picked from commit d8543da9dad3286cd330b98374405edb9f976e77) (cherry picked from commit bf7d1758a77a462d9b30cc2549a960736884ee32)
* WHATSNEW: Update changes.Karolin Seeger2009-08-171-0/+1
| | | | | Karolin (cherry picked from commit 97e1703ee5f647755129c6e859ea77a38200b3af)
* s3:configure: fix the build with external tallocStefan Metzmacher2009-08-171-8/+13
| | | | | | | Fixes bug #6532. metze (cherry picked from commit 7def4ab2da002e9ecc1feaed2916035c214add9f)
* WHATSNEW: Update changes since 3.4.0.Karolin Seeger2009-08-171-0/+8
| | | | | Karolin (cherry picked from commit 7505f03eee949bb861f6138be8b5ef86be9c7b7f)
* s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.Günther Deschner2009-08-171-1/+6
| | | | | | | Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>. Guenther (cherry picked from commit 9fa042bb9f71057fc869e37d4cc180e8a772b1bb)
* libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)Matt Kraai2009-08-171-0/+14
| | | | | | | | | | | | | | | Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX 6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This prevents smbd from opening any sockets. If I undefine AI_ADDRCONFIG on such systems and allow lib/replace/system/network.h to define it to be 0, this works around the issue. Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 91d13b68be55728a85b3832e2da9267dbf4f2464) Fixes bug #6630. (cherry picked from commit 3be12b15f1758b54456d49368dbca7f25a99f4cc)
* WHATSNEW: Update changes.Karolin Seeger2009-08-171-4/+0
| | | | | Karolin (cherry picked from commit e873995e31e2f04e708194287a64c66a32cc4948)
* Revert "Fix build with external talloc."Karolin Seeger2009-08-142-31/+2
| | | | | | | | This reverts commit bdec2d3bf3c69e0b0d8ff9aea4d234d0c2936743. (17ce6f9984b7d84534eecde007ae904e13bbfdfa) in v3-4-test With this patch, talloc.h is not found any longer. (cherry picked from commit b843551389e4f9dbbe984a4a9c376ebc11525267)
* WHATSNEW: Update changes since 3.4.0.Karolin Seeger2009-08-141-0/+4
| | | | | Karolin (cherry picked from commit 9b90ee43683c78ed2ddf2f24b8b1afaa943ff348)
* tdb: Reimplementation of Metze's "lib/tdb: if we know pwrite and pread are ↵Rusty Russell2009-08-141-5/+10
| | | | | | | | | | | | | | | | | | | | | | | thread/fork safe tdb_reopen_all() should be a noop". This version just wraps the reopen code, so we still re-grab the lock and do the normal sanity checks. The reason we do this at all is to avoid global fd limits, see: http://forums.fedoraforum.org/showthread.php?t=210393 Note also that this whole reopen concept is fundamentally racy: if the parent goes away before the child calls tdb_reopen_all, the database can be left without an active lock and another TDB_CLEAR_IF_FIRST opener will clear it. A fork_with_tdbs() wrapper could use a pipe to solve this, but it's hardly elegant (what if there are other independent things which have similar needs?). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 3b2f074bda8734a0b30a3e31117c0217d890809c) Addresses bug #6601. (cherry picked from commit 5d1e254188373de838cfe046118267701ee6cd5a)
* tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe ↵Rusty Russell2009-08-141-5/+0
| | | | | | | | | | | | tdb_reopen_all() should be a noop" This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd. tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST. Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit fa91bc67199f0d45a0e570b43aeafd816a5491bf) (cherry picked from commit f1cf84c9b9abc48a58355400acb63fd79e1d60c4)
* VERSION: Raise version number up to 3.4.1.Karolin Seeger2009-08-131-1/+1
| | | | | Karolin (cherry picked from commit b1dd075c6819a3fb0f00bdb93104c307505ec8ba)
* WHATSNEW: Start WHATSNEW for 3.4.1.Karolin Seeger2009-08-131-0/+90
| | | | | Karolin (cherry picked from commit 63a674b4895d8fd8605cd4c526e91b2b52c3a8ed)
* s3/packaging: Fix build on RHEL when ccache is not available.Karolin Seeger2009-08-131-2/+1
| | | | | | | | | | | | This fixes bug #5832. Patch was provided by D.L. Meyer <dlmeyer [at] uiuc.edu>. Thanks for reporting and providing the patch! Karolin (cherry picked from commit 42e0cb8c0a1b8470ac8e9ad1c5a741e299debb8f) (cherry picked from commit b2205a7697598729f85cb767621b8c610654053c) (cherry picked from commit 174356c6618f8704b968ccfb46b04233bf7dfa40)
* Correctly implement SMB_INFO_STANDARD setfileinfo.Jeremy Allison2009-08-131-3/+3
| | | | | | | Fixes bug #6593. Jeremy. (cherry picked from commit c704e22806198a620d7e058c8d69c144ce096837)
* s4 torture: Extend the RAW-RENAME test to more fully test directory renames.Tim Prouty2009-08-131-0/+50
| | | | | | | | | | The existing test was only covering files opened underneath the directory that was being renamed. It is not uncommon for windows clients to actually hold a read-only handle to a directory open across the rename, which it turns out doesn't return NT_STATUS_ACCESS_DENIED. Additionally, holding a handle open to a stream on the directory is also allowed. (cherry picked from commit 80cedd944c3bcee7fe44787c9730b564b2d86726)
* s3: Fix a bug in renames of directoriesTim Prouty2009-08-131-6/+18
| | | | | | | | | | | | Recently code was added to match windows semantics of denying the rename of a directory if there are open files underneath it. This does partly match windows semantics, but it turns out the rename should be allowed if the open file handle is for the directory being renamed, or for a stream on the directory being renamed. This patch refines the check to better follow these rename semantics. Addresses bug #6620. (cherry picked from commit 06ab965b72ba477505d297ab72156136ab981e93)
* s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.Stefan Metzmacher2009-08-132-1/+57
| | | | | | | | metze (cherry picked from commit 1e1445bc7672b17a1d689fa0f0732b05b6e04da5) Fixes bug #6627. (cherry picked from commit 536946c706b66d432d60c990f28ff0ed5861fa44)
* s3: Unable to browse DFS when using kerberos in libsmbclientBo Yang2009-08-131-8/+14
| | | | | | | Signed-off-by: Bo Yang <boyang@samba.org> Fixes bug #6615. (cherry picked from commit 13911afe5b167ae9d100c40d32e9286d902652a1)
* The solaris linker seems to require an extra mention of dependent libsVolker Lendecke2009-08-131-3/+8
| | | | | (cherry picked from commit 04e4d03868ea67f323bf008eb7b9af740a0467ac) (cherry picked from commit e4a26c94271409d58138391d523305d641105a05)
* s3/smbldap: Fix typo in debug message.Karolin Seeger2009-08-131-1/+1
| | | | | | Karolin (cherry picked from commit 54dffbea663ecf4542d6c5e30da6e346d5d60424) (cherry picked from commit bddd55fa8a20a7a2d6d521ec951d13f548950b26)
* Fix a valgrind error in chain_replyVolker Lendecke2009-08-132-3/+12
| | | | | | | | construct_reply() references the request after chain_reply has freed it. (cherry picked from commit 5135ebd6f099518f0a0b5796e8057210be824740) Addresses bug #6611. (cherry picked from commit 5c6aa5ce9fb0cc5d63d04b0777d296c82e61c0a5)
* s3-spoolss: fix crash bug in spoolss_addprinterex_level_2.Günther Deschner2009-08-131-1/+1
| | | | | | | | Fixes bug #6607. Guenther (cherry picked from commit 75030ff2b16a3ddb79367d970590da2375f7e3dc) (cherry picked from commit e7e1a6b3237550ef90db6a52a023885f616f722b)
* s3:net: Fix Bug #6222. Default to DRSUAPI replication for net rpc vampire keytabStefan Metzmacher2009-08-131-4/+7
| | | | | | | | metze Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 8646b9521d267284a335aafba3df6039c41b8370) (cherry picked from commit 1a8294f1dc7953bd7f45e9b65fe6b5ec005634d0)
* s3-spoolss: Fix Bug #6568: _spoolss_GetPrintProcessorDirectory() implementation.Günther Deschner2009-08-131-1/+5
| | | | | | | | | We should always return a local path so that users are not forced to setup a [prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour. Guenther (cherry picked from commit 74454cc731f202361f1dce47fa850810bfeb36c8) (cherry picked from commit ffb6b4e6f7e47e8f22519d616e4e31444e417d16)
* Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to ↵Yannick Bergeron2009-08-131-1/+1
| | | | | | | allow AIX to call sys_getgrouplist only once (cherry picked from commit c3e12444f57e24dcd6c9259537ed0489db4658e9) (cherry picked from commit 2666b3e27444ffcad3afc21e276f189ac238433f)
* s3: check in .po files for pam_winbind.Bo Yang2009-08-1318-0/+2850
| | | | | Signed-off-by: Bo Yang <boyang@samba.org> (cherry picked from commit 1c8a2e268a5d3968367f6984f23bb954fcb10edc)
* s3/docs: Fix typos.Karolin Seeger2009-08-131-2/+2
| | | | | | | | Thanks to OPC oota <t-oota@dh.jp.nec.com> for reporting! Karolin (cherry picked from commit 7ee7ec3fdba2ef6a6cc3e1f96a5d2154290cdb18) (cherry picked from commit c94d3183a8e4c7e03c0dd2771cb7b9f4665198ce)
* s3/cldap: Improve debug messages.Jeremy Allison2009-08-131-4/+11
| | | | | This patch was made to debug bug #6437. (cherry picked from commit 47baa5de907c0162dec079c3636e7728f93c8b2f)
* release-scripts: Remove RFCs in source4/.Karolin Seeger2009-08-131-0/+8
| | | | | | | | | Remove RFCs as they are non-free content (with a strict interpretation of the DFSG). Addresse Debian bug #538034. Karolin (cherry picked from commit 571f20cd4db48c8d510e10b7188678d585abb2d1) (cherry picked from commit 9d7b8b29854beafed4ec70b2db1d26dc3786cc71)
* Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in ↵Jeremy Allison2009-08-131-1/+2
| | | | | | | | | NT_TRANSACT_CREATE. Reported and verified by Long Li <longli@microsoft.com> Jeremy. (cherry picked from commit 9c48f5bf2dcc12e6eb6170ab3a2af5ca119cf008) (cherry picked from commit 92bb659e4340f22f855400e02e2a67474d2a048b)
* docs: fix typos in the net man page.Michael Adam2009-08-131-3/+3
| | | | | | | | Noted by Oota Toshiya <t-oota@dh.jp.nec.com> . Michael (cherry picked from commit 34c535c9a8d08a480e156aaa9e4b843ffaab0636) (cherry picked from commit d278a43d0626894f45dcc6e6dbe429565188d6fb)
* s3: To correctly handle upnBo Yang2009-08-133-2/+19
| | | | | | | | | | lookupname failed, cannot find domain when attempt to change password. This addresses bug #6560. Signed-off-by: Bo Yang <boyang@samba.org> (cherry picked from commit 9acc670541031414d0cb5df39d18866c4c96b37c)
* Fix bug #6564 - SetPrinter fails (panics) as non root. Missing ↵Jeremy Allison2009-08-132-0/+5
| | | | | | become_root()/unbecome_root() around reload_services. Jeremy. (cherry picked from commit d53cb77ab21cc6edc2f1767bb56a75901c4c1709)
* Fix bug #6551 - win98 clients cannot connect after server upgrade to ↵Jeremy Allison2009-08-132-0/+3
| | | | | | samba-3.4.0. The values of vuid and tid were not being correctly updated in the struct smb_request when passed to chain_reply inside sessionsetupX and tconX. Jeremy. (cherry picked from commit e7c5f7c924ae40ce3f36d352d55a92a906d92181)
* s3:smbd: cancel all locks that are made before the first failureStefan Metzmacher2009-08-131-6/+6
| | | | | | | | We never reached the cleanup code and directly returned the error. This addresses bug #6538 (Fail to back out lockingX calls on error). metze (cherry picked from commit 94303584b942135355f99d138f8dc375d8dfacfb)
* Fix build with external talloc.Jelmer Vernooij2009-08-132-2/+31
| | | | (cherry picked from commit 17ce6f9984b7d84534eecde007ae904e13bbfdfa)
* s3/util_sock: Make open_udp_socket() IPv6 clean.Jeremy Allison2009-08-131-10/+25
| | | | | This addresses bug #6437. (cherry picked from commit 27ddbcab378892dee0b69e8ba0ef03674e6e7075)
* Fix bug #6431 - local groups from 3.0 setups no longer found.samba-3.4.0Volker Lendecke2009-07-031-8/+8
| | | | | | Search for groups without group suffix, group suffix is only used for new entries. (cherry picked from commit 91a8cb851e1919a337310e2c699d8fcf76a55060) (cherry picked from commit f0d67b6e119d719c2540eadce5849d3200dea2d0)
* WHATSNEW: Update changes.Karolin Seeger2009-07-031-0/+2
| | | | | Karolin (cherry picked from commit 4735bf0e744e1015eeb5a9ef6e744011183d9e30)
* Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we ↵Michael Adam2009-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | have it." This reverts commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7. This fixes Bug #6531 (Pid File creation.) Usually, I would extend is_default_dyn_XYZ() so that it returns true when dyn_XYZ has not been set yet or when its value is equal to the compiled in default value XZY. But this would have a change in effect in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used there to check whether the config file should be overwritten by the contents of the environment variable SMB_CONF_PATH. Currently this is only done when set_dyn_CONFIGFILE() had _not_ previously been called at all, not even with the same value as the compiled in default. Michael (cherry picked from commit 914a14b3a9c9d922d2a5c1aa413945afa11cfd2a) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 09411113d8f6b2389b3763bad24bcfdb61b0508c)
* WHATSNEW: Update changes.Karolin Seeger2009-07-031-0/+4
| | | | | Karolin (cherry picked from commit ebe56e6872228fcbd81ead598eb2c5b1738b7f4c)
* s3:util: let parent_dirname() correctly return toplevel filenamesStefan Metzmacher2009-07-031-1/+1
| | | | | | | | | | metze (cherry picked from commit a14efbadd53ac9678d75e6029f947d63cfa0c4e5) Signed-off-by: Stefan Metzmacher <metze@samba.org> This addresses bug #6526. (cherry picked from commit 8446843ec43cd61e548dda7032f26020240d872d)
* WHATSNEW: Update changes and release date.Karolin Seeger2009-07-031-1/+2
| | | | | Karolin (cherry picked from commit 7c0f1fd01ba355f234f411426b00285c824691b2)
* s3:pam_smbpass: fix build error on some Linux distrosBjörn Jacke2009-07-031-1/+1
| | | | | | This addresses bug #6459. (cherry picked from commit 06a9678aad549d23583d860ecd57b221b25f15b6) (cherry picked from commit 250e253f755954ff96c14ed29d6107d344a1c427)
* WHATSNEW: Update changes since 3.4.0rc1.Karolin Seeger2009-07-021-0/+4
| | | | | Karolin (cherry picked from commit d08f8595b15144513febe089f2ba0c322dba9ea9)
* Fix bug #6520 time stamps - e.g. last mod time is not preserved when "unix ↵Jeremy Allison2009-07-021-3/+31
| | | | | | | | | | extensions=yes" are set - and using latest cifs vfs client Cancel out any pending "sticky" writes or "last write" changes when doing a UNIX info level set. Jeremy. (cherry picked from commit b971860e01a3e616b0dd21990c054c8f8356f513) (cherry picked from commit 3c8e5d5339ec246bca846aee48ecfba74c7d7c69)
* WHATSNEW: Update changes since 3.4.0rc1.Karolin Seeger2009-07-011-1/+6
| | | | | Karolin (cherry picked from commit 95c90fa6973676d6599668bbe816bdbbae5d086c)
* lib/util: fix order of includes in tevent_ntstatus.cMichael Adam2009-07-011-1/+1
| | | | | | | | | | | | replace.h needs to be included first. Michael (cherry picked from commit 8d982d91f231abbf003473d09433fca2cfa240ac) Signed-off-by: Michael Adam <obnox@samba.org> This addresses bug #6521. (cherry picked from commit 5c5f72b6c5e7473cfe42d2d54fd34c6b31cbf6b1)
* s3-spoolss: Bug #6512. Fix support for enumerating user forms.Günther Deschner2009-07-011-5/+5
| | | | | | | | | Found while testing Xerox WorkCentre 133 PCL driver, now also tested with torture test. Guenther (cherry picked from commit b85b93dcff89e18bd15d4cef8b8c2dc61bc42cbe) (cherry picked from commit 14be3fd3daee943d0aaad1029ab629e5d379708b)