summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove two pointless else branchesVolker Lendecke2008-05-051-7/+5
| | | | (cherry picked from commit ed343114cd0844a7fd14b45f95c0f43a6d172a42)
* Missing HAVE_UPDWTMPX check before using updwtmpx().Eric Cronin2008-05-051-0/+4
| | | | | | | | | | In 10.5 Mac OS X added enough utmpx support to make it past the first two preprocessor checks around line 390 of src/smbd/utmp.c and on to the utmpx block which uses updwtmpx(). Unfortunately, as ./configure correctly surmised, 10.5 doesn't have that. https://bugzilla.samba.org/show_bug.cgi?id=5184 (cherry picked from commit f19d1e3d93d0d9dfe80372c6c5635f1047f9aa88)
* The first of Martin Zielinski <mz@seh.de> Vista printing patches.Jeremy Allison2008-05-052-4/+12
| | | | | | | Jerry will test and should get into 3.2 final (and the next 3.0.x release). Jeremy. (cherry picked from commit 3fc1ab210b8772ee9f867499c0b1a7bb4bcdd285)
* rpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.Michael Adam2008-05-051-1/+1
| | | | | Michael (cherry picked from commit 0de001a5446545b928eb88e1916b4fe674017424)
* Fix an uninitialized variableVolker Lendecke2008-05-051-1/+1
| | | | (cherry picked from commit 825f78d9f12b5b3e835bd91961e00402cab0bf60)
* vfs_cacheprime: fix C++ warning - make implicit cast explicitMichael Adam2008-05-051-1/+1
| | | | | Michael (cherry picked from commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)
* errors: add WERR_INVALID_DOMAINNAME.Günther Deschner2008-05-052-0/+2
| | | | | Guenther (cherry picked from commit b11a5e70d38239fb50ba4606656e2168cc398a12)
* Use more error-prone form of testing dm_destroy_session() return code after ↵Alexander Bokovoy2008-05-051-1/+1
| | | | | | discussing with Tridge (cherry picked from commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)
* Fix from Martin Zielinski <mz@seh.de>. Don't delete files whenJeremy Allison2008-05-051-7/+20
| | | | | | they're in use by other drivers. Jeremy. (cherry picked from commit 205c352caeb32693a02fcfaeb3f18515719ac373)
* increase log level for this failed setsockopt call. EINVAL is a normal error ↵Björn Jacke2008-05-051-1/+4
| | | | | | on Solaris when we do this on an already resetted connection. (cherry picked from commit 42bc4ff7fd6bfc92bde015ae8f3a9fb62d443cd5)
* Fix a memleak -- Coverity ID 222Volker Lendecke2008-05-051-1/+2
| | | | | (cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72) (cherry picked from commit 86cabcad74ac06d888f2a352a2bef3abea1ed85c)
* Fix some "ignoring asprintf result" warningsVolker Lendecke2008-05-052-20/+21
| | | | (cherry picked from commit 155d62ddfd3584d44a493c2aa1ea7f096bcff432)
* Fill in WHATSNEW.txt for pre3.Günther Deschner2008-05-051-0/+16
| | | | | Guenther (cherry picked from commit bf638d97d7668292ef9abf890eebc402645b8327)
* Fix bug 5398Volker Lendecke2008-05-051-3/+3
| | | | | | | Thanks to Jason Mader for sending the compiler output :-) Volker (cherry picked from commit 7a57c2da1a6cc0fcea0b4d949c696219f1822694)
* Fix bug 5399Volker Lendecke2008-05-051-5/+0
| | | | | | | Thanks to Jason Mader! Volker (cherry picked from commit 36740f4959194cfaa98b1e37eed08f22edbda1e4)
* Add in a nice big comment explaining why SamLogonEx matters.Andrew Bartlett2008-05-051-0/+21
| | | | | Andrew Bartlett (cherry picked from commit 87232351b5e66728f8d602259961909e8c1dfcb6)
* winbindd_cache: simplify logic in new key length check for UA keys.Michael Adam2008-05-051-14/+9
| | | | | | | | | | | | This reduces indentation by combining common code paths, and wraps long lines. Holger: sorry, I could not resist. I think it is much easier to understand what is going on when we only have one check and determine the max allowed key length in advance. Michael (cherry picked from commit e489f3d988feafe35b486b31a9e60c2399e6a6e7)
* winbindd_cache: recognize and allow longer UA keysHolger Hetterich2008-05-051-3/+13
| | | | | | | UA keys consist of a potientally large number of concatenated SID strings which can grow much larger than 1024 bytes in complex environments. We catch those keys and allow them exclusivly to be larger. (cherry picked from commit fcd35232e111f9b046ae35d939d08c29d0d43438)
* Remove hard coded sizes.Jeremy Allison2008-05-051-3/+3
| | | | | Jeremy. (cherry picked from commit b9eec6e73fbcd0256d5cc507bb4434976d7133a0)
* Fix bug 5400Volker Lendecke2008-05-051-2/+2
| | | | | | | Thanks to Jason Mader! Volker (cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
* Fix dfs_Enum: In form_junctions, correctly check for malloc failureVolker Lendecke2008-05-051-1/+1
| | | | (cherry picked from commit 1b1614c3261e1e93a2cad1f1063e28cbbb13f434)
* Tidyup to ensure '\n' is treated identically in allJeremy Allison2008-05-051-0/+2
| | | | | | cases. Karolin please pull for 3.2-stable. Jeremy. (cherry picked from commit 92b5ff39b17e4d07e78c285991027745ad6e2e13)
* Fix bug #5434 found by Ted Percival <ted@midg3t.net>.Jeremy Allison2008-05-051-0/+2
| | | | | | | | Introduced by me in the strlcpy cleanup. Ensure the loaded password doesn't contain the '\n' at the end. Karolin - please pull for 3.2 stable ! Jeremy. (cherry picked from commit 0bdefa423fbb9469635f8e08c0a3f80a8996b1b6)
* Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be ↵Jeremy Allison2008-05-051-1/+1
| | | | | | | | AF_INET6 in this case. Karolin, please pull for 3.2-stable. Jeremy. (cherry picked from commit 612e7cdff3139ff3b2cfaf4b213cb47ce75983d1)
* man smbcacls: Correct possible flag values.Karolin Seeger2008-04-281-4/+3
| | | | | | | | This patch fixes bug #620. Thanks to Satoh Fumiyasu <fumiyas@osstech.co.jp>! Karolin (cherry picked from commit 70f6966099788f4bdb0298a68d4cb0b90964dd8f)
* Revert "mount.cifs: Zero mountpassword content before freeing."Volker Lendecke2008-04-281-24/+3
| | | | | This reverts commit d99a31848bd2172c15500dd61ce30fef963c1ac6. (cherry picked from commit 46614ca3eca67aee4c1ab699e85493f9832e4b37)
* WHATSNEW: Add changes from Steven Danneman.Karolin Seeger2008-04-281-0/+4
| | | | | Karolin (cherry picked from commit bfb91c078c28f528581058ba22d31c32616aa869)
* Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s ↵Steven Danneman2008-04-282-2/+26
| | | | | | | | | | | | | | | | | | | | of entries The ads_do_search_all_args() function attempts to string together several LDAPMessage structures, returned across several paged ldap requests, into a single LDAPMessage structure. It does this by pulling entries off the second LDAPMessage structure and appending them to the first via the OpenLDAP specific ldap_add_result_entry() call. The problem with this approach is it skips non-entry messages such as the result, and controls. These messages are leaked. The short term solution as suggested by Volker is to replace the ads_*_entry() calls with ads_*_message() calls so we don't leak any messages. This fixes the leak but doesn't remove the dependence on the OpenLDAP specific implementation of ldap_add_result_entry(). (cherry picked from commit fe9f48bfe8d31812d9644682903c04f1e93c2987)
* WHATSNEW: Preparation for 3.2.0rc1.Karolin Seeger2008-04-281-3/+8
| | | | | Karolin (cherry picked from commit e805c3a2184d86b8e56716b228bc5a240957dad0)
* docs: fix the manpage output of parameters list in smb.conf.5.samba-3.2.0pre3Michael Adam2008-04-251-0/+3
| | | | | | | There were some newlines missing in the template for samba:parameters. Michael (cherry picked from commit a47abfa9276765164870bd7541798ff1201379b1)
* Fix yet another set of documentation linksAlexander Bokovoy2008-04-253-8/+4
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> (cherry picked from commit a132cc3c6243c049860378f56c4d415d6cb35570)
* Ignore intermediary documentation files in gitAlexander Bokovoy2008-04-251-0/+0
| | | | | Signed-off-by: Alexander Bokovoy <ab@samba.org> (cherry picked from commit e700cf9ef4aefcb04d500136d117ff13a51e6433)
* Fix documentation build: manpages, links in the HTML documents.Alexander Bokovoy2008-04-257-35/+57
| | | | | | | | | Fixed manpages generation to properly create handle smb.conf parameters' titles Changed HTML generator to include links for every smb.conf parameter. Now we have correct linking between different HTML documents. Signed-off-by: Alexander Bokovoy <ab@samba.org> (cherry picked from commit 056935ff1f5fefc3ca42f7006182fc80c94d91ab)
* mount.cifs: Zero mountpassword content before freeing.Karolin Seeger2008-04-251-3/+24
| | | | | Karolin (cherry picked from commit d99a31848bd2172c15500dd61ce30fef963c1ac6)
* Rerun pidl after fixing array copying in client code and authservice array ↵Jelmer Vernooij2008-04-2517-31/+31
| | | | sizes.
* manpages: update the section about registry configuration in smb.conf.5Michael Adam2008-04-251-26/+43
| | | | | Michael (cherry picked from commit 27bc3ac03f8be222814ff7b77cb3e50b3167a1ef)
* manpages: describe special meaning of "include = registry" in description of ↵Michael Adam2008-04-251-3/+8
| | | | | | | "include" Michael (cherry picked from commit 613b6dc6f833dd7ef93e107c0eddc211d42fff93)
* WHATSNEW: Update release date for 3.2.0pre3.Karolin Seeger2008-04-251-1/+1
| | | | (cherry picked from commit f4053cf5097aac32bb522f0c4d7d073ae823b409)
* Make mount.cifs.c consistent with other Samba code usage w.r.tJeremy Allison2008-04-251-69/+54
| | | | | | | | SAFE_FREE. Use #define constants not arbitrary numbers. Stevef please check. Karolyn, once Steve has checked please pull for 3.2-stable. Jeremy. (cherry picked from commit cc23f91d639db61903bf8b6c9fa46ec9c1f44178)
* Fix a bogus uninitialized variable warning in IDL-based nbt codeVolker Lendecke2008-04-251-1/+1
| | | | (cherry picked from commit 06c5076f8ef23ac36d234ed417b80a58ab8dd7b4)
* Correctly initialize lp_load in smbstatus in the presence of registry on tdb2Volker Lendecke2008-04-241-4/+16
| | | | (cherry picked from commit c4f7bee9238db536a7d5215cebb0bf37f757dfad)
* Increase level of debug msg when a regkey is not foundVolker Lendecke2008-04-241-1/+1
| | | | | | This is a pretty normal situation if you have "include=registry" set but no configuration options have been set there yet. (cherry picked from commit 727127f1dcd49b31b5a48cc3f9314aa2380d60e1)
* Fix CLEAR_IF_FIRST handling of messages.tdbVolker Lendecke2008-04-248-10/+12
| | | | | | | | We now open messages.tdb even before we do the become_daemon. become_daemon() involves a fork and an immediate exit of the parent, thus the parent_is_longlived argument must be set to false in this case. The parent is not really long lived :-) (cherry picked from commit 4f4781c6d17fe2db34dd5945fec52a7685448aec)
* libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam2008-04-233-4/+4
| | | | | | | | | | char ** Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael (cherry picked from commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
* libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam2008-04-233-4/+4
| | | | | | | | This fixes a compile warning and seems the correct thing to me as the returned data is talloc_strdup't, so not const anyways. Michael (cherry picked from commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
* The attached patch removes some global variables, and make them local to main().Charles2008-04-231-8/+9
| | | | (cherry picked from commit 50cab87d3ee6d701dd8847f4e0a058f5e2d80e0f)
* Fix return code.Charles2008-04-231-1/+1
| | | | (cherry picked from commit 98b643366044f471ad69c9e5aac06022f30742d9)
* smbget: Make global variables static.Charles2008-04-231-6/+6
| | | | (cherry picked from commit c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d)
* Fix formatting.Jelmer Vernooij2008-04-231-3/+2
| | | | (cherry picked from commit e2345ce90c3f1548f63d720c5943c8d61fdc899a)
* Add --update option to smbget.Charles2008-04-231-3/+27
| | | | (cherry picked from commit 3cfa35fca64b059b307668ca0113503679e0b1fa)