| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This has been set to true since the global loadparm was removed in
2008, and removes an #ifdef SAMBA_BUILD == 4
Andrew Bartlett
|
|
|
|
|
|
| |
This makes it easier to see what the actual differences here are.
Andrew Bartlett
|
|
|
|
|
|
| |
The new source of duplicates is calling libnetapi from inside smbtorture.
Andrew Bartlett
|
|
|
|
| |
Guenther
|
|
|
|
| |
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
unix_perms_to_wire() was a duplicate symbol in the top level build.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
|
| |
It is clearer to avoid the implicit return on talloc_tos()
Andrew Bartlett
|
|
|
|
|
|
|
| |
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check.
This will be used in smbd/error.c shortly.
Andrew Bartlett
|
| |
|
|
|
|
|
|
| |
They are now identical
Andrew Bartlett
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
this allows both headers to be included in 1 C file
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
|
| |
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.
Andrew Bartlett
|
|
|
|
|
|
|
| |
This was just a wrapper around resolve_name_ex(), so just call that
instead.
Andrew Bartlett
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 2 15:02:56 CEST 2011 on sn-devel-104
|
|
|
|
|
| |
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
It should be after smb2_composite_setpathinfo_send().
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
and vars
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
smb2_session_setup_spnego_send() should be on the top of
the smb2_session_setup_spnego_* block.
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_session_done().
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_negprot_done().
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_socket_done().
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_resolve_done().
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_send().
metze
|
|
|
|
|
|
| |
They should all start with a smb2_connect_ prefix.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This reduces symbol duplication
Andrew Bartlett
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 18 14:10:57 CET 2011 on sn-devel-104
|