Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-06 | build: Remove SMB_OFF_T, replace with off_t | Andrew Bartlett | 1 | -5/+5 | |
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 | |||||
2011-09-13 | s3:libsmb: make use of cli_state_server_time_zone() | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-08-09 | s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmit | Stefan Metzmacher | 1 | -7/+7 | |
The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 18:14:38 CEST 2011 on sn-devel-104 | |||||
2011-07-12 | s3:libsmb: remove unused cli->privileges | Stefan Metzmacher | 1 | -1/+4 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 09:30:49 CEST 2011 on sn-devel-104 | |||||
2011-07-06 | s3:libsmb: use clistr_pull_talloc() in cli_qfilename() | Stefan Metzmacher | 1 | -5/+26 | |
metze | |||||
2011-07-06 | s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2 | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | |||||
2011-05-31 | s3-libsmb: fix build warning of cli_qfilename(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-05-23 | s3: Remove a reference to cli->inbuf | Volker Lendecke | 1 | -1/+1 | |
This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is. | |||||
2011-05-19 | s3: Do central cli_set_error | Volker Lendecke | 1 | -12/+0 | |
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-trans2: only include trans2.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-24 | charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵ | Andrew Tridgell | 1 | -3/+2 | |
convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104 | |||||
2011-03-15 | s3-libsmb: only include rap client when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-02-09 | s3: move some stuff out of smb.h to better locations. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2011-01-17 | s3: Convert cli_api to cli_trans | Volker Lendecke | 1 | -11/+48 | |
2011-01-17 | s3: Make cli_setpathinfo_basic use cli_setpathinfo | Volker Lendecke | 1 | -65/+8 | |
2011-01-17 | s3: Rename cli_setpathinfo->cli_setpathinfo_basic | Volker Lendecke | 1 | -6/+6 | |
2011-01-17 | s3: Remove cli_send_trans from cli_qpathinfo_alt_name | Volker Lendecke | 1 | -51/+25 | |
2011-01-17 | s3: Remove cli_send_trans from cli_oem_change_password | Volker Lendecke | 1 | -15/+5 | |
2010-10-24 | s3: Replace cli_qfileinfo_test with a call to cli_qfileinfo | Volker Lendecke | 1 | -55/+0 | |
2010-10-24 | s3: Convert cli_qfileinfo_basic to cli_qfileinfo | Volker Lendecke | 1 | -29/+18 | |
2010-10-24 | s3: Convert cli_qfilename to cli_qfileinfo | Volker Lendecke | 1 | -35/+13 | |
2010-10-24 | s3: Rename cli_fileinfo() to cli_fileinfo_basic() | Volker Lendecke | 1 | -7/+7 | |
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-05 | s3: Remove some pointless wrapper functions | Volker Lendecke | 1 | -6/+6 | |
2010-08-05 | s3: Save the received trans2 from the inbuf in cli_trans | Volker Lendecke | 1 | -0/+1 | |
2010-07-28 | s3: Fix cli_qpathinfo2 | Volker Lendecke | 1 | -1/+1 | |
Does not fix the DIR_CREATETIME test, but it is definitely an error. | |||||
2010-07-26 | s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send | Volker Lendecke | 1 | -42/+93 | |
2010-07-26 | s3: Factor out parse_streams_blob | Volker Lendecke | 1 | -8/+22 | |
2010-07-26 | s3: Convert cli_qpathinfo_basic to cli_qpathinfo_send | Volker Lendecke | 1 | -49/+86 | |
2010-07-26 | s3: Convert cli_qpathinfo2 to cli_qpathinfo_send | Volker Lendecke | 1 | -50/+101 | |
2010-07-26 | s3: cli_qpathinfo2 expects at least 68 bytes | Volker Lendecke | 1 | -1/+1 | |
2010-07-26 | s3: Convert cli_qpathinfo1 to cli_qpathinfo | Volker Lendecke | 1 | -61/+105 | |
2010-07-25 | s3: cli_qpathinfo->cli_qpathinfo1 | Volker Lendecke | 1 | -1/+1 | |
2010-05-18 | s3-crypto: only include crypto headers when crypto is done. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-12 | s3-rap: fix cli_oem_change_password() and give room for the convert reply word. | Günther Deschner | 1 | -1/+1 | |
Any servers I could find so far return it. Guenther | |||||
2010-04-26 | s3: use generated rap header. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-02-20 | s3: Convert cli_qpathinfo_basic to use cli_trans() | Volker Lendecke | 1 | -39/+26 | |
2010-02-09 | Fix off-by-one error in working out the limit of the NetServerEnum comment. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-02-08 | s3:libsmb: fix NetServerEnum3 rap calls. | Stefan Metzmacher | 1 | -5/+19 | |
metze | |||||
2010-02-04 | s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum() | Stefan Metzmacher | 1 | -2/+3 | |
When we need to do more than one network operation to get the browse list we need to use the same 'stype' value each time. metze | |||||
2009-11-14 | s3: Add min_setup, min_param and min_data to cli_trans_recv | Volker Lendecke | 1 | -14/+6 | |
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus. | |||||
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 1 | -3/+3 | |
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do. | |||||
2009-04-30 | Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int. | Jeremy Allison | 1 | -3/+3 | |
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy. | |||||
2009-04-14 | More work to adapt to merged libcli/auth function prototypes | Andrew Bartlett | 1 | -0/+1 | |
2009-04-14 | Rework Samba3 to use new libcli/auth code (partial) | Andrew Bartlett | 1 | -1/+1 | |
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett | |||||
2009-01-26 | Decouple clistr_pull from struct cli_state->inbuf | Volker Lendecke | 1 | -2/+4 | |