summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:dsdb/samdb/ldb_modules/util.c - remove unused variablesMatthias Dieter Wallnöfer2010-08-011-2/+0
|
* s4:torture/rpc/winreg: fix "strict aliasing" compiler warningsStefan Metzmacher2010-08-011-3/+3
| | | | metze
* s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)Stefan Metzmacher2010-08-011-4/+3
| | | | metze
* s4:ldap.py - performs some "systemFlags" testingMatthias Dieter Wallnöfer2010-08-011-0/+56
|
* s4:subtree_rename LDB module - introduce the "systemFlags" protection rulesMatthias Dieter Wallnöfer2010-08-011-2/+122
| | | | This is done in a dedicated call "check_system_flags".
* s4:dsdb/pydsdb.c - import "systemFlags" into PythonMatthias Dieter Wallnöfer2010-07-311-0/+26
| | | | Needed by ldap.py tests
* s4:subtree_rename LDB module - "subren_ctx_init" - fix the "out of memory" ↵Matthias Dieter Wallnöfer2010-07-311-3/+2
| | | | return
* s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate ↵Matthias Dieter Wallnöfer2010-07-311-4/+4
| | | | casts
* s4:torture/winreg.c - remove unreachable codeMatthias Dieter Wallnöfer2010-07-311-2/+0
|
* s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard ↵Matthias Dieter Wallnöfer2010-07-311-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
* s4:dcesrv_netr_LogonGetDomainInfo - improve the client OS informations updateMatthias Dieter Wallnöfer2010-07-311-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.
* s4:blackbox/newuser: use test specific user namesStefan Metzmacher2010-07-311-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
* s4:selftest: skip samba4.blackbox.ktpass for now as it's not portableStefan Metzmacher2010-07-311-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
* s4:librpc/rpc: use the correct ndr flags in dcerpc_ndr_validate_in()Stefan Metzmacher2010-07-311-0/+16
| | | | metze
* s4-smbtorture: remove ifdefed symlink test, this is already skipped internallyGünther Deschner2010-07-301-2/+0
| | | | | | in the s3 case. Guenther
* Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."Günther Deschner2010-07-301-4/+0
| | | | This reverts commit 104c419345a42a9a02ae25df482f449dc41a6380.
* s4-test: Expand DSSYNC test to be executed against all partitionsKamen Mazdrashki2010-07-291-17/+49
| | | | | | It is still possible to supply specific partition to test with on command line using --option="dssync:partition={PARTITION_DN}"
* s4-test-dssync: Issue warning in case we have diffrences in link attributesKamen Mazdrashki2010-07-291-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)
* s4-test: Simplify test_GetInfo() - we have what we need through LDB connectionKamen Mazdrashki2010-07-291-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
* s4-ldb: use TALLOC_CTX type instead of 'void'Kamen Mazdrashki2010-07-299-49/+49
|
* s4-torture: Enable tests with keynames including a slash.Andreas Schneider2010-07-271-12/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."Andreas Schneider2010-07-271-2/+2
| | | | | | This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s4-torture: Disable setting REG_BINARY printer data with size 0.Andreas Schneider2010-07-271-0/+4
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* waf-idl: put the gen_ndr/README file for source3 backAndrew Tridgell2010-07-191-0/+3
| | | | | This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably accidentially.
* s4: Remove trailing whitespacesKamen Mazdrashki2010-07-192-13/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functionsKamen Mazdrashki2010-07-191-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>
* s4-dsdb: use ldb_msg_normalize() in ldb_msg_difference()Kamen Mazdrashki2010-07-191-6/+8
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: Use ldb_msg_normalize() in sqlite3 backendKamen Mazdrashki2010-07-191-4/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c testKamen Mazdrashki2010-07-191-2/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file()Kamen Mazdrashki2010-07-191-1/+9
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: use ldb_msg_normalize() in source4/lib/ldb/common/ldb.cKamen Mazdrashki2010-07-191-5/+7
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: use ldb_msg_normalize() in source4/dsdb/schema/schema_set.cKamen Mazdrashki2010-07-191-5/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: Add ldb_msg_normalize() to accept a memory context from clientKamen Mazdrashki2010-07-192-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>
* s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()Kamen Mazdrashki2010-07-191-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>
* s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty()Kamen Mazdrashki2010-07-191-22/+17
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: Add separate function to add empty element into ldb_msgKamen Mazdrashki2010-07-191-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>
* s4-ldb: Write more explanatory comment for ldb_msg_add()Kamen Mazdrashki2010-07-191-3/+8
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff()Kamen Mazdrashki2010-07-191-2/+10
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki2010-07-191-3/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-tools: use ldb_msg_difference() in ldbedit - modify_record()Kamen Mazdrashki2010-07-191-6/+10
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb/schema/schema_set.c: fix trailing spaces and comments spellingKamen Mazdrashki2010-07-191-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>
* s4-dsdb: use ldb_msg_difference() in source4/dsdb/schema/schema_set.cKamen Mazdrashki2010-07-191-2/+10
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: Implement ldb_msg_difference() function to accept a memory context ↵Kamen Mazdrashki2010-07-192-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>
* s4 nss_switch: fix build problem on computer without the iniparserMatthieu Patou2010-07-171-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.
* s4-waf: add the missing bits for builing nss_winbind and pam_winbindMatthieu Patou2010-07-171-0/+1
| | | | This is something that was not picked up during the migration to waf
* s4 unittests: add blackblox test for ktpassMatthieu Patou2010-07-171-0/+1
|
* s4: create a simple version of ktpassMatthieu Patou2010-07-171-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.
* s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.Günther Deschner2010-07-161-0/+3
| | | | Guenther
* s4-smbtorture: rearrange testlist in RPC-BIND.Günther Deschner2010-07-161-5/+23
| | | | Guenther
* s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.Günther Deschner2010-07-161-0/+1
| | | | Guenther