summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-01-23python: Add convenience function for getting command line loadparm contextJelmer Vernooij1-4/+3
and default to using system smb.conf. (This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij5-5/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22dcerpc: Use manually written .pc files for dcerpc and ndr.Jelmer Vernooij1-1/+1
(This used to be commit 676fd18fa2914b7b5530014a944a11ea1d6f631d)
2008-01-22registry: Use manually written .pc file.Jelmer Vernooij2-0/+13
(This used to be commit 5c64d4adaf50215ec2645f76e6c0335572147614)
2008-01-22ldb/talloc/tdb: Use manually written pc file.Jelmer Vernooij3-0/+3
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
2008-01-22tdb: Add URL in pc file.Jelmer Vernooij1-0/+1
(This used to be commit 2fc26c09026a0f2f74e5c7c86002e662b559d265)
2008-01-22ldb: Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit da0952bdd6196b23200063cadd866b1d5551a65c)
2008-01-22ldb: Increase version number to make it easier to create new Debian snapshots.Jelmer Vernooij1-1/+1
(This used to be commit 9a5cc88b090125b45e61da1ea1c9ac52f5ff6ab2)
2008-01-22libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_tStefan Metzmacher1-0/+25
metze (cherry picked from commit 2f460915111066d79f5dc9b4ae4d003918d06852) (This used to be commit d2ac8be28d3aff59eddbdc6189a255a34c10d502)
2008-01-21build: Demote a bunch of libraries to subsystems. This makes packaging ↵Jelmer Vernooij6-21/+5
easier and should also make it easier to migrate to a new build system. (This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
2008-01-21ldb: Fix building python modules against system-provided ldb.Jelmer Vernooij1-0/+1
(This used to be commit 583ea85ae04c0bc2e70ab2e595e05f76f65c3be1)
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 Vernooij3-3/+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 Kroeger1-7/+13
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 Vernooij6-20/+23
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 Kroeger1-2/+22
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-17ldb_map objectClass munging: Don't hard-code 'extensibleObject'.Andrew Bartlett2-32/+52
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-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-15ldap.py: Use constants where possible.Jelmer Vernooij1-14/+16
(This used to be commit 0885dc9f813e19cd6c28d8259eaeccf1e9b26210)
2008-01-15util: Move asn1 to lib/util to trim down the number of subsystems.Jelmer Vernooij3-0/+829
(This used to be commit 44e1cfd2d0ef62e4ee541cec00581a7151d951b3)
2008-01-14libreplace: Escape asterisk.Jelmer Vernooij1-1/+1
(This used to be commit df36c78549b40ee5e47d5cc79de2eb79f58c567a)
2008-01-13Try to fix the build on Tru64; avoid single quotes because they get expanded ↵Jelmer Vernooij1-1/+1
by perl in the build system. (This used to be commit bba8914af56cb161c275fbbdea2479d6f8bd703c)
2008-01-11ldb: Get rid of a warning.Kai Blin1-1/+1
(This used to be commit 37ed9fbeee37a1d86d6f6841eac5c1a0a85c1fcc)
2008-01-11ldap/python: Fix last tests.Jelmer Vernooij1-60/+53
(This used to be commit 874c00b1c1ef011c85226135144fafdc97d91116)
2008-01-11ldb/python: Support comparing Dn's to strings.Jelmer Vernooij3-0/+19
(This used to be commit 355878907970b396e4031426fda260d981c417eb)
2008-01-11python/ldap: Fix a couple more tests.Jelmer Vernooij1-18/+18
(This used to be commit 3a0d14f33532d88ace770d037c50375fe822dbb6)
2008-01-11Make a few more tests pass.Jelmer Vernooij1-129/+115
(This used to be commit 017aa400c7097cf6132f2bec969b9bbb5237f4d8)
2008-01-11python/ldap: Get further.Jelmer Vernooij1-2/+4
(This used to be commit 0c27eabbc40657493dc72f12b4fbdb07b0a3200f)
2008-01-11python/ldap: Fix some tests.Jelmer Vernooij1-9/+15
(This used to be commit 52f64afd4324eb185303ca192b88ccb632ee8587)
2008-01-11python: More work getting the LDAP test to compile again.Jelmer Vernooij1-36/+23
(This used to be commit d7a3f9612c40000cb265279598c09f6983305656)
2008-01-11python: Specify right arguments for the ldap test, fix some more calls.Jelmer Vernooij1-37/+30
(This used to be commit 74209fa6b097c6cd3c919dc6a67d998de12fa575)
2008-01-11ldap/python: Fix some more calls.Jelmer Vernooij1-74/+47
(This used to be commit 583881ae5a2a173abad9ba1ffd766b009d9ca8cd)
2008-01-11python/ldap: Support controls argument to ldb.search().Jelmer Vernooij4-55/+162
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)
2008-01-11Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett4-35/+246
(This used to be commit 597f9fe17685fb7909269bc0af04bf4a040e2ad7)
2008-01-11Rework ldbsearch to avoid segfault when remote LDAP server returnsAndrew Bartlett1-12/+10
referrals. Andrew Bartlett (This used to be commit 8099facff99dab4de27ea6f857d0e8f5eaa3db5a)
2008-01-11Fix segfault when sorting LDAP replies on the client.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c72c39326b263b3aacd178ddc2fc3b1a2906f3d3)
2008-01-11python/ldap: Wrap parse_control_strings().Jelmer Vernooij4-25/+114
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)
2008-01-11ldb/python: Allow comparing a MessageElement to a list or a singleton.Jelmer Vernooij3-10/+22
(This used to be commit 1ccbab81d79f83bb419104f2bbaf2ae7b368e90f)
2008-01-11ldb/python: Implement __len__ for MessageElement.Jelmer Vernooij4-0/+37
(This used to be commit a8f90ed34ce9341080b63c801ef54b82de42b8e6)
2008-01-11python/ldb: Add __getitem__ implementation for LdbMessageElement.Jelmer Vernooij4-0/+73
(This used to be commit e6498a0780dd31dfc623a69432004b606aeaccbe)
2008-01-10tdb: Add simple reimplementation of tdbdump in Python as an example of the ↵Jelmer Vernooij1-0/+12
tdb Python bindings. (This used to be commit 47d797f7885b1e7bcff724496ecb1990e8440eea)