Matthias Dieter Wallnöfer
6d1e00cd24
s4:repl_meta_data LDB module - fix a counter type
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 22:32:06 CET 2010 on sn-devel-104
2010-11-20 22:32:06 +01:00
Matthias Dieter Wallnöfer
f46b761054
s4:repl_meta_data LDB module - move the "objectGUID" checks a bit higher
...
- they don't need the allocated "ac" context
- some small code cleanups
2010-11-20 21:42:54 +01:00
Matthias Dieter Wallnöfer
d9f97cd57f
s4:objectclass_attrs LDB module - add more delete protected attributes
...
And enhance the testsuite
2010-11-20 21:15:57 +01:00
Matthias Dieter Wallnöfer
87ddd5a807
s4:samldb LDB module - objectclass trigger - reorder template attributes
2010-11-20 21:01:27 +01:00
Matthias Dieter Wallnöfer
e3017e6411
s4:acl LDB module - it's more correct to count the password attributes using "unsigned int"
...
Since these are derived from a LDB result.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 11:29:07 CET 2010 on sn-devel-104
2010-11-20 11:29:07 +01:00
Matthias Dieter Wallnöfer
8585de8881
ldb:rdn_name LDB module - add more RDN name constraints
...
And some small cleanups
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104
2010-11-20 00:06:35 +01:00
Matthias Dieter Wallnöfer
8b7f23d644
s4:dsdb tests - use even more already defined pyldb functions to retrieve NCs
2010-11-19 12:07:06 +01:00
Andrew Tridgell
5b3981acb1
s4-rodc: enable the DRS_GET_ALL_GROUP_MEMBERSHIP flag for RODC replication
...
see the description of this flag in [MS-DRSR]
2010-11-18 23:12:26 +01:00
Nadezhda Ivanova
f992dbb9ca
s4-tests: Modified descriptor tests to use pyldb api to retrieve configuration and schema dn.
...
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Nov 18 22:25:07 CET 2010 on sn-devel-104
2010-11-18 22:25:07 +01:00
Nadezhda Ivanova
b397a13920
s4-tests: Modified acl tests to use pyldb api to retrieve configuration dn.
2010-11-18 21:41:27 +01:00
Nadezhda Ivanova
469d15e265
s4-tests: Changed descriptor tests to use existing method in samdb for adding users to a group.
...
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Nov 18 18:30:55 UTC 2010 on sn-devel-104
2010-11-18 18:30:55 +00:00
Nadezhda Ivanova
82335b25e7
s4-tests: Changed acl tests to use existing method in samdb for adding users to a group.
2010-11-18 17:47:17 +00:00
Matthias Dieter Wallnöfer
4c666f3e0a
s4:dsdb python tests - use "ldb.domain_dn"
...
By inspiration of Nadya's patches
2010-11-18 17:03:20 +00:00
Anatoliy Atanasov
b7dab46922
s4/operational: Fix swapped parameters for ldb_msg_copy_attr
...
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Thu Nov 18 17:02:07 UTC 2010 on sn-devel-104
2010-11-18 17:02:07 +00:00
Anatoliy Atanasov
b388951eea
s4/ldap: ldap_syntaxes.py cleanup
...
Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Thu Nov 18 16:16:27 UTC 2010 on sn-devel-104
2010-11-18 16:16:27 +00:00
Nadezhda Ivanova
47784a1470
s4-tests: Descriptor tests should use the existing samdb domain_dn method instead of defining a new one
...
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Thu Nov 18 12:52:48 UTC 2010 on sn-devel-104
2010-11-18 12:52:48 +00:00
Nadezhda Ivanova
763165c7bc
s4-tests: Acl tests should use the existing samdb domain_dn method instead of defining a new one
2010-11-18 12:09:17 +00:00
Matthias Dieter Wallnöfer
b001f1b255
s4:password_hash LDB module - remove unused headers
2010-11-18 12:21:56 +01:00
Matthias Dieter Wallnöfer
ae272acbdb
s4:repl_meta_data LDB module - allow also special DNs to be renamed correctly
...
Do always escape RDN values - this fixes bug #7794
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Thu Nov 18 10:43:40 UTC 2010 on sn-devel-104
2010-11-18 10:43:40 +00:00
Andrew Tridgell
0a4b7bb9a5
s4-repl: removed the syncall_workaround code
...
this isn't needed any more
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 17 13:41:51 UTC 2010 on sn-devel-104
2010-11-17 13:41:51 +00:00
Andrew Tridgell
6c8b0d7f27
s4-repl: save the result of the last replication in repsFrom/repsTo
...
when a replication fails, we should add the failure to repsFrom
when a notify fails, we need to save it to repsTo
this ensures showrepl always shows the latest status
2010-11-17 23:55:39 +11:00
Andrew Tridgell
73016ad405
s4-repl: ensure we don't starve pending replication ops
...
when there was a continuous sequence of notify ops, we could leave the
replication ops starving. This ensures we run whichever was queued
first
2010-11-17 23:55:39 +11:00
Andrew Tridgell
e17ea9f3f5
s4-kcc: fixed result_last_attempt in showrepl
2010-11-17 23:55:39 +11:00
Matthias Dieter Wallnöfer
d451ac1f3a
s4:acl LDB module - use also here "dsdb_find_nc_root" to implement the NC-specific checks
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 16 15:12:13 UTC 2010 on sn-devel-104
2010-11-16 15:12:13 +00:00
Matthias Dieter Wallnöfer
856e309b14
s4:descriptor LDB module - also "get_default_ag" should make use of "dsdb_find_nc_root"
2010-11-16 15:25:13 +01:00
Matthias Dieter Wallnöfer
cebad70ee6
s4:descriptor LDB module - handle the NCs in a more generic way by using "dsdb_find_nc_root"
2010-11-16 15:25:13 +01:00
Matthias Dieter Wallnöfer
7cc2f98038
s4:"dsdb_find_nc_root" - let it work also when the "namingContexts" attribute isn't available yet
...
This is needed on provisioning when the modules aren't set up yet.
2010-11-16 15:25:13 +01:00
Matthias Dieter Wallnöfer
d2453b52d8
s4:descriptor LDB module - make more clear that special control entries never should be handled by modules
2010-11-16 13:29:49 +01:00
Matthias Dieter Wallnöfer
f863f434a0
s4:objectclass LDB module - the "olddn" is the special DN for rename requests
2010-11-16 13:29:49 +01:00
Kamen Mazdrashki
cce662763e
s4-schema_load: Don't clean in_transaction flag until transaction is really finished
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Nov 16 11:00:35 UTC 2010 on sn-devel-104
2010-11-16 11:00:35 +00:00
Matthias Dieter Wallnöfer
0f2904247b
s4:subtree_rename LDB module - make use of "dsdb_find_nc_root"
...
This is exactly what's needed there.
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov 16 08:42:07 UTC 2010 on sn-devel-104
2010-11-16 08:42:07 +00:00
Matthias Dieter Wallnöfer
71a5ea93ff
s4:objectclass LDB module - free "nc_root" after name context comparisons
2010-11-16 07:59:15 +00:00
Matthias Dieter Wallnöfer
061766e732
s4:objectclass LDB module - improve the default name context checking on modifications
...
Pointed out by abartlet
2010-11-15 22:31:04 +00:00
Matthias Dieter Wallnöfer
16e73c68cb
s4:objectclass LDB module - implement the "objectClass" change restrictions on Windows 2000 forest function level
...
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov 15 13:10:05 UTC 2010 on sn-devel-104
2010-11-15 13:10:05 +00:00
Jelmer Vernooij
f5fbba76c8
kcc/drepl: Build as service.
2010-11-14 17:14:05 +00:00
Jelmer Vernooij
bee3b665a8
Build wrepl server as service by default.
2010-11-14 17:14:05 +00:00
Matthias Dieter Wallnöfer
7d2260cdd1
s4:password_hash LDB module - return "ERR_CONSTRAINT_VIOLATION" on password conversion errors
...
This errors can happen also on a regular basis - then we shouldn't return
ERR_OPERATIONS_ERROR (this error code is reserved for very serious failures).
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 13 12:37:36 UTC 2010 on sn-devel-104
2010-11-13 12:37:35 +00:00
Matthias Dieter Wallnöfer
113a9c1806
s4:objectclass LDB module - multiple "objectClass" change elements are unfortunately still allowed
...
The test message has been compressed - therefore I've now used "modify_ldif".
2010-11-13 12:32:34 +01:00
Matthieu Patou
2990b4fbb1
samldb: relax groupType modification checks
...
Allow programs with the PROVISION control to bypass groupType checks.
This is needed by upgradeprovision for older alpha (11, 10 ...)
2010-11-12 19:40:21 +00:00
Matthias Dieter Wallnöfer
37bd313304
s4:objectclass LDB module - we should not simply ignore additional "objectClass" attribute changes
...
There first one we perform all other tentatives are terminated with
ERR_ATTRIBUTE_OR_VALUE_EXISTS (tested against Windows).
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Nov 12 19:39:07 UTC 2010 on sn-devel-104
2010-11-12 19:39:06 +00:00
Matthias Dieter Wallnöfer
584a2d125e
s4:repl_meta_data LDB module - convert two debug messages into error messages
...
These regarding "objectGUID".
2010-11-12 18:55:04 +00:00
Matthias Dieter Wallnöfer
5585591b2e
s4:samldb/objectclass_attrs LDB modules - move "description" logic from "objectclass_attrs" into "samldb"
...
This according to an answer from dochelp is SAM specific behaviour.
2010-11-12 18:55:04 +00:00
Jelmer Vernooij
b6e13627df
Lowercase DNS_UPDATE_SRV name.
2010-11-12 13:50:07 +00:00
Kamen Mazdrashki
0868a15982
s4-repl: Propagate remote prefixMap in DRSUAPI data conversion functions
2010-11-11 18:54:20 +00:00
Kamen Mazdrashki
2d0cb54ceb
s4-dsdb_syntax: Warning message that we can't find requested ATTID in Schema Cache
2010-11-11 18:54:20 +00:00
Kamen Mazdrashki
3ab75524ee
s4-prefixMap: dsdb_schema_pfm_oid_from_attid() to use const prefixMap
...
It is not supposed to change supplied prefixMap
2010-11-11 18:54:20 +00:00
Kamen Mazdrashki
e772518a64
s4-dsdb_syntax: Use remote prefixMap to handle generic cases in drsuapi_to_ldb conversions
2010-11-11 18:54:20 +00:00
Kamen Mazdrashki
f65c840299
s4-dsdb_syntax: Add remote prefixMap member for dsdb_syntax conversions
2010-11-11 18:54:20 +00:00
Kamen Mazdrashki
a8495d380e
s4-repl: dsdb_extended_replicated_objects_convert -> dsdb_replicated_objects_convert/
...
It is part of dsdb_replicated_* family of functions
2010-11-11 18:54:20 +00:00
Kamen Mazdrashki
227e8dcfcf
s4-repl: dsdb_extended_replicated_objects_commit -> dsdb_replicated_objects_commit
...
It is part of dsdb_replicated_* family of functions
2010-11-11 18:54:20 +00:00