summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8319: the start of a provision script in ejs. This is why I've been addingAndrew Tridgell1-0/+150
so many functions lately. so far it just parses options, works out the host IP, and user and group names (This used to be commit 333b32025fc2a33d2a145bbce9cdfefa252ec77a)
2007-10-10r8318: added a bunch more ejs calls.Andrew Tridgell7-4/+249
getgr*() getpw*() strlower() strupper() IfaceList() (This used to be commit 1517ad490dd67302f38ab9dcd8a3b24b73b8d550)
2007-10-10r8317: convert the example scripts over to the new GetOptions() callAndrew Tridgell4-11/+54
(This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
2007-10-10r8316: give full access to the popt command line parsing in ejs scripts, ↵Andrew Tridgell5-27/+204
including access to the samba common options. For example: ok = GetOptions(ARGV, options, "POPT_AUTOHELP", "POPT_COMMON_SAMBA", "myopt=s", "intopt=i", "noopt"); this allows scripts to support their own extended options properly (This used to be commit 775fb56ac287b8d485b38f633b9480d7b7ab64e3)
2007-10-10r8315: fixed the generation of the serial number in the dns zone file (bind9Andrew Tridgell2-1/+12
doesn't like it being too long) (This used to be commit fc93ade9cdfe97bdcd2383fa256877580707181c)
2007-10-10r8314: - added an 'installmisc' target for installing miscellaneous files.Andrew Tridgell3-7/+23
- install our provisioning template files in lib/setup/ We need these to be installed as users may wish to re-provision after installation, or may not have the source tree (wuch as when installing from binary packages) (This used to be commit 7c2e31fd11be3ebed680a0fe08a9ff09f7b97c87)
2007-10-10r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with ↵Andrew Tridgell2-11/+14
heimdal (This used to be commit 7d4e309f02cfcef661ebf3bbe9c227938318077c)
2007-10-10r8312: fixed some heimdal header checks from watching the build farm failuresAndrew Tridgell2-2/+8
when we added heimdal we dropped from 10 passing builds to 1, but hopefully that will go up with a bit of effort (This used to be commit 753d7ab715701a162689ffe9cdff7c56fcf7f2a2)
2007-10-10r8311: krb5 uses ENOMEM for out of memoryAndrew Tridgell1-2/+2
(thanks to abartlet for pointing this out) (This used to be commit 4b16754a0e8be312d671d9ae892a8c14462f8d95)
2007-10-10r8310: replace the heimdal networking interface scanning code with glue code ↵Andrew Tridgell4-1481/+59
that uses the Samba interfaces list. This makes heimdal obey the 'interfaces=' smb.conf option, and should also fix the portability problems with the heimdal code (This used to be commit ba621d1c554e135f449a144019b84719a086e04f)
2007-10-10r8309: more heimdal configure checks needed for FreeBSDAndrew Tridgell1-1/+1
(This used to be commit b5e8409e3b046c151996009c2dc980e55f09fb67)
2007-10-10r8308: use the configured C compiler, instead of forcing gcc in external ↵Andrew Tridgell2-2/+2
heimdal tool build (This used to be commit 39c6cf91fb75dc5d7d14922f70b8be8dc15169e1)
2007-10-10r8307: try to cope with flex and bison not being installed, in a similar ↵Andrew Tridgell7-5/+7239
fashion to yapp for pidl if they are installed, then we rebuild the generated files, otherwise we use the ones in svn (This used to be commit 6ab503b7cc902b8691dc80907bb44f1f705ab8ee)
2007-10-10r8306: some more heimdal configure checksAndrew Tridgell4-3/+7
(This used to be commit 575413fc863147ee46e1ff658af1d74093fc7686)
2007-10-10r8305: another attempt at getting heimdal building in the farmAndrew Tridgell2-3/+9
(This used to be commit 2cab29c1e730cf2c8d109513bdb9094769e41a2a)
2007-10-10r8303: a workaround for forcing HEIMDAL_EXTERNAL to build.Andrew Tridgell2-2/+2
Jelmer, when you get a chance can we discuss how to fix this properly? (This used to be commit 2564cd962b9a972d1ff7d603a9e5ab1c705b2386)
2007-10-10r8302: import mini HEIMDAL into the treeHeimdal Import User240-0/+75318
(This used to be commit 118be28a7aef233799956615a99d1a2a74dac175)
2007-10-10r8301: use ncalrpc: for ejs tests, to avoid name resolution timeouts as smbd ↵Andrew Tridgell1-1/+1
is just starting up (This used to be commit c0bf253d4b33e1dd23ce46f867758351ece83755)
2007-10-10r8300: get the js include path right in selftestAndrew Tridgell2-2/+2
(This used to be commit 0e9e541e1e737f35200d64b31ddb4d468ff19518)
2007-10-10r8299: make the samr swat test use the samr.js libAndrew Tridgell1-2/+3
(This used to be commit 4d4a062af4ee34c5a3a2027ac1950ae3c8d39447)
2007-10-10r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell7-158/+111
- switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
2007-10-10r8297: add libinclude() function in ejs, which is like include() but ↵Andrew Tridgell2-0/+53
searches a js library path set in "js include" in smb.conf. This will allow us to start building up a library of common js code, while avoiding the problem of hard-coding include paths in scripts (This used to be commit ff60529ba2515df29a20b4a417327a3565ec8ee9)
2007-10-10r8296: - split out the ejs auth functions into a separate fileAndrew Tridgell4-121/+148
- got rid of the one line ejs_returnlist() (This used to be commit 6961fe29058cffd8e69d9ce7e7d3902f973411c0)
2007-10-10r8295: turn off the delete on close test in the build farm until someone getsAndrew Tridgell2-3/+5
a chance to look at it. Having it continually fail is hiding other portability errors that might have been introduced. (This used to be commit c1a3691f87cb46b36ab3194ea1489f443955a76d)
2007-10-10r8294: Add PLAN file for samba3->samba4 upgrade (Google Summer of Code) project.Jelmer Vernooij1-0/+9
(This used to be commit 7ebf81adce49d495c4fe8efdbb2e480db541fe35)
2007-10-10r8289: fallback to the group 'other' for usersAndrew Tridgell1-0/+2
this might fix the testing on solaris10 (This used to be commit 5adbab0afe85f5f856ab5fcc7a285a22f1752de3)
2007-10-10r8288: The SMB_ASSERT_ARRAY macro isn't used anymore.Tim Potter1-3/+0
(This used to be commit aab24385ab736f4072e25ad5702ee0aaf4192ecc)
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-10r8286: it makes more sense to combine the refresh count with the register ↵Andrew Tridgell1-1/+0
count, as they are really the same packet (you can register with a refresh) (This used to be commit 5006528554a70c25fea15966d68b4002850ebb3e)
2007-10-10r8285: generate some real stats in the nbt server for the irpc client code ↵Andrew Tridgell4-0/+35
to look at (This used to be commit 73643884a3c76de5a738a28054a168fdb008a9f8)
2007-10-10r8284: - fixed some uninitialised variables in the irpc codeAndrew Tridgell5-11/+107
- added code to send multiple irpc calls in parallel, to all servers that have registered the given name, with output going in io.results[i]. This allows you to make rpc calls to multiple servers at once, which is needed for clients like smbstatus (This used to be commit 061e20e509d95ffe16d7dd6fba7db39fc7a165ed)
2007-10-10r8283: make sure we build constant variables for both pull and push side of ↵Andrew Tridgell1-12/+20
enums (This used to be commit 529370ed92f5a683ae7bd34d0cd2ce01c2bda81a)
2007-10-10r8282: make the deletion of the smbd.tmp directory recursive. This cleans up ↵Andrew Tridgell1-45/+40
the messaging directory (This used to be commit 783679e0df6c059ebd26f78115445e81e304bc84)
2007-10-10r8281: pass the callnum and rpc interface table directly from the generatedAndrew Tridgell3-22/+32
code in pidl for ejs calls. This means that ejs_rpc_call() doesn't need to scan the rpc tables for the right interface, and doesn't need to scan for the call name (This used to be commit 1c6b1102e5c2529206b917e7c6b279c4f63d0e9a)
2007-10-10r8280: - added irpc_connect() for connecting to a irpc server by nameAndrew Tridgell3-3/+87
- make the dcerpc pipe in rpc_connect() a talloc child of the ejs connection variable. That means when the connection variable goes out of scope, the connection is automatically closed. That makes for a more natural interface for closing connections in a scripting language (tpot, you may wish to use mprSetPtrChild() in your smb glue code too) (This used to be commit 1c170138a8e82cb42958b88b94a1d567ffa88a92)
2007-10-10r8279: make sure we hold a lock when manipulating the irpc names dbAndrew Tridgell1-1/+21
(This used to be commit 9c408d5d7cb82e910ffb5963ddc78e5759513385)
2007-10-10r8278: this should fix the heimdal h_errno warningsAndrew Tridgell2-2/+10
(This used to be commit 5812e74c4f2b95eec89b434371c86268892feaac)
2007-10-10r8277: filled in the code for finding irpc server ids by name, storing theAndrew Tridgell2-2/+126
names in a tdb (This used to be commit b603a52f27bf90e71d605440d44267dcd94c6939)
2007-10-10r8276: fixed the remaining memory leaks in smbscript. We can now loop doingAndrew Tridgell10-124/+138
lots of rpc calls without memory usage increasing. (This used to be commit 9c885a7edb771486793eb287288158157b34e8f3)
2007-10-10r8275: possibly a more portable way to export symbols in perl?Andrew Tridgell3-6/+9
(This used to be commit d5153d16e1630e85c05a19b2d279bb1100497be5)
2007-10-10r8274: Export some more symbols.Jelmer Vernooij11-145/+184
(This used to be commit d1f754a0a34c5938579a605b4f113100e14bac3d)
2007-10-10r8273: fixed some memory leaks in smbscript. This required convertingAndrew Tridgell10-121/+90
file_load() to use talloc, which impacted quite a few bits of code, including our smb.conf processing. took the opportunity to remove the gloabls in params.c while doing this (This used to be commit b220756cb4f1d201ba3e771ca67e4bfae5eae748)
2007-10-10r8272: added the hooks for adding a name to a messaging context, so we willAndrew Tridgell6-0/+22
be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
2007-10-10r8271: make the ejs test scripts directly executable scripts using:Andrew Tridgell3-1/+6
#!/usr/bin/env smbscript I'll be interested to see how portable this is in the build farm. (This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)
2007-10-10r8270: Export some symbols, making the code more readable.Jelmer Vernooij12-103/+117
(This used to be commit d64bffa17ea1c46d917e362d51741148b85fb97f)
2007-10-10r8269: added automatic testing of rpc calls from ejs in 'make test'Andrew Tridgell4-1/+27
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
2007-10-10r8268: added the 'needed' logic to ehs generation, so we don't generateAndrew Tridgell3-15/+87
functions we don't need. That is a lot of functions, as ejs is only client side, so it only needs push functions for [out] vars, and pull functions for [in] vars added irpc and srvsvc IDL to list of available pipes. (This used to be commit c7a9dbe70a39156a20e56b4dd732fd838437eecd)
2007-10-10r8267: re-generated the yapp parser with correct pathsAndrew Tridgell1-59/+59
(This used to be commit a6922ccd636a343ff13127db0f721e4f9296efb4)
2007-10-10r8266: Update debian packagesJelmer Vernooij7-17/+28
(This used to be commit 35bfb5de6feaeed9854b701b8d38f08a350d91cb)
2007-10-10r8265: Fixes to the pidl test suite.Jelmer Vernooij8-62/+51
(This used to be commit 1235333afbfab643ea35e9b43f6142da3f6a41d7)