summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:dsdb/common/util.c - fully remove "samdb_msg_add_string"Matthias Dieter Wallnöfer2011-03-011-18/+3
| | | | | | | This isn't needed anymore and will be substituted by "ldb_msg_add_string". Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:libnet/libnet_samsync_ldb.c - add a "samdb_msg_add_string" wrapperMatthias Dieter Wallnöfer2011-03-011-0/+8
| | | | | | Add this in order to allow the "ADD_OR_DEL" macros to work. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:remove many invocations of "samdb_msg_add_string"Matthias Dieter Wallnöfer2011-03-018-39/+29
| | | | | | | This call can be substituted by "ldb_msg_add_string". We only need to be careful on local objects or talloc'ed ones which live shorter than the message. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* lib/util: new merged debug systemAndrew Bartlett2011-03-012-13/+19
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* lib/util move debug.[ch] out of the wayAndrew Bartlett2011-03-011-1/+1
| | | | | | | This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
* s4-libnet_vampire: Ignore some attributes when building working schema cacheKamen Mazdrashki2011-03-011-0/+9
| | | | | | | | | Working schema cache will be used to convert replicated Schema objects again later, i.e. used as reference, so we don't need to resolve all attribute OIDs for working Schema cache to be usable. Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Mar 1 03:45:16 CET 2011 on sn-devel-104
* s4-repl/working_schema: Ignore some attributes when bulding working schema cacheKamen Mazdrashki2011-03-011-0/+9
| | | | | We don't need all object attributes resolved and converted for a working schema to be functional.
* s4-replicated_objects: Implement a mechanism to relax some attributes conversionKamen Mazdrashki2011-03-011-4/+31
| | | | | | | | during replicated object convert stage. The problem is that we may have loops in schema graph and we can't resolve those loops in just one pass. Ignoring some attributes conversion will allow us to have a functional schema cache that we can use later to resolve all attribute OIDs on another pass
* Fix some typesJelmer Vernooij2011-02-2813-24/+24
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* ntvfs: Add some missing dependencies on tevent/events.Jelmer Vernooij2011-02-282-4/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 21:57:16 CET 2011 on sn-devel-104
* tdb: Use <tdb.h> to include tdb so system headers are found when building ↵Jelmer Vernooij2011-02-283-3/+3
| | | | against system tdb.
* Use <tdb.h> to include tdb, so the system include file gets used when ↵Jelmer Vernooij2011-02-2813-13/+13
| | | | | | building against system tdb.
* Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij2011-02-282-2/+2
|
* s4/dsdb-util: Use DS_NTDSDSA_OPT_IS_GC flag definitionKamen Mazdrashki2011-02-271-1/+1
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Feb 27 00:10:45 CET 2011 on sn-devel-104
* s4/tests: Include 'replica_sync' test in S4 test suiteKamen Mazdrashki2011-02-271-0/+1
|
* s4/drs-test: Remove unused importsKamen Mazdrashki2011-02-273-25/+0
|
* s4/drs-test: remove netReplicateCmd test from 'deleted object' test caseKamen Mazdrashki2011-02-271-10/+4
| | | | | | | DCs synchronization is moved to the test case setUp method as there is no guarantee for the order of execution of tests in a test case - thus netReplicateCmd may be executed after ReplicateDeleteOjbect test
* s4/drs-tests: Disable replication during 'deleted object' testKamen Mazdrashki2011-02-271-17/+10
| | | | | | | This allows us to remove the patch that prevents the test failure. Also pass 'forced' flag to samba-tool drs replicate command, otherwise DsReplicaSync will fail with 'replication not permitted' error
* s4/drs-tests: Move enable/disable replication methods to DrsBase class so we ↵Kamen Mazdrashki2011-02-272-12/+11
| | | | can re-use them
* s4-drepl: Schedule event to trigger replication rather than calling ↵Kamen Mazdrashki2011-02-271-2/+5
| | | | | | | | | | run_pending_ops directly Executing dreplsrv_run_pending_ops() directly may cause a segfault as in case of failure, the _drepl_replica_sync_done_cb() callback gets called *before* drepl_replica_sync() returns. In such case, irpc message gets freed twice - once when irpc_send_reply() gets called and once when drepl_replica_sync() returns
* s4-drepl: Fix replica sync callback to really store last error rather than ↵Kamen Mazdrashki2011-02-271-1/+1
| | | | last success
* s4-drepl: Refactor dreplsrv_run_pull_ops() toKamen Mazdrashki2011-02-271-16/+33
| | | | | | | | | | 1. Take into account DSA options - we should not send replication requests in case OUTBOUND_REPLICATION is disabled 2. Use replication flags for the operation to determine if a forced replication is requested 3. In case outbound replication is disabled and we don't have DRSUAPI_DRS_SYNC_FORCED flag set, then we should record WERR_DS_DRA_SINK_DISABLED error as a last replication result
* s4-drepl: Pass replication options from DsReplicaSync callKamen Mazdrashki2011-02-274-5/+12
|
* s4:heimdal - fix valgrind issue on Fedora 14Milan Crha2011-02-257-153/+153
| | | | | | | | | | This should definitely fix bug #7858. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Feb 25 12:39:21 CET 2011 on sn-devel-104
* Revert "heimdal_build omit #line statments to allow valgrind to work again"Matthias Dieter Wallnöfer2011-02-258-57/+378
| | | | | This reverts commit 80e23c68d83a7c9989f87d5a88a78bb76d222afc. A better patch has been provided by Milan Crha in the following commit.
* heimdal_build omit #line statments to allow valgrind to work againAndrew Bartlett2011-02-258-378/+57
| | | | | | | | | | | | | | The lex/yacc files were generated on Fedora 14, and have empty filenames in #line declarations. I don't know why this is, but it seems best just to omit the #line statements. This is what was causing Valgrind on Fedora not to run on Samba binaries and programs linked to Samba libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 25 11:46:56 CET 2011 on sn-devel-104
* Implement the SMB2 close flag SMB2_CLOSE_FLAGS_FULL_INFORMATION (and move ↵Jeremy Allison2011-02-251-1/+0
| | | | | | | | | | | definition to correct place). Thanks to Nick Meier @ Microsoft for finding this @ Connectathon. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Feb 25 00:40:52 CET 2011 on sn-devel-104
* s4:dynconfig: fix segfault in the set_dyn_*() functionsStefan Metzmacher2011-02-241-12/+25
| | | | | | | | | | | We should not try to call free on a const string (the default one). Now we make sure that the dyn_* variable is never NULL and only allocated if it's not the default value. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 24 12:29:56 CET 2011 on sn-devel-104
* s4:dynconfig: add prototypes for *dyn_LOCALEDIRStefan Metzmacher2011-02-241-0/+1
| | | | metze
* build: moved util_reg.c into a common subsystemAndrew Tridgell2011-02-241-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
* build: moved spnego_parse.c into a common subsystemAndrew Tridgell2011-02-241-2/+2
|
* build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell2011-02-2410-4/+11
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
* build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell2011-02-247-2/+9
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystemAndrew Tridgell2011-02-243-4/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so libraryAndrew Tridgell2011-02-244-8/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Make lpcfg_server_role public.Jelmer Vernooij2011-02-231-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Feb 23 00:44:16 CET 2011 on sn-devel-104
* s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystemStefan Metzmacher2011-02-221-2/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104
* s4:build: add RPC_NDR_ATSVC subsystemStefan Metzmacher2011-02-221-2/+2
| | | | metze
* s4-descriptor: Fixed a typo in a comment and clarified it a bit.Nadezhda Ivanova2011-02-221-2/+2
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Feb 22 12:39:23 CET 2011 on sn-devel-104
* s4-descriptor: Fixed some missing curly braces.Nadezhda Ivanova2011-02-221-10/+13
|
* s4:torture/rpc/netlogon.c - fix two build warnings by castsMatthias Dieter Wallnöfer2011-02-221-2/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Feb 22 11:45:49 CET 2011 on sn-devel-104
* s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett2011-02-2212-125/+9
| | | | | | | This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett
* selftest move selftesthelpers to a top level helper scriptAndrew Bartlett2011-02-221-138/+14
|
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-223-7/+7
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: added --enable-s3build configure optionAndrew Tridgell2011-02-221-1/+6
| | | | | | this enables the build of the s3 binaries in the toplevel build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-waf: rename smbpasswd library to smbpasswdparserAndrew Tridgell2011-02-224-4/+4
| | | | this removes a conflict with the s3 smbpasswd binary
* s4-waf: rename 'param' to 'pyparam'Andrew Tridgell2011-02-221-1/+1
| | | | | | we will use 'param' for the s3 libparam.so Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ndr: added NDR_WBINT to ndr_tablesAndrew Tridgell2011-02-221-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-descriptor: Fixed some compiler warnings.Nadezhda Ivanova2011-02-211-2/+2
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Feb 21 18:02:21 CET 2011 on sn-devel-104
* s4-descriptor: Removed unnecessary descriptor_change function and unused ↵Nadezhda Ivanova2011-02-211-387/+0
| | | | callbacks.