summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-01-18merged changes from v3-2-testAndrew Tridgell8-53/+18
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
2008-01-18merged tdb changes from ctdbAndrew Tridgell3-59/+49
(This used to be commit c54c087a19e36e0522eb4546c9425ae446f0628b)
2008-01-18registry: Use correct return values.Jelmer Vernooij7-32/+53
(This used to be commit 98ebdbe52fd615ea62a3caa17acfe8bb31b8f85d)
2008-01-18registry: Avoid mapping registry return codes: return the right value in the ↵Jelmer Vernooij4-10/+3
first place. (This used to be commit 434e4857cec17d6d9e8983e151c170eed59fc6d1)
2008-01-18When Windows attempts to create a new key, it looks for an available key nameAndrew Kroeger2-7/+20
starting with "New Key #1" and iterating up to "New Key #99" before giving up. ldb_open_key() calls reg_path_to_ldb() to build the appropriate dn from the key name. reg_path_to_ldb() was not catching the error returned by ldb_dn_add_base_fmt() due to the unescaped '#' character, causing the returned dn to be that of the parent key, not the potential new key. Additionally, Windows expects a return value of WERR_BADFILE when a key does not exist, but WERR_NOT_FOUND was being returned instead. Correcting the building of the dn and the providing the expected return value allows new key creation to succeed. When attempting to delete a key, Windows passes the complete path to the key, not just the name of the child key to be deleted. Using reg_path_to_ldb() to build the correct dn allows key deletion to succeed. (This used to be commit d57792d67b865ef43e7f21640b158862627f4b45)
2008-01-18registry: Improve error codes and update tests.Jelmer Vernooij7-29/+24
Rather than map the error returned by the registry to the correct error, return the correct error in the first place. Also deal with the fact that the right error code is now returned in a couple of places. (This used to be commit 1e31fcb8a097810a97e2d4bb1f243f1b34cc2415)
2008-01-18When Windows initially creates a new value, the value name is "New Value #1".Andrew Kroeger2-3/+31
The '#' character was causing problems, as it was not being escaped for the dn, but the failure returned by ldb_dn_add_child_fmt() was not being caught. This was causing the new value to be added on the parent key, not the current key. When attempting to delete the new value (now on the parent key) the same escaping error was returned by ldb_dn_add_child_fmt(), causing the delete to delete the key and not the value. When attempting to rename a value, Windows first tries to ensure the new name does not already exist. When a value does not exist, Windows expects a return value of WERR_BADFILE, but WERR_NOT_FOUND was being returned instead. Providing the WERR_BADFILE that Windows expects allows values to be renamed. (This used to be commit 94fb39cfd967455ce5a554720c1c7e6183f91056)
2008-01-18registry: Properly check return values from ldb_*() functions.Andrew Kroeger1-3/+3
There were a few cases left that attempted to detect errors from ldb_*() function calls using "(ret < 0)". As all LDB_* error codes are greater than zero, there was no chance any errors would be detected. Changed all such tests to use "(ret != LDB_SUCCESS)". (This used to be commit 0ed6f1b1628da5b922f02a5f9a6c60071b6277f2)
2008-01-18registry: Check for more specific LDB return codes, handle changing existing ↵Jelmer Vernooij1-6/+11
values better. (This used to be commit c8b22ef30c7fc0ccc15e9fc9a38fdc639fc4b976)
2008-01-18Don't manually specify instanceID in the template files.Andrew Bartlett10-43/+0
The instanceid module creates this automaticlly, so we don't need this any more. Andrew Bartlett (This used to be commit f6dbdf34e8a790f460b705100e45ee3928b6b1b3)
2008-01-18Use syncrepl on all OpenLDAP databases (creates contextCSN attribute)Andrew Bartlett1-0/+12
This module needs to be loaded on each database, not just the main partition. We use it to create the usn for the entries. Andrew Bartlett (This used to be commit ffb12aad8a80bb90d66dc66baba81b856622a6bb)
2008-01-18Search for memberOf when clients ask for a wildcard against OpenLDAPAndrew Bartlett1-0/+1
The memberOf module in OpenLDAP make this attribute operational, so we need to add it here or clients won't get it when using *. Andrew Bartlett (This used to be commit 35148fd51f22d81fe9f590b7d6f13285c35656a7)
2008-01-18Remove --ldap-base from the python provision scriptAndrew Bartlett2-40/+2
(This is a merge from the ejs script) Andrew Bartlett (This used to be commit d822dfa017b84895222ace8c44935fb872930548)
2008-01-18Correct authorship of instanceType moduleAndrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit d427cf4fa67e84ccdece9a3fb31d8e89379a86e7)
2008-01-18Add in a new module to handle instanceTypeAndrew Bartlett3-3/+144
This code raided from the repl_meta_data module, which probably needs to be downsized to just handling the replication data. Andrew Bartlett (This used to be commit 2a418f33705a792d9d16cf1d4aa3dcda467e6e04)
2008-01-17Fix an output message in samba3rpc torture test.Michael Adam1-1/+1
Michael (This used to be commit bf957bcb835a2c7c903f60dfa8f9a7e41997c5af)
2008-01-17provision: simplfy by removing old code to manually create baseDNs.Andrew Bartlett6-43/+9
Previously, we would create the first record in the DB as an LDIF file, with the expectation that the administrator would use slapadd to create the database. We now do everything over LDAP, which is far simpler, and allows the LDB module chain to do its work, without special cases. Also fix naming of the output schema when suggesting the comamnd line to run ad2oLschema in provision-backend. Andrew Bartlett (This used to be commit e77375758d66e94e5e0b6e61a97c9281c3d9c71f)
2008-01-17OpenLDAP backend: Place the refint overlay after the memberof overlayAndrew Bartlett1-2/+3
This still doesn't work for me, but is the recommended order. Andrew Bartlett (This used to be commit 4c869c54c2b8125fc88e58bbfddf1975476978a5)
2008-01-17Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett12-12/+79
(This used to be commit 11660b0737107138b53c3a08e8de30ee44607eae)
2008-01-17ldb_map objectClass munging: Don't hard-code 'extensibleObject'.Andrew Bartlett4-35/+55
This allows objectClass munging to be removed, or modified to not include adding an objectClass, or for that objectClass to be something different. Andrew Bartlett (This used to be commit ee93b4e2ee1dd1cd38bcf14b2bb62556a13cec4a)
2008-01-16selftest: Use "require" rather than "use" keyword so .pm files don't have to ↵Jelmer Vernooij1-3/+3
be provided until used. (This used to be commit 95872d7db8c9bb1914ab4c9860fd8b09e6695cc7)
2008-01-16python: Don't attempt to build shared and static versions of modules, ↵Jelmer Vernooij1-1/+1
because it's just not going to work with the current build system. (This used to be commit d9b4a5bb172be74db3c16b50426810f1bdedd00e)
2008-01-16selftest: Add some more documentation. Rename env => target to avoid confusion.Jelmer Vernooij5-5/+21
(This used to be commit 50b8a16d0cb5e1c4352e73900d1e98a812340cca)
2008-01-16Ignore newly generated proto header.Jelmer Vernooij1-1/+1
(This used to be commit caa0da310da47a48a9add6de3d309984ae14f59c)
2008-01-16Add lsa_PolicyAuditEventType and lsa_PolicyAuditPolicy enums from samba3 to IDL.Günther Deschner1-1/+21
Guenther (This used to be commit 1b5706e413f1c6aa1ede15a625929f785ce37272)
2008-01-16pidl: Add simple test for ServerNDR.Jelmer Vernooij2-3/+11
(This used to be commit 5b2ea43ed8613ac10ebe7feda0cf070c8079137a)
2008-01-16pidl: Fix missing import for fatal().Jelmer Vernooij1-0/+1
(This used to be commit 6a9827454aaf4279ee85dc5d99d10f14e4c09eae)
2008-01-16pidl: Fix imported function for ServerNDR and add test to make sure it ↵Jelmer Vernooij2-1/+15
doesn't regress again. (This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)
2008-01-16python: Build shared python modules for generic use.Jelmer Vernooij3-5/+13
(This used to be commit 502424955237ace5a276d4c91c62e95233ecd978)
2008-01-16Print out the reason we can't delete the user in SAMR.Andrew Bartlett1-0/+3
We need to be far more granular bout this - in particular, we need a decide LDAP -> NTSTATUS conversion. Andrew Bartlett (This used to be commit 30fc3752c7573fcf8b1a41f7b3bc8dad860077f8)
2008-01-16Rework linked_attributes module for the REPLACE case.Andrew Bartlett1-6/+86
This moves to a smarter 'find the delta' based operation of the linked attributes module, when the caller asks for a 'replace' of the link source. Previously we would spray operations all over the database, even if the net result was just to modify one record. This also means we need the transaction safety less, which may be useful for some LDAP backends that don't provide this functionality on the LDAP server. Andrew Bartlett (This used to be commit 8c88e4eb1c0a606e7899091525260e8d6558ffd0)
2008-01-16Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartletAndrew Bartlett19-230/+550
(This used to be commit c4aba5ad01f5095ad7a9d0d0f1e3c6afedbbd9b7)
2008-01-16Start generating a configuration for the refint overlay. ThisAndrew Bartlett2-0/+13
OpenLDAP module should ensure that after a subtree rename, attributes are still consistant. Andrew Bartlett (This used to be commit f7f765c29b1aca1179a47bdd8712917c3f244f15)
2008-01-16Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett63-612/+1922
(This used to be commit d8a805a2544c8864136f77e9086b2a01ae79a1d5)
2008-01-16Make the Fedora DS LDAP backend 'aci' actually work, with better quoting.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit b0657e068148eb0e5f1d69d125faaa29acb8d379)
2008-01-16Test the behaviour of mixed domain_scope and search_options controls.Andrew Bartlett1-0/+7
Andrew Bartlett (This used to be commit 89053bc564f1d736da48fbe20e7f8f244b0c67fa)
2008-01-16Make ldap.js test easier to re-run in failure cases, by deleting moreAndrew Bartlett1-1/+6
things that we will create later. Andrew Bartlett (This used to be commit 9b47b551a3762590fefa5308310d91c6d8b378e5)
2008-01-16Rework control handling to remove the 'domain_scope' controlAndrew Bartlett1-17/+37
Also remove the search_options control earlier, before, rather than after duplicating the request. When we generate referalls in the partition module, the domain_scope control with suppress them. Andrew Bartlett (This used to be commit fc57a119f53a7bc0a0eb76b868bbd7386b3c5008)
2008-01-15Fix bug #5121 (unix passwd sync not working on a streams basedJeremy Allison2-0/+5
system). Jeremy. (lib/replace part of 545cd2139cfc9484b733693814d4724d37125942 metze) (This used to be commit 9cff25cce1d39460dbcab006a309bb2984969eed)
2008-01-15Add patches for bug #4866 from jiri sasek - Sun Microsystems - Prague Czech ↵Jeremy Allison2-0/+14
Republic <Jiri.Sasek@Sun.COM> - slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars. Jeremy. (lib/replace part of 657bf8c3479d6192f269e3daef1517e77a9fa9cb metze) (This used to be commit 9f5c443972a09a70de7c8d6695b08c3730484c6c)
2008-01-15Fix bug 5055Volker Lendecke1-1/+1
(lib/replace part of 8bcd2df841bae63e7d58c35d4728b7d853471697 metze) (This used to be commit 8db9e196506f530c780d93e16da590566d16a407)
2008-01-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison1-0/+4
Jeremy. (lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze) (This used to be commit db4eabf7cde1008a40a46e5c40a99e9a73cf3ff5)
2008-01-15Always define PATH_MAX. Makes code simpler (removesJeremy Allison1-0/+4
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (lib/replace part from e203ba22275320808bc11b17361ad1f2d5b0b897 metze) (This used to be commit ebc08d23f76ecffc90b1fe84c67fc7e6a4c4a6a3)
2008-01-15merged tdb from ctdb bzr treeAndrew Tridgell9-210/+471
(This used to be commit ed0c3a0f74c305b3b8554b05c3f97cf79db8296a)
2008-01-15Fix asn1 locations.Jelmer Vernooij1-2/+2
(This used to be commit 84dc6bc19c166e42c5eca2949e4ef5024c80f513)
2008-01-15ldap.py: Use constants where possible.Jelmer Vernooij1-14/+16
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
2008-01-15python: Update status.Jelmer Vernooij1-7/+5
(This used to be commit b4b12f00a7eb952024795ddc5ab3481fd4ba03fc)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij12-15/+15
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2008-01-14libreplace: Escape asterisk.Jelmer Vernooij1-1/+1
(This used to be commit df36c78549b40ee5e47d5cc79de2eb79f58c567a)
2008-01-14python: Enable building of the wkssvc python bindings.Jelmer Vernooij3-0/+29
(This used to be commit 7a00d48a478be84e9f38c5e6cb57739063d0d613)