summaryrefslogtreecommitdiff
path: root/source4/libcli
AgeCommit message (Collapse)AuthorFilesLines
2011-06-17s4-errors: Import error maps from the source3/ unix -> ntstatus mappingAndrew Bartlett1-0/+11
We need to syncronise these mappings, as the duplication of this symobol in the build means that either may be called based only on library link orders. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jun 17 10:22:07 CEST 2011 on sn-devel-104
2011-06-17errors: reorder error codes for easier s3/s4 comparisonAndrew Bartlett1-3/+3
2011-06-17s4-util: removed the s4 nterr.cAndrew Tridgell2-55/+1
this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-17libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett1-20/+0
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-15s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher2-59/+129
tevent_req metze
2011-06-11s4:libcli/raw/raw*.c - add unhandled enum valuesMatthias Dieter Wallnöfer2-2/+3
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Jun 11 18:46:13 CEST 2011 on sn-devel-104
2011-06-07s4-ipv6: fixed a crash in the IPv6 DNS codeAndrew Tridgell1-1/+1
2011-06-07s4-ipv6: fixed DNS handling with new IPv6 codeAndrew Tridgell1-1/+16
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-06-06s4-ipv6: allow for IPv6 in resolver top level callsAndrew Tridgell1-4/+2
2011-06-06s4-ipv6: cope with IPv6 in our async DNS client codeAndrew Tridgell1-28/+28
2011-06-06s4-ipv6: update callers to load_interface_list()Andrew Tridgell3-3/+3
2011-06-01lib/util/time.c: timeval_current_ofs_usecRusty Russell1-1/+1
Several places want "microseconds from current time", and several were simply handing "usecs" values which could be over a million. Using a helper to do this is safer and more readable. I didn't replace any obviously correct callers (ie. constants). I also renamed wait_nsec in source3/lib/util_sock.c; it's actually microseconds not nanoseconds (introduced with this code in Volker's 19b783cc Async wrapper for open_socket_out_send/recv). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-05-31libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett1-35/+0
This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
2011-05-31s4-libcli Merge error map order with source3 errmap_unix.cAndrew Bartlett1-26/+28
This makes it easier to see what the actual differences here are. Andrew Bartlett
2011-05-18waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett1-2/+3
The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
2011-05-16s4-libcli/rap: add smbcli_rap_netremotetod().Günther Deschner1-0/+47
Guenther
2011-05-13do an explicit A record search for SRV entriesLuke Howard1-4/+22
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-05-08s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett3-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
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett3-187/+2
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-05-06errors: Remove unused unix_to_werror()Andrew Bartlett1-5/+0
2011-05-06libcli/util Move NTSTATUS table to the top levelAndrew Bartlett1-889/+2
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett1-6/+7
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-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
2011-05-06errors: Merge source3/ werror_to_ntstatus() code to source4/Andrew Bartlett1-6/+16
2011-05-06errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett1-7/+11
They are now identical Andrew Bartlett
2011-05-06s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett1-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
2011-05-05Fix many const compiler warnings.Jeremy Allison1-1/+1
2011-05-03libcli/raw: use a different ifdef than s3 smb.hAndrew Tridgell1-3/+3
this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett3-5/+5
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-05-03s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett2-13/+1
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
2011-05-02s4:libcli/util/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher1-0/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 2 15:02:56 CEST 2011 on sn-devel-104
2011-04-29build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
2011-04-29libcli/smb Move attrib_string in commonAndrew Bartlett1-46/+0
2011-04-29libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett1-18/+0
2011-04-28s4:libcli/smb_composite: move smb2_composite_setpathinfo_setinfo_done()Stefan Metzmacher1-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
2011-04-28s4:libcli/smb_composite: move smb2_composite_setpathinfo_create_done()Stefan Metzmacher1-22/+23
It should be after smb2_composite_setpathinfo_send(). metze
2011-04-28s4:libcli/smb_composite: add smb2_composite_setpathinfo_close_done()Stefan Metzmacher1-1/+12
metze
2011-04-28s4:libcli/smb_composite: better names for smb2_composite_setpathinfo_* funcs ↵Stefan Metzmacher1-22/+15
and vars metze
2011-04-28s4:libcli/smb2: let smb2_session_setup_spnego_* use tevent_reqStefan Metzmacher2-72/+118
metze
2011-04-28s4:libcli/smb2: move smb2_session_setup_spnego_send() to the topStefan Metzmacher1-62/+64
smb2_session_setup_spnego_send() should be on the top of the smb2_session_setup_spnego_* block. metze
2011-04-28s4:libcli/smb2: move smb2_connect_tcon_done()Stefan Metzmacher1-20/+22
It should be after smb2_connect_session_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_session_done()Stefan Metzmacher1-36/+38
It should be after smb2_connect_negprot_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_negprot_done()Stefan Metzmacher1-69/+71
It should be after smb2_connect_socket_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_socket_done()Stefan Metzmacher1-55/+57
It should be after smb2_connect_resolve_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_resolve_done()Stefan Metzmacher1-36/+35
It should be after smb2_connect_send(). metze
2011-04-28s4:libcli/smb2: rename step functions of smb2_connect_*()Stefan Metzmacher1-26/+10
They should all start with a smb2_connect_ prefix. metze
2011-04-28s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher2-108/+198
metze
2011-04-14s4/libcli: do not use netbios name in NTLMv2 blobs w/o spnegoChristian Ambach1-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
2011-04-14s4/libcli: do not announce NT error code support when it is disabledChristian Ambach1-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>