summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r8349: as we don't use standard dirs, we need to create smb.conf before we ↵Andrew Tridgell2007-10-101-2/+3
| | | | | | run provision (This used to be commit c64a68cd40d644c273528d0433bdf554c11bcf00)
* r8348: switch selftest to use the new provision scriptAndrew Tridgell2007-10-101-1/+4
| | | | (This used to be commit 52517e48ea4e5debdc5e6f4a934ce74833300e5f)
* r8347: replace the perl provision script with a ejs scriptAndrew Tridgell2007-10-102-527/+66
| | | | | | | I don't mind depending on perl at compile time, but I want to avoid depending on it at runtime. This also will make it easy to add web install wizard (This used to be commit f27a68176984c6856fad2e3a028458eb96943f80)
* r8346: added a sprintf test suite for ejsAndrew Tridgell2007-10-101-0/+22
| | | | (This used to be commit 14af014410a9971d447aafe00640407698f63d7f)
* r8345: make the dn on the hklm ldif validAndrew Tridgell2007-10-101-9/+9
| | | | | Jelmer, can you check this is OK? (This used to be commit 6d416656a02d02c6e60d980ba406a4b72e84811b)
* r8344: added a "setup directory" smb.conf parameter, pointing at the setup ↵Andrew Tridgell2007-10-101-0/+4
| | | | | | template files (This used to be commit c842144cbf642b10df21c979d3c4b9fe94384b96)
* r8343: removed a debugging messageAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit c12325e25291a0083446519e0b37c7bcdc3d5433)
* r8342: allow ldb_ldif_read_string() to continue in the string, so you canAndrew Tridgell2007-10-103-5/+8
| | | | | read multiple records (This used to be commit 4b11c00421b5152fd7d4be0be0db983bb310021d)
* r8341: enable floating point support in ejsAndrew Tridgell2007-10-103-2/+7
| | | | (This used to be commit bdc6b67eb27cc3da6d5144bbb71096741f779aba)
* r8340: - added sys_gmtime()Andrew Tridgell2007-10-1010-234/+236
| | | | | | | | | | | | | | | - added sys_unlink() - added sys_file_load() and sys_file_save() - use mprString() instead of mprCreateStringVar() to cope with NULL strings - removed smbcalls_irpc.c as its not needed any more - allow ldbAdd() and ldbModify() to take multiple ldif records - added a sprintf() function to ejs. Quite complex, but very useful! (This used to be commit 625628a3f6e78349d2240ebcc79081f350672070)
* r8339: added ldbAdd(), ldbModify(), ldbDelete() and ldbRename() to ejs ldb ↵Andrew Tridgell2007-10-101-0/+144
| | | | | | functions (This used to be commit 322c2137835ff2d76b3183901bf680780f164b5e)
* r8338: - added a substitute_var() js library function for doing hash drivenAndrew Tridgell2007-10-102-102/+90
| | | | | | | substitution of variables in strings - the js provision script now correctly processes provision.ldif (This used to be commit c2946003e06c4898ba0444cd0b69d3203753be94)
* r8337: - use 64 bit access functions in ejs callsAndrew Tridgell2007-10-109-23/+230
| | | | | | | | | - added access to smbd random functions - fixed ordering in join() - added sys_interfaces(), sys_hostname(), sys_nttime() and sys_ldaptime() (This used to be commit 28c1a1f3c0cd2f8228fd8c3c695ab6f45226fa3f)
* r8336: enable 64 bit integer support in ejsAndrew Tridgell2007-10-103-12/+12
| | | | (This used to be commit 9dd41e78e1d0e5e4007d5063fbcc335abef43718)
* r8335: removed some duplicated codeAndrew Tridgell2007-10-101-9/+5
| | | | (This used to be commit 1536d66662193568a51793d65fb319882db9d089)
* r8334: fixed a ejs bug that prevented functions variables from being called ↵Andrew Tridgell2007-10-101-4/+5
| | | | | | in local context (This used to be commit 5ea7ae70813f615769aff7640cc19005e30ecf12)
* r8333: merged with latest upstream ejs sourcesAndrew Tridgell2007-10-1013-70/+93
| | | | (This used to be commit b0f9ddafe95d4e8d846bc72a39e94d22da271348)
* r8332: not done yet, but a lot closerAndrew Tridgell2007-10-101-41/+175
| | | | (This used to be commit 1d9632877c088837b5c2a7497473e09913775488)
* r8331: added split(), join() and FileLoad() functions to ejs.Andrew Tridgell2007-10-101-0/+103
| | | | | this gets me most of the way through a ejs provision script (This used to be commit 0ef8f0282e0490328bbcdc8c6daff3f8fac99087)
* r8321: Fix some uninitalized variable warningsVolker Lendecke2007-10-103-3/+3
| | | | (This used to be commit 126cb3db4b0cf9c382ba7496ba08311f3b669f00)
* r8320: make sure all our returned objects are full objects, which means theyAndrew Tridgell2007-10-107-16/+23
| | | | | | | have the toString() and valueOf() default attributes this allows all our returned objects to be used in logical expressions (This used to be commit 570f071b1544b497d5f480b8ad50df097fe4c843)
* r8319: the start of a provision script in ejs. This is why I've been addingAndrew Tridgell2007-10-101-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)
* r8318: added a bunch more ejs calls.Andrew Tridgell2007-10-107-4/+249
| | | | | | | | | getgr*() getpw*() strlower() strupper() IfaceList() (This used to be commit 1517ad490dd67302f38ab9dcd8a3b24b73b8d550)
* r8317: convert the example scripts over to the new GetOptions() callAndrew Tridgell2007-10-104-11/+54
| | | | (This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
* r8316: give full access to the popt command line parsing in ejs scripts, ↵Andrew Tridgell2007-10-105-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)
* r8315: fixed the generation of the serial number in the dns zone file (bind9Andrew Tridgell2007-10-102-1/+12
| | | | | doesn't like it being too long) (This used to be commit fc93ade9cdfe97bdcd2383fa256877580707181c)
* r8314: - added an 'installmisc' target for installing miscellaneous files.Andrew Tridgell2007-10-103-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)
* r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with ↵Andrew Tridgell2007-10-102-11/+14
| | | | | | heimdal (This used to be commit 7d4e309f02cfcef661ebf3bbe9c227938318077c)
* r8312: fixed some heimdal header checks from watching the build farm failuresAndrew Tridgell2007-10-102-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)
* r8311: krb5 uses ENOMEM for out of memoryAndrew Tridgell2007-10-101-2/+2
| | | | | (thanks to abartlet for pointing this out) (This used to be commit 4b16754a0e8be312d671d9ae892a8c14462f8d95)
* r8310: replace the heimdal networking interface scanning code with glue code ↵Andrew Tridgell2007-10-104-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)
* r8309: more heimdal configure checks needed for FreeBSDAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit b5e8409e3b046c151996009c2dc980e55f09fb67)
* r8308: use the configured C compiler, instead of forcing gcc in external ↵Andrew Tridgell2007-10-102-2/+2
| | | | | | heimdal tool build (This used to be commit 39c6cf91fb75dc5d7d14922f70b8be8dc15169e1)
* r8307: try to cope with flex and bison not being installed, in a similar ↵Andrew Tridgell2007-10-107-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)
* r8306: some more heimdal configure checksAndrew Tridgell2007-10-104-3/+7
| | | | (This used to be commit 575413fc863147ee46e1ff658af1d74093fc7686)
* r8305: another attempt at getting heimdal building in the farmAndrew Tridgell2007-10-102-3/+9
| | | | (This used to be commit 2cab29c1e730cf2c8d109513bdb9094769e41a2a)
* r8303: a workaround for forcing HEIMDAL_EXTERNAL to build.Andrew Tridgell2007-10-102-2/+2
| | | | | Jelmer, when you get a chance can we discuss how to fix this properly? (This used to be commit 2564cd962b9a972d1ff7d603a9e5ab1c705b2386)
* r8302: import mini HEIMDAL into the treeHeimdal Import User2007-10-10240-0/+75318
| | | | (This used to be commit 118be28a7aef233799956615a99d1a2a74dac175)
* r8301: use ncalrpc: for ejs tests, to avoid name resolution timeouts as smbd ↵Andrew Tridgell2007-10-101-1/+1
| | | | | | is just starting up (This used to be commit c0bf253d4b33e1dd23ce46f867758351ece83755)
* r8300: get the js include path right in selftestAndrew Tridgell2007-10-102-2/+2
| | | | (This used to be commit 0e9e541e1e737f35200d64b31ddb4d468ff19518)
* r8299: make the samr swat test use the samr.js libAndrew Tridgell2007-10-101-2/+3
| | | | (This used to be commit 4d4a062af4ee34c5a3a2027ac1950ae3c8d39447)
* r8298: - started building a library of js routines in scripting/libjs/Andrew Tridgell2007-10-107-158/+111
| | | | | | | - switched the existing test programs over to using the library - added install of js lib (This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
* r8297: add libinclude() function in ejs, which is like include() but ↵Andrew Tridgell2007-10-102-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)
* r8296: - split out the ejs auth functions into a separate fileAndrew Tridgell2007-10-104-121/+148
| | | | | - got rid of the one line ejs_returnlist() (This used to be commit 6961fe29058cffd8e69d9ce7e7d3902f973411c0)
* r8295: turn off the delete on close test in the build farm until someone getsAndrew Tridgell2007-10-102-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)
* r8294: Add PLAN file for samba3->samba4 upgrade (Google Summer of Code) project.Jelmer Vernooij2007-10-101-0/+9
| | | | (This used to be commit 7ebf81adce49d495c4fe8efdbb2e480db541fe35)
* r8289: fallback to the group 'other' for usersAndrew Tridgell2007-10-101-0/+2
| | | | | this might fix the testing on solaris10 (This used to be commit 5adbab0afe85f5f856ab5fcc7a285a22f1752de3)
* r8288: The SMB_ASSERT_ARRAY macro isn't used anymore.Tim Potter2007-10-101-3/+0
| | | | (This used to be commit aab24385ab736f4072e25ad5702ee0aaf4192ecc)
* r8287: yay! finally irpc calls from ejs are all working.Andrew Tridgell2007-10-101-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)
* r8286: it makes more sense to combine the refresh count with the register ↵Andrew Tridgell2007-10-101-1/+0
| | | | | | | count, as they are really the same packet (you can register with a refresh) (This used to be commit 5006528554a70c25fea15966d68b4002850ebb3e)