summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a memleak in fetch_ldap_pwVolker Lendecke2008-06-091-1/+2
| | | | | | Fix Coverity ID 572, also fix the error check for secrets_fetch failing (cherry picked from commit 2663c81a782fd4394a9feaaaa987c7f6d38ca5da) (cherry picked from commit 56447baf3bca6cc7110420d84188291f6c785daf)
* Fix a memleak in secrets_fetch_trust_account_password_legacyVolker Lendecke2008-06-091-0/+1
| | | | | | Coverity ID 571 (cherry picked from commit a551773e34af1c118f77784a285e1b885da8655d) (cherry picked from commit 682ec284b189e12de4fff9f000b12960a69d90cb)
* Fix a memleak in secrets_fetch_afs_keyVolker Lendecke2008-06-091-0/+2
| | | | | | Coverity ID 570 (cherry picked from commit 0f52dc3f7eae7e87b8a71bd099b99b0b3e76a387) (cherry picked from commit fb708dafb052dae7733657487ac73a533750f6f9)
* Add STREAMINFO op to vfs_full_auditVolker Lendecke2008-06-092-1/+28
| | | | | | Fix Coverity ID 552 and 553 (cherry picked from commit c46e10d2605b22d31675976e62e5ae61d73c8a0a) (cherry picked from commit 20aa14480e9ae6cea663c67fe9e2d1d3b6fafa7d)
* mailslot: always pull a command 25 type reply.Günther Deschner2008-06-061-0/+1
| | | | | | Guenther (cherry picked from commit 1ce726b951621cb4b34069c31d1318fc04ad2389) (cherry picked from commit 80c7fbb4edb29b3c670c21baa5f613b942e68e1e)
* Fix a memleak caused by a crappy get_sorted_dc_list() APIVolker Lendecke2008-06-051-1/+14
| | | | (cherry picked from commit ba10b9c077272c521504b3a638bba73446efc61c)
* Fix a memleak in ads_find_dc() in case get_sorted_dc_list() failsVolker Lendecke2008-06-051-0/+1
| | | | | | This is really not a proper place to fix this, but as get_gc_list() and friends are about to be replaced anyway, just work around the broken existing API (cherry picked from commit 6bcfa82ff15531c64e0db27dcc58e5847c513aa6)
* build: fix build warning.Günther Deschner2008-06-051-1/+1
| | | | | | Guenther (cherry picked from commit 62fcad0c0548ab53e9c20cfd6301972c68172b95) (cherry picked from commit 69e93e2b88c880f770b416b6f5645b8d4c8bf5d8)
* libnetjoin: correctly copy returned lsa policy sid.Günther Deschner2008-06-051-2/+4
| | | | | Guenther (cherry picked from commit 12d333fd90450fdd3fa8029502509d872cf5cae0)
* libnetjoin: only close existing policy handles while unjoining.Günther Deschner2008-06-051-2/+10
| | | | | Guenther (cherry picked from commit 1c901c82235a4d6bb4750151caebda0554245f05)
* libnetjoin: delete possible "realm" leftover parameter.Günther Deschner2008-06-051-0/+2
| | | | | | Guenther (cherry picked from commit d7ba98cc3f2d037ec01e079220a66da508b104b0) (cherry picked from commit 62a2c988f37354e323e1dd8065b4a93edb169ac1)
* Allow server manager to close open files selected by id.Jeremy Allison2008-06-056-4/+97
| | | | | Jeremy. (cherry picked from commit 4b312d4e6fdd30ea754cf499fbe86ce932d1d9d2)
* Split the winbindd_passdb backend into a 'builtin' and a 'sam'Jeremy Allison2008-06-054-115/+349
| | | | | | | backend. This allows winbindd when running on a Samba PDC to correctly answer wbinfo -u lists and other queries. Jeremy. (cherry picked from commit ce45c773543c6687669fb6a9dd062a6a7e45b409)
* Add ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be ↵Björn Jacke2008-06-043-3/+40
| | | | | | controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544 (cherry picked from commit 8e59a2fedc940b081222b0e8f90fe0c5a0981c06)
* Fix empty input fields in SWAT; [#5515].Andreas Schneider2008-06-031-4/+4
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit e1579c90fb27c07f95889dd8778daeef53e2ac16) (cherry picked from commit f29f96fe76a139291cbc6e2dee1bca160ea3460a)
* Fix saving of the config file in SWAT; [#5516].Andreas Schneider2008-06-031-2/+2
| | | | | | | | | The strlen of the source string passed to convert_string_allocate was too short :) Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit ac3597ef8b7781499ab55f1039670ec82202e32c) (cherry picked from commit cd7e6b0a0de376c94f9c97247db65a959031a21a)
* Fix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain childJeremy Allison2008-06-031-2/+18
| | | | | | not keeping primary domain online status up to date. Jeremy. (cherry picked from commit d634d78cdfbfa9e27cf9cb5ada3c5220be257a7f)
* Fix bug reported by David Eisner <deisner@gmail.com>. When allocating cliJeremy Allison2008-06-031-3/+3
| | | | | | | buffers for large read/write - make sure we take account of the large read/write SMB headers as well as the buffer space. Jeremy. (cherry picked from commit 220bb029a9f32a011c59013076eaeb3a86dc8843)
* From Michael R Sweet <mike@easysw.com>.Jeremy Allison2008-05-311-1/+1
| | | | | | | | | | | All, Noticed that smbspool.c still has my Easy Software Products copyright on it. The following patch fixes it to match the other code I've contributed over the years... Jeremy. (cherry picked from commit d5ee3b19ebc7b19d7e02f3fb849dcec20fca476f)
* A few cleanups from Chere Zhou <chere.zhou@isilon.com>.Jeremy Allison2008-05-312-0/+7
| | | | | Jeremy. (cherry picked from commit de3b9e3ed2bfd32dc0d0e45ad8fd775ebd9004fa)
* Memory leak fixes from Chere Zhou <czhou@isilon.com>.Jeremy Allison2008-05-312-0/+5
| | | | | Jeremy. (cherry picked from commit a48df9ce84d7b365465e70d8ec27d9b5fcf59b45)
* Fix bug #5504. winbindd children and parent were handing SIGTERM in the same ↵Jeremy Allison2008-05-312-11/+16
| | | | | | | way - deleting the socket! Jeremy. (cherry picked from commit fb3e5a14dabeb36b55c31ab3b6c502de1e0d1fe0)
* Fix valgrind bug in debug statement. Don't reference uninitialized memory.Jeremy Allison2008-05-311-3/+2
| | | | | Jeremy. (cherry picked from commit 0aded23c4f6fc726896f5b5955e913ca559e7713)
* minor memory leak fixChere Zhou2008-05-311-0/+1
| | | | (cherry picked from commit e7a295fa27f4bc7c0661873ef0d9661cfa9b14d0)
* Fix winbindd on a PDC by reverting : ↵Jeremy Allison2008-05-312-9/+6
| | | | | | | | | 83b04c60fac76ccd2d5aecb14f8896a07d488b1f..6e66512d5beb256a44c6703cdb8c7fa7e0fd8537. We still need to address https://bugzilla.redhat.com/show_bug.cgi?id=429024, but this will come later. Jeremy. (cherry picked from commit 8bfedcdfd2cf6bd98a9b2040242e7cc9f31294ab)
* VERSION: Raise version number to 3.2.0rc2.Karolin Seeger2008-05-301-1/+1
| | | | | Karolin (cherry picked from commit 7c01c4032ead1940ab36bb85547da291705944ff)
* Security fix for CVE-2008-1105: Boundary failure when parsing SMB responsesJeremy Allison2008-05-306-210/+14
| | | | | | can result in a buffer overrun. Jeremy. (cherry picked from commit 353d9cb0fdd941781698c6b334db5f2997eef991)
* Fix security=server, bug 5502Volker Lendecke2008-05-301-2/+4
| | | | | | | | | This has brown paper bag quality and is definitely needed for 3.2.0. Thanks to Orion Poplawski for reporting this! Volker (cherry picked from commit 779a3af0cd3ecbf82e3de16a4e0aec046c19d869)
* Tiny memory leakMarc VanHeyningen2008-05-301-0/+2
| | | | (cherry picked from commit 8fce305e47aefdcad8e20d51851d8a3734508f00)
* Fix Bug #5285. (libcap header mismatch)Günther Deschner2008-05-293-47/+9
| | | | | | | | | | Can someone with gpfs available test this ? The only codepath using this function is the modules/gpfs.c module. The fix resolves at least the build issues Samba has with recent kernel / libcap versions by using the portable cap_get_proc()/cap_set_proc() interface (instead of using capget/capset). Guenther (cherry picked from commit 177955141247a4eb56ba0d82dc1add7f52175c40)
* Re-enable the evil "aio write behind" parameter.Jeremy Allison2008-05-291-0/+2
| | | | | Jeremy. (cherry picked from commit 79bda4467f399325773211bb4b660363024c66b4)
* dsgetdcname: use family (instead of sa_family).Günther Deschner2008-05-291-1/+1
| | | | | | Guenther (cherry picked from commit 355fb81e9e42e507717f33a11793258db9169199) (cherry picked from commit bcf721770d2a76df85737596d6b73e9e6d982c32)
* re-run make idl.Günther Deschner2008-05-292-4/+4
| | | | | | Guenther (cherry picked from commit b2cdf0f5d04c241791c1462d1b86c587156ac0c7) (cherry picked from commit d4656267be2c2d851242b8e7b834a92aa975a98a)
* idl: avoid sa_family as it its a macro on IRIX.Günther Deschner2008-05-291-1/+1
| | | | | | Guenther (cherry picked from commit 64815c08558c73bbffeb2fdfc0d5850c4ebf8405) (cherry picked from commit eb1b03171729e569b1ae81fdf8a9038029ceee4e)
* build: make sure LIBWBCLIENT_*_TARGET is never emptyStefan Metzmacher2008-05-261-4/+4
| | | | | | | This should fix the build with non gnu make metze (cherry picked from commit 401a0c84fe5f60e57e95331805da6b53dd1d7c2e)
* Remove source/librpc/gen_ndr/cli_messaging.c.Karolin Seeger2008-05-261-8/+0
| | | | | | This was commited with a67e96393fbf3a accidentally. Karolin
* Eliminate global variable in_client.Karolin Seeger2008-05-261-2/+0
| | | | | | | Should have been removed with b7f34e7ef2907b498a0645ce68f2773ed7d60cdc. Maybe lost because of picking cherries in the wrong order. Karolin
* Enable tests for splice on Linux. Add a static (vl, I hate this)Jeremy Allison2008-05-262-2/+39
| | | | | | | | | | | so we can detect broken Linux recvfile splice and correctly fall back. Karolin, I think this should be pulled into 3.2-stable even though it's a feature change as otherwise there's no way for 3.2 to use recvfile zerocopy, which is an advertised feature. Others please comment. Jeremy. (cherry picked from commit bad2c3f1c817a94b7638bbf6456ff862829aed76)
* libwbclient: add wbcLibraryDetails()Stefan Metzmacher2008-05-232-0/+38
| | | | | metze (cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f)
* libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher2008-05-233-5/+5
| | | | | metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4)
* build: add symbol versioning when we build with gnu ldStefan Metzmacher2008-05-236-16/+69
| | | | | | | There's --enable-symbol-versioning=no to disable it. metze (cherry picked from commit cb5492978b6b157f529806afb2f5fc6202888129)
* build: autogenerate exports/libwbclient.symsStefan Metzmacher2008-05-233-8/+16
| | | | | metze (cherry picked from commit 8e0fcd583a643a8f4240698efcbb177463534a82)
* build: autogenerate exports/libtalloc.symsStefan Metzmacher2008-05-232-11/+10
| | | | | metze (cherry picked from commit ce9d8ea9818d91bd91f95149f3b0a7ed4f2dae3b)
* build: pass .syms extention via @SYMSEXT@ from configureStefan Metzmacher2008-05-232-3/+7
| | | | | metze (cherry picked from commit efb23fdce72db48b4c149fb3dd4a6f4aa3eebbbe)
* Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limitsJeremy Allison2008-05-231-19/+6
| | | | | | | | | | | | | as they are no longer needed now we have IDL marshalling. Change the calculation of the 32-bit fileid we return to a Windows client. We can't just use the generation count as it starts at zero for every smbd - and this command must enumerate all files open across all smbds. We'd really like combination of process-id + dev + inode + generation count to be unique, but as we can't fit that into 32 bits just use 16 bits of pid + generation count. Jeremy. (cherry picked from commit edf73a97f674d4cb30f20b0cc3d6e6b43b4ca3eb)
* Arggh. Got the path/user the wrong way around. IDL is correct :-).Jeremy Allison2008-05-231-4/+4
| | | | | Jeremy. (cherry picked from commit 40548ba51c93de1e2b8a29be07e2f53540f4e9d4)
* Fix 2 bugs with displaying open file state. FirstlyJeremy Allison2008-05-231-3/+3
| | | | | | | | | | the IDL is documented incorrectly in the MS-DOCS. Username and path need to be reversed (yes I will raise this with MS). Secondly, we need to check access_mask for the permissions, not share_access (share_access are the deny modes). Jeremy. (cherry picked from commit 35f8b3e7948230bd404078db28eed67bfd896bf7)
* build: autogenerate exports/libnetapi.symsStefan Metzmacher2008-05-232-4/+6
| | | | | metze (cherry picked from commit dc09e04d524dcc92a29da0864666fd4258a81b76)
* library-versions: use the same version for talloc and tdb as for the ↵Stefan Metzmacher2008-05-231-2/+2
| | | | | | | standalone builds metze (cherry picked from commit 79e90f6c5efe97d6671f4def8cc0ffd2f93f48e8)
* dsgetdcname: store client sitename for mailslot and cldap replies.Günther Deschner2008-05-221-0/+6
| | | | | Guenther (cherry picked from commit a01ed719c31998620927dc9b1664ba8e36bd9b21)