summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-14libcli: allow exclusion of netbios name in NTLMV2 blobChristian Ambach1-5/+12
when no hostname is given, leave away the MsvAvNbComputerName part of the ntlmv2 blob Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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>
2011-04-14s3: only include smb profiling where needed.Günther Deschner23-9/+25
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-14s3-waf: add --with-profiling-data configure option.Günther Deschner2-1/+6
Guenther
2011-04-14s3: fix the build of --with-profiling-data.Günther Deschner1-0/+1
Guenther
2011-04-14s3-includes: only include acl prototypes when needed.Günther Deschner7-24/+27
Guenther
2011-04-14s3-includes: absolutely no need to globally include debugparse.hGünther Deschner1-1/+0
Guenther
2011-04-14s3-includes: include lib/util/debug.h headers in includes.h not smb.hGünther Deschner3-4/+3
Guenther
2011-04-14s3-includes: remove unused schema_types enum.Günther Deschner1-3/+0
Guenther
2011-04-14s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner2-10/+9
Guenther
2011-04-14Fix WAF build for sids2xids.Jeremy Allison1-1/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
2011-04-13s3: Add a test for sid2xidsVolker Lendecke3-0/+62
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add some debug to winbindd_sids_to_xidsVolker Lendecke1-0/+6
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Use wbcSidsToUnixIds in create_local_tokenVolker Lendecke3-6/+126
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13nsswitch: Add wbinfo --sids-to-unix-idsVolker Lendecke1-0/+78
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13libwbclient: Add wbcSidsToUnixIdsVolker Lendecke2-1/+124
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipeVolker Lendecke4-0/+311
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add wbint_Sids2UnixIDs idl & implementationVolker Lendecke3-1/+111
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Make idmap_find_domain publicVolker Lendecke2-1/+2
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add is_domain_onlineVolker Lendecke2-0/+6
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13nsswitch: wbinfo --lookup-sidsVolker Lendecke1-0/+63
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13lib: Move next_token next to next_token_tallocVolker Lendecke2-47/+46
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13libwbclient: Add wbcLookupSidsVolker Lendecke2-0/+193
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add winbindd_lookupsidsVolker Lendecke5-1/+158
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add wb_lookupsidsVolker Lendecke3-0/+610
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add wbint_LookupSidsVolker Lendecke5-3/+130
This will be called from wb_lookupsids to query remote DCs via lsa Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Make parse_sidlist publicVolker Lendecke3-34/+33
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Simplify parse_sidlistVolker Lendecke1-17/+9
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13Add dom_sid_parse_endpVolker Lendecke2-2/+14
This returns a pointer to the first non-parsed character, along the lines of strtoul for example. Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13Don't print "success" message after error message in ↵Jeremy Allison1-9/+8
change_file_owner_to_parent(). Remove "goto" in change_dir_owner_to_parent().
2011-04-13s3-build: finally remove references to ndr and dcerpc headers that were ↵Günther Deschner3-4/+0
included globally. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner29-25/+84
Guenther
2011-04-13s3-netapi: remove two shadowed variables.Günther Deschner1-2/+0
Guenther
2011-04-13s3:WHATSNEW.txt: remove the "strict allocate" default valueStefan Metzmacher1-1/+0
commit dc36d75d5fddaa351025e8eb8140f401b66aeb9d reverted the change to true, because it makes Samba unusable on systems without Linux and a modern Filesystem. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Apr 13 21:21:10 CEST 2011 on sn-devel-104
2011-04-13s3-cli_pipe: fix timeout in rpc_pipe_open_tcp_port().Günther Deschner1-1/+1
Make sure we use a timeout of 60 seconds, not 60 milliseconds... This prevented us from successfully using the ncacn_ip_tcp client in a lot of places, I guess. Guenther Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 18:59:19 CEST 2011 on sn-devel-104
2011-04-13s3-util_sock: very brief documentation for open_socket_out().Günther Deschner1-0/+10
The most important bit is to document that timeout is in MILLIseconds, not seconds. Guenther
2011-04-13s3: Make send_nt_replies() staticVolker Lendecke2-8/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 16:25:29 CEST 2011 on sn-devel-104
2011-04-13talloc: fix compiler warnings with -Wc++-compatStefan Metzmacher1-5/+5
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Apr 13 14:33:23 CEST 2011 on sn-devel-104
2011-04-13s3: Fix Coverity ID 2470: STRAY_SEMICOLONVolker Lendecke1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 12:57:43 CEST 2011 on sn-devel-104
2011-04-13s3: Use talloc_tos() in the S3 buildVolker Lendecke1-1/+7
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 09:30:55 CEST 2011 on sn-devel-104
2011-04-13build: Bring DYNCONFIG into samba-util library to avoid symbol duplicationAndrew Bartlett2-6/+6
When this was depended on directly as a subsystem, it ended up in multiple libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 13 08:39:35 CEST 2011 on sn-devel-104
2011-04-13s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett10-28/+9
This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
2011-04-13s4-test: added a test for E_deshash()Andrew Tridgell3-1/+72
this particularly checks the boundary conditions near passwords of length 14 characters Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 13 07:31:55 CEST 2011 on sn-devel-104
2011-04-13s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett5-447/+471
This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13libcli/auth Use convert_string_error to check LM hash calculation.Andrew Bartlett1-9/+24
This allows us to know if the LM hash was built correctly or not. NOTE: talloc_tos() is not available in the common code at this time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Add many more charset testsAndrew Bartlett2-15/+446
This confirms that the behaviour of the convert_string() API (with the process-wide iconv handle). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Add convert_string_error()Andrew Bartlett2-0/+25
This adds an interface that matches the source3/ convert string code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Make ASCII conversion validate it's inputAndrew Bartlett1-4/+69
We should not just strip the high bits off unicode strings being converted to ASCII, we need to actually fail the conversion. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-selftest Add workaround for RAP test failureAndrew Bartlett1-0/+2
The rap.sam test reads 0xFFFFFFFF as a string in the level 2 r->HomeDir attribute, which once we start validating ASCII strings fails. This restores a unchecked dos charset for this test only, until it is determined if the client or server RAP code is at fault. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>