summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* heimdal: Add version script file for hcrypto (unused so far, as hcrypto ↵Jelmer Vernooij2010-12-172-0/+300
| | | | still needs to be made a proper library).
* heimdal_build: Add version-script for roken.Jelmer Vernooij2010-12-172-0/+200
|
* heimdal_build: Add version-script for com_err.Jelmer Vernooij2010-12-173-0/+49
|
* wafsamba: Specify full vscript path so non-autogenerated files are possible, ↵Jelmer Vernooij2010-12-171-1/+4
| | | | too.
* heimdal_build: Simplify version_script handling.Jelmer Vernooij2010-12-171-6/+7
|
* heimdal_build: Simplify library handling.Jelmer Vernooij2010-12-171-17/+12
|
* s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.Günther Deschner2010-12-171-11/+30
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
* s4-smbtorture: check if returned driver paths match requested architecture.Günther Deschner2010-12-171-26/+100
| | | | Guenther
* s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.Günther Deschner2010-12-171-7/+9
| | | | Guenther
* s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.Günther Deschner2010-12-171-0/+4
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
* s4-smbtorture: skipping level 8 driveradds against w2k3.Günther Deschner2010-12-171-1/+18
| | | | Guenther
* spoolss: fill in PerMachineConnections add and delete IDL.Günther Deschner2010-12-161-9/+9
| | | | Guenther
* s4-dsdb Don't talloc_free() ares on failure, as LDB might free it laterAndrew Bartlett2010-12-161-1/+0
| | | | | | | | | | | We need to make LDB consistent here (indexed vs unindexed behaviour differs here!), but for the moment this is the easiest way out of a segfault. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 16 06:42:56 CET 2010 on sn-devel-104
* s4-dsdb Use sid_blob_parse()Andrew Bartlett2010-12-161-3/+3
|
* s4-tests: Added a speedtest for LDAP search operations with different accounts.Nadezhda Ivanova2010-12-151-11/+67
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 15 21:32:09 CET 2010 on sn-devel-104
* s4-tests: Added tests for LDAP add/delete/modify using anonymous login.Nadezhda Ivanova2010-12-151-8/+50
|
* s4-dsdb: Fixed incorrect LDAP return code when anonymous login is used.Nadezhda Ivanova2010-12-151-1/+1
|
* ldb: Bump API after symbol changes.Jelmer Vernooij2010-12-152-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 15 18:18:52 CET 2010 on sn-devel-104
* ldb: Build modules as .so files.Jelmer Vernooij2010-12-151-0/+9
|
* join: Properly cancel transaction on exceptions.Jelmer Vernooij2010-12-151-35/+44
|
* Move get_loadparm() and get_credentials() to samba.tests.TestCase.Jelmer Vernooij2010-12-151-8/+15
|
* s4-dsdb/tests/python: Explicitly pass comamnd line LoadParm() instance to ↵Kamen Mazdrashki2010-12-159-10/+10
| | | | | | | | | | | system_session() Otherwise system_session() creates a LoadParm() instance which resets certain global parameters to their defaults from smb.conf ("log level" for instance) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 15:10:47 CET 2010 on sn-devel-104
* s4-dns: implemented parsing and storing of DNS records from bindAndrew Tridgell2010-12-152-46/+640
| | | | | | | DNS updates from nsupdate against our ldb SAM now work Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 15 12:36:46 CET 2010 on sn-devel-104
* s4-dns: added basic DLZ writeable support to dlz_bind9Andrew Tridgell2010-12-153-99/+448
| | | | | | | | | this implements the expanded DLZ update driver API, allowing for bind9 to send dynamic updates to the Samba DLZ driver. This change also adds support for exporting all DNS zones in the SAM database, which also means we now correctly separate the _msdcs zone from the main zone.
* build: openbsd plateform is openbsd4Matthieu Patou2010-12-151-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 15 10:55:08 CET 2010 on sn-devel-104
* s4-test/repl_schema: remove unused and commented out codeKamen Mazdrashki2010-12-151-3/+0
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
* s4-test/repl_schema: Make sure every object is with unique nameKamen Mazdrashki2010-12-151-2/+5
| | | | | This way, test writer don't have to be careful to choose unique objects suffix
* s4-dsdb_schema: Handle remote ATTIDs based on msDs-IntId valueKamen Mazdrashki2010-12-151-4/+17
| | | | | If we get such an msDs-IntId value, then we should just use it, there is no mapping available for such values
* s4-schema_syntax: Log error message when ↵Kamen Mazdrashki2010-12-151-1/+5
| | | | | | | _dsdb_syntax_OID_oid_drsuapi_to_ldb() fails I haven't found a way to test this function during replication so far, but when I do, it will be useful to notice this error in the log file
* s4-drepl: We won't need a working schema for empty replicas sent.Kamen Mazdrashki2010-12-151-2/+5
| | | | | | | | | Without this check, receiving empty replica leads to a situation where we left with a working_schema attached to the ldb. The problem here is that working_schema is not fully functional schema cache and keeping it attached to the ldb may lead to modules failing to accomplish their jobs
* s4-dsdb_schema: We need base_dn in Schema's shallow copy tooKamen Mazdrashki2010-12-151-1/+7
|
* s4-schema_syntax: We should use make_ATTID function when converting ↵Kamen Mazdrashki2010-12-151-1/+1
| | | | | | | | remote-ATTID to local one We may have no prefix for the remote ATTID (remote OID strictly speaking) So this is the place for us to update our local prefixMap adding a prefix for the numeric OID we've recived
* s4-drepl: User working schema for commiting objects when replicating Schema NCKamen Mazdrashki2010-12-151-6/+4
|
* s4-repl: Allow dsdb_replicated_objects_commit() to use different schema ↵Kamen Mazdrashki2010-12-153-2/+59
| | | | | | | | | | | | | | | | | | while committing objects working_schema is to be used while committing a Schema replica. When we replicate Schema, then we most probably won't be able to convert all replicated objects using the current Schema cache (as we don't know anything about those new objects). Thus, during Schema replication, we make a temporary working_schema that contains both our current Schema + all objects we get on the wire. When we commit those new objects, we should use our working_schema (by setting it to the ldb), and after all changes are commited, we can refresh the schema cache so we have a brand new, full-featured Schema cache
* s4-schema_syntax: Use remote prefixMap to map remote ATTID to local oneKamen Mazdrashki2010-12-151-5/+13
| | | | | | | | in dsdb_attribute_drsuapi_to_ldb() function. drsuapi_DsReplicaAttribute *in parameter come from remote DC so we can't rely on in->attid to map it directly to an dsdb_attribute in our local schema cache
* s4-test/repl_schema: use 'top' as default base class for our test ↵Kamen Mazdrashki2010-12-151-1/+1
| | | | | | | | classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test)
* s4-test/repl_schema: New test to test a classSchema with custom attributeKamen Mazdrashki2010-12-151-0/+24
| | | | | | | | | | | | | Create new Attribute and a Class, that has value for newly created attribute. This should check code path that searches for AttributeID_id in Schema cacheThis test. It also tests how we replicate a leaf classSchema that inherits from a new classSchema with attribute added - tests both dsdb_attribute_drsuapi_to_ldb() and _dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler
* s4-dsdb_schema: Seize using global_schema when referencing new schema for an LDBKamen Mazdrashki2010-12-151-0/+6
| | | | | | | | | | | Without this change, when a schema is set to ldb, the effect is that dsdb_get_schema() returns global_schema preferably. Thus we end up with two schemas in effect: - global one, which is the old one and it is still used everywhere - new one, which is just cached in ldb, but can't be used, as there is no way to access it
* s4-smbtorture: paranoia check for architectures in request and reply for ↵Günther Deschner2010-12-141-0/+10
| | | | | | enumdrivers test. Guenther
* s4:gensec/spnego: only look at the optimistic token if we support the first mechStefan Metzmacher2010-12-141-4/+20
| | | | | | | | | | | | | | | As a server only try the mechs the client proposed and only call gensec_update() with the optimistic token for the first mech in the list. If the server doesn't support the first mech we pick the first one in the clients list we also support. That's how w2k8r2 works. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 14 16:50:50 CET 2010 on sn-devel-104
* build do not add -no-undefined on openbsdMatthieu Patou2010-12-141-1/+2
|
* s4:dsdb:password_hash: verify content if the BYPASS_PASSWORD_HASH control is ↵Stefan Metzmacher2010-12-131-2/+395
| | | | | | | | | | | | used Make it much harder to import bad data into the password attributes. This isn't 100% safe, but much better than no checks. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 13 16:17:36 CET 2010 on sn-devel-104
* s4:ldap_controls: allow DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID over sockets.Stefan Metzmacher2010-12-131-2/+2
| | | | | | | | | The DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID control has to data attached to it. So we can allow it to be send over LDAP. We'll accept this control over the privileged ldapi socket only. metze
* s4:ldap_server: don't call ldb_req_mark_untrusted() on the privileged ldapi ↵Stefan Metzmacher2010-12-133-8/+21
| | | | | | socket metze
* s4:ldap_server: rename helper functions to ldapsrv_ prefix and pass ldapsrv_callStefan Metzmacher2010-12-131-15/+19
| | | | metze
* s4:dsdb:util: dsdb_get_single_valued_attr() only needs a const ldb_messagesStefan Metzmacher2010-12-131-1/+1
| | | | metze
* s4:heimdal_build: replace '+' by '_' for vscripts in HEIMDAL_LIBRARY()Stefan Metzmacher2010-12-131-1/+2
| | | | metze
* build: remove -no-undefined and -as-needed on openbsdMatthieu Patou2010-12-131-2/+5
| | | | | | | This is causing problems with linker Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Dec 13 00:25:38 CET 2010 on sn-devel-104
* s4:dsdb/pydsdb.c - don't throw another exception on "PyObject_AsDn"Matthias Dieter Wallnöfer2010-12-121-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 23:40:17 CET 2010 on sn-devel-104
* ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer2010-12-127-6/+16
| | | | "ldb_private.h" is private and therefore might not always be available.