Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-16 | s4:provision - Removed dependency on full Samba 3 schema from FDS | Endi S. Dewata | 9 | -152/+170 | |
2009-11-15 | Fixed some major bugs in inheritance and access checks. | Nadezhda Ivanova | 5 | -120/+274 | |
Fixed sd creation not working on LDAP modify. Fixed incorrect replacement of CO and CG. Fixed incorrect access check on modify for SD modification. Fixed failing sec_descriptor test and enabled it. Fixed failing sd add test in ldap.python | |||||
2009-11-15 | Fix writing corrupt registries because of hardcoded version string in IDL. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix writing corrupt REG_SZ to the registry. | Wilco Baan Hofman | 1 | -1/+2 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix trailing garbage in the hbin block. | Wilco Baan Hofman | 1 | -0/+5 | |
This specifically fixes a problem showing extra bytes of garbage in list and print in regshell, even though the vk.data_length has the correct size. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Added tests for descriptor inheritance on ldap modify. | Zahari Zahariev | 1 | -121/+207 | |
Fixed some expected owners and groups. Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | |||||
2009-11-15 | ldb:python bindings - add a context on "py_ldb_delete" | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
So the converted DN will be freed after usage. | |||||
2009-11-15 | s4:ldap.py - enhance schema addition test | Matthias Dieter Wallnöfer | 1 | -12/+40 | |
Don't add only a new objectclass but also a new attribute. Plus let now the server itself calculate the "lDAPDisplayName" attribute and compare the result. | |||||
2009-11-15 | s4:dsdb/repl/replicated_objects - Applicate also here the new ↵ | Matthias Dieter Wallnöfer | 1 | -1/+4 | |
"lDAPDisplayName" generator Also here we've to be sure to generate the attribute correctly if it doesn't exist yet. | |||||
2009-11-15 | s4:SAMLDB module - Add support for required and generated schema attributes | Andrew Bartlett | 1 | -7/+285 | |
This missing support found by Microsoft test suite at AD interop event. Patch by Andrew Bartlett Enhancements by Matthias Dieter Wallnöfer | |||||
2009-11-15 | s4:samdb util - add a call for generating a correct "lDAPDisplayName" | Matthias Dieter Wallnöfer | 1 | -0/+28 | |
This is needed for the SAMLDB module enhancement regarding schema objects. The algorithm in pseudo code is located in MS-ADTS 3.1.1.2.3.4. | |||||
2009-11-15 | s4:ldap.py - Deactivates some at the moment pointless test parts | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
I think those parts should be deactivated since they're result set checks for lookups which are commented out already. | |||||
2009-11-14 | s4-drs: DsExecuteKCC() implementation | Erick Nascimento | 3 | -2/+31 | |
I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc(). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-13 | s4:heimdal Import generated files from heimdal tree | Andrew Bartlett | 9 | -827/+1185 | |
We should be able to rebuild these, but a cp is easier :-) | |||||
2009-11-13 | s4:heimdal: import lorikeet-heimdal-200911122202 (commit ↵ | Andrew Bartlett | 59 | -646/+1168 | |
9291fd2d101f3eecec550178634faa94ead3e9a1) | |||||
2009-11-13 | s4:heimdal: import lorikeet-heimdal-200909210500 (commit ↵ | Andrew Bartlett | 139 | -2179/+4119 | |
290db8d23647a27c39b97c189a0b2ef6ec21ca69) | |||||
2009-11-13 | s4-ldb: changed the DN checks for \n to warnings | Andrew Tridgell | 2 | -6/+11 | |
a \n is sometimes allowed in AD (eg in deleted DNs). Until we know when is really is allowed, treat it as a warning only. | |||||
2009-11-13 | s4-ldb: make DN escaping/unescaping consistent | Andrew Tridgell | 1 | -20/+54 | |
The DN escape function was using the form \c where c is any character. The unescape function was using \XX where XX is a 2 digit hex number. The asymmetry led to quite a few problems when we start to deal with DNs containing escape chars, such as CN=foo\0ADEL:XXX. The result was a DN that was not accessible. This patch changes the escaping to follow RFC2253 much more closely. We accept either type of escape, and produce the two types of escape, depending on the character being escaped | |||||
2009-11-12 | s4:heimdal_build: allow flex-2.5.35 with bison-2.3 | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-11-12 | s4:dsdb Make callbacks in extended_dn_out clearer to follow | Andrew Bartlett | 1 | -1/+6 | |
2009-11-12 | s4:selftest Mark the RPC-DSSYNC test as knownfail for now | Andrew Bartlett | 1 | -0/+1 | |
We need to work on the provision or LDB modules to avoid DN attributes without GUIDs (caused because the target does not exist at creation time). Andrew Bartlett | |||||
2009-11-12 | s4:libcli/ldap Add 'relax' OID to known network representations | Andrew Bartlett | 1 | -0/+2 | |
This patch, inspired by a patche by Endi S. Dewata <edewata@redhat.com>, allows this control to be passed to the LDAP backend. Andrew Bartlett | |||||
2009-11-12 | s4:provision - Added LDBBackend and ExistingBackend. | Endi S. Dewata | 2 | -32/+62 | |
2009-11-12 | s4:provision - Added constructors for FDSBackend and OpenLDAPBackend. | Endi S. Dewata | 2 | -43/+95 | |
2009-11-12 | s4:provision - Added setup() method in LDAPBackend. | Endi S. Dewata | 2 | -26/+32 | |
2009-11-12 | s4:provision - Moved provision_xxx_backend() into backend-specific ↵ | Endi S. Dewata | 2 | -318/+287 | |
provision() method. | |||||
2009-11-12 | s4:provision - Added start() method in LDAPBackend. | Endi S. Dewata | 2 | -13/+20 | |
2009-11-12 | s4:provision - Added initial implementation of FDSBackend and OpenLDAPBackend. | Endi S. Dewata | 2 | -37/+68 | |
2009-11-12 | s4:repl_meta_data Parse linked attributes with schema syntaxes | Andrew Bartlett | 1 | -39/+44 | |
The bug here was that by assuming all linked attributes were 'normal DNs', we would miss the binary portion of DN+Binary. This patch then has us reparse the string to determine it's GUID, for the GUID lookup, but maintains the binary porition into the on-disk format. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Add more unit tests for DN+Binary syntaxes | Andrew Bartlett | 1 | -4/+9 | |
2009-11-12 | s4:torture Use (some) torture_assert() calls in RPC-DSSYNC test | Andrew Bartlett | 1 | -5/+4 | |
2009-11-12 | s4:dsdb Improve debug message in extended_dn_out | Andrew Bartlett | 1 | -1/+3 | |
2009-11-12 | s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC | Andrew Bartlett | 2 | -87/+0 | |
I'm satisfied that the task this test does is already done by the time we map the incoming schema, and process the objects. If we have the OID mapping wrong or incomplete, we will get any errors this test found errors there. (And this dramaticly reduces the test time, so we can now add RPC-DSSYNC to 'make test'). Andrew Bartlett | |||||
2009-11-12 | s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNC | Andrew Bartlett | 1 | -23/+260 | |
This is done by comparing the values against the remote host's LDAP server. Andrew Bartlett | |||||
2009-11-12 | s4:torture Add const | Andrew Bartlett | 1 | -1/+1 | |
2009-11-12 | s4:ldb Allow ldb_msg_canonicalize to handle empty elements | Andrew Bartlett | 1 | -1/+1 | |
(These are deliberately there in DRS replication). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Allow a schema set when bound against a remote LDAP server | Andrew Bartlett | 1 | -3/+3 | |
2009-11-12 | s4:ldb Don't segfault if we somehow get an unknown extended dn element | Andrew Bartlett | 1 | -0/+8 | |
2009-11-12 | s4:ldb Change ldb_request_add_control to the normal 'for loop' pattern | Andrew Bartlett | 1 | -2/+1 | |
2009-11-12 | s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAP | Andrew Bartlett | 1 | -49/+28 | |
(This should make it easier to do more 'compare DRS with LDAP' operations, as LDB is an easier interface to program.) Andrew Bartlett | |||||
2009-11-12 | NET-API-BECOME-DC: resolve the host name to an address before calling | Stefan Metzmacher | 1 | -2/+16 | |
libnet_BecomeDC and libnet_UnbecomeDC() We're supposed to pass in source_dsa_address... metze | |||||
2009-11-12 | s4:dsdb Add expected value tests for most DRS syntax conversions | Andrew Bartlett | 4 | -8/+159 | |
I've left out those for which I could not find an expected value in my default Windows 2003 server's database, and the values that rely on the current prefix map at the time. Andrew Bartlett | |||||
2009-11-12 | s4:Fix regression in dsdb_dn code - all parses of the DN would be rejected | Andrew Bartlett | 1 | -2/+6 | |
This is most likely the cause of the DRS replication failures I observed with my changes. Andrew Bartlett | |||||
2009-11-12 | s4:provision Add C binding to get at the generate schema | Andrew Bartlett | 3 | -0/+86 | |
This will allow us to do local tests against that schema | |||||
2009-11-12 | s4:provision Remove unused 'sambadn' parameter | Andrew Bartlett | 2 | -10/+4 | |
2009-11-12 | s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS import | Andrew Bartlett | 4 | -95/+125 | |
This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Simplify schema loading from ldb messages | Andrew Bartlett | 3 | -115/+83 | |
It turns out that we always add the class/attribute to the schema. | |||||
2009-11-12 | s4:vampire Print error message when we fail on the CLDAP ping | Andrew Bartlett | 1 | -2/+7 | |
Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Cosmetic fixes found by metze in review of dsdb_dn changes | Andrew Bartlett | 3 | -30/+38 | |
These changes include reworking the code to call ldb_module_get_ctx() less often (avoid the function calls, particularly during the step into a complex function). Andrew Bartlett | |||||
2009-11-12 | s4:dsdb Ensure we allow 'odd' lengths for DN+String | Andrew Bartlett | 1 | -5/+5 | |
(Found in a code review by metze) Andrew Bartlett |