summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner2011-05-304-12/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
* s3: Add ioctl code to smbd_smb2_ioctl_send debugVolker Lendecke2011-05-301-2/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 30 12:47:27 CEST 2011 on sn-devel-104
* s3: Remove unused cli_session_requestVolker Lendecke2011-05-292-131/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104
* s3: Remove unused cli_connectVolker Lendecke2011-05-292-180/+0
|
* s3: Use cli_connect_nb in SMBC_server_internalVolker Lendecke2011-05-291-81/+20
|
* s3: Run BAD-NBT-SESSION in make testVolker Lendecke2011-05-291-0/+1
|
* s3: Reply correctly to a bad nbt session requestVolker Lendecke2011-05-291-1/+15
|
* s3: Fix cli_bad_session_requestVolker Lendecke2011-05-291-2/+19
| | | | | We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message
* s3: Simplify run_bad_nbt_sessionVolker Lendecke2011-05-291-40/+26
|
* s3: Simplify cli_bad_session_requestVolker Lendecke2011-05-291-12/+4
| | | | For this purpose we don't need the full cli_state
* s3: Add set_socket_options to cli_connect_sock()Volker Lendecke2011-05-291-0/+1
| | | | | | | A leftover of stuff that cli_connect() does Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 15:47:17 CEST 2011 on sn-devel-104
* s3: Use cli_connect_nb in nmbd sync_childVolker Lendecke2011-05-291-18/+4
|
* s3: Remove unused attempt_netbios_session_requestVolker Lendecke2011-05-292-67/+0
|
* s3: Use cli_connect_nb in do_connectVolker Lendecke2011-05-291-45/+6
|
* s3: Use the correct guest_login field in auth_serverVolker Lendecke2011-05-291-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 13:57:21 CEST 2011 on sn-devel-104
* s3: Extract the guest_login field in sesssetupVolker Lendecke2011-05-292-4/+18
|
* s3: Fix wct check in cli_sesssetup_blob_doneVolker Lendecke2011-05-291-1/+1
|
* s3: Use cli_connect_nb in auth_serverVolker Lendecke2011-05-291-16/+4
|
* s3: Fix a type-punned warningVolker Lendecke2011-05-291-1/+1
|
* s3: Check password server loop earlierVolker Lendecke2011-05-291-4/+6
| | | | We do that in the loop for the ip address anyway
* s3: Use cli_connect_nb in do_message_opVolker Lendecke2011-05-291-33/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 10:11:54 CEST 2011 on sn-devel-104
* s3: Use cli_connect_nb in smbtorture open_nbt_connectionVolker Lendecke2011-05-281-36/+2
|
* s3: Use cli_connect_nb in net_rpc_checkVolker Lendecke2011-05-281-8/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
* s3: Use cli_connect_nb in smbd_running()Volker Lendecke2011-05-281-7/+3
|
* s3: Use cli_connect_nb in cli_servertimeVolker Lendecke2011-05-281-18/+2
|
* s3: Use cli_connect_nb in remote_password_changeVolker Lendecke2011-05-281-31/+2
|
* s3: Add called name_type param to cli_connect_nbVolker Lendecke2011-05-284-6/+7
|
* s3: Fix a type-punned warningVolker Lendecke2011-05-281-1/+2
|
* s3: Use cli_connect_nb in masktestVolker Lendecke2011-05-281-30/+3
|
* s3: Fix some nonemtpy blank linesVolker Lendecke2011-05-283-12/+11
|
* s3: Use cli_connect_nb in locktestVolker Lendecke2011-05-281-28/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 18:06:49 CEST 2011 on sn-devel-104
* s3: Fix smbsock_connectVolker Lendecke2011-05-281-1/+1
| | | | If all connection attempts fail, return immediately. Plain bug.
* s3: Fix a tiny memleak in copy_unix_tokenVolker Lendecke2011-05-281-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 11:47:11 CEST 2011 on sn-devel-104
* s3: Use talloc_memdup in copy_unix_tokenVolker Lendecke2011-05-281-2/+2
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-05-282-17/+17
|
* s3: Use cli_connect_nb in cli_start_connectionVolker Lendecke2011-05-281-47/+4
|
* s3: Add cli_connect_nbVolker Lendecke2011-05-282-0/+136
| | | | | | This builds up a cli_state until after the netbios session setup. It makes use of smbsock_connect, so it connects to 139 and 445 simultaneously. This improves the connection to Windows 2008 which does not listen on *SMBSERVER anymore.
* Fix bug #6911 - Kerberos authentication from vista to samba fails when ↵Jeremy Allison2011-05-271-3/+25
| | | | | | | | | | | | | | | | | | | | | | security blob size is greater than 16 kB We were not correctly checking the output of asn1_start_tag(). asn1_start_tag() returns -1 and sets data->has_error if the remaining blob size is too short to contain the tag length. We were checking data->has_error and returning NT_STATUS_OK (to allow the second asn.1 parse to fail in that case). We should not be checking data->has_error in this case, but falling through to the code that already checks the length. Thanks to Jim for reproducing this for me. We don't get bitten by this as we announce a max buffer size of 16k, greater than Windows's 4k, which means that most krb5 spnego packets already fit. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 27 02:57:27 CEST 2011 on sn-devel-104
* Fix bug #8165 - Inverted WITH_SYSLOG condition in vfs_full_audit.c.Jeremy Allison2011-05-251-1/+1
| | | | | | | Found by freeserif@yahoo.com. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 25 22:37:23 CEST 2011 on sn-devel-104
* Fix numerous missing dependencies in WAF build scriptsSean Finney2011-05-257-20/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the recent consolidation of code between s3 and s4, a number of new dependencies have been implicitly introduced. For example, previous s3 code gained an implicit dependency on talloc after the charset related consolidation (lib/util/charset/charset.h now includes talloc.h). When building against the embedded version of talloc this isn't a problem since the paths are automatically added to the search path, but when building against the external libraries build failures will occur for all components that don't directly or indirectly include talloc as a dependency. Since charset.h is included from util.h, which in turn is included from includes.h, this means most of the codebase (s3 and s4) has such an undeclared dependency. Therefore, samba-util-common and samba-util have been added as dependencies to the s3 and s4 code respectively, for all cases where the source would otherwise fail to build. Additionally, a few other dependencies are added in specific wscript_build files to address similar dependency-related problems. https://bugzilla.samba.org/show_bug.cgi?id=8128 Signed-off-by: Sean Finney <seanius@seanius.net> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 19:22:13 CEST 2011 on sn-devel-104
* s3-winbind: BUG 8166 - Don't lockout users when offline.Jim McDonough2011-05-251-1/+4
| | | | | | | Windows does not track bad password attempts when offline. We were locking users out but not honoring the lockout duration. Autobuild-User: Jim McDonough <jmcd@samba.org> Autobuild-Date: Wed May 25 18:11:10 CEST 2011 on sn-devel-104
* s3-testparm Warn about incorrect use of 'password server'Andrew Bartlett2011-05-251-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
* s3-param Depricate 'password server = foo:12389' syntaxAndrew Bartlett2011-05-251-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
* selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett2011-05-252-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
* Actually make use of the SMBTA_SUBRELEASE define in smb_traffic_analyzer.h. ↵Holger Hetterich2011-05-242-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
* Fix bug #7054 - X account flag does not work when pwdlastset is 0.Jeremy Allison2011-05-242-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.
* s3:modules properly terminate enums in nfs4 acl codeChristian Ambach2011-05-241-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
* s3:vfs properly terminate enums in audit modulesChristian Ambach2011-05-243-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
* Fix bug #8150 - Ban 'dos charset = utf8'Jeremy Allison2011-05-241-1/+39
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 24 03:52:50 CEST 2011 on sn-devel-104
* s3: Remove unused cli_get_nt_errorVolker Lendecke2011-05-232-18/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 23 16:54:21 CEST 2011 on sn-devel-104