summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix an uninitialized variable warningVolker Lendecke2008-05-051-0/+1
| | | | (cherry picked from commit 4cc09ec40609484c973361a0cc0f05bfaef1738e)
* init_srv_share_info_ctr: Add debug messages.Michael Adam2008-05-051-0/+3
| | | | | Michael (cherry picked from commit 8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)
* Strip whitespace in ntsvcs rpc server.Günther Deschner2008-05-051-13/+13
| | | | | Guenther (cherry picked from commit 0c7af8bc136f45484eab3c36b761046f88653b93)
* loadparm: reformat - fix whitespace/tabMichael Adam2008-05-051-1/+1
| | | | | Michael (cherry picked from commit 3acc0d84dc8f29b67ddaa1124224a93cb43b07ad)
* Fix typo.Günther Deschner2008-05-051-2/+0
| | | | | Guenther (cherry picked from commit ffe77dc8b0476b7a5d81d63c3cf67f81033df12e)
* samlogoncache: Use data_blob_const in netsamlogon_cache_get.Günther Deschner2008-05-051-2/+1
| | | | | Guenther (cherry picked from commit f27a20f25c9b2038621a6394821bbedbf17daa73)
* 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)
* 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)
* Revert "mount.cifs: Zero mountpassword content before freeing."Volker Lendecke2008-04-281-24/+3
| | | | | This reverts commit d99a31848bd2172c15500dd61ce30fef963c1ac6. (cherry picked from commit 46614ca3eca67aee4c1ab699e85493f9832e4b37)
* 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)
* 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.
* 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)
* Janitor for tridge. Keep lib/replace in sync with the gcc4Jeremy Allison2008-04-234-5/+6
| | | | | | changes. Jeremy. (cherry picked from commit b496f133228b74bf613dab81167a5b9670511c51)
* Fix the problem when -L is used with IPv6 addresses. Don't try toJeremy Allison2008-04-231-0/+8
| | | | | | | connect on port 139 with IPv6. Found by David Holder @ Erion. Karolin please merge to 3.2-stable. Jeremy. (cherry picked from commit c003e66ff10b23bb30aef0071ba7a3ae9579174e)
* Fix gcc uninitialized variable used warning.Jeremy Allison2008-04-231-6/+5
| | | | | Jeremy. (cherry picked from commit b95f2adeb5e2f7ce71e46e6a6165159483c9a702)
* Fix bug #5386, don't keep printing the same waitingJeremy Allison2008-04-231-3/+6
| | | | | | error message. Jeremy. (cherry picked from commit 12e6818df1c77810a59a2896f8c44c91fc24e7ae)
* Quieten valgrind message on make valgrindtest. This doesn'tJeremy Allison2008-04-231-0/+5
| | | | | | seem to be valid (vl - feel free to confirm). Jeremy. (cherry picked from commit 43b0254d93540eeaddaa32d76dd9271f4dc2ebff)