summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-10-03heimdal: convert some subsystems to libraries, consistent with upstream heimdal.Jelmer Vernooij3-17/+24
2010-10-03Make sure REG_SZ is properly written to a .reg file (not as hex(1)), fix ↵Wilco Baan Hofman1-11/+25
trailing comma REG_BINARY. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix issues addressed by Jelmer:Wilco Baan Hofman2-2/+7
* Add a comment about why the reg_strhex_to_data_blob was added * Fix int which should've been a boolean Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix patchfile_dotreg to write proper .reg files: 'hex(1..B):', 'dword:', etcWilco Baan Hofman1-3/+73
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix registry editor to be compatible with Windows 7.Wilco Baan Hofman1-5/+71
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-035 uint32_t's should be set, not 5 bytes.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03The root key should be created as a root key, not subkey.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Do not include the closing doublequote in .reg files.Wilco Baan Hofman1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix hex():00,00,00 bugs and strtol dword bugs, these values are explicitly hex.Wilco Baan Hofman1-7/+37
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Make sure we write the value stored in value, not line (doublequoted).Wilco Baan Hofman1-4/+4
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Make sure that regf only writes to disk every five seconds or when flushed ↵Wilco Baan Hofman1-9/+51
or destroyed Brings speed up on a large .reg import from 17.5s to 0.95s, over 18 times faster Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix .reg file format parsing.Wilco Baan Hofman2-42/+127
* multiline data * doublequoted value name * handle windows format CRLF Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03Fix registry parsing of strings to also support the windows method.Wilco Baan Hofman1-1/+33
Specifically: dword:00000000, hex:00,00,00,00, hex(0..B):00,00,00,00 Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-03s4:dsdb_dn_val_rmd_flags - memmem - scan the whole string for occourencesMatthias Dieter Wallnöfer1-1/+1
Do this as in "dsdb_dn_is_upgraded_link_val". There is really no reason to truncate before search. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 3 10:45:39 UTC 2010 on sn-devel-104
2010-10-03s4:ldap.py - delete the right object after test completitionMatthias Dieter Wallnöfer1-1/+1
2010-10-03s4:ldap.py - fix "system only" testMatthias Dieter Wallnöfer1-0/+8
A part was missing
2010-10-03s4:acl_read LDB module - fix counter typeMatthias Dieter Wallnöfer1-1/+2
2010-10-03s4:getncchanges.c - fix some counter typesMatthias Dieter Wallnöfer1-3/+3
2010-10-03s4:schema_samba4.ldif - update allocated controls listMatthias Dieter Wallnöfer1-0/+1
This needs always to be done after a control allocation otherwise we end up in double-allocations and unexpected behaviour.
2010-10-03s4:libcli/resolve/dns_ex.c - fix "const" warningMatthias Dieter Wallnöfer1-1/+2
2010-10-03s4:rpc_server/echo: fix compiler warningStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
2010-10-03s4-kcc: silence "Testing kcctpl_create_intersite_connections" messageAndrew Tridgell1-1/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Oct 3 04:51:44 UTC 2010 on sn-devel-104
2010-10-02s4-selftest: support 'make testenv SCREEN=1'Andrew Tridgell1-0/+4
this can be used to start a test envioronment in screen windows. Use: make testenv SCREEN=1 SELFTEST_TESTENV=dc to launch just one environment (in this case, "dc")
2010-10-02s4-selftest: silence warnings about bind chownAndrew Tridgell2-2/+4
2010-10-02s4-test: silence a tap2subunit errorAndrew Tridgell1-1/+1
2010-10-02s4-test: silence the Failed to chown message in make testAndrew Tridgell1-3/+5
2010-10-02s4-ldif: get rid of the ndr_pull_error message on startupAndrew Tridgell1-10/+15
detect if the prefixmap blob is text or binary using the first 4 bytes
2010-10-02s4-server: exit with status 127 on SIGTERMAndrew Tridgell1-1/+1
this ensures that make test detects a failure if samba is killed by SIGTERM
2010-10-02s4-selftest: added --screen option for testAndrew Tridgell1-4/+21
you can now do: make test TESTS="some test" SCREEN=1 while in GNU screen, and all the samba servers will launch in their own new screen, named after the server name. You can also do: make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1 to run valgrind on each samba server, or make test TESTS="some test" SCREEN=1 GDBTEST=1 to run gdb on each server
2010-10-03s4-kdc Fix up after import of new lorikeet-heimdalAndrew Bartlett2-4/+19
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Oct 3 01:56:04 UTC 2010 on sn-devel-104
2010-10-03Add new files for sha512 supportAndrew Bartlett2-1/+275
2010-10-03s4:heimdal: import lorikeet-heimdal-201010022046 (commit ↵Andrew Bartlett24-125/+418
1bea031b9404b14114b0272ecbe56e60c567af5c)
2010-10-03s4-heimdal We don't need HDBDIR any moreAndrew Bartlett1-2/+0
2010-10-03heimdal: change the version stringMatthieu Patou1-1/+1
2010-10-03s4-heimdal_build fix up build after heimdal importAndrew Bartlett4-8/+20
Heimdal has it's own dynconfig like system, and so we need the LIBDIR etc in the CFLAGS here. We also need to define build rules for the new files imported in the merge commit, and fix up some header files. This includes the work by Matthieu Patou <mat@matws.net> Andrew Bartlett
2010-10-03s4:heimdal: import lorikeet-heimdal-201009250123 (commit ↵Matthieu Patou382-1687/+34153
42cabfb5b683dbcb97d583c397b897507689e382) I based this on Matthieu's import of lorikeet-heimdal, and then updated it to this commit. Andrew Bartlett
2010-10-02s4-ldapcmp.py: Don't guess credentials for second Credentials objectKamen Mazdrashki1-1/+1
This allow us to fallback to first credentials given. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Oct 2 23:05:20 UTC 2010 on sn-devel-104
2010-10-03s4-getopt.py: Make Anonymous creds when no credentialsKamen Mazdrashki1-2/+7
are supplied on command line and caller doesn't want us to guess credentials from environment
2010-10-03s4-test-fsmo.py: Implement kind of busy-wait for role transferKamen Mazdrashki1-18/+36
This allows us not to hard code timeout we are going to wait for before failing the test - if DCs are not very busy, we won't wait at all (speeds up 'make test' by a minute also) Maximum timeout to wait for is set to 20 secs currently, which should be enough even for slow machines and tested DCs being under load
2010-10-03s4-test-dsdb_schema_info.py: Get rid of global module variablesKamen Mazdrashki1-17/+19
2010-10-03s4-test-dsdb_schema_info.py: Simplify connection SamDBKamen Mazdrashki1-19/+3
by using samba.tests.connect_samdb() helper
2010-10-03s4-test-fsmo.py: Use common implementation for env_get_var_value()Kamen Mazdrashki1-8/+2
2010-10-03s4-test-delete_object.py: Use common implementation for env_get_var_value()Kamen Mazdrashki1-8/+2
2010-10-03s4-python-test: Common implementation for getting environment variable valueKamen Mazdrashki1-0/+11
Unit-test based python tests require certain input parameters to be set in environment, otherwise they can't be run
2010-10-03s4-python-samba: Remove trailing ';'sKamen Mazdrashki2-29/+29
2010-10-03s4-test-fsmo.py: Use common implementation for connect_samdb()Kamen Mazdrashki1-22/+2
Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs
2010-10-03s4-test-delete_object.py: Use common implementation for connect_samdb()Kamen Mazdrashki1-20/+2
Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs
2010-10-03s4-python-test: Implement global connect_samdb() functionKamen Mazdrashki1-0/+46
This helper makes proper ldb url to connect to and is a shorthand for test to create SamDB connections
2010-10-03s4-samba.samdb: Fix masking names from outer contextKamen Mazdrashki1-17/+17
- 'filter' is built-in - 'ldb' is a module name we imported
2010-10-03s4-python-samba: 'file' is a built-inKamen Mazdrashki1-3/+3