summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett1-94/+0
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-05-06libcli/util Move NTSTATUS table to the top levelAndrew Bartlett1-725/+4
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett1-4/+4
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett1-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-06errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett1-8/+9
They are now identical Andrew Bartlett
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-1/+1
2011-05-05More simple const fixes.Jeremy Allison4-14/+14
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison10-77/+85
2011-05-05Fix many const compiler warnings.Jeremy Allison2-4/+4
2011-05-05s3-libsmb: run minimal_includes.pl.Günther Deschner2-2/+0
Guenther
2011-05-04Add in bufflen limit when storing NetBIOS names. Remove safe_strcpy.Jeremy Allison1-16/+32
2011-05-04Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison1-6/+6
as the original macro auto-added the -1.
2011-05-04s3: Filter out duplicates in name_query()Volker Lendecke1-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-03s3: Tune broadcast namequeries for unique namesVolker Lendecke1-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-02s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher1-0/+2
metze
2011-04-30s3: Make name_resolve_bcast return sockaddr_storageVolker Lendecke3-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-30s3: Remove ip_sevice from get_ipc_connect_master_ipVolker Lendecke2-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-30Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison1-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-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner16-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-29s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2-5/+5
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2-8/+8
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2-8/+8
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-28s3-libads Pass a struct sockaddr_storage to cldap routinesAndrew Bartlett1-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-28Remove another fstring in this code.Jeremy Allison1-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-27Fixup (C) - we've both worked lots on this :-).Jeremy Allison1-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-27Remove fstrings from client struct. Properly talloc strings (ensuring we ↵Jeremy Allison1-42/+266
never end up with a NULL pointer).
2011-04-27s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified.Andrew Bartlett1-0/+27
This allows make test to operate without making real DNS calls. Andrew Bartlett
2011-04-27s3: Make cli_session_setup_lanman2 asyncVolker Lendecke1-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-26s3: Make cli_session_setup_nt1 asyncVolker Lendecke1-87/+246
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Make plaintext session setup asyncVolker Lendecke1-59/+145
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Remove cli_writeVolker Lendecke2-203/+0
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke1-7/+7
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Add cli_writeallVolker Lendecke1-3/+51
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-25s3: Remove unused codeVolker Lendecke1-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-25s3: Move setting the name_query timeoutVolker Lendecke1-9/+9
An async caller might want a different timeout behaviour
2011-04-25s3: Fix some typos in dsgetdcnameVolker Lendecke1-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-25s3: "port" is not used in dsgetdcnameVolker Lendecke1-3/+0
Günther, please check!
2011-04-25s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke1-1/+12
2011-04-23s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher1-57/+5
We rely on uint64_t for a long time now... metze
2011-04-22s3: Fix Coverity ID 2325, RESOURCE_LEAKVolker Lendecke1-0/+4
2011-04-20libcli/auth: Move more kerberos wrapping in commonAndrew Bartlett1-228/+0
These functions are required to get the krb5 PAC parsing and verfication in common. Andrew Bartlett
2011-04-16s3: guest sesssetup is only 13 wordsVolker Lendecke1-1/+1
(cherry picked from commit 69650a2aaa8649570261df7efccb35ad76d7cfc1) Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 16 16:20:08 CEST 2011 on sn-devel-104
2011-04-16s3: Use tevent_req_nterror properly in a few placesVolker Lendecke1-12/+6
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett1-74/+0
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-04-03s3: Remove some unused codeVolker Lendecke1-7/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 18:32:51 CEST 2011 on sn-devel-104
2011-04-03Fix for servers that don't put a path separator at the end of the service.Larry Reid1-4/+13
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 10:33:42 CEST 2011 on sn-devel-104
2011-03-30s3: only include ntioctl.h where needed.Günther Deschner1-0/+1
Guenther