summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17645: gcc 4.1.x has started producing "value computed is not used" warningsAndrew Tridgell1-1/+4
in very annoying ways for talloc_steal. This rather strange looking cpp approach avoids these warnings. It's really a problem in gcc, but better to do this than put up with the huge flood of warnings. (This used to be commit 8236a0ac5e80c30e52fccc0ef41a6c808ea43420)
2007-10-10r17633: Return NULL at the end of the file, or else we can't tell theAndrew Bartlett1-0/+4
difference between end of file and a blank line. Andrew Bartlett (This used to be commit 6fd6239a0f16154c13713bf1398b2873d1103335)
2007-10-10r17614: Our first "client side' ldb module.Simo Sorce2-0/+448
This module has been created with the purpose of being used for searches against ldap servers without the need to handle the control manually You can test it by passing -o modules:paged_searches to ldbsearch The page search size is set to 500 objects. Simo. (This used to be commit 07d377f3c27966b40465bb5dc4f55746ba8489af)
2007-10-10r17613: style fixSimo Sorce1-1/+2
(This used to be commit 86fc149ca805e4c801f6251c8c9f2480010b4962)
2007-10-10r17601: Fix declaration after statement.Andrew Bartlett1-3/+2
Andrew Bartlett (This used to be commit 05c276568a6c42c9ceb686a390c4fd279d4a5bb6)
2007-10-10r17600: Finish the schema conversion tool, and add a mapping file, used to mapAndrew Bartlett2-58/+145
OIDs and skip built-in attributes. Andrew Bartlett (This used to be commit cb2b9d800d1228d41f7872a7b7c8ea5f07816c61)
2007-10-10r17599: Improvements to the AD-like to OpenLDAP format schema conversion ↵Andrew Bartlett1-53/+252
utility. We now read the objectClasses, and sort them into order, so that OpenLDAP will load them. We do this by walking down the 'subClassOf' chain. This should also be used in the objectClass module to sort the objectClass list, and to populate the @SUBCLASS records. Andrew Bartlett (This used to be commit 22dec7b62adbf364d2d17948fda1460cbbbf0a78)
2007-10-10r17596: apply patch from MartinSimo Sorce1-4/+4
(This used to be commit e9d101bc3c1e7c1e8b6560a1f7161e6eb270c7df)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher7-55/+63
configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
2007-10-10r17582: Fix dependenies for oLschema2ldif.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 113ef0132037f3e3db61f259eee903a4584219f7)
2007-10-10r17581: Add tool to convert AD schema back to OpenLDAP's schema formatting.Andrew Bartlett1-0/+324
Andrew Bartlett (This used to be commit 391f472df775f7e7b85335d96315807c38fe5536)
2007-10-10r17580: Add a new tools to convert back from AD-like schema to OpenLDAP.Andrew Bartlett8-36/+312
Add attribute syntax mapping to the existing OpenLDAP -> AD tool. Andrew Bartlett (This used to be commit ba1c652bae700a82acde166e70035d61c320e233)
2007-10-10r17579: make ldb build g++ friendlyAndrew Tridgell4-67/+67
(This used to be commit 403cbd335594112e0c58fd68d20f0e3faad7d186)
2007-10-10r17578: in standalone talloc build ensure we get intptr_t if available (whichAndrew Tridgell1-0/+3
makes the discard_const stuff nicer) (This used to be commit 662f01f8ba861a5ef1d5ee724ed2b3ab9812597a)
2007-10-10r17542: In using ldb_map, I ran across some very odd behaviours when we searchAndrew Bartlett4-5/+26
for objectClass=xyz. The code has been warning at me 'no covert_operator set', and indeed this is the case. (It then proceeds to strip this as a search expression) In this commit, I have implemented a convert_operator for objectClass, by pretending it is a simple MAP_CONVERT operator for the search requests. I also have changed the logic for when we should bail out. I can only see reason to bail out on the search if we have both local and remote trees. How can a remote-only search be un-splittable? Andrew Bartlett (This used to be commit 656e58672c357121647a080400fcab4e5d30b46b)
2007-10-10r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher1-0/+99
metze (This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
2007-10-10r17532: merge from SAMBA_3_0 Revision: 17460Stefan Metzmacher1-0/+1
First step at fixing the build breakage with the groupmapping test. On Linux, F_RDLCK is defined to 0, for example NetBSD has it at 1. Still does not work fully though. Still investigating. metze (This used to be commit af08e56442367b5d803f61b8554d85e2fe0ce7e9)
2007-10-10r17526: Move timestamp generation into the objectGUID module. It probablyAndrew Bartlett1-41/+0
needs to be renamed (operation_add?). This allows me to match the behaviour and substitute with the entryUUID module for remote LDAP connections. Andrew Bartlett (This used to be commit af02b4d7c631bb15bf5a5f73f9fdc23075d50f60)
2007-10-10r17525: This is a merge from the Google Summer of Code 2006 project by ↵Andrew Bartlett6-1238/+3054
Martin Kühl <mkhl@samba.org>. Martin took over the work done last year by Jelmer, in last year's SoC. This was a substanital task, as the the ldb modules API changed significantly during the past year, with the addition of async calls. This changeset reimplements and enables the ldb_map ldb module and adapts the example module and test case, both named samba3sam, to the implementation. The ldb_map module supports splitting an ldb database into two parts (called the "local" and "remote" part) and storing the data in one of them (the remote database) in a different format while the other acts as a fallback. This allows ldb to e.g. store to and load data from a remote LDAP server and present it according to the Samba4 schema while still allowing the LDAP to present and modify its data separately. A complex example of this is the samba3sam module (by Jelmer Vernooij), which maps data between the samba3 and samba4 schemas. A simpler example is given by the entryUUID module (by Andrew Bartlett), which handles some of the differences between AD and OpenLDAP in operational attributes. It principally maps objectGUID, to and from entryUUID elements. This is also an example of a module that doesn't use the local backend as fallback storage. This merge also splits the ldb_map.c file into smaller, more manageable parts. (This used to be commit af2bece4d343a9f787b2e3628848b266cec2b9f0)
2007-10-10r17524: Lets see if we can try and get the socket_wapper includes to beAndrew Bartlett1-1/+1
pre-processed last, and get AIX and some other hosts to pass make test again (I think the macros were being over-overridden). Andrew Bartlett (This used to be commit 650b99b19d3ede84848ebe747f8afbf2cce9d7e2)
2007-10-10r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce6-47/+47
to do (This used to be commit ad75cf869550af66119d0293503024d41d834e02)
2007-10-10r17515: Fix warningsSimo Sorce1-7/+7
(This used to be commit 5f7864515008a596bbf92163ef8bd48dc8269b09)
2007-10-10r17514: Simplify the way to set ldb errors and add anotherSimo Sorce16-119/+123
helper function to set them. (This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
2007-10-10r17507: pread and pwrite depends on HAVE_PREAD/HAVE_PWRITE not ↵Simo Sorce1-7/+0
HAVE_PREAD_DECL/HAVE_PWRITE_DECL and common/io.h already defines pread and pwrite as static if they are not. remove unneded defines (This used to be commit 941f680453a081d51f6499f9b5dc06c7e6640334)
2007-10-10r17504: Do not use the invented unixID but use the rfc2307 uidNumber and ↵Simo Sorce1-1/+2
gidNumber attributes instead Do not change unixName right now, we don't have an attribute to use in the posixGroup class, and I think we should remove its usage altogether and look up users and groups by their uid/gid only. Simo. (This used to be commit d57b521aadf24a277152ec1ff1dac3210bd14316)
2007-10-10r17503: Add a useful function to search for a DNSimo Sorce2-0/+17
(This used to be commit 8c6efd7b55e4ad45e1bd10519a1b91285a4e0347)
2007-10-10r17494: add tests for the example values from rfc 1320 (MD4)Stefan Metzmacher1-0/+84
metze (This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
2007-10-10r17493: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 785c46ed375b99f5765c2d8a2c7c1aaf400119f8)
2007-10-10r17492: add a test with the example values from rfc1321 (MD5)Stefan Metzmacher1-0/+87
metze (This used to be commit bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
2007-10-10r17490: add all test values from rfc 2202Stefan Metzmacher1-12/+66
metze (This used to be commit d3e2e1af80c419ca0008e400b3d8899f2e0d0d83)
2007-10-10r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174Stefan Metzmacher8-3/+752
- and add torture tests also based on the rfc's metze (This used to be commit d48930a02f9560640697fd57e4bba03dc0abe284)
2007-10-10r17474: Allow the partitions module to load modules for specific backends.Andrew Bartlett2-4/+8
Andrew Bartlett (This used to be commit c016db2187120991e8ad779b9df35480d7c19400)
2007-10-10r17473: Split loading a list of modules and initialising them into a seperateAndrew Bartlett1-42/+58
function. Andrew Bartlett (This used to be commit bed17cc579d82f04e44ce3c3d1e74d999c2ab867)
2007-10-10r17432: display more GUID values nicely,Stefan Metzmacher1-0/+48
they all have rangeLower=16 rangeUpper=16 and attribute syntax 2.5.5.10 metze (This used to be commit 932f8bec21a64be3ca84c32a2ceaea98e2ceecf9)
2007-10-10r17430: implement the LDAP_SERVER_PERMISSIVE_MODIFY control in the clientStefan Metzmacher2-0/+29
metze (This used to be commit 96259f0f24b114e505241c9d2deb702a8b40f1b6)
2007-10-10r17429: implement the LDAP_SERVER_SHOW_DELETED control in the clientStefan Metzmacher2-0/+28
metze (This used to be commit 40dc7c1787c16bfc15ac87fee81d2d2d1f3d2fde)
2007-10-10r17420: add client support for the LDAP_SERVER_DOMAIN_SCOPE controlStefan Metzmacher2-2/+30
metze (This used to be commit 84e74a759cfa49ebc8b4ba1b8e729d6d920fc55a)
2007-10-10r17419: add client support for the LDAP_SERVER_SEARCH_OPTIONS support.Stefan Metzmacher2-0/+49
with this you can limit a search to a specific partitions or a search over all partitions without getting referrals. (Witch is the default behavior on the Global Catalog Port) metze (This used to be commit 4ccd0f8171f3748ee6efe1abd3f894d2cdf46bf4)
2007-10-10r17418: add client support for the LDAP_SERVER_SD_FLAGS controlStefan Metzmacher2-1/+43
metze (This used to be commit 23759a1e9b05c4fde475a9016cb0b7447656d7e7)
2007-10-10r17416: display the attributeSecurityGUID nicely.Stefan Metzmacher1-0/+8
this attriute is used to group multiple attribute to a propertySet for access control. metze (This used to be commit 96e9d46091c9fb4fd92782a42fcd9f2c510e9b56)
2007-10-10r17415: the ldif handlers can't do search as this now blocks foereverStefan Metzmacher1-11/+3
because the handlers are called within the async callbacks in side the main search. Also it makes no sense to give the sddl encoder the sid of the primary domain when we need a description of a real security_descriptor, this only makes sense for the defaultSecurityDescriptor... metze (This used to be commit 92f133f1ef1cd4064c9b328244d3be3351c5bab9)
2007-10-10r17413: add a new case for the this:Stefan Metzmacher1-0/+41
top->level1->level2->level3 level3 has a deny destructor talloc_free(level1) result: top->level3 metze (This used to be commit 3be930b81d2caf5e13105efa02280c4fc45181cb)
2007-10-10r17412: fix missing colonSimo Sorce1-1/+1
(This used to be commit 300d6e724d1ce386ad53852c0645fa8de374625a)
2007-10-10r17411: Try and compile on older versions of GnuTLS.Andrew Bartlett2-0/+7
Andrew Bartlett (This used to be commit 798c0791d8e8d10dde41a6dbceb0866265f9a709)
2007-10-10r17398: avoid a memleak when we are returned 0 results and make a more ↵Simo Sorce1-8/+8
creative use of memory contexts (This used to be commit fc97b5dc8ce65232a7a98ffb59def44a931b1565)
2007-10-10r17397: Add const, and use a more local memory context.Andrew Bartlett1-12/+22
Andrew Bartlett (This used to be commit 59fc8031ecf3ba5aa2eff9ec5fa7df76d0c990c6)
2007-10-10r17379: Pre-generate DH parameters, to avoid doing this at runtime in our ↵Andrew Bartlett1-2/+16
testsuite. Andrew Bartlett (This used to be commit 23314c3953676124a2ad06e8b3a3b297c11f2800)
2007-10-10r17370: Fix tdb searches, we need to return an LDAP_REPLY_DONE packet when done.Simo Sorce1-0/+15
Awesome how this didn't break everything around... (This used to be commit 1b3b6176592314e91af9ed911e8a244519dea9aa)
2007-10-10r17368: Add 'const' to ldb_match_msg().Andrew Bartlett2-22/+22
Andrew Bartlett (This used to be commit 54eda4b85975c44c993a7dc45f6caa898076f163)
2007-10-10r17350: Avoid a couple of memleaks, unnecessary code and use a more linear styleSimo Sorce2-27/+28
(This used to be commit 97c4d41a30a5d85145abb781cb7001b502bc7dcb)