summaryrefslogtreecommitdiff
path: root/testprogs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.Andrew Bartlett1-5/+28
Doing this required reworking ejsnet, particularly so it could take a set of credentials, not just a username and password argument. This required fixing the ejsnet.js test script, which now adds and deletes a user, and is run from 'make test'. This should prevent it being broken again. Deleting a user from ejsnet required that the matching backend be added to libnet, hooking fortunetly onto already existing code for the actual deletion. The js credentials interface now handles the 'set machine account' flag. New functions have been added to provision.js to wrap the basic operations (so we can write a command line version, as well as the web based version). Andrew Bartlett (This used to be commit a5e7c17c348c45e61699cc1626a0d5eae2df4636)
2007-10-10r12324: use command line credentials if available in ldap.jsAndrew Tridgell1-0/+7
(This used to be commit f4f99f9af33699ac8fe43b09fa7542aab72a031a)
2007-10-10r11587: Trivial testing code giving an idea of how could usingRafal Szczesniak1-1/+14
subcontexts look like. rafal (This used to be commit 5a338b04f37f6160f4aaf7d9758aa2d817516eb1)
2007-10-10r11467: yay! mmc now accepts our schema. The trick was to get all the OIDAndrew Tridgell1-0/+14
mappings right for the attributeTypes field of the aggregate schema now to add the display specifiers and I won't need the proxy module any more (This used to be commit 69264362bd408f493487482a8d5e9779d9a0d475)
2007-10-10r11463: more progress on the schema generator. mmc now accepts all partsAndrew Tridgell1-3/+23
except the attributeTypes fields of the Aggregrate record. Proxying just that field and the display specifiers gives us a working mmc client hopefully i'll work out what it doesn't like about the attributeTypes field soon (This used to be commit 3af867a3f4a5fd702089400d1687e2aff017f48a)
2007-10-10r11436: this is work in progress for generating the schema we need for our ADSAndrew Tridgell1-18/+507
ldap server. It's still not quite right, and I'm chasing down a few errors that mmc throws up, but its a lot closer than it was. I had to change the approach quite substantially over the last couple of days, but this approach now seems to be working out. (This used to be commit 38ea11510c8824285d072fe0e03e443d9d584271)
2007-10-10r11309: A trivial test script for ejs libnet interface.Rafal Szczesniak1-0/+4
rafal (This used to be commit deb561ea4a00730787d129ae5eda38ceefe129f6)
2007-10-10r10990: the beginnings of a program designed to work out the minimal schemaAndrew Tridgell1-0/+112
needed to represent all the current records on a ADS LDAP server. The idea is we will use something based on this code to work out exactly what schema elements we will need for our initial ADS schema. I plan on expanding this code to automatically work out attribute properties, and write out a schema file that we can load into ldb. Interestingly, it looks like we only need 43 objectclasses and around 200 attributes to represent all records of a newly installed w2k3 ADS server. (This used to be commit 7b0ae77757d347d2b0f5bac3a49e915e24c3ab78)
2007-10-10r10919: fixed the ldb test for the new operational moduleAndrew Tridgell1-3/+4
(This used to be commit 915878d7cebacf499c0c9d264a2dcbc82b521dfd)
2007-10-10r10577: Fix error in ReadFile()Jelmer Vernooij1-3/+3
(This used to be commit 04b8c473d7d55d4d802631074843e43fe7d9cfea)
2007-10-10r10576: Add testprog for named pipes. Also add GNUmakefile's for ↵Jelmer Vernooij5-0/+98
cross-compilation using mingw32 (This used to be commit 30ba8fdc3dc8dba543686591a27b819b8f9444db)
2007-10-10r9919: Remove debug statement from samba3samJelmer Vernooij1-1/+0
Add SOC STATUS doc (This used to be commit 152c1a37b536c65e0b816319304d1fb46c2dc5a8)
2007-10-10r9915: Some more mappings. Fix weird sAMAccountName values.Jelmer Vernooij1-2/+3
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)
2007-10-10r9912: Fix another bug in ldb_map.Jelmer Vernooij1-0/+2
(This used to be commit 4c3b37d660e798764e35a31221f4939ab6f36948)
2007-10-10r9908: Generate posixUser and posixGroup as wellJelmer Vernooij1-2/+1
(This used to be commit ebed25b47d3d8bd350b51b462d605d713f17602d)
2007-10-10r9899: Be more conservative about what is sent to the remote server in ldb_map.Jelmer Vernooij1-15/+26
(This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)
2007-10-10r9857: Fix rename/delete issuesJelmer Vernooij1-8/+5
(This used to be commit d6dce7ef3eb21a5e90244cf2ce7403ab43b12d63)
2007-10-10r9855: Finish ldb_map testsuiteJelmer Vernooij1-0/+60
Update PLAN Some more small other fixes (This used to be commit 31cd5d55a9754b4e670be5d3687dfaaab8adaefc)
2007-10-10r9849: Extend testsuite a bit more.Jelmer Vernooij1-9/+35
(This used to be commit 5cbe1e6b70b03be441a36b36fb969339df0dfd45)
2007-10-10r9842: More error checks in the ldb_map modules, extend testsuiteJelmer Vernooij1-5/+25
(This used to be commit b7992de4b7d42a55e00509c887a269a07c19627d)
2007-10-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-0/+78
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10r9599: fix formatting of echo outputAndrew Tridgell1-1/+1
(This used to be commit 47c11fd886d7c57cafe2e150d745d3ce17e3bb72)
2007-10-10r9491: fixed up a few scripts that need to be updated for the new GetOptions ↵Andrew Tridgell5-30/+18
syntax. Mimir, its a good idea to use grep -r to find places that need fixing when you change the syntax of a call :-) (This used to be commit 1ead49f8e823a69dbd9cd3df3f5be04dc17e0d1f)
2007-10-10r9383: remove unused fileAndrew Tridgell1-72/+0
(This used to be commit dae90b6959508a19d35f711caf4c3f4bb9b3796a)
2007-10-10r9345: used the data blob functions in the echo.js test codeAndrew Tridgell1-4/+6
(This used to be commit f217f08b679ec3ed4784ed0fe74e9cbb935cdce9)
2007-10-10r9342: removed extra libinclude of base.jsAndrew Tridgell1-2/+0
(This used to be commit bda6943c311e005cff0b46722355e9aa693db67a)
2007-10-10r9341: updated the winreg test program to take advantage of the new EnumValueAndrew Tridgell1-2/+11
functionality. It now completely enumerates a winreg tree. This would make a good basis for a js version of regshell if someone felt like taking that on. (This used to be commit 75d0cf78ec8c01dee2a6475d4c64417349d9ec3a)
2007-10-10r9218: make the winreg library code handle arbitrary paths more efficientlyAndrew Tridgell1-13/+20
and more conveniently (caller doesn't need to know the hive names now) (This used to be commit dadd7e22fb439f7b18c429a95c75902e4741ba8d)
2007-10-10r9160: use the winreg lib in the test programAndrew Tridgell1-53/+14
(This used to be commit 33bb76ed4e1a796cf68198c0bb480a7bbd31b6cd)
2007-10-10r9153: added a sample program for enumerating winreg via jsAndrew Tridgell1-0/+97
(This used to be commit 10043db676f9db8d1933b6a5f9ae050cefc538ac)
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell2-65/+58
calls. This changes the generated RPC and IRPC calls to use the 'this' object pointer instead of requiring the passing of the object on each call. So typical usage is now: var echo = echo_init(); var io = irpcObj(); status = echo.connect("ncacn_np:server"); assert(status.is_ok); io.input.in_data = 7; status = echo.AddOne(io); assert(status.is_ok); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8745: make ldap.js cleanup after itselfAndrew Tridgell1-1/+3
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)
2007-10-10r8743: automatically find the basedn in ldap.jsAndrew Tridgell1-4/+13
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)
2007-10-10r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:Andrew Bartlett2-0/+59
dn: cn=foo,ou=bar objectClass: person implies dn: cn=foo,ou=bar objectClass: person cn: foo (as well as a pile more default attributes) We also correct the case in the attirbute to match that in the DN (win2k3 behaviour) and I have a testsuite (in ejs) to prove it. This module also found a bug in our provision.ldif, so and reduces code complexity in the samdb module. Andrew Bartlett (This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)
2007-10-10r8738: Test (using ejs!) the basic operation of the ldb modules.Andrew Bartlett1-4/+60
ejs seems to test this stuff very nicely! Andrew Bartlett (This used to be commit 325f6d24dfc285587bde9fea6eeaf136c2731eff)
2007-10-10r8652: added a test for the boolean bug just fixedAndrew Tridgell1-0/+17
(This used to be commit 19ae68f59ad9b81005eb68b3773f24234c0f891d)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell1-3/+4
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell1-0/+2
making the string functions into an object. To keep existing code working I have added: string_init(global); into base.js. That brings the functions into the global scope for our existing scripts (This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, andAndrew Tridgell1-9/+7
add it to our test suite so it will be maintained (This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)
2007-10-10r8488: after discussions with simo, moved to a full OO interface, so you ↵Andrew Tridgell1-13/+57
don't need to keep a 'db' variable around. The ldb object knows what it is connected to. Added a simple ldb testsuite in testprogs/ldb.js (This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
2007-10-10r8486: switched to a separate connection operation in ldb interfaceAndrew Tridgell1-2/+3
(a suggestion from simo) (This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell2-20/+23
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10r8481: switched ldb ejs called over to an OO interface, so you do:Andrew Tridgell1-3/+4
var ldb = ldb_init(); res = ldb.search(dbfile, "(objectClass=user)"); you can also do: ldbSearch = ldb.search; res = ldbSearch(dbfile, "(objectClass=user)"); if you want the old interface (ie. you can use this to import functions into the global or local namespace). (This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
2007-10-10r8413: mark exprbug() as fixed, and add a new bugAndrew Tridgell1-1/+12
(This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626)
2007-10-10r8355: - added a vsprintf() functionAndrew Tridgell2-1/+40
- removed the --outputdir option from provision, as its not used any more (as ejs knows the real paths) (This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
2007-10-10r8346: added a sprintf test suite for ejsAndrew Tridgell1-0/+22
(This used to be commit 14af014410a9971d447aafe00640407698f63d7f)
2007-10-10r8317: convert the example scripts over to the new GetOptions() callAndrew Tridgell4-11/+54
(This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell2-138/+27
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8287: yay! finally irpc calls from ejs are all working.Andrew Tridgell1-0/+24
This is a demo script that shows the nbt server statistics. For example: nbt_server statistics: total_received: 185 total_sent: 59 query_count: 13 release_count: 21 register_count: 7 (This used to be commit cd1ea857ce19ac2e105230703174634d8b9d5122)
2007-10-10r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell2-0/+2
#!/usr/bin/env smbscript I'll be interested to see how portable this is in the build farm. (This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)