summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clifile.c
Commit message (Collapse)AuthorAgeFilesLines
* make smb_bytes_push_str publicVolker Lendecke2008-09-091-1/+1
|
* Fix typoVolker Lendecke2008-09-011-1/+1
|
* Add cli_pull_replyVolker Lendecke2008-08-281-5/+15
| | | | | Along the lines of cli_request_send this abstracts away the smb-level buffer handling when parsing replies we got from the server.
* Remove cli->event_ctx, pass it explicitlyVolker Lendecke2008-08-281-11/+33
| | | | | Storing the event_context as permanent state in struct cli_state creates more complex code than necessary IMO.
* Add async open&xVolker Lendecke2008-08-281-33/+117
|
* Add async cli_closeVolker Lendecke2008-08-281-13/+38
|
* Fix a typoVolker Lendecke2008-08-011-5/+5
|
* add a function to truncate a file to a specified sizeDerrell Lipman2008-02-261-0/+49
|
* Fix memory leaks on error pathTim Potter2008-02-201-1/+8
|
* Add SMB encryption. Still fixing client decrypt butJeremy Allison2007-12-261-22/+22
| | | | | negotiation works. Jeremy.
* Fix C++ warningsVolker Lendecke2007-12-081-9/+9
|
* Remove arbitrary 1k limit on pathnames. Malloc them.Jeremy Allison2007-12-051-181/+281
| | | | Jeremy.
* Fix some C++ warningsVolker Lendecke2007-12-011-1/+1
|
* Remove pstrings from clifile.c.Jeremy Allison2007-11-291-25/+36
| | | | Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-43/+43
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-101-22/+22
|
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23347: Fix Coverity 363. Dead code elimination.Jeremy Allison2007-10-101-7/+3
| | | | Jeremy.
* r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke2007-10-101-1/+1
| | | | replace all data_blob(NULL, 0) calls.
* r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-10-101-3/+7
| | | | Jeremy.
* r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison2007-10-101-22/+22
| | | | | | | to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy.
* r21777: As Stevef requested and the Apple guys agreed, makeJeremy Allison2007-10-101-3/+4
| | | | | | | mode_t in posix_open/posix_mkdir -> 8 bytes to match the SET_UNIX_INFO_BASIC call. Steve is updating the Wikki. Jeremy.
* r21750: Sync up with SAMBA_3_0_25. Only client changes are in libsmbclientJeremy Allison2007-10-101-2/+11
| | | | | right now. Jeremy.
* r21703: fix build when O_SYNC not definedHerb Lewis2007-10-101-0/+2
|
* r21644: Allow mkdir on platforms with no O_DIRECTORY.Jeremy Allison2007-10-101-9/+17
| | | | | | Add proper debug to all possible setfilepathinfo functions. Jeremy.
* r21643: Put the correct bits on the wire for posix_mkdir.Jeremy Allison2007-10-101-1/+2
| | | | | We're not yet deleting open files on unlink. Investigating... Jeremy.
* r21640: Fix the build for broken platoforms without O_DIRECT or O_DIRECTORY.Jeremy Allison2007-10-101-0/+9
| | | | Jeremy.
* r21639: Add in implementations of POSIX open/mkdir/unlink/rmdir.Jeremy Allison2007-10-101-0/+176
| | | | Jeremy.
* r21604: I got this wrong also in libsmb :-(.Jeremy Allison2007-10-101-0/+2
| | | | Jeremy.
* r20744: Fix the build (I missed some chkpth -> checkpath renames).Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r18009: Fixes bug 4026.Derrell Lipman2007-10-101-14/+18
| | | | | | | | | | | | | | | | | | | | | This completes the work Jeremy began last week, disambiguating the meaning of c_time. (In POSIX terminology, c_time means "status Change time", not "create time".) All uses of c_time, a_time and m_time have now been replaced with change_time, access_time, and write_time, and when creation time is intended, create_time is used. Additionally, the capability of setting and retrieving the create time have been added to the smbc_setxattr() and smbc_getxattr() functions. An example of setting all four times can be seen with the program examples/libsmbclient/testacl with the following command line similar to: testacl -f -S "system.*:CREATE_TIME:1000000000,ACCESS_TIME:1000000060,WRITE_TIME:1000000120,CHANGE_TIME:1000000180" 'smb://server/share/testfile.txt' The -f option turns on the new mode which uses full time names in the attribute specification (e.g. ACCESS_TIME vs A_TIME).
* r17902: Fix possible null deref caught by Stanford checker.Jeremy Allison2007-10-101-1/+3
| | | | Jeremy.
* r17800: Start using struct timespec internally for file timesJeremy Allison2007-10-101-3/+4
| | | | | | | | | on the wire. This allows us to go to nsec resolution for systems that support it. It should also now be easy to add a correct "create time" (birth time) for systems that support it (*BSD). I'll be watching the build farm closely after this one for breakage :-). Jeremy.
* r17333: Some C++ warningsVolker Lendecke2007-10-101-2/+2
|
* r15028: Fix logic error checking valid args to POSIX lockJeremy Allison2007-10-101-1/+1
| | | | | call. Jeremy.
* r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison2007-10-101-1/+104
| | | | | | | | into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2007-10-101-8/+8
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r11420: Fix issue pointed out by Dina Fine <dina@exanet.com>. We canJeremy Allison2007-10-101-12/+22
| | | | | | | | only tell at parse time from the wire if an incoming name has wildcards or not. If it's a mangled name and we demangle the demangled name may contain wildcard characters. Ensure these are ignored. Jeremy.
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
|
* r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2007-10-101-1/+1
| | | | | | | | | tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy.
* r8184: fix build issue on Solaris in smbclientGerald Carter2007-10-101-0/+5
|
* r6753: Fixes bug 2663. cli_getattrE() and cli_setattrE() were not formatting orDerrell Lipman2007-10-101-6/+6
| | | | | | parsing the timestamp values correctly. It turns out they were using the incorrect function for formatting and parsing values. Thanks to Satwik Hebbar for reporting this and testing the patch.
* r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather thanDerrell Lipman2007-10-101-2/+2
| | | | | | | a directory, the errno returned could end up as ENOENT rather than ENOTDIR. - Fixes some compiler warnings which showed up on IRIX, as reported by James Peach.
* r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter2007-10-101-2/+2
|
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-3/+3
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison2007-10-101-1/+2
| | | | | and port to Samba4. Jeremy.
* r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison2007-10-101-0/+48
| | | | | | | | Need to add printout functions in client and set posix acl in server. SteveF - take a look at this for the cifsfs client ! Once this is working and tested the next step is to write this up for the UNIX extensions spec. documents. Jeremy.
* r2665: Ensure the UNIX info level returned enough data.Jeremy Allison2007-10-101-0/+6
| | | | Jeremy.
* r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison2007-10-101-1/+130
| | | | | | | | info level. Outputs data on the file in the same format the the stat command in Linux. Should be useful to people wanting to learn how to parse the UNIX extension output. Yes I will add the docs later :-). Jeremy.