summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* do an explicit A record search for SRV entriesLuke Howard2011-05-131-4/+22
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-083-6/+6
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-063-187/+2
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* errors: Remove unused unix_to_werror()Andrew Bartlett2011-05-061-5/+0
|
* libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2011-05-061-889/+2
|
* nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2011-05-061-6/+7
| | | | | | It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
* libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2011-05-061-668/+0
| | | | | | | This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
* errors: Merge source3/ werror_to_ntstatus() code to source4/Andrew Bartlett2011-05-061-6/+16
|
* errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett2011-05-061-7/+11
| | | | | | They are now identical Andrew Bartlett
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-061-5/+3
| | | | | | | This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* libcli/raw: use a different ifdef than s3 smb.hAndrew Tridgell2011-05-031-3/+3
| | | | | | this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-033-5/+5
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett2011-05-032-13/+1
| | | | | | | This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
* s4:libcli/util/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher2011-05-021-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 2 15:02:56 CEST 2011 on sn-devel-104
* build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett2011-04-291-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
* libcli/smb Move attrib_string in commonAndrew Bartlett2011-04-291-46/+0
|
* libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett2011-04-291-18/+0
|
* s4:libcli/smb_composite: move smb2_composite_setpathinfo_setinfo_done()Stefan Metzmacher2011-04-281-25/+27
| | | | | | | | | It should be after smb2_composite_setpathinfo_create_done(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 28 21:38:53 CEST 2011 on sn-devel-104
* s4:libcli/smb_composite: move smb2_composite_setpathinfo_create_done()Stefan Metzmacher2011-04-281-22/+23
| | | | | | It should be after smb2_composite_setpathinfo_send(). metze
* s4:libcli/smb_composite: add smb2_composite_setpathinfo_close_done()Stefan Metzmacher2011-04-281-1/+12
| | | | metze
* s4:libcli/smb_composite: better names for smb2_composite_setpathinfo_* funcs ↵Stefan Metzmacher2011-04-281-22/+15
| | | | | | and vars metze
* s4:libcli/smb2: let smb2_session_setup_spnego_* use tevent_reqStefan Metzmacher2011-04-282-72/+118
| | | | metze
* s4:libcli/smb2: move smb2_session_setup_spnego_send() to the topStefan Metzmacher2011-04-281-62/+64
| | | | | | | smb2_session_setup_spnego_send() should be on the top of the smb2_session_setup_spnego_* block. metze
* s4:libcli/smb2: move smb2_connect_tcon_done()Stefan Metzmacher2011-04-281-20/+22
| | | | | | It should be after smb2_connect_session_done(). metze
* s4:libcli/smb2: move smb2_connect_session_done()Stefan Metzmacher2011-04-281-36/+38
| | | | | | It should be after smb2_connect_negprot_done(). metze
* s4:libcli/smb2: move smb2_connect_negprot_done()Stefan Metzmacher2011-04-281-69/+71
| | | | | | It should be after smb2_connect_socket_done(). metze
* s4:libcli/smb2: move smb2_connect_socket_done()Stefan Metzmacher2011-04-281-55/+57
| | | | | | It should be after smb2_connect_resolve_done(). metze
* s4:libcli/smb2: move smb2_connect_resolve_done()Stefan Metzmacher2011-04-281-36/+35
| | | | | | It should be after smb2_connect_send(). metze
* s4:libcli/smb2: rename step functions of smb2_connect_*()Stefan Metzmacher2011-04-281-26/+10
| | | | | | They should all start with a smb2_connect_ prefix. metze
* s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher2011-04-282-108/+198
| | | | metze
* s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnegoChristian Ambach2011-04-141-4/+22
| | | | | | | | | | | | | | | | | | | I have seen domain controllers rejecting NTLMv2 blobs presented to NetrLogonSamLogonEx with LOGON_FAILURE when the MsvAvNbComputerName was a FQDN or an IP address I have not seen this field in NTLMv2 blobs send by Windows clients when extended security was not available, so omitting the field makes Samba similar to Windows. This prevents errors with some smbtorture testcases that disable spnego and when a target name is specified that is not a valid netbios name. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 02:19:08 CEST 2011 on sn-devel-104
* s4/libcli: do not announce NT error code support when it is disabledChristian Ambach2011-04-141-1/+4
| | | | | | | | when the support of NT error codes has been disabled in the options of a CLI connection, support for them should not be announced during protocol negotiation Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a libraryAndrew Bartlett2011-04-131-1/+1
| | | | | | This reduces symbol duplication Andrew Bartlett
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-292-2/+5
| | | | | | | Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
* libcli: created smb_constants.hAndrew Tridgell2011-03-251-12/+1
| | | | | | this starts the (long!) process of moving some of the SMB constants into common files. This just moves the FLAGS2_ defines, which are needed for common string routines (for FLAGS2_UNICODE_STRINGS)
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-243-8/+7
| | | | | | | | | 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
* source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij2011-03-191-0/+1
|
* s4-libcli/rap: add NDR_RAP dependency to LIBCLI_RAP.Günther Deschner2011-03-181-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 18 14:10:57 CET 2011 on sn-devel-104
* s4-libcli/rap: add smbcli_rap_netsessiongetinfo().Günther Deschner2011-03-181-0/+60
| | | | Guenther
* s4-libcli/rap: add smbcli_rap_netuserdelete().Günther Deschner2011-03-181-0/+45
| | | | Guenther
* s4-libcli/rap: add smbcli_rap_netuseradd().Günther Deschner2011-03-181-1/+58
| | | | Guenther
* s4-rap: remove last iconv_convenience traces from rap client and test code.Günther Deschner2011-03-151-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 15 22:01:51 CET 2011 on sn-devel-104
* s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP ↵Günther Deschner2011-03-154-0/+1561
| | | | | | subsystem. Guenther
* s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.cGünther Deschner2011-03-041-0/+27
| | | | Guenther
* s4-nterr: some minor cosmetic edits to further match s3 nterr.Günther Deschner2011-03-041-3/+10
| | | | Guenther
* nterr: make sure both nt_err_desc structs are the same.Günther Deschner2011-03-041-0/+3
| | | | Guenther
* nterr: make sure both nt_errs structs are the same.Günther Deschner2011-03-041-0/+1
| | | | Guenther
* s4-nterr: add _N macro handling as in s3-nterr.Günther Deschner2011-03-041-91/+95
| | | | Guenther
* nterr: remove space indents (use tabs instead), following coding standards.Günther Deschner2011-03-041-15/+15
| | | | Guenther