summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* packaging(RHEL-CTDB): align configure.rpm to the spec fileChristian Ambach2011-05-271-1/+1
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 27 13:27:03 CEST 2011 on sn-devel-104
* s3: Fix a typoVolker Lendecke2011-05-271-1/+1
| | | | | | | Thanks to Samba-JP oota <ribbon@samba.gr.jp> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 27 10:12:12 CEST 2011 on sn-devel-104
* s3: Fix a typoVolker Lendecke2011-05-271-1/+1
| | | | Thanks to Samba-JP oota <ribbon@samba.gr.jp>
* 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
* s3: Document "async smb echo handler"Volker Lendecke2011-05-261-0/+15
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 26 12:50:55 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-2510-25/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* s4:samldb LDB module - check if the RODC group exists if creating an RODCMatthias Dieter Wallnöfer2011-05-251-13/+43
| | | | | | | | | | Older AD deployments simply don't have it and hence there is no RODC support. Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 10:26:37 CEST 2011 on sn-devel-104
* s4:samldb LDB module - better to call "samldb_prim_group_trigger"Matthias Dieter Wallnöfer2011-05-251-1/+1
| | | | | | | "samldb_prim_group_trigger" which as a wrapper calls "samldb_prim_group_change" for a LDB modify operation. Reviewed-by: abartlet
* s4:samldb LDB module - convert a "dsdb_module_search" into ↵Matthias Dieter Wallnöfer2011-05-251-5/+2
| | | | | | | | "dsdb_module_search_dn" It saves us from checking the number of returned entries. Reviewed-by: abartlet
* s4:sam.py - uncomment/enhance some account type testsMatthias Dieter Wallnöfer2011-05-251-30/+48
| | | | Reviewed-by: abartlet
* s4:samldb LDB modules - only objectClass "computer" is allowed to embed all ↵Matthias Dieter Wallnöfer2011-05-251-3/+33
| | | | | | types of account Reviewed-by: abartlet
* s4:sam.py - tests for "isCriticalSystemObject" attributeMatthias Dieter Wallnöfer2011-05-251-0/+132
| | | | Reviewed-by: abartlet
* s4:samldb LDB module - fix "isCriticalSystemObject" behaviourMatthias Dieter Wallnöfer2011-05-251-3/+22
| | | | | | | Tests against Windows Server show that it gets set to "FALSE" (not deleted) if we change the account type to a domain member. Reviewed-by: abartlet
* s4:sam.py - unchanged "primaryGroupID" when account type remains the sameMatthias Dieter Wallnöfer2011-05-251-0/+38
| | | | | | Enhance the testcase with a workstation example. Reviewed-by: abartlet
* s4:samldb LDB module - fix the behaviour when changing the "userAccountControl"Matthias Dieter Wallnöfer2011-05-251-14/+31
| | | | | | | | | | Ekacnet was not quite right yet but his patch made me think further. This primary group changing is only needed if the account type changes. With this patch we do one more search if the "userAccountControl" changes but we save us from doing these unneeded and wrong modify replace operations most of the time. Reviewed-by: abartlet
* 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
* docs: Rewrite 'password server' documentationAndrew Bartlett2011-05-251-52/+54
| | | | | | I think this new version is more clear. Andrew Bartlett
* s4-provision Use correct tkey-gssapi-credentialAndrew Bartlett2011-05-252-2/+4
| | | | | | | | We changed to ${DNSNAME} (the fully qualified domain name) a while back, and while it's usually functionally idential to the previous setting, this breaks down if there is more than one DNS server. Andrew Bartlett
* docs: Clarify the 'security=server' fails for NTLMv2Andrew Bartlett2011-05-251-0/+3
|
* selftest: Make knowfail/skip files consistent, always use ^prefixAndrew Bartlett2011-05-253-114/+114
| | | | | | | | | | | | 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
* Fix our asn.1 parser to handle negative numbers.Jeremy Allison2011-05-241-0/+9
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 24 22:57:16 CEST 2011 on sn-devel-104
* lib/util Add Volker's asn1_Integer test into code that runs in 'make test'Andrew Bartlett2011-05-241-0/+94
| | | | | | | The comfychair test harness isn't hooked up, and with the current infrustructure C code is better tested directly here. Andrew Bartlett