summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-05-25s3-testparm Warn about incorrect use of 'password server'Andrew Bartlett1-4/+4
This merges master with v3-6-test Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 25 05:20:57 CEST 2011 on sn-devel-104
2011-05-25s3-param Depricate 'password server = foo:12389' syntaxAndrew Bartlett1-0/+5
This was originally intended to allow the LDAP port on a DC to be varied, but makes little sense to change one port when in an environment where krb5, ldap, smb and potentially DCE/RPC over TCP are involved. Andrew Bartlett
2011-05-25selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett2-34/+34
Except in one case (where we mark printing tests as knownfail), this has all our regular expressions start with ^, which ensures we don't accidentially mix up the samba3/samba4 prefix here. Because of the particular values in these files at the moment, this should not change the set of tests, but it will help to ensure that future edits follow the correct pattern. Andrew Bartlett
2011-05-24Actually make use of the SMBTA_SUBRELEASE define in smb_traffic_analyzer.h. ↵Holger Hetterich2-1/+12
This will allow to introduce new features or fixes into the protocol after the 3.6.0 release. The client software is designed to take care for the subrelease number. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 24 21:23:22 CEST 2011 on sn-devel-104
2011-05-24Fix bug #7054 - X account flag does not work when pwdlastset is 0.Jeremy Allison2-3/+11
Don't allow pass_last_set_time to be set to zero (which means "user must change password on next logon") if user object doesn't allow password change. Don't automatically allow user object password change if "user must change password on next logon" is set. Jim please check. Jeremy.
2011-05-24s3:modules properly terminate enums in nfs4 acl codeChristian Ambach1-1/+3
same issue as with the audit modules: using a wrong parameter leads to smbd crash as lp_enum() will not terminate on last entry of the array Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue May 24 20:13:39 CEST 2011 on sn-devel-104
2011-05-24s3:vfs properly terminate enums in audit modulesChristian Ambach3-6/+12
without the proper terminations of the enums, invalid arguments for the audit modules will lead to a smbd crash as the loop in lp_enum() will attempt to access memory behind the array
2011-05-24Fix bug #8150 - Ban 'dos charset = utf8'Jeremy Allison1-1/+39
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 24 03:52:50 CEST 2011 on sn-devel-104
2011-05-23s3: Remove unused cli_get_nt_errorVolker Lendecke2-18/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 16:54:21 CEST 2011 on sn-devel-104
2011-05-23s3: Remove unused cli_set_nt_errorVolker Lendecke2-10/+0
2011-05-23s3: Remove unused cli_reset_errorVolker Lendecke2-13/+0
2011-05-23s3: Remove a reference to cli->inbufVolker Lendecke1-1/+1
This is only used for utf16 alignment calculations, "rdata" is aligned the same way as cli->inbuf is.
2011-05-23s3: Remove two false references to cli->inbufVolker Lendecke1-2/+2
2011-05-23s3: Fix a leftover from fstring removal in cli_stateVolker Lendecke1-4/+7
Jeremy, please check!
2011-05-23s3: Remove unused cli_[en|de]crypt_messageVolker Lendecke2-45/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 12:15:33 CEST 2011 on sn-devel-104
2011-05-23s3: Directly call common_encrypt_buffer in cli_smb_req_iov_sendVolker Lendecke1-2/+2
2011-05-22s3: Remove cli_send/receive_smbVolker Lendecke2-284/+0
A moment of silence is due here, R.I.P. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 22 22:17:12 CEST 2011 on sn-devel-104
2011-05-22s3: Remove the smbtorture3 OPLOCK3 testVolker Lendecke2-59/+1
This is the last user of cli_receive_smb. Oplocks are nowadays tested in smbtorture4, this mainly has historic value
2011-05-22s3: Convert the OPEN4 test to async oplock handlingVolker Lendecke1-32/+96
This removes a caller of cli_receive_smb
2011-05-21s3: Remove clistr_align_outVolker Lendecke2-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 23:31:12 CEST 2011 on sn-devel-104
2011-05-21s3: Remove unused cli_setup_bccVolker Lendecke2-10/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 21:24:13 CEST 2011 on sn-devel-104
2011-05-21Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.Jeremy Allison1-10/+27
If kerberos_get_realm_from_hostname() or kerberos_get_default_realm_from_ccache() fails due to a misconfigured krb5.conf, try the "realm =" from smb.conf as a fallcback before going back to NTLMSSP (which we'll do anyway). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 21 00:58:09 CEST 2011 on sn-devel-104
2011-05-20The "workgroup" parameter is not used at all in ↵Jeremy Allison1-7/+4
cli_session_setup_kerberos(). Remove it.
2011-05-20Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file ↵Jeremy Allison1-8/+5
correctly. The parsing code made some strange assumptions about what is a printer name, and what is a comment. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 22:52:23 CEST 2011 on sn-devel-104
2011-05-20Fix bug 8133 - strange behavior for the file (whose filename first character ↵Jeremy Allison1-2/+3
is period ) in SMB2 case. When doing SMB2 renames, we need to match all filetypes (no attributes field in the SMB2 call). By default a file starting with a period is returned as FILE_ATTRIBUTE_HIDDEN in Samba. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 19:26:04 CEST 2011 on sn-devel-104
2011-05-20Optimization. If the attributes passed to can_rename() include both ↵Jeremy Allison1-5/+8
FILE_ATTRIBUTE_HIDDEN and FILE_ATTRIBUTE_SYSTEM then there's no point in reading the source DOS attribute, as we're not going to deny the rename on attribute match.
2011-05-20s3:smbd remove unused codeChristian Ambach2-12/+0
in the early CTDB days, the RELEASE_IP message was defined and some code was added to react on such a message to make smbd exit if the IP address it was using for the server socket is removed by CTDB. Later, it was discovered that we need to stop smbd immediately and logic was added to ctdb_conn to call release_ip() without going through the messaging system. So this code is not used and can be removed Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri May 20 16:18:24 CEST 2011 on sn-devel-104
2011-05-20s3: Fork the echo handler only after SMB1 negprot is doneVolker Lendecke3-7/+8
This enables activating the echo responder also if SMB2 is enabled, albeit it will only be used for SMB1 at this moment. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 15:06:03 CEST 2011 on sn-devel-104
2011-05-20s3: Fix Coverity ID 2573: UNUSED_VALUEVolker Lendecke1-2/+3
Andrew B., please check!
2011-05-20s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2011-05-20s3:testparm: don't return an error for a warning messageStefan Metzmacher1-1/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
2011-05-20s3-epmapper: Fixed endpoint registration.Andreas Schneider1-4/+4
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri May 20 12:03:18 CEST 2011 on sn-devel-104
2011-05-20s3: Remove unused cli_setup_packet()Volker Lendecke2-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104
2011-05-19Fix Bug 8152 - smbd crash in release_ip()Christian Ambach2-0/+8
release_ip() needs the private_data, but it was never saved away to feed it into release_ip() later Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu May 19 21:21:14 CEST 2011 on sn-devel-104
2011-05-19s3: Remove a use of cli_send_smbVolker Lendecke1-46/+53
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 20:11:33 CEST 2011 on sn-devel-104
2011-05-19fix the WAF buildVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 19 18:46:51 CEST 2011 on sn-devel-104
2011-05-19s3: Do central cli_set_errorVolker Lendecke9-189/+2
2011-05-19s3: Remove the use of cli->inbuf/outbuf from cli_session_requestVolker Lendecke1-45/+53
2011-05-19s3: Add sync read_smbVolker Lendecke2-0/+25
2011-05-19s3: Make read_smb_send/recv publicVolker Lendecke4-87/+145
2011-05-18Make protocol version 2 the default protocol, and only run on version 1 if ↵Holger Hetterich1-6/+5
V1 is explcitly given as a module option. I haven't received a single line of feedback on protocol v1 for at least 1 1/2 years, whereas protocol v2 has an active userbase and more people developing around it. This patch includes a manpage update, describing the new version handling, as well as documenting the recent changes making the module transfer the IP address of the client machine as submitted with 464c69609aa7e582f484c1d357b7c6d3eb2bcbe3. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 18 21:36:44 CEST 2011 on sn-devel-104
2011-05-18s3-selftest Remove unused and unimplemented info3cache testAndrew Bartlett1-54/+0
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett2-180/+0
2011-05-18s3-testparm Warn more on incorrect use of 'password server'Andrew Bartlett1-2/+17
2011-05-18lib/util/charset Don't allow invalid 'dos charset = utf8'Andrew Bartlett1-0/+6
No DOS client used UTF8, and this creates subtle, difficult to disagnose breakage of schannel (domain membership). Andrew Bartlett
2011-05-18s3-selftest Remove unused sambalib.py from comfychair test systemAndrew Bartlett1-39/+0
The test binary t_snprintf has moved to lib/replace
2011-05-18s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett15-140/+79
strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett50-261/+177
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18s3-param: Remove unused snum2params_staticAndrew Bartlett2-13/+0
2011-05-18s3-param: remove unused share_iterator functionsAndrew Bartlett3-55/+0