summaryrefslogtreecommitdiff
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* More warning fixes for Solaris.Jeremy Allison2009-02-2420-78/+72
| | | | | Jeremy. (cherry picked from commit aea38950ff4865f1d791cd19619fadcd59eaf480)
* More warning fixes for Solaris.Jeremy Allison2009-02-246-32/+33
| | | | | Jeremy. (cherry picked from commit 6306dd0cab617930176fdde91641344ef403429b)
* Quieten down a boatload of shadowed variable warnings on Solaris.Jeremy Allison2009-02-245-56/+56
| | | | | | Makes real problems easier to spot. Jeremy. (cherry picked from commit d32b6d5afd6437544c0fc42681351552d89907dc)
* all BSDs use this evironment variableBjörn Jacke2009-02-241-1/+1
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit cd6ae0de52164dd6f50b3614f2511acb3eb15993) (cherry picked from commit 1ad5f50bdab761c7d3894e94f8fe3b171ec1b219)
* VERSION: Raise version number.Karolin Seeger2009-02-231-1/+1
| | | | | Karolin (cherry picked from commit e5f5284cc036217d20d5ca690e14d87ba0ebccaa)
* For some unknown reason ldbrename was not being built in samba3.Simo Sorce2009-02-231-1/+8
| | | | (cherry picked from commit b8fa66be1cbad021143653d4e79f04d79a01bd62)
* Change smbc_set_credentials_with_fallback() (unreleased) to useJeremy Allison2009-02-232-10/+17
| | | | | | const approptiately. Jeremy. (cherry picked from commit 07c7085f25718915cda07e38a87a008a72abbf4f)
* Fix bug #6133 - Cannot delete non-ACL files on Solaris/ZFS/NFSv4 ACL filesystem.Jeremy Allison2009-02-231-1/+7
| | | | | | | | As the NFSv4 ACL mapping code doesn't map write directory into the DELETE_CHILD permission bit (which we require before allowing a delete) no one can delete files without an explicit DELETE_CHILD bit set on the directory. Add this mapping. Jeremy. (cherry picked from commit 7df63394aff2a15d96112378a9e3b0acd9edc56a)
* variable grouping: just my OCD desire to keep similar things togetherDerrell Lipman2009-02-231-5/+7
| | | | (cherry picked from commit f84fd046fcff6c3310ef595fb3e4cbe774703d2a)
* Make libsmbclient work with DFSBo Yang2009-02-237-6/+108
| | | | | Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> (cherry picked from commit 8457e7bba4ef2ba479340829bb89a3a8772f958b)
* Fix printf warnings found on systems where time_t <> long int.Jeremy Allison2009-02-202-9/+10
| | | | | Jeremy. (cherry picked from commit ea256b2d6d35327d63038554bf0a67d986c8e594)
* Fix printf type warning.Jeremy Allison2009-02-201-2/+2
| | | | | Jeremy. (cherry picked from commit aaba9a7b9a39bd899a748c45502fb8103c863eb9)
* Fix a O(n^2) algorithm in regdb_fetch_keys()Volker Lendecke2009-02-201-5/+27
| | | | (cherry picked from commit d98c43982c56ef788144a3fd67cdd65a9f95f2be)
* Backport the semantics of when to delete alternate data streams on a file ↵Jeremy Allison2009-02-203-1/+16
| | | | | | | | truncate. Needed to fully support stream semantics. Jeremy. (cherry picked from commit 5a68f1e2c1fd16d315b1e303a90eb6475bbe7b15)
* Fix a buffer handling bug when adding lots of registry keysVolker Lendecke2009-02-201-9/+24
| | | | | | | This is *ancient*... From 2002, and nobody noticed until someone added lots of shares using net conf... :-) (cherry picked from commit 36ae846d15027df5e3a02ffabb08183dad9f6517) (cherry picked from commit 13f0a2903257677cc107f861e4ed2b58e52a1e21)
* s3-libnet: fix coverity #848 (UNINIT).Günther Deschner2009-02-201-1/+1
| | | | | | Guenther (cherry picked from commit e9d5405948e35a8eec0b49cc6c066278cb523397) (cherry picked from commit 3d13df93f0ffaa518a576191a0715add878a7635)
* Gah, typo :-(. Sorry.Jeremy Allison2009-02-191-1/+1
| | | | (cherry picked from commit 88041d92ae2a619d5b4d4ad010ef7366b5c05c3f)
* Fix coverity CID-602. Possible use of uninitialized var.Jeremy Allison2009-02-191-1/+1
| | | | | Jeremy. (cherry picked from commit 43db14008eb660f1b1f21e1ff6dd2d340d1106ab)
* Don't miss an absolute pathname as a kerberos keytab path. From Glenn Machin ↵Jeremy Allison2009-02-181-0/+5
| | | | | | | <gmachin@sandia.gov>. Jeremy. (cherry picked from commit 8fd6dbcd5a61c48953974bf1880375b9dd1c88d6)
* Fix bug #6117 - Samba 3.3.0: pdbedit -a core dumps.Jeremy Allison2009-02-181-1/+12
| | | | | Jeremy. (cherry picked from commit ca2c1eea4a766a3ee0d073520b19ce16f0586678)
* s3: remove duplicate prototypes for generated rpc server functions.Günther Deschner2009-02-182-758/+7
| | | | | Guenther (cherry picked from commit 6934180fd37417f7bf9b8b107d9cecea1b683720)
* s3:make: use pidl/pidl for 'make idl'Stefan Metzmacher2009-02-181-1/+3
| | | | | metze (cherry picked from commit 3dc256ad0f1d2b1c131d67e033533dd316eab252)
* fix proto.h after idl changesStefan Metzmacher2009-02-181-3/+3
| | | | | metze (cherry picked from commit 9d56f847b6fb88ab0529fdc6318dff5389c9d3db)
* librpc: rerun 'PIDL=pidl/pidl make idl'Stefan Metzmacher2009-02-187-42/+271
| | | | | metze (cherry picked from commit eb1a2e4aea76462086a4303ba325c4da49e891cd)
* s3:netlogon: implement _netr_LogonGetCapabilities() with ↵Stefan Metzmacher2009-02-181-4/+3
| | | | | | | | | | NT_STATUS_NOT_IMPLEMENTED This hopefully fixes bug #6100. metze (cherry picked from commit fe417b29bd23b7b935669993e0f01de4c7de2378) (cherry picked from commit 2f858cb914842e9af1331477ec6eb9782dbd0cf5)
* netlogon.idl: add idl for netr_LogonGetCapabilities()Stefan Metzmacher2009-02-181-1/+12
| | | | | | metze (cherry picked from commit 8339969ed39e4cf3577971869ef2fd127f1c3ae3) (cherry picked from commit 5410134c70e3302c05b73109610c28dfa1a0dc69)
* s3-accessmask: re-run make samba3-idl and remove duplicate copies.Günther Deschner2009-02-172-15/+6
| | | | | Guenther (cherry picked from commit 1cbfcd7dcb90c117fa623246d6924e157ec5be3f)
* s3: re-run make idl.Günther Deschner2009-02-178-374/+336
| | | | | | | | No panic, this just removes the NDR_BUFFER flag from ndr functions when there is no buffer to process. Guenther (cherry picked from commit b424555c5a876b3eb71ec2346e73bd2b6a56a7ea)
* pidl: add copy of pidl to 3-3-test in order to regenerate librpc code.Günther Deschner2009-02-1765-0/+21167
| | | | | | | pidl's reference is 79190992b3820cd028c961c48bdea9b35baf13c9 here. Guenther (cherry picked from commit 55d1dacf4d49abcaace17a5f8a200c319e0389eb)
* Make sharesec utility part of the default binary install.Steven Danneman2009-02-161-1/+1
| | | | | This used to be commit 8f84d42f7. (cherry picked from commit ee2f265d3357635858db1e0f8c7f6df3219a883f)
* Fix bug 5920Yasuma Takeda2009-02-161-1/+1
| | | | | | | The length of the memcpy was calculated wrong, r->out.return_authenticator is a pointer (cherry picked from commit cb9dd0f58d06a78b7724c3e0ec8f81512edc2d29) (cherry picked from commit a7d30e159b2809abda9de4284bf2344db297ee22)
* Attempt to fix bug #6099. According to MicrosoftJeremy Allison2009-02-161-17/+26
| | | | | | | | | | | Windows 7 looks at the negotiate_flags returned in this structure *even if the call fails with access denied ! So in order to allow Win7 to connect to a Samba NT style PDC we set the flags before we know if it's an error or not. Jeremy. (cherry picked from commit cafc9efceadcefa9154874e9846158cf23ee1645)
* Remove compiler warnings about unknown structure pointerDerrell Lipman2009-02-161-0/+1
| | | | (cherry picked from commit f11d4d088c17db77ba259972c05de72da0d3ac93)
* s3 vfs: Fix SMB_VFS_RECVFILE/SENDFILE macrosTim Prouty2009-02-161-4/+4
| | | | (cherry picked from commit c0aa23d119737bbb197eaadaa2eedc853b5179a1)
* remove accidental white spaceDerrell Lipman2009-02-161-1/+0
| | | | (cherry picked from commit 82e392f6b24518d40ea65dbdf044d8ba94e77ae2)
* enums are traditionally signed. Avoid use of high bit in bit flags.Derrell Lipman2009-02-161-3/+3
| | | | (cherry picked from commit 480054f3625fcd4532a4cdc68bd750e93610d89f)
* Get rid of the warnings I had for testingDerrell Lipman2009-02-161-5/+0
| | | | (cherry picked from commit f38c50b13f3ad916db884611ad4199198f6cade2)
* It seems some systems use f_flags instead of f_flag. Use the appropriate one.Derrell Lipman2009-02-162-4/+38
| | | | (cherry picked from commit 3b12ab74252c850348c2d15adf930aa01e0652ff)
* Ensure consistency of values on stack (caught by AIX compiler)Derrell Lipman2009-02-161-16/+16
| | | | (cherry picked from commit 3b7e35a54f1aa7d31df60b0264cc171cf5d97954)
* Check for the right error return valueDerrell Lipman2009-02-161-2/+3
| | | | (cherry picked from commit 4d2598282bb9f0c08da9f949ff23ff253c0ca7ac)
* Enable total anonymization in vfs_smb_traffic_analyzer, by mapping any user ↵Holger Hetterich2009-02-161-5/+16
| | | | | | names to the one given by anonymize_prefix, without generating a hash number. This setting is optional and is compatible with the module configuration format of Samba 3.3. (cherry picked from commit 31d854fff40799f056748333c35df81466c3614c)
* Parameterize in local.h the MAX_RPC_DATA_SIZE, and ensureJeremy Allison2009-02-163-1/+56
| | | | | | | that "offered" read from the rpc packet in spoolss is under that size. Tidyup from analysis from Veracode. Jeremy. (cherry picked from commit 6b654d12fd46b68fef824bf281783396ca81283d)
* Noted by Vericode analysis. Correctly use chroot().Jeremy Allison2009-02-161-2/+9
| | | | | Jeremy. (cherry picked from commit 30a01422a21bd54b2b3a58729fbf25ab173845e8)
* Fix Coverity ID 740 (RESOURCE_LEAK)Volker Lendecke2009-02-161-0/+2
| | | | (cherry picked from commit d67b92eede5e648b73aea992e009a8996705ffa0)
* Fix Coverity IDs 879 and 880 (RESOURCE_LEAK, REVERSE_INULL)Volker Lendecke2009-02-161-4/+7
| | | | (cherry picked from commit 84010436579854ad9429c82c7e7050d902955344)
* Fix Coverity ID 742 (RESOURCE_LEAK)Volker Lendecke2009-02-161-6/+3
| | | | (cherry picked from commit aa4a8b4aece5b11ac4c1db87b87ebadc0a362514)
* Fix Coverity ID 744Volker Lendecke2009-02-161-1/+1
| | | | | | This was marked as a resource leak. This change makes the code a bit clearer that we always free error_string. (cherry picked from commit fa0ac60d985995a6a07aa05b114683f4cbd731c8)
* s3:auth: only create_local_token() should add S-1-22-X-Y sidsStefan Metzmacher2009-02-161-27/+0
| | | | | | metze (cherry picked from commit e7f7ed8bf6281ef01aca53ea44acdd4af4c51aa7) (cherry picked from commit cc1c764effd07bb124b5b5cf03fb5a4565c8ed36)
* s3:auth: add S-1-22-X-Y sids to the local tokenStefan Metzmacher2009-02-161-0/+38
| | | | | | metze (cherry picked from commit f14e4d4e54f424c05147cb0e635c9b8930270262) (cherry picked from commit 490f7214f0d26e7466f0fdfb978e4b09f2433146)
* Fix Coverity ID 745 (RESOURCE_LEAK)Volker Lendecke2009-02-161-3/+5
| | | | (cherry picked from commit 3077f2ab45b08595b4849add56110a37069d12ec)