summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Document default of the printing config variable.samba-3.3.0Andreas Schneider2009-01-261-0/+2
| | | | | | Signed-off-by: Andreas Schneider <anschneider@suse.de> (cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7) (cherry picked from commit 541704e253f06f8b33006b6c27f51b934c2eb51f)
* docs: Adapt version number in new vfs_fileid manpage.Karolin Seeger2009-01-261-1/+1
| | | | | Karolin (cherry picked from commit 3069401f5b46cfe2d2909c3d7ae75419ac5e673e)
* docs: Adapt version number in new vfs_shadow_copy2 manpage.Karolin Seeger2009-01-261-1/+1
| | | | | Karolin (cherry picked from commit fd5ee7b35ffb7dd7dab1e17a01534470c12f415b)
* docs: Add manpage for vfs_shadow_copy2.Karolin Seeger2009-01-261-0/+174
| | | | | | Karolin (cherry picked from commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99) (cherry picked from commit 7ca4b8ec65d5f8794c58f27f3f17033143732897)
* s3-eventlog: fix various invalid memcpy in read_package_entry().Günther Deschner2009-01-261-5/+5
| | | | | Guenther (cherry picked from commit 75fff603625e0259f187e0fa47efd85887092fae)
* s3-eventlog: fix buffer allocation in eventlog read call.Günther Deschner2009-01-261-3/+1
| | | | | | | This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007... Guenther (cherry picked from commit 547c70e896b6890dd5f7b911e4e0ca107c8a3fa3)
* docs: Fix formatting issue in man libsmbclient.Karolin Seeger2009-01-261-3/+4
| | | | | | Karolin (cherry picked from commit aa2fb0efb7ce2bc732569b4baf20c57375fdce59) (cherry picked from commit e1e3a0554fcaabacc5bec51c213622271a83ad04)
* WHATSNEW: Add note about libsmbclient changes.Karolin Seeger2009-01-261-0/+15
| | | | | Karolin (cherry picked from commit 3a4e410e7802073e159b6e4dfdfb3319053503f9)
* lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher2009-01-261-0/+6
| | | | | | | | thread/fork safe metze (cherry picked from commit 7fc7ee9331d0539359ad88c527f59d5fdf212209) (cherry picked from commit d74b63091781e442e42b1fa7881e903a0bcc928c)
* WHATSNEW: Add "Changes since" sections of pre releases and RCs.Karolin Seeger2009-01-261-0/+379
| | | | | Karolin (cherry picked from commit 646468f1a504a1ab00b27f9e61d56acbc42ffda9)
* WHATSNEW: Update changes since 3.3.0rc2.Karolin Seeger2009-01-261-0/+63
| | | | | Karolin (cherry picked from commit 50b8d5a1625d22512cf32b0bcd2f068e364a7403)
* Apply same logic fix for #4308 Excel save operation corrupts file ACLsJeremy Allison2009-01-231-47/+37
| | | | | | to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c. Jeremy. (cherry picked from commit cad872fc385ba30fb72baab25ee6341a41396e39)
* Fix logic error in try_chown - we shouldn't arbitrarily chownJeremy Allison2009-01-232-8/+9
| | | | | | to ourselves unless that was passed in. Jeremy. (cherry picked from commit db2d56484e21daeb91df4b5e2286d242910336e8)
* Second part of the attemt to fix #4308 - Excel save operation corrupts file ↵Jeremy Allison2009-01-231-131/+144
| | | | | | | | | ACLs. If the chown succeeds then the ACL set should also. Ensure this is the case (refactor some of this code to make it simpler to read also). Jeremy. (cherry picked from commit 90b660e2382711d005e8c4c4ae1c6adbd5e5b687)
* Another attempt to fix bug #4308 - Excel save operation corrupts file ACLs.Jeremy Allison2009-01-231-25/+4
| | | | | | | | | | | | | | | | | | | | | Simo is completely correct. We should be doing the chown *first*, and fail the ACL set if this fails. The long standing assumption I made when writing the initial POSIX ACL code was that Windows didn't control who could chown a file in the same was as POSIX. In POSIX only root can do this whereas I wasn't sure who could do this in Windows at the time (I didn't understand the privilege model). So the assumption was that setting the ACL was more important (early tests showed many failed ACL set's due to inability to chown). But now we have privileges in smbd, and we must always fail an ACL set when we can't chown first. The key that Simo noticed is that the CREATOR_OWNER bits in the ACL incoming are relative to the *new* owner, not the old one. This is why the old user owner disappears on ACL set - their access was set via the USER_OBJ in the creator POSIX ACL and when the ownership changes they lose their access. Patch is simple - just ensure we do the chown first before evaluating the incoming ACL re-read the owners. We already have code to do this it just wasn't rigorously being applied. Jeremy. (cherry picked from commit 96b819e04cd71a6c899801ae68031bf55b54ea46)
* Memory leaks and other fixes found by Coveritytodd stecher2009-01-2318-59/+131
| | | | (cherry picked from commit ba576efa8f884f3dd37bb5035fbb47ae0305c0b0)
* build-docs: cleanup exit of the scriptMichael Adam2009-01-221-6/+14
| | | | | | | | | | exit in the directory where it was called using pushd/popd. Michael (cherry picked from commit b319549f129b1c79afc9bfd4a84f2730b96d69a3) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit b7d6536b323df9c5503b6a225e03a47ae2112e5c)
* s3:docs: clean build/catalog.xml in "make clean"Michael Adam2009-01-221-0/+1
| | | | | | | | Michael (cherry picked from commit 5e21fc3506f2ba7b1135b1acad2697dfb86b5df0) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit a33ec84ef7c64bf94526383340fb446e86d919e0)
* s3:docs: clean generated .png images in "make clean"Michael Adam2009-01-221-1/+2
| | | | | | | | Michael (cherry picked from commit 9b32e839bec8611c30745607a3a6b124d5b34c01) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 6a9346f0c2f900d95d0ba3ae0bdb22a6e88a7916)
* s3:docs: clarify explanation of the allocator in the idmap_ldap manpageMichael Adam2009-01-221-2/+8
| | | | | | | | Michael (cherry picked from commit 816934faa8bbe53dd299bc5e39f471eafdddefa8) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 0b1036d5d6e06e2fa14dab163d51a902ca63fc0a)
* s3:docs: clarify explanation of the allocator in the idmap_tdb manpageMichael Adam2009-01-221-4/+10
| | | | | | | | Michael (cherry picked from commit 665b5dc70333ca36129a6fe06645bd9faa4f2350) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 83a03a3ced255f0a64935fe788ac3b0ddf669ca5)
* s3:docs: clarify explanation of allocator in the idmap_tdb2 manpageMichael Adam2009-01-221-4/+6
| | | | | | | | Michael (cherry picked from commit 65b79200e46751278c125ad260d899d10d6466a2) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 73a835335e329f0aaa0b72ebfd538b8c2b813812)
* s3:docs: fix copy and paste error in the idmap_tdb2 manpageMichael Adam2009-01-221-1/+0
| | | | | | | | Michael (cherry picked from commit bd252ad665547d2ad012725ccb18720e160d221f) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit ea5be10d0656d4f7edec43a4cb926573050823aa)
* s3:docs: add a manpage for idmap_tdb2Michael Adam2009-01-221-0/+132
| | | | | | | | Michael (cherry picked from commit 84f2b2d731fb7d97c98414196bf96ee94ea88bb3) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit c52948a2b019bb1620ffa69605673d88bfa34bb4)
* s3:docs: update the idmap_ldap manpage to reflect current facts.Michael Adam2009-01-221-7/+23
| | | | | | | | Michael (cherry picked from commit 7c5621b6e09d9ae3fe936a86e46d1b0f35906e6d) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 1bbc5f228b8b73a623f7afc5eb79c08757366029)
* s3:docs: update the idmap_tdb manpage to reflect current facts.Michael Adam2009-01-221-20/+61
| | | | | | | | Michael (cherry picked from commit 32be66b19da07983670002d1b2b5bc80cf0c8d16) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 4145a1de91a18ea9a09b3088f0e5cd054875760b)
* s3:docs: fix ommission in fix of (real)distclean targetsMichael Adam2009-01-221-1/+1
| | | | | | | | Michael (cherry picked from commit 37412017c5dd2f05a7f4bbe0410a6e00ce4805e5) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit ba941074ce20617856c138eff5762646384d37de)
* s3:create-tarball: also include the VENDOR_PATCH in the versionMichael Adam2009-01-221-0/+4
| | | | | | | | Michael (cherry picked from commit ce3e34d37ce5592e0268be5d16240387d971585a) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 05b83098ed49cee906a5b16d15dce9e6baf62b07)
* s3:docs: fix distclean target and add realdistclean targetMichael Adam2009-01-221-1/+4
| | | | | | | | | | | - remove stuff created by configure in distclean - remove stuff created by autoconf in realdistclean Michael (cherry picked from commit 65c92fea3d18c3520ff2a1e53a0c5c8825c9788f) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 58db911a3845c4a8475c413e5fd8d755498dd447)
* build_docs: Use 'make distclean' instead of 'make clean'.Karolin Seeger2009-01-221-1/+1
| | | | | | | | This fixes bug #6058. Thanks to Christian Perrier for reporting! Karolin (cherry picked from commit 162e4b66601b41dd5adb24e192f3b5a91dfb41cc)
* WHATSNEW: Update changes.Karolin Seeger2009-01-201-1/+4
| | | | | Karolin (cherry picked from commit 28a80ea826aa53337817f9d0ce545b6ac3fd54f2)
* socket_wrapper: fix PCAP support broken by ↵Stefan Metzmacher2009-01-201-3/+1
| | | | | | | | | aaea68791cfea45c6fa69abc93ad6d0e832d0283 We should not close the fd after writing the first packet. metze (cherry picked from commit 53e8f92678428a0c3cbeefa83219609661d28831)
* s3: reinit_after_fork() should reinit the event context before theStefan Metzmacher2009-01-201-4/+4
| | | | | | | | | | messaging context Because messaging_reinit() may add events to the event context, which will removed by event_context_reinit(). metze (cherry picked from commit 56af6112d67aa9dd3757297fbe29ce1a3eabf00d)
* Avoid flooding of syslog with failing pam_putenv messages.Andreas Schneider2009-01-201-1/+1
| | | | | | Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit acb1debf257c6c3df325267b2a4c8e2d40c1f850)
* S3-ByExample: Use 'winbindd -D' instead of 'winbindd -B'.Karolin Seeger2009-01-203-5/+5
| | | | | | | | | | The option '-B' does not exist at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be) (cherry picked from commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd)
* S3-HowTo: Change 'winbindd -B' to 'winbindd -D'.Karolin Seeger2009-01-202-5/+5
| | | | | | | | | | There is no option '-B' at all. Thanks to Jason Ellison for reporting! Karolin (cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a) (cherry picked from commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66)
* Determine case sensitivity based on file system attributes.Derrell Lipman2009-01-204-13/+92
| | | | | | | | | | | - Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell (cherry picked from commit 005bd7eee44160e4531e46be85c67650821a8328)
* s3:cluster: fix ctdb ipv6 supportStefan Metzmacher2009-01-203-15/+23
| | | | | | | | | | | | | | | | | We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze (cherry picked from commit dc6edf1ab4ae8e3fb3ef40b93135ff0ef5407e12) (cherry picked from commit c07bcd6efd3383fc3a46fce35fd34df85ab221c9)
* s3:docs: vfs_fileid manpageStefan Metzmacher2009-01-201-0/+112
| | | | | | metze (cherry picked from commit 6a94b7b9270f3d69595b93e2632051c9842645c9) (cherry picked from commit 8e13be1db5c51002ae72c42c505a79406b2f4f63)
* s3:vfs_fileid: readd "fileid:algorithm" as option.Stefan Metzmacher2009-01-201-1/+7
| | | | | | | | "fileid:mapping" is still supported as fallback. metze (cherry picked from commit 554a89df0cf6d9832778e2913f9fe50b78baeedc) (cherry picked from commit fe9ad21b8cb5286845350fe2280da2cbe2647bb7)
* [Bug 6022] smbc_urlencode and smbc_urldecode were not exportedDerrell Lipman2009-01-203-15/+5
| | | | | | | | | | | - Since the revamp of libsmbclient, there has still been an external declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet those functions were renamed and made private. The two choices were to remove the function names from libsmbclient.h or to make them public again. The reported requested that they be public. This commit makes it so. Derrell (cherry picked from commit bf7eb0164b0c69d5d0f3019f3aa524846f6a4394)
* Treat file names in POSIX-like case-sensitive fashion by defaultDerrell Lipman2009-01-205-1/+37
| | | | | | | | | | | | | | | | *** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! *** - libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default, it requests case-sensitive, but the old behavior of case-insensitive can be requested with smbc_setOptionCaseSensitive(context, False); The change of behavior is considered a bug fix, as it was previously possible to accidentally overwrite a file that had the same case-insensitive name but a different case-sensitive name as a previously-existing file, while creating a new file. Derrell (cherry picked from commit 20b765f0a20fe7329559e4bf2a9dac4fe8e13c18)
* Fix a segfault if ? is there but the options are NULL. This is the case if ↵Andreas Schneider2009-01-201-1/+1
| | | | | | SMBC_parse_path is called by SMBC_stat_ctx. (cherry picked from commit 889d0dff4e4cfd4d4b4ed16ad64de303c795f879)
* "First thing, kill all the language lawyers" :-). Ensure possible insane ↵Jeremy Allison2009-01-201-1/+1
| | | | | | | | compilers can't kill us later. Jeremy. (cherry picked from commit 54913913be90323889b2f4dbd6a3ab75f4fa7ccd)
* ads_connect: Return immediately on a failed GC connection.Gerald (Jerry) Carter2009-01-201-3/+14
| | | | | | | | | | | | | | ads_connect_gc() feeds an explicit server to ads_connect(). However, if the resulting connection fails, the latter function was attempting to find a DC on its own and continuing the connection. This resulting in GC searches being sent over a connection using port 389 which would fail when using the base search suffix outside of the domain naming context. The fix is to fail immediately in ads_connect() since the GC lookup ordering is handled already in ads_connect_gc(). (was commit 073e9f42f0c5f5de5d736ec7843d80a274c891ce in master) (cherry picked from commit 2d0fd7543d0543ce59cb84db64afb99aa1f304b4)
* Fix bug #6040 - Missing <th> header in Status page.Jeremy Allison2009-01-201-1/+2
| | | | | | Based on a patch from pkg-samba-maint@lists.alioth.debian.org. Jeremy. (cherry picked from commit 3764e6ed2a683a69706d7654e46b998de9294883)
* Allow reinit_after_fork to be called safely from within swat and other ↵Jeremy Allison2009-01-202-11/+20
| | | | | | | | binaries that don't have an event context or a msg context. Fixes crash bug in swat. Jeremy. (cherry picked from commit 45e6f9c5a4b5d9cdb89f398f1238872251ccbe54)
* packaging(RHEL-CTDB): export CC - really use ccache...Stefan Metzmacher2009-01-201-0/+2
| | | | | | | metze Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 51e34b38959115e8a04795837b5c5983dc8d824c)
* Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails.Jeremy Allison2009-01-201-4/+5
| | | | | Jeremy. (cherry picked from commit d6f1bb7677997c4eaa0e474de590c0b36f2dcb3f)
* Fix bug #6035 - Possible race between fcntl F_SETLKW and alarm delivery.Jeremy Allison2009-01-201-1/+1
| | | | | Jeremy. (cherry picked from commit 6a8496adce6fa54d5cb86592dd977168319d5da3)