summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ndr: Fix NDR push function for dnsp_stringAmitay Isaacs2012-03-021-3/+2
| | | | Push the actual length of the string not including null-termination.
* ndr: Fix the error messages, add correct data type nameAmitay Isaacs2012-03-021-6/+6
|
* dlz_bind9: This fixes the problem with adding/deleting rdatasetAmitay Isaacs2012-03-021-11/+16
| | | | | | | | | Fix commit 169db333033b72b6f9ac1e7b23f0f2c151218c1f. This change allowed for LDB records without dnsRecord attribute to exist to prevent large number of deleted records. This change fixes the handling of missing dnsRecord attribute and correctly deleting dnsRecord attribute.
* s4-libnet: Remove set but unused variablesAndrew Bartlett2012-03-012-4/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 1 13:40:12 CET 2012 on sn-devel-104
* s4-libnet: Move to talloc_get_type_abort()Andrew Bartlett2012-03-014-73/+73
| | | | | | | | The NULL pointer dereference from talloc_get_type() might be free, but the information on the actual and expected types from talloc_get_type_abort() is priceless! :-) Andrew Bartlett
* s4:torture/smb2/ioctl.c - quiet format specifier warnings on 32 bitMatthias Dieter Wallnöfer2012-03-011-5/+6
| | | | Achieve this by using platform independent casts.
* s3-selftest: make ntlm_auth test more robust to bad inputAndrew Bartlett2012-03-011-2/+5
| | | | | | If we do not know the helper protocol, make sure to error. Andrew Bartlett
* s3-selftest: Add more tests for ntlm_authAndrew Bartlett2012-03-012-19/+79
|
* s3-ntlm_auth fix up gss-spnego-client so as to work with gss-spnegoAndrew Bartlett2012-03-011-16/+5
| | | | | | The SPNEGO code changed since this was last tested. Andrew Bartlett
* s3-ntlm_auth: Wrap kerberos token in GSSAPIAndrew Bartlett2012-03-011-2/+6
| | | | | | | | | | | | While windows will accept this ticket without the wrapping, it is nicer to follow the standard and wrap it up in GSSAPI. This should allow the ntlm_auth gss-spnego-client to talk to the ntlm_auth gss-spengo server. Reported by Christof Schmitt <christof.schmitt@us.ibm.com> Andrew Bartlett
* s3-ntlm_auth: Add --target-service and --target-hostname optionsAndrew Bartlett2012-03-011-9/+40
| | | | | | | This will allow the gss-spnego-client protocol to work with modern SPNEGO servers that do not send the principal in the mechListMIC. Andrew Bartlett
* build: look for backtrace_symbols in libexecAndrew Bartlett2012-03-012-2/+2
|
* build: link heimdal krb5 against execinfo if foundAndrew Bartlett2012-03-011-1/+1
| | | | This is for FreeBSD, where backtrace symbols are in execinfo
* s4-provision: Use "state directory" from lp, as it is always setAmitay Isaacs2012-03-011-2/+1
| | | | | | | This fixes new provisions when --targetdir is not provided. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Thu Mar 1 11:41:02 CET 2012 on sn-devel-104
* Trivial Comment fix: Supply a missing word in a commentRichard Sharpe2012-03-011-1/+1
| | | | | Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Mar 1 06:55:44 CET 2012 on sn-devel-104
* s3: Fix "make bin/smbtorture4" in the autoconf buildVolker Lendecke2012-03-011-1/+1
| | | | | | | tdb2 support does not work with a system-supplied libtdb yet Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Mar 1 05:23:57 CET 2012 on sn-devel-104
* heimdal: Fix the build on FreeBSDVolker Lendecke2012-03-011-1/+1
| | | | We don't have BACKTRACE_SYMBOLS by default
* Add open_dir_with_privilege() to ensure we're opening the correct directory ↵Jeremy Allison2012-03-015-3/+72
| | | | | | | when doing backup requests. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 1 03:50:40 CET 2012 on sn-devel-104
* Implement FLAG_TRANS2_FIND_BACKUP_INTENT for trans2 with privileges.Jeremy Allison2012-02-291-4/+46
|
* Add accessor functions to set a bool "priv" on a directory handle. Not yet ↵Jeremy Allison2012-02-292-0/+13
| | | | used, but will be part of FLAG_TRANS2_FIND_BACKUP_INTENT code.
* Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison2012-02-295-8/+177
| | | | SMB1 requests.
* Add check_reduced_name_with_privilege(), filename_convert_with_privilege() ↵Jeremy Allison2012-02-293-5/+103
| | | | | | (currently unimplemented) in order to prepare for adding SeBackup/SeRestore code to the main fileserver. Not yet plumbed into the main SMB1/SMB2 code.
* selftest: add more tests for plugin_s4_dcAndrew Bartlett2012-02-291-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
* selftest: change plugin_dc to test using s3fsAndrew Bartlett2012-02-292-79/+9
|
* selftest: skip the troublesome samba4.rpc.unixinfo testAndrew Bartlett2012-02-291-0/+2
| | | | | | | | | | | | | The issue here is that while the single rpc_server process is stuck in an nss_winbind getpwuid() call, winbindd cannot contact netlogon to make the connection to the domain. nss_winbind comes into play when (for s3fs) the NSS_WRAPPER_WINBIND_SO_PATH environment variable is set. In the medium term, the unixinfo pipe should either be rewritten fully async or removed. Andrew Bartlett
* s4:winbind: use ncalrpc for connections to ourselfStefan Metzmacher2012-02-292-7/+38
| | | | | | That avoids recursion if "smbd" is used as file server. metze
* selftest: Do not run chgdcpass test on the main DCAndrew Bartlett2012-02-292-1/+47
| | | | | | | If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
* s4-winbindd: Do not ask for a tree that we will not useAndrew Bartlett2012-02-291-4/+0
|
* testsuite: Replace deprecated bzero with memsetAmitay Isaacs2012-02-29143-347/+347
| | | | | | | | | This fixes build issues on solaris reported in bug #8767. https://bugzilla.samba.org/show_bug.cgi?id=8767 Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Feb 29 10:39:10 CET 2012 on sn-devel-104
* libcli/smb/smb2_signing: rename smb2_key_deviration -> smb2_key_derivationMichael Adam2012-02-293-5/+5
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Feb 29 09:01:54 CET 2012 on sn-devel-104
* s3:torture/test_smb2: test path based calls during reauth in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-3/+51
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 07:23:14 CET 2012 on sn-devel-104
* s3:torture/test_smb2: test handle based calls during reauth in ↵Stefan Metzmacher2012-02-291-0/+18
| | | | | | SMB2-MULTI-CHANNEL metze
* s3:torture/test_smb2: do a reauth over multiple channels in SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-0/+100
| | | | metze
* s3:torture/test_smb2: add a 3rd channel to SMB2-MULTI-CHANNELStefan Metzmacher2012-02-291-1/+154
| | | | metze
* s3:torture/test_smb2: expect FILE_CLOSED on invalid handles in ↵Stefan Metzmacher2012-02-291-2/+4
| | | | | | SMB2-MULTI-CHANNEL metze
* s4:torture/smb2: remove unused varStefan Metzmacher2012-02-291-1/+0
| | | | metze
* libcli/smb/smbXcli: use smb2_key_deviration() to setup SMB 2.24 keysStefan Metzmacher2012-02-291-2/+41
| | | | | | | | | | | | This uses the key diveration function from "NIST Special Publication 800-108" in counter mode (section 5.1). Thanks to Jeremy, Michael and Volker for the debugging! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 04:54:48 CET 2012 on sn-devel-104
* libcli/smb/smb2_signing: implement aes_cmac_128 based signing for SMB 2.24Stefan Metzmacher2012-02-291-18/+58
| | | | metze
* libcli/smb/smb2_signing: add smb2_key_deviration()Stefan Metzmacher2012-02-292-0/+37
| | | | | | | | | This implements a simplified version of "NIST Special Publication 800-108" section 5.1 using hmac-sha256. Thanks to Jeremy, Michael and Volker for the debugging! metze
* lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 testStefan Metzmacher2012-02-293-1/+95
| | | | metze
* lib/crypto: add aes_cmac_128* (rfc 4493)Stefan Metzmacher2012-02-295-5/+233
| | | | | | Thanks to Jeremy, Michael and Volker for the debugging! metze
* s3: Introduce "req" helper var in reply_lockingX_successVolker Lendecke2012-02-291-3/+5
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 03:08:53 CET 2012 on sn-devel-104
* s3: Fix a const warningVolker Lendecke2012-02-291-1/+1
|
* s3: Add a test that makes a chained open break an oplockVolker Lendecke2012-02-296-0/+299
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Feb 29 01:13:03 CET 2012 on sn-devel-104
* s3: More fix for smbd -iVolker Lendecke2012-02-281-1/+1
| | | | | We need a full re-initialize, otherwise we don't re-init the USR1 signal handler
* Fix problem reported by Tom Lee <tlee2951@gmail.com> - when calculatingJeremy Allison2012-02-281-3/+28
| | | | | | | | the share security mask, take priviliges into account for the connecting user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Feb 28 20:21:26 CET 2012 on sn-devel-104
* torture: added samba4-ntvfs targetAndrew Tridgell2012-02-281-0/+3
| | | | | | | | | this will be used for the samba4 server with the ntvfs backend Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Feb 28 13:34:44 CET 2012 on sn-devel-104
* s3fs: when samba is logging to stdout, ask smbd to also do soAndrew Tridgell2012-02-281-1/+3
| | | | | this prevents make test getting spurious errors about opening log files in the install prefix
* smbd: detect EOF on stdin in --foreground modeAndrew Tridgell2012-02-281-0/+25
| | | | if EOF is detected on stdin then exit
* selftest: added a pipe on stdin in s3 child processesAndrew Tridgell2012-02-281-0/+17
| | | | | | this adds a pipe for STDIN in smbd, nmbd and winbindd when run in selftest. This allows those processes to detect when they should exit by looking for EOF on stdin.