summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:smbd: wildcard characters are allowed in stream namesStefan Metzmacher2008-12-091-1/+11
| | | | | | | We only check the filename of the basefile now. metze (cherry picked from commit 1ad249d10bc4a9ed61c1f712e6ccc35e6ec7ba06)
* s3:smbd: correctly verify stream names to pass RAW-STREAMSStefan Metzmacher2008-12-091-1/+35
| | | | | metze (cherry picked from commit 3a5d85ca7ca54f7ab5e742c6026b528fcc94bae5)
* s3:smbd: '|' isn't allowed in windows filenamesStefan Metzmacher2008-12-091-1/+1
| | | | | metze (cherry picked from commit 7d86c371f4613287e5e7461db37ee5db86c2a5aa)
* Fix a debug message, append the correct \nVolker Lendecke2008-12-091-1/+1
| | | | | (cherry picked from commit 263c1ca96bd68dced4577a2504073e1140fa26a1) (cherry picked from commit 0f2e2451a5d7eac917d8a874032c2366dd8aaa12)
* vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)Michael Adam2008-12-091-1/+1
| | | | | Michael (cherry picked from commit 75646900fc9327a1ff3353be4a4e52a429055a91)
* Fix circular dependency error with autoconf 2.6.3.Andreas Schneider2008-12-091-0/+2
| | | | | Signed-off-by: Andreas Schneider <anschneider@suse.de> (cherry picked from commit ca172884bb9f64980d46d3e2cecd6189075cc983)
* Fix bug #5914 - Build failure: redefinition of struct name_listJeremy Allison2008-12-091-8/+8
| | | | | Jeremy. (cherry picked from commit 57e2769b34f3e156af734304e0c342a8cd1821e2)
* s3-samr: fix _samr_LookupNames return code.Günther Deschner2008-12-091-1/+10
| | | | | | Guenther (cherry picked from commit dc7c2d63b3ce142959aa863f000fa9140de99eb0) (cherry picked from commit e03d5d41184374f89d780725468227d546288be3)
* zfsacl: return is not a function.Michael Adam2008-12-091-3/+3
| | | | | Michael (cherry picked from commit 6017b3095b0eb0e5b855d5bf693c99645ff229b1)
* zfsacl: Prevent calling POSIX ACL vfs methods on zfs share.Nils Goroll2008-12-091-0/+83
| | | | | | | This is a proposed fix for Bugs #5135 and #5446. Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 4b64ef5ea9554992eddba85a203cbe9397f8e839)
* [PATCH] Allow SYSLOG_FACILITY to be modified with a new configure option ↵Dan Sledz2008-12-091-0/+16
| | | | | | called --with-syslog-facility (cherry picked from commit 372967099ed032832cbc5aa107eeb92949b3c139)
* Fix bug #5873 - ACL inheritance cannot be broken. This regresses #4308, but ↵Jeremy Allison2008-12-091-0/+8
| | | | | | | | that will have to be fixed another way. Jeremy. (cherry picked from commit dbc9acf637397766fa663358424af5342c628d5e)
* Search for gpfs functions in both libgpfs_gpl.so an libgpfs.soMathias Dietz2008-12-091-47/+45
| | | | | | | | | | As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS installations, still look there. (cherry picked from commit 61468186cece7370576a2d13992f9a523067e4be) Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit 93dd57627795b92b3d3f723a105271aead395dd1)
* libads/ldap.c: return an error instead of crashing when no realm is givenStefan Metzmacher2008-12-091-4/+4
| | | | | | | | | | | The bug was triggered by "net ads info -S 127.8.7.6" (where 127.8.7.6 doesn't exist) and "disable netbios = yes". metze Signed-off-by: Michael Adam <obnox@samba.org> (cherry picked from commit e2a60d2e1fd7455f08e73f8d1c513ca240c0f0af) (cherry picked from commit 8fc213fcd4c5a6ddaa0d44965bcd0ca1afbbbc84)
* Revert c76e4791d3ae4f180fba209c29bd3774c00858cf - "Fix the logic bug that ↵Jeremy Allison2008-12-093-39/+37
| | | | | | | caused us to run into kernel oplocks on an open for a stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks." as it broke make test. Jeremy. (cherry picked from commit 4c82a8dd2f6fae1ea1722108c7f64e6a1286df15)
* Fix the logic bug that caused us to run into kernel oplocks on an open for a ↵Jeremy Allison2008-12-092-35/+41
| | | | | | | stream inside a file with stream_xattr module. On opening the base_fsp we must break existing oplocks. Jeremy. (cherry picked from commit c76e4791d3ae4f180fba209c29bd3774c00858cf)
* [PATCH] FreeBSD configure check for backtrace_symbolsDan Sledz2008-12-091-0/+2
| | | | | | On FreeBSD backtrace_symbols is defined in libexecinfo.so.1. Look for it there as well. (cherry picked from commit 22b21f63d9ebd6181d9ff577ec27e33982db85db)
* Use fxattr calls whenever possible (trying to work around the strange Linux ↵Jeremy Allison2008-12-091-19/+51
| | | | | | | kernel oplock bug). Jeremy. (cherry picked from commit 89d6bd5bc5398fbec6fbfb797ea6f10ad036c205)
* winbindd_group: don't list the domain twice when expanding internal aliasesMichael Adam2008-12-091-1/+1
| | | | | | | | Before this, "getent group builtin\\administrators" expanded domain group members in the form DOMAIN\domain\user. Michael (cherry picked from commit a0e36cdd05cc9f5354dd9e834077919b8ce64262)
* winbindd_group: sanely handle NULL domain in add_member().Michael Adam2008-12-091-1/+5
| | | | | Michael (cherry picked from commit 0943858d0297291a73c040a1412b1708b340dac7)
* winbindd_ads: honour "winbind use default domain" in lookup_groupmem().Michael Adam2008-12-091-9/+11
| | | | | | | | This fixes the output of "getent group" when "winbind use default domain = yes" with security = ads. Michael (cherry picked from commit e720a1533ba8063478a68ca94b39364a77529f41)
* winbindd_rpc: add domain prefix to username in lookup_groupmem().Michael Adam2008-12-091-1/+4
| | | | | | | | This makes the output of "getent group" of a domain group show the domain prefix with "security = domain". Michael (cherry picked from commit 5eacc680d2615a1d8a2b4d51a6d08fa7e09e080e)
* winbindd_util: add fill_domain_username_talloc().Michael Adam2008-12-091-0/+27
| | | | | | | A talloc version of fill_domain_username(). Michael (cherry picked from commit 3ad23ec3bd98aa55fa29c5c1cac60116b5fc00d2)
* winbindd: fix a comment typoMichael Adam2008-12-091-1/+1
| | | | | Michael (cherry picked from commit d3e3c2c50ee404de25b46a06bd71f90a7214e69c)
* winbind_util: fix an implicit cast compile warning.Michael Adam2008-12-091-1/+1
| | | | | Michael (cherry picked from commit 38020bdeb9115fe41038723a2ffaedb75df8e564)
* winbindd: make all winbind rpc-methods static.Michael Adam2008-12-091-31/+32
| | | | | | | | Now that the methods are no longer needed in winbindd_ads, we can make them static again. Michael (cherry picked from commit fc82807659cf4ab23df8ae7b98edfc715b54f591)
* winbindd_ads: use the reconnect methods instead of the rpc methods directlyMichael Adam2008-12-091-6/+75
| | | | | | | | | | | Some of the ads methods just point to the rpc methods. This makes winbindd_ads use the reconnect methods instead of calling the rpc methods directly in order to prevent negative cache entries for e.g. name_to_sid, when the dc has closed the connection without sending a reset. Michael (cherry picked from commit afd1cba6c18cb56ec13659cec7c86b32de2fda39)
* winbindd_ads: prevent negative GM/ cache entries due to broken connectionsMichael Adam2008-12-091-0/+23
| | | | | | | | | | | | | | | The ads lookup_groupmem() function calls lda_lookupsids to resolve sids to names. This is tried only once. So in case the connection was broken, e.g. closed by the server (without a reset packet), there will be an empty GM/ cache entry for the requested group which will prevent proper working of access checks among other checks for the expiry period. This patch works around this problem by retrying once if the lsa_lookupsids call fails, re-establishing the dc-connection, as we already do in many other places (e.g. the winbindd retry methods for the rpc layer). Michael (cherry picked from commit 9d5af844c53ff2b25904c96d28546271a249debb)
* Second part of the fix for bug #5903 - vfs_streams_xattr breaks contents of ↵Jeremy Allison2008-12-093-16/+106
| | | | | | | the file Jeremy. (cherry picked from commit d4481329438d27a23ded85f01f5cf06725221d0e)
* Ensure we always reply in reply_printopen().Jeremy Allison2008-12-091-2/+3
| | | | | Jeremy. (cherry picked from commit e2f699a5d1a2415ce37c052bf24bbecf0d41bae7)
* First part of fix for bug #5903 - vfs_streams_xattr breaks contents of the file.Jeremy Allison2008-12-096-116/+120
| | | | | | | Restructures parts of open code so that fsp must be allocated before calling open_file_ntcreate(_internal). Also fix up file ref-counting inside files.c. Jeremy. (cherry picked from commit 1f36db34d7483614e1a4d6d5f3437205bcb20541)
* Fix bug #5909 - MS-DFS does not work on Vista, if link name includes ↵Yasuma Takeda2008-12-091-6/+6
| | | | | | multibyte character. (cherry picked from commit cae1717f58c89faaf68502c72124ecd1728d3374)
* Second part of fix for bug #5891 - smbd crashed when viewing the eventlog ↵Jeremy Allison2008-12-091-5/+3
| | | | | | | exported by "eventlog list". Don't leak memory on error paths. Jeremy. (cherry picked from commit b4f01de83a6f65e065117e917fdb208ce6d58c01)
* eventlog: don't crash in sync_eventlog_params().Michael Adam2008-12-091-1/+1
| | | | | | | | | | | | | When freeing the talloc ctx at the end of the routine, it must be a talloc ctx created inside. talloc_tos() needs to be valid after the function finishes, since callers (may) have data attached to it. Michael Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 113c5d28edabdd17a2507e68aad612aa21c758f3) (cherry picked from commit 3677b2edd42765e50335cdba1651eebc3518e2ae)
* This code mixes up int and uint32 when pulling out of a TDB. This is very ↵Jeremy Allison2008-12-092-24/+26
| | | | | | | bad. Fixing... May fix bug #5891, not sure. Jeremy. (cherry picked from commit 3c92c4f3140d7817a66c6b8d601dd30e5d15c88d)
* Fix error in commit for bugfix "Fix bug #5904 - libnss_wins causes SIGABRT ↵Jeremy Allison2008-12-091-7/+0
| | | | | | | while servicing getaddrinfo() request." Jeremy. (cherry picked from commit e4b4e9cafbb7dcda761b396a71be9ba4965956bc)
* Fix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() ↵Jeremy Allison2008-12-091-15/+55
| | | | | | | request. Jeremy. (cherry picked from commit 89d234574b1a2f12b2d9d21c4286648d0da436c3)
* Fix extended DN parse error when AD object does not have a SID.Steven Danneman2008-12-092-42/+75
| | | | | | | | | | | | Some AD objects, like Exchange Public Folders, can be members of Security Groups but do not have a SID attribute. This patch adds more granular return errors to ads_get_sid_from_extended_dn(). Callers can now determine if a parse error occured because of bad input, or the DN was valid but contained no SID. I updated all callers to ignore SIDless objects when appropriate. Also did some cleanup to the out paths of lookup_usergroups_memberof() (cherry picked from commit 48959de11bdeea7f114d8019349b37ada1df5aef)
* Whitespace and >80 column cleanups.Steven Danneman2008-12-093-50/+52
| | | | (cherry picked from commit 8a9df932bfcae6bb9bd60914e9c74d13b3dfcd30)
* Fix Bug #5898. ("net rpc shutdown" fails).Günther Deschner2008-12-091-2/+2
| | | | | Guenther (cherry picked from commit 40712b9ab1e915d405db45e2f18c72a9957158a9)
* Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"Dina Fine2008-12-091-0/+3
| | | | (cherry picked from commit a3c79bd8d09262257cf8c025753332fb639fc09e)
* libsmb: Fix up pointer passed to cli_send_trans in cli_link_internalKai Blin2008-12-091-1/+1
| | | | | | Seems like this one fell victim to the pstring removal. The other callers seem to be fine, even though removing the casts would make the code less confusing. (cherry picked from commit aa26b0aa3d913b09ead97c2c0bbfade0dddcd251)
* Re-structure Volker's patch to "Fix trans2findfirst for the large directory ↵Jeremy Allison2008-12-091-26/+21
| | | | | | | optimization". Makes the change clearer. Jeremy. (cherry picked from commit 71878cb566aa9edeb85ac134a1ad60cfbc2927fe)
* Fix trans2findfirst for the large directory optimizationVolker Lendecke2008-12-091-0/+5
| | | | | | | | | | | | | | | | | | With case sensitive = yes preserve case = no short preserve case = no default case = upper a "dir FOO.txt" would not find "FOO.TXT" because FOO.txt ends up unconverted in the mask for mask_match. Jeremy, please check! Volker (cherry picked from commit 0dbcc308e30b121268cdfcdd70c50c4ed38ab433) (cherry picked from commit 96764065e2e2eaa13cb71bc9ea2d75800da7db4f)
* Fix bug #5906 when running winbindd on a Samba PDC. Winbindd crash on ↵Davide Sfriso2008-12-091-2/+2
| | | | | | 'getent group'. (cherry picked from commit 742ac5c45674446546b9e8ee22320a39d700b195)
* When clearing out vuid cache remember to set entries = 0.Jeremy Allison2008-12-091-0/+1
| | | | | Jeremy. (cherry picked from commit 1daad740c6f0e3914b691b3e9c57aaf68ba0ca01)
* Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.Jeremy Allison2008-12-093-3/+13
| | | | | Jeremy. (cherry picked from commit 4cd70457781907edf6641696cc311915905c96fa)
* s3 create-tarball.sh: Remove dashes in git commands.Karolin Seeger2008-12-091-4/+4
| | | | | | | | | | | Newer git versions (e.g. 1.6.0.2) do not provide the 'git-' commands any longer. Karolin (cherry picked from commit 0cba859f12177aaf3ef2d96663f0a51f61c24d56) (cherry picked from commit 3d64e67de2b50f7b781aa3f5ad13ec8e866d4333) (cherry picked from commit aa41a80969bd413d5922c602c7309bd8c05f3181) (cherry picked from commit 0b4dd0cb1f81126344a6fe3304b46f880089718d)
* net: Fix documentation of net rap printq infoCarsten Dumke2008-12-092-2/+2
| | | | | | | | | | | | The man-page (see net(8)) and the usage-info (call "net help rap printq") of 'net rap printq' do contain an option "list" but in net_rap.c the option is named "info". Rename the option "list" in the documentation (man-pages + usage) to "info" to match the code. Signed-off-by: Kai Blin <kai@samba.org> (cherry picked from commit 0a7fb721cdc0d825cf246d53075ad32a81b2b31d)
* Fix bug 5901: Default for streams_depot locationTAKAHASHI Motonobu2008-12-091-1/+9
| | | | (cherry picked from commit a512cc80890a2183d5643d8324fb9dc13fca1e9e)