Tim Potter
f76a7ec2a2
r8357: Call lp_load() so we can access the various lp_functions().
2007-10-10 13:20:11 -05:00
Love Hörnquist Åstrand
f70e8b4f6e
r8356: avoid warning from AC_CHECK_HEADER that file is present but cannot be compiled
...
for sys/mount.h
2007-10-10 13:20:11 -05:00
Andrew Tridgell
abbf9c703c
r8355: - added a vsprintf() function
...
- removed the --outputdir option from provision, as its not used any
more (as ejs knows the real paths)
2007-10-10 13:20:10 -05:00
Andrew Tridgell
1a80850d57
r8352: we need to override "setup directory" for the build farm hosts
2007-10-10 13:20:10 -05:00
Tim Potter
c0428ef337
r8351: When finished sending call stream_terminate_connection() with a nice
...
message instead of NULL.
Fix up some other terminate messgages to be consistent.
2007-10-10 13:20:10 -05:00
Andrew Tridgell
506e07d6e0
r8350: fixed the --root option to provision
2007-10-10 13:20:10 -05:00
Andrew Tridgell
c64a68cd40
r8349: as we don't use standard dirs, we need to create smb.conf before we run provision
2007-10-10 13:20:09 -05:00
Andrew Tridgell
52517e48ea
r8348: switch selftest to use the new provision script
2007-10-10 13:20:09 -05:00
Andrew Tridgell
f27a681769
r8347: replace the perl provision script with a ejs script
...
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
2007-10-10 13:20:09 -05:00
Andrew Tridgell
6d416656a0
r8345: make the dn on the hklm ldif valid
...
Jelmer, can you check this is OK?
2007-10-10 13:20:09 -05:00
Andrew Tridgell
c842144cbf
r8344: added a "setup directory" smb.conf parameter, pointing at the setup template files
2007-10-10 13:20:09 -05:00
Andrew Tridgell
c12325e252
r8343: removed a debugging message
2007-10-10 13:20:09 -05:00
Andrew Tridgell
4b11c00421
r8342: allow ldb_ldif_read_string() to continue in the string, so you can
...
read multiple records
2007-10-10 13:20:08 -05:00
Andrew Tridgell
bdc6b67eb2
r8341: enable floating point support in ejs
2007-10-10 13:20:08 -05:00
Andrew Tridgell
625628a3f6
r8340: - added sys_gmtime()
...
- 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!
2007-10-10 13:20:08 -05:00
Andrew Tridgell
322c213783
r8339: added ldbAdd(), ldbModify(), ldbDelete() and ldbRename() to ejs ldb functions
2007-10-10 13:20:08 -05:00
Andrew Tridgell
c2946003e0
r8338: - added a substitute_var() js library function for doing hash driven
...
substitution of variables in strings
- the js provision script now correctly processes provision.ldif
2007-10-10 13:20:08 -05:00
Andrew Tridgell
28c1a1f3c0
r8337: - use 64 bit access functions in ejs calls
...
- added access to smbd random functions
- fixed ordering in join()
- added sys_interfaces(), sys_hostname(), sys_nttime() and sys_ldaptime()
2007-10-10 13:20:07 -05:00
Andrew Tridgell
9dd41e78e1
r8336: enable 64 bit integer support in ejs
2007-10-10 13:20:07 -05:00
Andrew Tridgell
1536d66662
r8335: removed some duplicated code
2007-10-10 13:20:07 -05:00
Andrew Tridgell
5ea7ae7081
r8334: fixed a ejs bug that prevented functions variables from being called in local context
2007-10-10 13:20:07 -05:00
Andrew Tridgell
b0f9ddafe9
r8333: merged with latest upstream ejs sources
2007-10-10 13:20:07 -05:00
Andrew Tridgell
1d9632877c
r8332: not done yet, but a lot closer
2007-10-10 13:20:07 -05:00
Andrew Tridgell
0ef8f0282e
r8331: added split(), join() and FileLoad() functions to ejs.
...
this gets me most of the way through a ejs provision script
2007-10-10 13:20:06 -05:00
Volker Lendecke
126cb3db4b
r8321: Fix some uninitalized variable warnings
2007-10-10 13:20:06 -05:00
Andrew Tridgell
570f071b15
r8320: make sure all our returned objects are full objects, which means they
...
have the toString() and valueOf() default attributes
this allows all our returned objects to be used in logical expressions
2007-10-10 13:20:06 -05:00
Andrew Tridgell
333b32025f
r8319: the start of a provision script in ejs. This is why I've been adding
...
so many functions lately.
so far it just parses options, works out the host IP, and user and group names
2007-10-10 13:20:06 -05:00
Andrew Tridgell
1517ad490d
r8318: added a bunch more ejs calls.
...
getgr*()
getpw*()
strlower()
strupper()
IfaceList()
2007-10-10 13:20:06 -05:00
Andrew Tridgell
775fb56ac2
r8316: give full access to the popt command line parsing in ejs scripts, 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
2007-10-10 13:20:05 -05:00
Andrew Tridgell
fc93ade9cd
r8315: fixed the generation of the serial number in the dns zone file (bind9
...
doesn't like it being too long)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
7c2e31fd11
r8314: - added an 'installmisc' target for installing miscellaneous files.
...
- 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)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
7d4e309f02
r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with heimdal
2007-10-10 13:20:05 -05:00
Andrew Tridgell
753d7ab715
r8312: fixed some heimdal header checks from watching the build farm failures
...
when we added heimdal we dropped from 10 passing builds to 1, but hopefully
that will go up with a bit of effort
2007-10-10 13:20:05 -05:00
Andrew Tridgell
4b16754a0e
r8311: krb5 uses ENOMEM for out of memory
...
(thanks to abartlet for pointing this out)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
ba621d1c55
r8310: replace the heimdal networking interface scanning code with glue code 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
2007-10-10 13:20:04 -05:00
Andrew Tridgell
b5e8409e3b
r8309: more heimdal configure checks needed for FreeBSD
2007-10-10 13:20:04 -05:00
Andrew Tridgell
39c6cf91fb
r8308: use the configured C compiler, instead of forcing gcc in external heimdal tool build
2007-10-10 13:20:04 -05:00
Andrew Tridgell
6ab503b7cc
r8307: try to cope with flex and bison not being installed, in a similar fashion to yapp for pidl
...
if they are installed, then we rebuild the generated files, otherwise
we use the ones in svn
2007-10-10 13:20:04 -05:00
Andrew Tridgell
575413fc86
r8306: some more heimdal configure checks
2007-10-10 13:20:04 -05:00
Andrew Tridgell
2cab29c1e7
r8305: another attempt at getting heimdal building in the farm
2007-10-10 13:20:03 -05:00
Andrew Tridgell
2564cd962b
r8303: a workaround for forcing HEIMDAL_EXTERNAL to build.
...
Jelmer, when you get a chance can we discuss how to fix this properly?
2007-10-10 13:19:34 -05:00
Heimdal Import User
118be28a7a
r8302: import mini HEIMDAL into the tree
2007-10-10 13:19:33 -05:00
Andrew Tridgell
c0bf253d4b
r8301: use ncalrpc: for ejs tests, to avoid name resolution timeouts as smbd is just starting up
2007-10-10 13:19:33 -05:00
Andrew Tridgell
0e9e541e1e
r8300: get the js include path right in selftest
2007-10-10 13:19:33 -05:00
Andrew Tridgell
2a444dedbe
r8298: - started building a library of js routines in scripting/libjs/
...
- switched the existing test programs over to using the library
- added install of js lib
2007-10-10 13:19:33 -05:00
Andrew Tridgell
ff60529ba2
r8297: add libinclude() function in ejs, which is like include() but 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
2007-10-10 13:19:32 -05:00
Andrew Tridgell
6961fe2905
r8296: - split out the ejs auth functions into a separate file
...
- got rid of the one line ejs_returnlist()
2007-10-10 13:19:32 -05:00
Andrew Tridgell
c1a3691f87
r8295: turn off the delete on close test in the build farm until someone gets
...
a chance to look at it. Having it continually fail is hiding other
portability errors that might have been introduced.
2007-10-10 13:19:32 -05:00
Jelmer Vernooij
7ebf81adce
r8294: Add PLAN file for samba3->samba4 upgrade (Google Summer of Code) project.
2007-10-10 13:19:32 -05:00
Andrew Tridgell
5adbab0afe
r8289: fallback to the group 'other' for users
...
this might fix the testing on solaris10
2007-10-10 13:19:32 -05:00