summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-08-01s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)Stefan Metzmacher1-4/+3
metze
2010-08-01s4:ldap.py - performs some "systemFlags" testingMatthias Dieter Wallnöfer1-0/+56
2010-08-01s4:subtree_rename LDB module - introduce the "systemFlags" protection rulesMatthias Dieter Wallnöfer1-2/+122
This is done in a dedicated call "check_system_flags".
2010-07-31s4:dsdb/pydsdb.c - import "systemFlags" into PythonMatthias Dieter Wallnöfer1-0/+26
Needed by ldap.py tests
2010-07-31s4:subtree_rename LDB module - "subren_ctx_init" - fix the "out of memory" ↵Matthias Dieter Wallnöfer1-3/+2
return
2010-07-31s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate ↵Matthias Dieter Wallnöfer1-4/+4
casts
2010-07-31s4:torture/winreg.c - remove unreachable codeMatthias Dieter Wallnöfer1-2/+0
2010-07-31s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard ↵Matthias Dieter Wallnöfer1-0/+1
C-compatible It seems to be GCC specific since it doesn't compile on Solaris 10 cc: http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
2010-07-31s4:dcesrv_netr_LogonGetDomainInfo - improve the client OS informations updateMatthias Dieter Wallnöfer1-19/+8
As ekacnet pointed out on the mailing list we don't need to do a delete if we (re)set the values afterwards - only if we don't set any new ones.
2010-07-31s4:blackbox/newuser: use test specific user namesStefan Metzmacher1-10/+10
As this test doesn't delete the user accounts at the end, we should use test specific user names. That lowers the chance of conflicts with other tests. metze
2010-07-31s4:selftest: skip samba4.blackbox.ktpass for now as it's not portableStefan Metzmacher1-0/+3
ktutil might not be installed or from MIT. We should build a samba4ktutil and use that instead, until then we need to skip this test. metze
2010-07-31s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()Stefan Metzmacher1-0/+16
metze
2010-07-30s4-smbtorture: remove ifdefed symlink test, this is already skipped internallyGünther Deschner1-2/+0
in the s3 case. Guenther
2010-07-30Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."Günther Deschner1-4/+0
This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
2010-07-29s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki1-17/+49
It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
2010-07-29s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki1-4/+33
In case differences in messages are: 1. Attributes with different values, i.e. 'replace' 2. Those attributes are back-link attributes then we just warn about those differences. It turns out windows doesn't send all values for back-link attributes in replicated_object but in linked_attributes. I consider this as workaround for the problem. A better solution might be to merge linked_attribute values into replacted_objects before comparing those with LDB result (although this will work for Win2k8 and latter)
2010-07-29s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki1-79/+12
we have already opened. Added 'config_dn' and 'schema_dn' members which are to be used later for extending the test_FetchData() to be executed against every partition in case partition is not specified explicitly. DsSyncText.site_name was removed also as it is not used anymore
2010-07-29s4-ldb: use TALLOC_CTX type instead of 'void'Kamen Mazdrashki9-49/+49
2010-07-27s4-torture: Enable tests with keynames including a slash.Andreas Schneider1-12/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."Andreas Schneider1-2/+2
This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s4-torture: Disable setting REG_BINARY printer data with size 0.Andreas Schneider1-0/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-19waf-idl: put the gen_ndr/README file for source3 backAndrew Tridgell1-0/+3
This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably accidentially.
2010-07-19s4: Remove trailing whitespacesKamen Mazdrashki2-13/+13
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functionsKamen Mazdrashki1-2/+28
They are not quite safe to use (requires caller to steal resulting message in own context) and may lead to holding memory for too long. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb: use ldb_msg_normalize() in ldb_msg_difference()Kamen Mazdrashki1-6/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_normalize() in sqlite3 backendKamen Mazdrashki1-4/+13
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki1-2/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file()Kamen Mazdrashki1-1/+9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb: use ldb_msg_normalize() in source4/lib/ldb/common/ldb.cKamen Mazdrashki1-5/+7
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb: use ldb_msg_normalize() in source4/dsdb/schema/schema_set.cKamen Mazdrashki1-5/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Add ldb_msg_normalize() to accept a memory context from clientKamen Mazdrashki2-12/+46
Previos implementation from ldb_msg_canonicalize() was moved into this function and now ldb_msg_canonicalize() is based on ldb_msg_normalize() Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()Kamen Mazdrashki1-4/+10
Previous implementation was 'leaking' attribute name string, that is allocated by ldb_msg_add_empty() Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty()Kamen Mazdrashki1-22/+17
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Add separate function to add empty element into ldb_msgKamen Mazdrashki1-0/+30
It just adds another element, nothing more. Caller is responsible to fill-in the added element and determine how to handle data allocation contexts. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Write more explanatory comment for ldb_msg_add()Kamen Mazdrashki1-3/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff()Kamen Mazdrashki1-2/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki1-3/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-tools: use ldb_msg_difference() in ldbedit - modify_record()Kamen Mazdrashki1-6/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb/schema/schema_set.c: fix trailing spaces and comments spellingKamen Mazdrashki1-30/+38
Few comments split on several lines also... (Sorry Metze, I know you hate reviewing "and this, and that" type of patches, but those are just cosmetics) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb: use ldb_msg_difference() in source4/dsdb/schema/schema_set.cKamen Mazdrashki1-2/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Implement ldb_msg_difference() function to accept a memory context ↵Kamen Mazdrashki2-23/+92
from client Old implementation from ldb_msg_diff() was moved into this this function but with changed interface so that a memory context may be passed. ldb_msg_diff() function is now based on ldb_msg_difference(), which fixes a hidden leak - internal ldb_msg object (returned from ldb_msg_canonicalize) wasn't freed and stays attached to ldb_context for the connection lifetime. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-17s4 nss_switch: fix build problem on computer without the iniparserMatthieu Patou1-1/+1
Although the build was ok on my workstation it appears that on build server it was not because the include path was not correct.
2010-07-17s4-waf: add the missing bits for builing nss_winbind and pam_winbindMatthieu Patou1-0/+1
This is something that was not picked up during the migration to waf
2010-07-17s4 unittests: add blackblox test for ktpassMatthieu Patou1-0/+1
2010-07-17s4: create a simple version of ktpassMatthieu Patou1-0/+93
This script is intended to be a replacement for the ktutil of Windows. It's use is for exporting keytab that will be used for kerberized services.
2010-07-16s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.Günther Deschner1-0/+3
Guenther
2010-07-16s4-smbtorture: rearrange testlist in RPC-BIND.Günther Deschner1-5/+23
Guenther
2010-07-16s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.Günther Deschner1-0/+1
Guenther
2010-07-16smbtorture shell: Allow any config option to be set.James Peach1-5/+6
Not sure what I was thinking by restricting the shell to "torture:" parametric options. It's really extemely useful to be able to set arbitrary options.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell252-1297/+1297
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>