summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* Typo fix in KDC parameters.Brad Hards2010-12-241-3/+3
| | | | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 24 12:09:00 CET 2010 on sn-devel-104
* mkrelease: Simplify further.Jelmer Vernooij2010-12-241-7/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 24 02:01:10 CET 2010 on sn-devel-104
* s4:acl LDB module - "acl_rename" - memory contexts fixupMatthias Dieter Wallnöfer2010-12-231-5/+19
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 23 22:49:41 CET 2010 on sn-devel-104
* s4:acl LDB module - add a missing "talloc_free(tmp_ctx)" in an error pathMatthias Dieter Wallnöfer2010-12-231-0/+1
| | | | | | | Just for consistency. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 23 21:46:38 CET 2010 on sn-devel-104
* s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer ↵Matthias Dieter Wallnöfer2010-12-231-1/+1
| | | | | | | | | literal To quiet a warning on Solaris Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 on sn-devel-104
* s4-smbtorture: always skip addprinter{ex} level 1 tests for now.Günther Deschner2010-12-221-4/+6
| | | | Guenther
* s4-smbtorture: fix expected driver date REG_SZ string.Günther Deschner2010-12-221-0/+5
| | | | | | | This resolves the "WARNING!: ../torture/rpc/spoolss.c:4688: str was 01/01/1601, expected 01/01/1970: "DriverDate" - driver_date mismatch" warnings. Guenther
* s4-smbtorture: check the returned driver date is equal to the one we passed in.Günther Deschner2010-12-221-0/+4
| | | | Guenther
* s4-smbtorture: interesting, DriverDate and DriverVersion are different in ↵Günther Deschner2010-12-221-2/+25
| | | | | | | | w2k3 and w2k8r2. While in w2k8 they are REG_SZ date or numerical strings, they are 8 byte REG_BINARY blobs in w2k3. Guenther
* dsdb:ldap.py - transform a test call into the new "msg.add" syntaxMatthias Dieter Wallnöfer2010-12-221-8/+5
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Dec 22 13:05:53 CET 2010 on sn-devel-104
* ldb:pyldb.c - remove unused variableMatthias Dieter Wallnöfer2010-12-221-1/+1
|
* s4-tests: Tests for Validated-SPN implementation.Nadezhda Ivanova2010-12-221-14/+274
| | | | | | | Test setting spn on RWDC, RODC and regular computer object. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 22 12:20:24 CET 2010 on sn-devel-104
* s4-acl: Implementation of Validated-SPN validated writeNadezhda Ivanova2010-12-221-0/+215
| | | | | | If this right is granted to a user, they may modify the SPN of an object with some value restrictions serviceName can be set only if the object is a DC, and then only to the default domain and netbios name, or ntds_guid._msdsc_.forest_domain. If the serviceType is GC, only to the forest root domain. If the serviceType is ldap, then to forest_domain or netbiosname. InstanceType can be samAccountName or dnsHostName.
* s4-dsdb: Added a helper function to get the default dns domain as string.Nadezhda Ivanova2010-12-221-0/+19
|
* dns: fixed dns record formatAndrew Tridgell2010-12-221-4/+9
| | | | | | | based on new WSPP docs from Bryan Burgin Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 22 04:45:46 CET 2010 on sn-devel-104
* heimdal_build: Use consistent name for heimbase.Jelmer Vernooij2010-12-221-5/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Dec 22 02:24:24 CET 2010 on sn-devel-104
* heimdal_build: When using system hbase/hcrypto, don't compile our own versions.Jelmer Vernooij2010-12-221-18/+19
|
* heimdal_build: Allow using system hbase and hcrypto.Jelmer Vernooij2010-12-221-0/+3
|
* s4-devel/pfm_verify: Move schemaInfo getter into separate functionKamen Mazdrashki2010-12-221-4/+12
| | | | | | | | so it can be used against Windows DC without fetching prefixMap Fetching prefixMap doesn't work against WinDCs for some reason at the moment Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 22 01:28:49 CET 2010 on sn-devel-104
* ldb: Add ldb.Message.add and ldb.Message.elements.Jelmer Vernooij2010-12-212-36/+86
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 21 15:03:17 CET 2010 on sn-devel-104
* ldb:tools/ldbdel.c - "replace.h" should be the first includeMatthias Dieter Wallnöfer2010-12-211-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Dec 21 12:50:54 CET 2010 on sn-devel-104
* s4-dns: set dwSerial and dwFlagsAndrew Tridgell2010-12-211-0/+7
| | | | | | | | | we are waiting on full docs on these, but this is better than zero Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Dec 21 12:05:51 CET 2010 on sn-devel-104
* s4-dns: fixed name comparison in bind9 moduleAndrew Tridgell2010-12-211-6/+21
| | | | | | we need to compare without the trailing '.' Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: return the local hostname as the SOA authorityAndrew Tridgell2010-12-211-2/+19
| | | | | this is done by all DCs in the domain to ensure that updates go to the right place
* s4-provision: removed an incorrect debug messageAndrew Tridgell2010-12-211-2/+0
| | | | this is now used as part of the main join
* s4-dns: disable segfault handling in dlz_bind9Andrew Tridgell2010-12-211-0/+2
| | | | we don't want bind9 calling the Samba segv handler
* s4:auth/session.h - use a forward declaration for type "struct ldb_context"Matthias Dieter Wallnöfer2010-12-211-1/+1
| | | | | | | And remove the now obsolete one for "struct tevent_context" Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Dec 21 11:17:34 CET 2010 on sn-devel-104
* s4-auth Ensure that we always copy across domain groupsAndrew Bartlett2010-12-211-13/+13
| | | | | | | | | | | Even if we can't calculate the local groups (because we don't have a local SAM to do it with) we still need to include the domain groups in the session_info token. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Dec 21 05:56:22 CET 2010 on sn-devel-104
* s4-auth Remove duplicate copies of session_info creation codeAndrew Bartlett2010-12-214-158/+46
| | | | | | | | | We now just do or do not call into LDB based on some flags. This means there may be some more link time dependencies, but we seem to deal with those better now. Andrew Bartlett
* s4-auth rework session_info handling not to require an auth contextAndrew Bartlett2010-12-216-24/+28
| | | | | | | This reverts a previous move to have this based around the auth subsystem, which just spread auth deps all over unrelated code. Andrew Bartlett
* s4-auth Remove event context from privilage database handlingAndrew Bartlett2010-12-216-12/+7
| | | | | | | These local TDB operations can quite safely be handled in a new/nested event context, rather than using the main event context. Andrew Bartlett
* s4-auth Remove obsolete commentAndrew Bartlett2010-12-211-7/+0
| | | | | | | The code that this referred to went away in September with 7dbfeb0dc040889244a1110940af2d070f823374 Andrew Bartlett
* s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDsMatthias Dieter Wallnöfer2010-12-213-3/+9
|
* s4:lib/ldb-samba/ldif_handlers.c - adaption needed for removed "const" on OIDsMatthias Dieter Wallnöfer2010-12-211-1/+1
|
* s4:dsdb/common/util.c - remove unused variable "ndr_err"Matthias Dieter Wallnöfer2010-12-211-1/+0
|
* s4:auth/gensec/spnego.c - remove unused variable "principal"Matthias Dieter Wallnöfer2010-12-211-1/+0
|
* s4-dns: fixed a crash bug in dlz_bind9 codeAndrew Tridgell2010-12-211-2/+0
| | | | we need to keep el_ctx for the next part of the loop
* s4-smbtorture: run the winreg tests also against an added driver.Günther Deschner2010-12-201-0/+19
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
* s4-pydsdb: Use local memory context in py_dsdb_get_oid_from_attid()Kamen Mazdrashki2010-12-201-4/+16
| | | | | | | | | | | | | This version reverts changes from commit b974966cc2b4d0b5b0d83206070b5f7c5c6495d1 and is what Matthieu Patou had commited in d784ecec555a3d9737e6f4b3894f27904d2b833c with added reference to the schema cache. I think referencing schema here is the right thing to be done as thus we garantee that schema cache will stay in memory for the time our function is executed Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Dec 20 12:01:53 CET 2010 on sn-devel-104
* heimdal: Fix build if using system roken.Jelmer Vernooij2010-12-191-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 19 22:29:41 CET 2010 on sn-devel-104
* ldb: Bump version after renaming some public symbols which didn't have aJelmer Vernooij2010-12-192-1/+246
| | | | ldb_ prefix.
* dcesrv_srvsvc: Use constants.Jelmer Vernooij2010-12-191-3/+3
|
* s4-drepl: During Schema replication, we need to save updated prefixMap if ↵Kamen Mazdrashki2010-12-181-0/+18
| | | | | | | everything is OK Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Dec 18 05:53:48 CET 2010 on sn-devel-104
* s4-dsdb_schema: Copy info needed for Schema refresh in dsdb_schema_copy_shallowKamen Mazdrashki2010-12-181-0/+4
| | | | | | | | Just 'refresh_fn' and 'loaded_from_module' are copied. I left 'reload_seq_number' set to 0 intentionally, so that this Schema cache will looks like a very old one to ,refresh_fn'. This way, if this shallow copy is attached to LDB, it will be refreshed as soon as possible by 'refresh_fn'.
* s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute valueKamen Mazdrashki2010-12-181-6/+43
|
* s4-drepl: Make refreshed schema a global oneKamen Mazdrashki2010-12-181-0/+7
| | | | | | | | | | | | | | | We need to do this as dsdb_reference_schema() function clears "use_global_schema" ldb flag. Basically what is going to happen is that after dsdb_reference_schema() global_schema pointer will continue to point at old schema cache, while "dsdb_schema" for LDB will point at the working_schema. After replication is done, we reset "dsdb_schema" for the ldb with an updated Schema cache, but this leaves global_schema pointer with its old value, which is not up to date. So we need to call dsdb_make_schema_global() again so that global_schema points to a valid Schema cache.
* pyrpc: Add prototype for init function.Jelmer Vernooij2010-12-181-0/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 18 03:04:23 CET 2010 on sn-devel-104
* pyglue: Add prototype for init function.Jelmer Vernooij2010-12-181-0/+2
|
* Revert "s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later"Andrew Bartlett2010-12-181-0/+1
| | | | | | | | | | | This reverts commit 25163380239abbad28f1656c42e6fab1b92473d9 because further analyis showed the real problem was introduced in 0941099a (which changed the caller behaviour, but only for indexed searches). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Dec 18 02:19:59 CET 2010 on sn-devel-104
* lib/ldb Remove talloc_free() that causes double-free in callbacks.Andrew Bartlett2010-12-181-1/+3
| | | | | | | | | | | | | This partially reverts 0941099a, which was a little over-eager in fixing what were presumed to be memory leaks. It is always the callbacks responsiblity to free the ares, but if they don't then the end of the request should handle the cleanup. Attempting to talloc_free() here will result (as it did in the descriptor module) in a double-free error if the callback does free it, and no other caller of ldb_module_send_entry() has this behaviour. Andrew Bartlett