summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17609: Kill one more use of the fake dnsDomain attribute.Andrew Bartlett1-4/+5
Add a talloc_steal to avoid a memory leak of the ldb_search result. Andrew Bartlett (This used to be commit 69525129f9d199b1d4caeb5d52c918fc0bc95737)
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 Bartlett6-85/+191
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-10r17588: this file doesn't exist anymoreStefan Metzmacher1-1/+0
metze (This used to be commit 2da459287f77f00258f196510963674300982907)
2007-10-10r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher32-80/+88
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-10r17577: Patch from Kai Blin <kai.blin@gmail.com>:Andrew Bartlett1-1/+62
This is the Samba4 version of the ntlm_auth patch that was committed to Samba3 in revision 17216. The purpose of this patch is to return session key information, as well as NTLMSSP negotiated flags to ntlm_auth's caller. This allows the bulk data signing and sealing to be handled in a library, supplied by the caller. This also allows the caller to ask for features, so that the right flags get negotiated. (This used to be commit eb28aff4e0c9688ba886c3dd886ab7af81c6326a)
2007-10-10r17570: add dummy functions for the frsrpc and frsapi interfacesStefan Metzmacher3-1/+117
based on the wireshark information metze (This used to be commit f0754332c9b373e4ba11c30a52d3ba9687a020c1)
2007-10-10r17567: add error code I got from DsGetNCChangesStefan Metzmacher2-0/+4
when I don't use the DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION flag on DsBind metze (This used to be commit 8458ee72c5c1005ab80b9f7ea6efe617e5c76106)
2007-10-10r17566: test if the compiler support inline, this resultsStefan Metzmacher1-0/+2
in #define inline if the compiler doesn't support it This hopefully fix the build on some hosts, however we should not start to use inline in our code this is more to not need to touch imported files from heimdal or popt. metze (This used to be commit 687d69af6228d159a0dfc59c44eb0a1349a51f2b)
2007-10-10r17565: expand the test for negative enum values, systems like Tru64Stefan Metzmacher1-2/+19
truncate the value to INT_MAX... So a AC_TRY_RUN test is needed here metze (This used to be commit dc0e22a52e3488a4cb9f17138389885183e90c34)
2007-10-10r17564: we don't need a AC_TRY_RUN to test the compiler warning optionsStefan Metzmacher1-1/+1
metze (This used to be commit ebade9dea58b58e34c6dfc39358ddb0b05d2b372)
2007-10-10r17553: Actually enable the samba3sam module. Should help 'make test'.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 0e19d159697e99f6c45879cf42c39c9b2b134ffa)
2007-10-10r17548: It is a good idea to commit the fix (from mkhl) before the test thatAndrew Bartlett1-1/+1
shows the need for... Martin Kuhl writes: The ejs function `substitute_var' returns `undefined' when the first argument ends in a pattern that should be substituted. For that reason, the second assertion fails in the following test-case: ,---- | libinclude("base.js"); | | var obj = new Object(); | obj.FOO = "foo"; | obj.BAR = "bar"; | var str1 = "${FOO}:${BAR}"; | var str2 = "${FOO}:${BAR} "; // note the space after the brace | var sub1 = substitute_var(str1, obj); | var sub2 = substitute_var(str2, obj); | | assert(str1 + " " == str2); | assert(sub1 + " " == sub2); `---- The problem is that the function `split' returns a single-element array in both cases: a) the string to split doesn't contain the split pattern b) the string ends with the split pattern To work around this, the following patch tests this condition and returns `undefined' only if the string to split (`list[i]') really didn't contain a closing brace. (This used to be commit 8a6908200b1e459bc9067a9d1f9635185a7eee16)
2007-10-10r17547: Add test by mkhl for some of our variable substituion behaviour.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit c2c72565e4efef44068c4f176619942f60a9cf6e)
2007-10-10r17543: Patch from Martin Kühl <martin.kuehl@gmail.com> to extend theAndrew Bartlett1-0/+3
samba3sam test cases for ldb_map, and to include this into our default 'make test'. (This used to be commit f69a842314b3d5c57c3fa1f5b1bae3ee6d42da2b)
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-10r17540: store command line args of selftest.sh in local varsStefan Metzmacher1-8/+15
as $0,$1,$2,$3 may change in side the script or included scripts. This fixes the usage of SOCKET_WRAPPER on non linux systems (tested on IRIX 6.4) metze (This used to be commit ebfb719e3d048383c04e5d665b23d7fcb4e48fb4)
2007-10-10r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202Stefan Metzmacher4-1/+103
metze (This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
2007-10-10r17538: this function should be static...Stefan Metzmacher1-1/+1
metze (This used to be commit c4387dd3f6d1463d9557ee8923590fa5590b35ff)
2007-10-10r17537: if we replace inet_ntoa() we need a prototype ofStefan Metzmacher1-0/+1
rep_inet_ntoa... metze (This used to be commit 78eaa905d53c5f678cf592284822f645eadbe3b2)
2007-10-10r17534: Try another group for 'wheel' on True64.Andrew Bartlett1-1/+1
(This used to be commit 177b713288be9c5d559a27d65e16521cbeefc958)
2007-10-10r17533: add missing include, so that "socket options = TCP_NODELY" asStefan Metzmacher1-0/+1
default can work... metze (This used to be commit bec738c2a37bf814073bc38a312808f563597319)
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-10r17531: fix whitespacesStefan Metzmacher1-1/+1
metze (This used to be commit e5f752a66bea40bc4441cff9c6023b2072dc1f6d)
2007-10-10r17530: Watching the build farm mails carefully pays off...Andrew Bartlett1-3/+2
This was another declaration before statement bug, in my just-committed code.. Andrew Bartlett (This used to be commit 1d1bf6b20512653c1de7920388f16fbef936ed47)
2007-10-10r17529: Simo doesn't like the use of the internal ldb_errstring in functionsAndrew Bartlett3-16/+41
not used purely as ldb module helper functions. This now passes these strings back as explicit parameters. Andrew Bartlett (This used to be commit 9c1cd9c2c6bcd9d056a7c9caafacdd573562ebbc)
2007-10-10r17528: This is an additional item of schema we require.Andrew Bartlett1-0/+21
Where is the script we used to create this schema file in the first place? Andrew Bartlett (This used to be commit dec2b6961ab28ecf84daa6ef329f98e6ee0927b9)
2007-10-10r17527: Don't duplicate the entire test setup just to allow testing of the newAndrew Bartlett2-208/+86
ldb-backed shares configuration. Andrew Bartlett (This used to be commit 59f86d80841e39613260094b2c848f416a035322)
2007-10-10r17526: Move timestamp generation into the objectGUID module. It probablyAndrew Bartlett4-43/+98
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 Bartlett9-1240/+3281
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-10r17523: FIXME is a macro (I think) on some platforms (AIX), and this caused ↵Andrew Bartlett1-3/+3
pain. Andrew Bartlett (This used to be commit 2a604480f8dd17d52c1338e32356e9f63dec6385)
2007-10-10r17522: Fix another declaration after statement.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit a30d312b503c16bd1497752428c178f39dd6227f)
2007-10-10r17520: If the blkid library fails, I don't see any reason to return more ofAndrew Bartlett1-3/+6
an error than if we don't have it. We might not be on a volume that can store/return such a GUID. (Try to fix one of the build farm failures). Andrew Bartlett (This used to be commit 73d6651f3c06d0d3bbfd9fe1a9d0f76fe19ba4af)
2007-10-10r17517: Fix declaration after statement, which breaks the build on older GCC.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 55bac30e1f7fdf8f2e81d29f8d29a269ceefb0d2)
2007-10-10r17516: Change helper function names to make more clear what they are meant ↵Simo Sorce23-150/+150
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 Sorce25-255/+250
helper function to set them. (This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
2007-10-10r17513: ldb_set_errstring is an ldb private string, samdb uses DEBUG() ↵Simo Sorce1-4/+3
statements (This used to be commit c57b6420aa4a220257df714aaccb016acb4bae24)
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-10r17505: we are setting the timeout with the provide function right after.Simo Sorce1-1/+0
(This used to be commit 6520e3c83acfbb7b6aa63d1cbebe8f8801db292f)
2007-10-10r17504: Do not use the invented unixID but use the rfc2307 uidNumber and ↵Simo Sorce3-15/+17
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)