summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28selftest: use a loop rather than declare tests for both dc and s3dcAndrew Bartlett1-16/+16
2012-06-28librpc/ndr: Initilaise the remainder of struct dom_sid after a pullAndrew Bartlett1-0/+1
This copes with the fact that r->sub_auths is a fixed-size array, not an allocated pointer, and so will still have some bytes no filled in if the sid did not have a MAX_SUB_AUTHS sub-authorities. Andrew Bartlett
2012-06-28s4-torture: fix typo in samlogon test.Günther Deschner1-1/+1
Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Thu Jun 28 18:43:46 CEST 2012 on sn-devel-104
2012-06-28s4-torture: use torture context for printing debug output.Günther Deschner1-111/+97
Guenther
2012-06-28s3: Fix compilation of pthreadpool_sync.c on platforms without pthread.hVolker Lendecke1-1/+0
Signed-off-by: Bjoern Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 28 16:43:13 CEST 2012 on sn-devel-104
2012-06-28s3:smbd: change nt_open_pipe() to uint16_t pnum/fnumStefan Metzmacher1-3/+3
This is SMB1 code... metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 28 14:47:45 CEST 2012 on sn-devel-104
2012-06-28s3:smb2_create: add usefull DEBUG() messageStefan Metzmacher1-0/+3
All calls which take an file handle have the same, so we should also log it, when we create a handle. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 28 12:41:49 CEST 2012 on sn-devel-104
2012-06-28s3:smbd/files: fsp->fnum is uint64_t not int!Stefan Metzmacher1-3/+3
metze
2012-06-28s3:brlock: s/int/uint64_t for fnumStefan Metzmacher1-1/+1
fsp->fnum and lock->fnum are uint64_t already and we should not truncate the value here. Currently this doesn't matter as we only use 16-bit. But as 'int' is int32_t and we later compare fnum with lock->fnum == fnum, the cast from int32_t to uint64_t goes via int64_t instead of uint32_t. This means even if fsp->fnum just uses 32-bit of the uint64_t we'll get the wrong result, as the implicit cast from a negative int32_t value to uint64_t adds 0xFFFFFFFF00000000. metze
2012-06-28s3:brlock: add some const to print_lock_struct()Stefan Metzmacher1-1/+1
metze
2012-06-28s3:wscript: use LOCKING subsystem for smbtorture3Stefan Metzmacher1-1/+2
metze
2012-06-28source4/smbd/pidfile: don't panic if pid file is corrupt.Rusty Russell1-0/+3
In particular, on a virtual machine after a forced reboot, it contained "Ille" instead of a valid PID. Given it was the right length, I'm assuming it was filesystem corruption. process_exists_by_pid() then panics, when given a pid < 1. Reported-by: lostogre on #samba-technical Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Jun 28 05:19:24 CEST 2012 on sn-devel-104
2012-06-28replace: define INT64_MAX when not definedBjörn Jacke1-0/+4
Tru64 doesn't have any stdint.h Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 28 00:45:58 CEST 2012 on sn-devel-104
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett23-33/+33
This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
2012-06-27s3-pdb_samba4: Remove dupliate profilePath handlingAndrew Bartlett1-6/+0
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 13:16:26 CEST 2012 on sn-devel-104
2012-06-27s4-selftest: expand passdb testingAndrew Bartlett2-0/+102
This tests pdb_samba4 in the first instance
2012-06-27s3-pdbtest: Initialise more elements for testingAndrew Bartlett1-0/+8
If these were left as defaults, they cause issues when the backend (pdb_samba4) returns the internal defaults from the directory, not the defaults from samu_new() Andrew Bartlett
2012-06-27s3-pdb_samba4: Add support for lastLogon and lastLogoffAndrew Bartlett1-2/+10
2012-06-27s3-pdb_samba4: Fix time handling, use nt_time_to_unix()Andrew Bartlett1-1/+1
This matches 478d74fe1447c4588b14ef7040c8c13339d54026 which I failed to merge from pdb_ads. Andrew Bartlett
2012-06-27lib/ldb: Print trace messages for modify correctlyAndrew Bartlett1-1/+1
2012-06-27s4-selftest: Test login with a password expired userAndrew Bartlett2-0/+34
This uses rkpty to test changing an expired password. Andrew Bartlett
2012-06-27s4-dsdb when setting DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OID make it ↵Andrew Bartlett1-1/+7
non-critical
2012-06-27s4-dsdb: Remove hooks for non-directory password handlingAndrew Bartlett1-12/+0
This was an interesting hack, and the local_password module still exists, but until it has a use case and a test case, remove the bypass of password_hash. Andrew Bartlett
2012-06-27selftest: allow NSS_WRAPPER_* vars to be exported to the environmentAndrew Bartlett1-1/+6
2012-06-27selftest: Add extra users to nss_wrapperAndrew Bartlett2-2/+4
These will be used for a test using pdbtest and to run the client test environment under nss_wrapper. Andrew Bartlett
2012-06-27s3-pdbtest: show mis-matching timesAndrew Bartlett1-4/+12
2012-06-27s3:registry: change reg_import.c according to coding guidelines.Michael Adam1-53/+47
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Jun 27 10:07:54 CEST 2012 on sn-devel-104
2012-06-27s3:registry: use TALLOC_CTX * instead of const void * in reg_import_adapter()Michael Adam2-2/+2
2012-06-27s3: add a tool "cclean" to cleanup orphaned entries from connections.tdbGregor Beck3-1/+324
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-27s3:conn_tdb: add a function connections_fetch_entry_ext() that also takes ↵Gregor Beck2-5/+19
the cnum and have connections_fetch_entry() call connections_fetch_entry_ext(). Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-27s3:lib:dbwrap: fix return value of db_ctdb_traverse[_read] for ↵Gregor Beck1-6/+17
non-persistent dbs to return the number of traversed records upon successful traverse. Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-27s3-printing: fix broken print_job_get_name() returnDavid Disseldorp1-1/+2
Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Wed Jun 27 04:04:56 CEST 2012 on sn-devel-104
2012-06-27s3:test_net_registry_check.sh: grep -E isn't portable, use egrepBjörn Jacke1-1/+1
grep -E doesn't work on Solaris /usr/bin/grep e.g. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Jun 27 02:18:07 CEST 2012 on sn-devel-104
2012-06-27tests: make test_ldb portable, eliminate "local" keywordBjörn Jacke1-10/+6
this is BASH only, don't use it.
2012-06-26s3:net registry import: implement dry-run with "--test"Michael Adam1-0/+6
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Jun 26 21:43:49 CEST 2012 on sn-devel-104
2012-06-26s3:net registry import: add an assertMichael Adam1-0/+2
Pair-Programmed-With: Gergor Beck <gbeck@sernet.de>
2012-06-26s3:net registry import: reduce indentationMichael Adam1-7/+8
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2012-06-26s3:net registry import: fix the return code when transaction commit failsMichael Adam1-1/+1
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2012-06-26s3:net registry import: improve regdb_open/close layeringMichael Adam1-3/+4
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2012-06-26s3:net registry import: untangle nested function callsMichael Adam1-3/+8
2012-06-26s3:net registry import: reduce indentation and untangle assignment from checkMichael Adam1-4/+9
in import_with_precheck_action().
2012-06-26s3:net registry import: move precheck-and-import code to its own functionMichael Adam1-9/+20
This is the code that is executed in a registry transaction. The purpose of the refactoring is to be able to simplify and untangle the code structure in the sequel.
2012-06-26s3:net registry: fix violation of coding conventionsGregor Beck1-32/+35
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:net registry import: add option --precheckGregor Beck3-5/+197
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:registry: add function registry_value_cmp()Gregor Beck2-0/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:net registry import: check return values + codecleanupGregor Beck1-16/+30
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:net registry: fix output of dwords with sign bit setGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:registry: fix possible double free in importGregor Beck1-0/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:registry: improve debug output in reg_parseGregor Beck1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2012-06-26s3:registry: add functions to conveniently create registry_valuesGregor Beck2-0/+65
Pair-Programmed-With: Michael Adam <obnox@samba.org>