Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-21 | Remove the static "chal" from ntlmssp.c:get_challenge() | Volker Lendecke | 1 | -7/+5 | |
2009-02-21 | Move some bytes from the data to the text segment | Volker Lendecke | 1 | -3/+3 | |
2009-02-20 | Change smbc_set_credentials_with_fallback() (unreleased) to use | Jeremy Allison | 1 | -7/+14 | |
const approptiately. Jeremy. | |||||
2009-02-20 | variable grouping: just my OCD desire to keep similar things together | Derrell Lipman | 1 | -5/+7 | |
2009-02-20 | Make libsmbclient work with DFS | Bo Yang | 6 | -6/+96 | |
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> | |||||
2009-02-19 | s3: Add extid to the dev/inode pair | Tim Prouty | 1 | -12/+27 | |
This extends the file_id struct to add an additional generic uint64_t field: extid. For backwards compatibility with dev/inodes stored in xattr_tdbs and acl_tdbs, the ext id is ignored for these databases. This patch should cause no functional change on systems that don't use SMB_VFS_FILE_ID_CREATE to set the extid. Existing code that uses the smb_share_mode library will need to be updated to be compatibile with the new extid. | |||||
2009-02-19 | Interesting C compiler you have there... :-) | Volker Lendecke | 1 | -1/+1 | |
2009-02-18 | Fix coverity CID-602. Possible use of uninitialized var. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-02-17 | Don't miss an absolute pathname as a kerberos keytab path. From Glenn Machin ↵ | Jeremy Allison | 1 | -0/+5 | |
<gmachin@sandia.gov>. Jeremy. | |||||
2009-02-14 | remove accidental white space | Derrell Lipman | 1 | -1/+0 | |
2009-02-14 | Get rid of the warnings I had for testing | Derrell Lipman | 1 | -5/+0 | |
2009-02-14 | It seems some systems use f_flags instead of f_flag. Use the appropriate one. | Derrell Lipman | 1 | -4/+11 | |
2009-02-14 | f_frsize field is not ubiquitous. Check for it. | Derrell Lipman | 1 | -0/+4 | |
2009-02-14 | The f_fsid field is not always an integer type. Don't set it in that case. | Derrell Lipman | 1 | -0/+5 | |
2009-02-14 | Ensure consistency of values on stack (caught by AIX compiler) | Derrell Lipman | 1 | -16/+16 | |
2009-02-14 | Check for the right error return value | Derrell Lipman | 1 | -2/+3 | |
2009-02-14 | [Bug 6069] Add a fstatvfs function for libsmbclient | Derrell Lipman | 2 | -4/+4 | |
- Revert Tim's changes for the moment. I need to see what the issue is and arrange to use "struct statvfs" if at all possible. Derrell | |||||
2009-02-13 | s3 libsmbclient: Fix fstatvfs to be more portable | Tim Prouty | 2 | -4/+4 | |
The statvfs struct isn't guaranteed to be portable across operating systems. Since libsmbclient isn't actually calling statvfs and just using the statvfs struct to store similar information, this patch adds a new portable smbc_statvfs struct. This fixes a few of the failures in the build farm introduced by: ae259575c447e61665c8e7070c476914161b953f Derrell, please check. | |||||
2009-02-12 | [Bug 6069] Add a fstatvfs function for libsmbclient | Derrell Lipman | 5 | -0/+355 | |
- port functionality from v3_3_test to master Derrell | |||||
2009-02-10 | Do not use strlen if not necessary... :-) | Volker Lendecke | 1 | -4/+2 | |
2009-02-10 | If we receive a DOS error code, nt_errstr should display it | Volker Lendecke | 1 | -0/+5 | |
2009-02-09 | eliminate compiler warnings | Derrell Lipman | 1 | -4/+7 | |
2009-02-05 | s3: use struct netr_Credential in cred_step(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-03 | Probably fixes a crash during name resolution when log level >= 10 | Ted Percival | 1 | -1/+1 | |
and libc segfaults if printf is passed NULL for a "%s" arg (eg. Solaris). | |||||
2009-02-03 | Fix Coverity ID 870 | Volker Lendecke | 1 | -0/+4 | |
2009-02-02 | Next step disentangling async_req from NTSTATUS | Volker Lendecke | 1 | -1/+1 | |
Now I need to document this :-) | |||||
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 6 | -35/+35 | |
2009-01-31 | Make is_andx_req non-static | Volker Lendecke | 2 | -26/+25 | |
2009-01-30 | Add async cli_ntcreate | Volker Lendecke | 1 | -0/+132 | |
2009-01-30 | Make cli_tcon_andx async | Volker Lendecke | 4 | -67/+166 | |
2009-01-30 | Make cli_session_setup_guest async | Volker Lendecke | 1 | -37/+103 | |
2009-01-29 | Add the strlen to push to smb_bytes_push_str, return the converted size | Volker Lendecke | 3 | -12/+18 | |
The pushed strlen replaces the STR_TERMINATE flag which I personally always find very confusing. | |||||
2009-01-29 | cli_ucs2 | Volker Lendecke | 1 | -0/+10 | |
2009-01-28 | Fix a valgrind error when the socket dies | Volker Lendecke | 1 | -4/+9 | |
Don't reference anything that might have been deleted in the async_req_error call. | |||||
2009-01-27 | s3:namecache: remove unused namecache_shutdown() function | Stefan Metzmacher | 1 | -21/+0 | |
metze | |||||
2009-01-26 | Decouple clistr_pull from struct cli_state->inbuf | Volker Lendecke | 7 | -32/+49 | |
2009-01-25 | Fix an error path memleak | Volker Lendecke | 1 | -0/+1 | |
2009-01-25 | Make smb_bytes_push_str deal with a NULL buf returning NULL | Volker Lendecke | 1 | -1/+6 | |
2009-01-21 | Memory leaks and other fixes found by Coverity | todd stecher | 1 | -5/+5 | |
2009-01-18 | Add a macro async_req_setup() | Volker Lendecke | 1 | -25/+9 | |
This streamlines setting up a multi-step async request a bit | |||||
2009-01-17 | Determine case sensitivity based on file system attributes. | Derrell Lipman | 3 | -11/+78 | |
- Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell | |||||
2009-01-16 | [Bug 6022] smbc_urlencode and smbc_urldecode were not exported | Derrell Lipman | 2 | -5/+5 | |
- Since the revamp of libsmbclient, there has still been an external declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet those functions were renamed and made private. The two choices were to remove the function names from libsmbclient.h or to make them public again. The reported requested that they be public. This commit makes it so. Derrell | |||||
2009-01-16 | Treat file names in POSIX-like case-sensitive fashion by default | Derrell Lipman | 3 | -0/+22 | |
*** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! *** - libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default, it requests case-sensitive, but the old behavior of case-insensitive can be requested with smbc_setOptionCaseSensitive(context, False); The change of behavior is considered a bug fix, as it was previously possible to accidentally overwrite a file that had the same case-insensitive name but a different case-sensitive name as a previously-existing file, while creating a new file. Derrell | |||||
2009-01-16 | Fix a segfault if ? is there but the options are NULL. This is the case if ↵ | Andreas Schneider | 1 | -1/+1 | |
SMBC_parse_path is called by SMBC_stat_ctx. | |||||
2009-01-16 | s3: put netsamlogon_cache.tdb into cache_dir instead of lock_dir | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-01-15 | s3: make better use of ccache by not including version.h in every C-file. | Michael Adam | 2 | -2/+2 | |
version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael | |||||
2009-01-14 | Remove smbclient globals that bled into clidfs.c. Now we only have | Jeremy Allison | 3 | -35/+30 | |
the connections list and authentication structures to worry about. Jeremy | |||||
2009-01-14 | Remove another global from clidfs that is only used in client.c. | Jeremy Allison | 1 | -11/+16 | |
Jeremy. | |||||
2009-01-12 | s3:libsmb: handle the smb signing states the same in the krb5 and ntlmssp cases | Stefan Metzmacher | 1 | -16/+35 | |
SMB signing works the same regardless of the used auth mech. We need to start with the temp signing ("BSRSPYL ") and the session setup response with NT_STATUS_OK is the first signed packet. Now we set the krb5 session key if we got the NT_STATUS_OK from the server and then recheck the packet. All this is needed to make the fallback from krb5 to ntlmssp possible. This commit also resets the cli->vuid value to 0, if the krb5 auth didn't succeed. Otherwise the server handles NTLMSSP packets as krb5 packets. The restructuring of the SMB signing code is needed to make sure the krb5 code only starts the signing engine on success. Otherwise the NTLMSSP fallback could not initialize the signing engine (again). metze | |||||
2009-01-11 | Move cli_api_pipe() to its only user cli_pipe.c | Volker Lendecke | 1 | -23/+0 | |