summaryrefslogtreecommitdiffstats
path: root/source4/libcli
Commit message (Collapse)AuthorAgeFilesLines
...
* Use tevent_req_oomVolker Lendecke2011-06-201-2/+2
| | | | This fixes a few Coverity errors
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-205-10/+10
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* libcli/util Bring samba4 unix -> nt_status code in common.Andrew Bartlett2011-06-202-166/+0
| | | | | | | | Due to library link orders, this is already the function that is being used. However we still need to sort out the duplicate symbol issues, probably by renaming things. Andrew Bartlett
* s3-libcli Remove unused error mapping tablesAndrew Bartlett2011-06-201-549/+0
| | | | | | The functions which uesed these tables have since moved in common. Andrew Bartlett
* s4-errors: Import error maps from the source3/ unix -> ntstatus mappingAndrew Bartlett2011-06-171-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
* errors: reorder error codes for easier s3/s4 comparisonAndrew Bartlett2011-06-171-3/+3
|
* s4-util: removed the s4 nterr.cAndrew Tridgell2011-06-172-55/+1
| | | | | | this is now in common code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libclu/util: Move get_friendly_nt_error_msg() in common.Andrew Bartlett2011-06-171-20/+0
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:libcli/smb_composite: convert smb2_composite_setpathinfo_send/rev to ↵Stefan Metzmacher2011-06-152-59/+129
| | | | | | tevent_req metze
* s4:libcli/raw/raw*.c - add unhandled enum valuesMatthias Dieter Wallnöfer2011-06-112-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
* s4-ipv6: fixed a crash in the IPv6 DNS codeAndrew Tridgell2011-06-071-1/+1
|
* s4-ipv6: fixed DNS handling with new IPv6 codeAndrew Tridgell2011-06-071-1/+16
|
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-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
* s4-ipv6: allow for IPv6 in resolver top level callsAndrew Tridgell2011-06-061-4/+2
|
* s4-ipv6: cope with IPv6 in our async DNS client codeAndrew Tridgell2011-06-061-28/+28
|
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-063-3/+3
|
* lib/util/time.c: timeval_current_ofs_usecRusty Russell2011-06-011-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>
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-311-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
* s4-libcli Merge error map order with source3 errmap_unix.cAndrew Bartlett2011-05-311-26/+28
| | | | | | This makes it easier to see what the actual differences here are. Andrew Bartlett
* waf-build: Add more libraries to avoid duplicate symbolsAndrew Bartlett2011-05-181-2/+3
| | | | | | The new source of duplicates is calling libnetapi from inside smbtorture. Andrew Bartlett
* s4-libcli/rap: add smbcli_rap_netremotetod().Günther Deschner2011-05-161-0/+47
| | | | Guenther
* 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