Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-10 | s3: Use tevent_req_ntstatus properly in a few places | Volker Lendecke | 1 | -58/+29 | |
2011-05-10 | async_smb.c: convert cli->timeout properly | Rusty Russell | 1 | -1/+2 | |
I have a test failure on my 32-bit Ubuntu system, in that samba3.smbtorture_s3.plain(s3dc).LOCK9 immediately times out (rather than waiting 5 seconds for the child). Debugging revealed this code: timeout is in ms and is set to > 1000 in various places. The code dates from 2002, and other perturbations didn't reveal why it breaks now, but fix it anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue May 10 12:09:07 CEST 2011 on sn-devel-104 | |||||
2011-04-19 | gencache: don't use CLEAR_IF_FIRST as fallback. | Rusty Russell | 1 | -10/+3 | |
CLEAR_IF_FIRST only works if *all* openers use that flag. So just truncate the file: it's racy, but that's what we're doing anyway. We'd really need a TDB_OPENCHECK_OR_CLEAR flag to do this properly (or in TDB2, a open hook at the right point). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-05-07 | s3: Fix including libsmb/proto.h without prior ads.h | Volker Lendecke | 1 | -0/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 7 11:38:11 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | s3-includes: no need to globally include libads/ads_status.h. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | s3-includes: finally only include client.h when libsmb is used. | Günther Deschner | 3 | -0/+4 | |
Guenther | |||||
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 35 | -0/+889 | |
Guenther | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 2 | -0/+2 | |
Guenther | |||||
2011-05-06 | libcli/smb Move cifs posix helper functions and headers in common | Andrew Bartlett | 1 | -94/+0 | |
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett | |||||
2011-05-06 | libcli/util Move NTSTATUS table to the top level | Andrew Bartlett | 1 | -725/+4 | |
2011-05-06 | nterr: Add mem_ctx for return string from get_nt_error_c_code() | Andrew Bartlett | 1 | -4/+4 | |
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett | |||||
2011-05-06 | libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top level | Andrew Bartlett | 1 | -1214/+0 | |
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett | |||||
2011-05-06 | errors: Merge ntstatus -> DOS error table between Samba3 and Samba4. | Andrew Bartlett | 1 | -8/+9 | |
They are now identical Andrew Bartlett | |||||
2011-05-06 | More const fixes. Remove CONST_DISCARD. | Jeremy Allison | 1 | -1/+1 | |
2011-05-05 | More simple const fixes. | Jeremy Allison | 4 | -14/+14 | |
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 10 | -77/+85 | |
2011-05-05 | Fix many const compiler warnings. | Jeremy Allison | 2 | -4/+4 | |
2011-05-05 | s3-libsmb: run minimal_includes.pl. | Günther Deschner | 2 | -2/+0 | |
Guenther | |||||
2011-05-04 | Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy. | Jeremy Allison | 1 | -16/+32 | |
2011-05-04 | Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵ | Jeremy Allison | 1 | -6/+6 | |
as the original macro auto-added the -1. | |||||
2011-05-04 | s3: Filter out duplicates in name_query() | Volker Lendecke | 1 | -2/+18 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 00:03:47 CEST 2011 on sn-devel-104 | |||||
2011-05-03 | s3: Tune broadcast namequeries for unique names | Volker Lendecke | 1 | -3/+9 | |
If we get a unique name via a broadcast query, there's no point in waiting the full timeout. A unique name is just what its name says: unique. No point in waiting longer. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 00:57:24 CEST 2011 on sn-devel-104 | |||||
2011-05-02 | s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-04-30 | s3: Make name_resolve_bcast return sockaddr_storage | Volker Lendecke | 3 | -26/+35 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 20:40:46 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | s3: Remove ip_sevice from get_ipc_connect_master_ip | Volker Lendecke | 2 | -6/+6 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 18:16:28 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵ | Jeremy Allison | 1 | -2/+0 | |
of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 16 | -0/+17 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCH | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR | Andrew Bartlett | 2 | -5/+5 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM | Andrew Bartlett | 2 | -8/+8 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN | Andrew Bartlett | 2 | -8/+8 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLY | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-28 | s3-libads Pass a struct sockaddr_storage to cldap routines | Andrew Bartlett | 1 | -1/+2 | |
This avoids these routines doing a DNS lookup that has already been done, and ensures that the emulated DNS lookup isn't thrown away. Andrew Bartlett | |||||
2011-04-28 | Remove another fstring in this code. | Jeremy Allison | 1 | -12/+20 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 28 03:15:32 CEST 2011 on sn-devel-104 | |||||
2011-04-27 | Fixup (C) - we've both worked lots on this :-). | Jeremy Allison | 1 | -0/+2 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 27 21:56:29 CEST 2011 on sn-devel-104 | |||||
2011-04-27 | Remove fstrings from client struct. Properly talloc strings (ensuring we ↵ | Jeremy Allison | 1 | -42/+266 | |
never end up with a NULL pointer). | |||||
2011-04-27 | s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified. | Andrew Bartlett | 1 | -0/+27 | |
This allows make test to operate without making real DNS calls. Andrew Bartlett | |||||
2011-04-27 | s3: Make cli_session_setup_lanman2 async | Volker Lendecke | 1 | -53/+201 | |
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 27 00:25:35 CEST 2011 on sn-devel-104 | |||||
2011-04-26 | s3: Make cli_session_setup_nt1 async | Volker Lendecke | 1 | -87/+246 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-26 | s3: Make plaintext session setup async | Volker Lendecke | 1 | -59/+145 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-26 | s3: Remove cli_write | Volker Lendecke | 2 | -203/+0 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-26 | s3: Use cli_writeall instead of cli_write | Volker Lendecke | 1 | -7/+7 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-26 | s3: Add cli_writeall | Volker Lendecke | 1 | -3/+51 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-04-25 | s3: Remove unused code | Volker Lendecke | 1 | -6/+0 | |
This is done in name_query_send these days Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104 | |||||
2011-04-25 | s3: Move setting the name_query timeout | Volker Lendecke | 1 | -9/+9 | |
An async caller might want a different timeout behaviour | |||||
2011-04-25 | s3: Fix some typos in dsgetdcname | Volker Lendecke | 1 | -3/+3 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104 | |||||
2011-04-25 | s3: "port" is not used in dsgetdcname | Volker Lendecke | 1 | -3/+0 | |
Günther, please check! | |||||
2011-04-25 | s3: Add a 10-second timeout for the 445 or netbios connection to a DC | Volker Lendecke | 1 | -1/+12 | |
2011-04-23 | s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's | Stefan Metzmacher | 1 | -57/+5 | |
We rely on uint64_t for a long time now... metze | |||||
2011-04-22 | s3: Fix Coverity ID 2325, RESOURCE_LEAK | Volker Lendecke | 1 | -0/+4 | |