summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Second part of fix for bug #7159 - client rpc_transport doesn't cope with ↵Jeremy Allison2010-05-061-0/+6
| | | | | | | | | | | | | | | bad server data returns. If server returns zero on a NP read. Report pipe broken. Prevents client from looping if it thinks there should be more data. Jeremy. (cherry picked from commit 0055e33dbed0e81548464d01bcf864255bab3159) (cherry picked from commit f5ca9f84e9b511c2ba7a4280b1997daa441f9877) Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit c150cf25f1aa5f034baa08360d5be9b8b532b7cb)
* First part of fix for bug #7159 - client rpc_transport doesn't cope with bad ↵Stefan Metzmacher2010-05-062-0/+16
| | | | | | | | | | | | | | | | server data returns. Ensure that subreq is *always* talloc_free'd in the _done function, as it has an event timeout attached. If the read requests look longer than the cli->timeout, then the timeout fn is called with already freed data. Jeremy. (cherry picked from commit ad77ae1d5870e06f8587ecf634e0b6bdcbb950d7) (similar to commit 6e5b6b5acb30869eb63b25ed1406014101a5e89d) Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 0223d59ea950c8180047fd5de6c85f92c4e37ad2)
* s3: Fix bug 7326 -- can't write with vfs_full_audit activeVolker Lendecke2010-05-061-4/+4
| | | | (cherry picked from commit d232dd9df261ff251fd624b2b984355d247bb301)
* s3: signals are processed twice in child.Bo Yang2010-05-063-5/+36
| | | | | | | | | Signed-off-by: Bo Yang <boyang@samba.org> (cherry picked from commit 8c8bb51de1ac2baa46ac0736fae12c034288e5d4) Fix bug #7206 (duplicate signal handler, signals are processed twice in child process). (cherry picked from commit e41d9e75084170fa41a9e313fa79bf351f879840)
* Fix bug 7310 - DOS attribute inconsistency with MS OfficeJeremy Allison2010-05-061-0/+17
| | | | | | | On rename we need to set the archive bit on the renamed file. Jeremy (cherry picked from commit d5029023e1a44e1bfcbd4e5822d937fa03ba5a1b)
* Fix bug 7307 - man net usershare mistakeJeremy Allison2010-05-061-1/+1
| | | | | | | | | Fix bad usage message, reported by headset001@yahoo.com. Jeremy. (cherry picked from commit e14a6fbf8c9e4d16b2727e48c708ceccfd157e59) (cherry picked from commit 9620f5fbe64910d86cae51345156a1a4dd71e231) (cherry picked from commit 41c5ab50749b36557af7e2a16076d330d1c0063b)
* Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined.Jeremy Allison2010-05-061-1/+1
| | | | | | | | Ensure we don't dereference an array with an index of -1. Jeremy. (cherry picked from commit e4127ab299e654777c43d983b2e0a158baa7d79a) (cherry picked from commit fcb4c51e79f648ae02f77784d46bcc9c7331d3cb)
* s3 ntlm_auth: Don't malloc data that will be talloc_free()dKai Blin2010-05-061-12/+12
| | | | | | This fixes bug #7290 Thanks to Mohan <mohann@silver-peak.com> for the bug report. (cherry picked from commit 36ecc6bed9bbf7ed6437433d89ec9d49da43e5ee)
* Fix bug #7269 - Job management commands don't work for CUPS queues.Michael Karcher2010-05-061-1/+9
| | | | | | | Samba needs to retrieve pjob->sysjob from the CUPS response (as is done in the iprint backend). (cherry picked from commit 1790e88f0f9c4fae90dcb53101f70c97ba6a6a5d) (cherry picked from commit dc83d031398819c1b2c57aacf4f34c304cf09682)
* s3-printing: Fix "printer admin" functionality.Jeremy Allison2010-05-061-1/+1
| | | | | | | Fix bug #7255 ("printer admin" parameter does not work as expected). (cherry picked from commit 0d6d068bc4f76c2816f969fcce6013e1945794d4) (cherry picked from commit e74ced9f90ade37fa7bd179a91803f775c77e25b) (cherry picked from commit a99d9e7678de17486bf34320ef0fda071b24197a)
* s3-spoolss: Fix value-needed calculation in_spoolss_EnumPrinterData().Günther Deschner2010-05-061-1/+1
| | | | | | | | | Guenther Fix bug #7256 (incorrect value-needed calculation in _spoolss_EnumPrinterData()). (cherry picked from commit 400801c2314c5effd5165e77cdefc833dee1b6b2) (cherry picked from commit 78ef22a6f297dcc8045e2479a3af6c1cba34ad16)
* s3: Fix an uninitialized variable readVolker Lendecke2010-05-061-1/+1
| | | | | | | | | | | | Found by Laurent Gaffie <laurent.gaffie@gmail.com> Thanks for that, Volker Fix bug #7254 (An uninitialized variable read could cause an smbd crash). (cherry picked from commit 9280051bfba337458722fb157f3082f93cbd9f2b) (cherry picked from commit 3373b973ef892f013dbf6a1df805de158c0ff4e2)
* s3:release-scripts: fix create-tarball to treat vendor patch level correctlyMichael Adam2010-05-061-1/+1
| | | | | | (cherry picked from commit b845025daf2da85eb1af6cbfa7878cf59a32f2a6) (cherry picked from commit 95c6a5a782caa77bc8bbe75de6ca249bc255507e) (cherry picked from commit 64fbfee4d322381b8b877feaf1f71b778a88b7f4)
* s3: re-run make samba3-idl.Günther Deschner2010-05-066-233/+132
| | | | | | | Guenther The last 16 patches address bug #6727 (Printer issues on 3.4.x). (cherry picked from commit 7586069115f9b385bba40c7c022a5b516463736f)
* s3-spoolss: let _spoolss_DeletePrinterData call into ↵Günther Deschner2010-05-061-38/+5
| | | | | | | | _spoolss_DeletePrinterDataEx. Guenther (cherry picked from commit ef9d6580efc55ee040458b7cd76ebdc2e1276e98) (cherry picked from commit beeb98c693cba71573b1ff7fc6b0349ea4eda8ca)
* s3-libads: fix get_remote_printer_publishing_data after ↵Günther Deschner2010-05-061-26/+14
| | | | | | | spoolss_EnumPrinterDataEx IDL change. Guenther (cherry picked from commit 9d5aa986357983fb6a422c0990a3f134e44874d5)
* s3-rpcclient: fix rpcclient after spoolss_EnumPrinterDataEx IDL change.Günther Deschner2010-05-061-5/+4
| | | | | | Guenther (cherry picked from commit becbb624eb90b84ff20b128de1aee5f5acfc3dbc) (cherry picked from commit e6168075943bf01af1bcf8c0b0ff50b4dc1de82d)
* s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.Günther Deschner2010-05-061-10/+2
| | | | | | Guenther (cherry picked from commit a99ac4f236d9a93d4ca8bd874cbab89b155c644a) (cherry picked from commit 9c752851bc7291edf05e364ef2f8f387a9984bfa)
* s3-spoolss: fix _spoolss_EnumPrinterDataEx after idlGünther Deschner2010-05-061-11/+2
| | | | | | Guenther (cherry picked from commit 55326549852a3ab1114a8cb1536578ae02183eb8) (cherry picked from commit 6e677a1242115f57b84eff254ed55af2651df771)
* spoolss: fix spoolss_EnumPrinterDataEx IDL.Günther Deschner2010-05-061-2/+2
| | | | | | Guenther (cherry picked from commit 4df1047e8398a9af4df94c7e245d993d1f60ef5f) (cherry picked from commit a947b5f827884c18f0f4535f7be7e7cd5b42ee9c)
* s3-rpcclient: fix rpcclient after spoolss_GetPrinterData{Ex} IDL change.Günther Deschner2010-05-063-25/+51
| | | | | Guenther (cherry picked from commit 345eba78f7fc72f067cd3d95a7698081e09be85f)
* s3-spoolss: fix _spoolss_GetPrinterDataEx after IDL change.Günther Deschner2010-05-061-11/+27
| | | | | | Guenther (cherry picked from commit fbb6d00eed6bca960aa53a5967a2dea426cacfe2) (cherry picked from commit 017c4ac6c1c2a19345d1f79acf8179a995f38cb5)
* s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx.Günther Deschner2010-05-061-101/+44
| | | | | Guenther (cherry picked from commit 697e615843e83d097c5479858a324195450f6c87)
* spoolss: rollback GetPrinterData{Ex} IDL.Günther Deschner2010-05-063-117/+3
| | | | | Guenther (cherry picked from commit 45195a2689f59be434037274f616083fd8930ffa)
* s3-net: fix net after spoolss_SetPrinterData{Ex} IDL change.Günther Deschner2010-05-061-13/+4
| | | | | Guenther (cherry picked from commit b2adbea53007d560f95c09af407c1c51a8e78d14)
* s3-rpcclient: fix rpcclient after spoolss_SetPrinterData{Ex} IDL change.Günther Deschner2010-05-061-2/+8
| | | | | | Guenther (cherry picked from commit 4956650369156dfff96ccc827e55697ec642240d) (cherry picked from commit 7711fe5ca643b32a3873a94d21dc5ec9155ef940)
* s3-spoolss: fix _spoolss_SetPrinterData{Ex} after IDL change.Günther Deschner2010-05-061-9/+2
| | | | | | Guenther (cherry picked from commit 9a934832797c3e72859770719e05d19a5eefa14d) (cherry picked from commit 20cc464b000beab223aea4b58ff974da9a943806)
* s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx.Günther Deschner2010-05-061-74/+30
| | | | | | Guenther (cherry picked from commit 167dca0cbf18baf40dd923f6f92421123d34b5a3) (cherry picked from commit 6f9d646f8071543287466a4a616246b32c80e2ca)
* spoolss: rollback SetPrinterData{Ex} IDL.Günther Deschner2010-05-063-58/+6
| | | | | Guenther (cherry picked from commit 8c00f95c8d86f2c3c73ce84d3cc0f038d8e0ceb2)
* s3:build: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.Michael Adam2010-05-061-1/+1
| | | | | | | | | Michael (cherry picked from commit 9113e14b291c10c824d2d8ea5cb28ffc0adcb63b) Fix bug #7231 (vfs_tsmsm not built automatically). (cherry picked from commit 8087ceb42d72f2a07f70e8ab5462775a08303546) (cherry picked from commit de89fcc1f60d7f287f87507d2187d4ca8966791c)
* s3: Fix a NULL pointer dereferenceVolker Lendecke2010-05-061-1/+10
| | | | | | | | | | | | | Found by Laurent Gaffie <laurent.gaffie@gmail.com>. Thanks! Volker (cherry picked from commit 25452a2268ac7013da28125f3df22085139af12d) Fix bug #7229 (NULL pointer dereference). (cherry picked from commit bf40d130a1761daa14ce6a2cf3d02dbd9095c2b5) (cherry picked from commit 6e8c643688a323c9a68baa9f015cffec65d75115)
* vfs_netatalk: Segfault if hide files or veto files has no ".AppleDouble"SATOH Fumiyasu2010-05-061-1/+1
| | | | | | Fix bug #1206 (netatalk vfs causes segfaults in samba). (cherry picked from commit 531a9ebd52fe65196bb01632a296b40a92a43b4c) (cherry picked from commit 12dc7210fdba44d4df87102d44ee1bb7fc51f9f3)
* WHATSNEW: Start release notes for Samba 3.4.8.Karolin Seeger2010-03-091-3/+46
| | | | | Karolin (cherry picked from commit cf679452b32de243cea61349f93e661f61ba4988)
* VERSION: Raise version number up to 3.4.8.Karolin Seeger2010-03-091-1/+1
| | | | | Karolin (cherry picked from commit 16f92f795d8403988919f0890445acffa249e29a)
* Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail ↵samba-3.4.7Karolin Seeger2010-03-083-71/+5
| | | | | | | | to respond to a read or write." This reverts commit c81c109a6ce83741bb5149a51ceb4ab30855e9f9. This fixes bug #7222 (All users have full rigths on all shares)(CVE-2010-0728).
* WHATSNEW: Prepare release notes for Samba 3.4.7.Karolin Seeger2010-03-081-8/+13
| | | | Karolin
* WHATSNEW: Start release notes for Samba 3.4.7.Karolin Seeger2010-03-081-2/+47
| | | | | Karolin (cherry picked from commit c8fbbbb888a6cc67e603ba04510f5504596b67d8)
* VERSION: Raise version number up to 3.4.7.Karolin Seeger2010-03-081-1/+1
| | | | | Karolin (cherry picked from commit b280381ed338920b1746d0b2b7cd6ea6eb1f92b9)
* WHATSNEW: Fix typo.samba-3.4.6Karolin Seeger2010-02-231-1/+1
| | | | | Karolin (cherry picked from commit 7ca9130556239eca52ecf8586c19e77780851d93)
* WHATSNEW: Update changes since 3.4.5.Karolin Seeger2010-02-221-0/+7
| | | | | Karolin (cherry picked from commit 7b195c33584ed1c8125c174518fe8e3cd5337ded)
* librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()Stefan Metzmacher2010-02-221-2/+8
| | | | | | | | | metze (cherry picked from commit 76aa37f653fec2d511921768381db7da661750cb) The last 25 patches address bug #6888 (REGRESSION: printing support for 64 bit windows clients broken). (cherry picked from commit 58b089f2176e564bf5563fbffa034cd22525ed6e)
* spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵Günther Deschner2010-02-224-238/+238
| | | | | | | devmode relative pointer down to sd). Guenther (cherry picked from commit 31a097560efddfabf31c4cc54e683603ee24521f)
* spoolss: add spoolss_security_descriptor.Günther Deschner2010-02-225-52/+114
| | | | | Guenther (cherry picked from commit 18564787e2f169cac26d361201c1a954b7e263b7)
* s3: re-run make samba3-idl.Günther Deschner2010-02-225-1204/+1568
| | | | | Guenther (cherry picked from commit d35eb81c50340ed2ac14cdb9965fd13876ea8e64)
* security: make two bitmaps public.Günther Deschner2010-02-221-2/+2
| | | | | | Guenther (cherry picked from commit f10a2d773d141f67319e19b45c40101bb9cb6cf4) (cherry picked from commit b9748d59c09ffe9de7cbb953939cf89017dc8087)
* spoolss: make two bitmaps public.Günther Deschner2010-02-221-2/+2
| | | | | Guenther (cherry picked from commit b64cd9857086f56e1e698ae34e51413b6414eb0b)
* spoolss: make all security descriptors and devicemodes 4 byte aligned and ↵Stefan Metzmacher2010-02-221-8/+8
| | | | | | | | add missing subcontexts. Guenther (cherry picked from commit 8f52957369bf8ce7591d5d9a1436ccb7e384c612) (cherry picked from commit a4cb14987143c2c1f28e82e5b6476e079ea051d3)
* spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative ↵Günther Deschner2010-02-221-10/+10
| | | | | | | | pointers. Guenther (cherry picked from commit 6d0a39741dacd81e33b25a91fa28cdf983d10d84) (cherry picked from commit 93aab77e24ecdd95ced8efe0c0f7bcdfb5ed2a1b)
* ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*Stefan Metzmacher2010-02-221-2/+2
| | | | | | metze (cherry picked from commit 2059a165ee6f4d231aa4075d8ddea70b8df8944f) (cherry picked from commit 3174acb66089b649ec2b859c1ef673814c44ffa4)
* spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.Stefan Metzmacher2010-02-221-1/+4
| | | | | | metze (cherry picked from commit a4c3aeb79306190b09e284a6a28e3b40fbc5823b) (cherry picked from commit 4a8dda5b149a82b83d22dc7b0cf77573ef35580d)