summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-292-8/+8
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-libads Pass a struct sockaddr_storage to cldap routinesAndrew Bartlett2011-04-281-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
* Remove another fstring in this code.Jeremy Allison2011-04-281-12/+20
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 28 03:15:32 CEST 2011 on sn-devel-104
* Fixup (C) - we've both worked lots on this :-).Jeremy Allison2011-04-271-0/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 27 21:56:29 CEST 2011 on sn-devel-104
* Remove fstrings from client struct. Properly talloc strings (ensuring we ↵Jeremy Allison2011-04-271-42/+266
| | | | never end up with a NULL pointer).
* s3-libsmb Use 'resolv:hosts file' as a DNS emulation when specified.Andrew Bartlett2011-04-271-0/+27
| | | | | | This allows make test to operate without making real DNS calls. Andrew Bartlett
* s3: Make cli_session_setup_lanman2 asyncVolker Lendecke2011-04-271-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
* s3: Make cli_session_setup_nt1 asyncVolker Lendecke2011-04-261-87/+246
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make plaintext session setup asyncVolker Lendecke2011-04-261-59/+145
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Remove cli_writeVolker Lendecke2011-04-262-203/+0
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-261-7/+7
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add cli_writeallVolker Lendecke2011-04-261-3/+51
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Remove unused codeVolker Lendecke2011-04-251-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
* s3: Move setting the name_query timeoutVolker Lendecke2011-04-251-9/+9
| | | | An async caller might want a different timeout behaviour
* s3: Fix some typos in dsgetdcnameVolker Lendecke2011-04-251-3/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104
* s3: "port" is not used in dsgetdcnameVolker Lendecke2011-04-251-3/+0
| | | | Günther, please check!
* s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke2011-04-251-1/+12
|
* s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher2011-04-231-57/+5
| | | | | | We rely on uint64_t for a long time now... metze
* s3: Fix Coverity ID 2325, RESOURCE_LEAKVolker Lendecke2011-04-221-0/+4
|
* libcli/auth: Move more kerberos wrapping in commonAndrew Bartlett2011-04-201-228/+0
| | | | | | | These functions are required to get the krb5 PAC parsing and verfication in common. Andrew Bartlett
* s3: guest sesssetup is only 13 wordsVolker Lendecke2011-04-161-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
* s3: Use tevent_req_nterror properly in a few placesVolker Lendecke2011-04-161-12/+6
|
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-141-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
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-131-0/+1
| | | | Guenther
* s3: Remove some unused codeVolker Lendecke2011-04-031-7/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 18:32:51 CEST 2011 on sn-devel-104
* Fix for servers that don't put a path separator at the end of the service.Larry Reid2011-04-031-4/+13
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 10:33:42 CEST 2011 on sn-devel-104
* s3: only include ntioctl.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner2011-03-302-2/+0
| | | | Guenther
* s3-messages: only include messages.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-libsmb: put namequery headers to nmblib.hGünther Deschner2011-03-3013-0/+61
| | | | | | | We might find a better name for it and merge other namequery related things as well here... Guenther
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-303-0/+3
| | | | Guenther
* s3-trans2: only include trans2.h where needed.Günther Deschner2011-03-307-0/+7
| | | | Guenther
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-03-302-1/+1
| | | | Guenther
* s3-libsmb: remove duplicate NTSTATUS variable.Günther Deschner2011-03-291-1/+0
| | | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 29 17:00:26 CEST 2011 on sn-devel-104
* Fix inspired by work done by David Disseldorp for bug #8040 - smbclient ↵Jeremy Allison2011-03-281-3/+11
| | | | | | | | | segfaults when a Cyrillic netbios name or workgroup is configured. Change msrpc_gen to return NTSTATUS and ensure everywhere this is used it is correctly checked to return that status. Jeremy.
* s3: Convert cli_raw_tcon to cli_smbVolker Lendecke2011-03-271-24/+22
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 19:50:21 CEST 2011 on sn-devel-104
* s3: Replace cli_negprot_sendsync() by cli_negprot_send()Volker Lendecke2011-03-271-35/+0
|
* s3: Remove a use of cli_send_smbVolker Lendecke2011-03-271-36/+47
|
* s3: Fix Coverity ID 2326, CHECKED_RETURNVolker Lendecke2011-03-261-1/+1
|
* s3-libsmb: work our correct length for EA stringsAndrew Tridgell2011-03-251-1/+1
|
* s3-dfs: removed the last user of sec_len==-1 in pull_*_base_talloc()Andrew Tridgell2011-03-251-1/+2
| | | | hopefully there aren't any others lurking in the code
* lib: remove unused pieces of string_wrappers.hAndrew Tridgell2011-03-251-7/+7
|
* s3: Fix some errno assignments in SMBC_opendir_ctxVolker Lendecke2011-03-241-13/+13
| | | | | | | Do the assignment as the last action to make sure it's not overwritten Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 24 17:31:57 CET 2011 on sn-devel-104
* s3: Fix Coverity ID 2325: RESOURCE_LEAKVolker Lendecke2011-03-241-0/+4
|
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-244-11/+9
| | | | | | | | | 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
* s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett2011-03-231-13/+13
| | | | | | | | Now that we don't need to pass in the function name and string, another level of indirection can be safely removed, and the operation of these macros made much clearer. Andrew Bartlett
* s3-lib Remove the clobber_region() code.Andrew Bartlett2011-03-232-26/+8
| | | | | | | | | | | | | | | | | | This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett
* s3-build: only include asn1 headers where actually needed.Günther Deschner2011-03-162-0/+2
| | | | Guenther