kai/samba.git
16 years agor8469: the extra pidl args need to be normal args, not after a --, otherwise pidl...
Andrew Tridgell [Thu, 14 Jul 2005 13:27:18 +0000 (13:27 +0000)]
r8469: the extra pidl args need to be normal args, not after a --, otherwise pidl tries to compile
"--uint-enums" as a IDL file :-)

This should help the build on AIX 5.2

16 years agor8467: using both math.h and float.h breaks popt on freebsd 5.4
Andrew Tridgell [Thu, 14 Jul 2005 13:21:27 +0000 (13:21 +0000)]
r8467: using both math.h and float.h breaks popt on freebsd 5.4

16 years agor8466: it is not portable to assert() a va_list (it breaks on alpha for example)
Andrew Tridgell [Thu, 14 Jul 2005 13:17:14 +0000 (13:17 +0000)]
r8466: it is not portable to assert() a va_list (it breaks on alpha for example)

16 years agor8465: once we define socklen_t, then tell other include files we have it. This preve...
Andrew Tridgell [Thu, 14 Jul 2005 13:14:47 +0000 (13:14 +0000)]
r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it

16 years agor8464: the last few functions needed by irix 6.4.
Andrew Tridgell [Thu, 14 Jul 2005 12:58:48 +0000 (12:58 +0000)]
r8464: the last few functions needed by irix 6.4.

16 years agor8463: more irix fixes. This one adds some missing addrinfo functions
Andrew Tridgell [Thu, 14 Jul 2005 12:34:52 +0000 (12:34 +0000)]
r8463: more irix fixes. This one adds some missing addrinfo functions

16 years agor8462: added a test for %lld support to our snprintf() configure test.
Andrew Tridgell [Thu, 14 Jul 2005 12:16:16 +0000 (12:16 +0000)]
r8462: added a test for %lld support to our snprintf() configure test.

our snprintf replacement code is going to be getting a good workout :)

16 years agor8461: fixed integer64 handling on bit endian platforms. The ejs code used
Andrew Tridgell [Thu, 14 Jul 2005 12:00:31 +0000 (12:00 +0000)]
r8461: fixed integer64 handling on bit endian platforms. The ejs code used
%Ld, which is an invalid format code.

This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms

16 years agor8460: removed the unused function krb5_locate_kdc(). It causes a build failure on...
Andrew Tridgell [Thu, 14 Jul 2005 09:56:27 +0000 (09:56 +0000)]
r8460: removed the unused function krb5_locate_kdc(). It causes a build failure on irix.

Andrew, if you planned on using this in the future then we can put it
back and work out how to make it portable

16 years agor8459: move to the more portable script execution method
Andrew Tridgell [Thu, 14 Jul 2005 09:51:49 +0000 (09:51 +0000)]
r8459: move to the more portable script execution method

16 years agor8458: next target is irix - this gets the socket wrapper code building
Andrew Tridgell [Thu, 14 Jul 2005 09:23:52 +0000 (09:23 +0000)]
r8458: next target is irix - this gets the socket wrapper code building

16 years agor8456: avoid double inclusion of roken.h (this was breaking the build on irix 6.4)
Andrew Tridgell [Thu, 14 Jul 2005 08:50:57 +0000 (08:50 +0000)]
r8456: avoid double inclusion of roken.h (this was breaking the build on irix 6.4)

16 years agor8453: my solaris10 box doesn't have math.h
Andrew Tridgell [Thu, 14 Jul 2005 07:35:48 +0000 (07:35 +0000)]
r8453: my solaris10 box doesn't have math.h

maybe sun isn't very good at maths?

16 years agor8452: allow for the ugly hack:
Andrew Tridgell [Thu, 14 Jul 2005 07:21:59 +0000 (07:21 +0000)]
r8452: allow for the ugly hack:

#!/bin/sh
exec smbscript "$0" ${1+"$@"}

which is needed because bloody solaris puts 'env' in /bin instead of /usr/bin

also neaten up the #! handling code.

16 years agor8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
Andrew Tridgell [Thu, 14 Jul 2005 07:04:21 +0000 (07:04 +0000)]
r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs

its been a long haul ...

16 years agor8450: more configure tests for solaris. It now builds some binaries, but
Andrew Tridgell [Thu, 14 Jul 2005 06:36:19 +0000 (06:36 +0000)]
r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.

16 years agor8449: - search for lex and yacc properly
Andrew Tridgell [Thu, 14 Jul 2005 05:54:32 +0000 (05:54 +0000)]
r8449: - search for lex and yacc properly

- added target specific flags to get the #include order right for
  com_err and asn1 files in heimdal

16 years agor8448: - added a test target for tdb
Andrew Tridgell [Thu, 14 Jul 2005 04:27:55 +0000 (04:27 +0000)]
r8448: - added a test target for tdb

- reduced the torture size so it doesn't kill the build farm hosts

16 years agor8447: fixed make install in the farm
Andrew Tridgell [Thu, 14 Jul 2005 04:00:38 +0000 (04:00 +0000)]
r8447: fixed make install in the farm

16 years agor8446: if provisioning fails then don't try to run the test suite!
Andrew Tridgell [Thu, 14 Jul 2005 03:13:04 +0000 (03:13 +0000)]
r8446: if provisioning fails then don't try to run the test suite!

16 years agor8445: if a system doesn't have "nogroup" then try "nobody"
Andrew Tridgell [Thu, 14 Jul 2005 03:10:17 +0000 (03:10 +0000)]
r8445: if a system doesn't have "nogroup" then try "nobody"

16 years agor8444: make ./configure.mumble CC='ccache cc'
Love Hörnquist Åstrand [Thu, 14 Jul 2005 02:56:18 +0000 (02:56 +0000)]
r8444: make ./configure.mumble CC='ccache cc'
work by using "@$" instead of $*

16 years agor8443: added talloc.3 to the tree to try to allow talloc to build on systems without...
Andrew Tridgell [Thu, 14 Jul 2005 02:44:30 +0000 (02:44 +0000)]
r8443: added talloc.3 to the tree to try to allow talloc to build on systems without xsltproc

16 years agor8442: remove tdbtest from our build. If you want it, then do
Andrew Tridgell [Thu, 14 Jul 2005 02:37:01 +0000 (02:37 +0000)]
r8442: remove tdbtest from our build. If you want it, then do
'make bin/tdbtest' manually in the tdb tree

16 years agor8441: don't build tdbtest by default as there are too many systems that
Andrew Tridgell [Thu, 14 Jul 2005 02:35:51 +0000 (02:35 +0000)]
r8441: don't build tdbtest by default as there are too many systems that
don't have libgdbm, and the configure test for gdbm is broken

16 years agor8440: - several build farm hosts were failing 'make clean' as the list of
Andrew Tridgell [Thu, 14 Jul 2005 01:11:40 +0000 (01:11 +0000)]
r8440: - several build farm hosts were failing 'make clean' as the list of
  objects was overflowing their command line limits. Fix this by using a
  find -exec command. It's slower, but should be more portable.

- remove generated ASN1 files in 'make clean'

16 years agor8439: removed an accidential commit
Andrew Tridgell [Thu, 14 Jul 2005 00:52:12 +0000 (00:52 +0000)]
r8439: removed an accidential commit

16 years agor8438: - More win32 portability fixes. Now fails on socketwrapper (because
Jelmer Vernooij [Wed, 13 Jul 2005 22:11:52 +0000 (22:11 +0000)]
r8438: - More win32 portability fixes. Now fails on socketwrapper (because
unix domain sockets are not available on win32)
- Update howto

16 years agor8437: Win32 doesn't have u_int*_t
Jelmer Vernooij [Wed, 13 Jul 2005 21:54:34 +0000 (21:54 +0000)]
r8437: Win32 doesn't have u_int*_t

16 years agor8436: Check for sys/sockets.h
Jelmer Vernooij [Wed, 13 Jul 2005 21:44:56 +0000 (21:44 +0000)]
r8436: Check for sys/sockets.h

16 years agor8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
Jelmer Vernooij [Wed, 13 Jul 2005 20:44:46 +0000 (20:44 +0000)]
r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
 - undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes

16 years agor8430: readd my hack to display the hashes with -d 100
Stefan Metzmacher [Wed, 13 Jul 2005 15:19:28 +0000 (15:19 +0000)]
r8430: readd my hack to display the hashes with -d 100

metze

16 years agor8429: fix compiler warnings
Stefan Metzmacher [Wed, 13 Jul 2005 15:18:20 +0000 (15:18 +0000)]
r8429: fix compiler warnings

metze

16 years agor8425: add err() and errx() functions needed by for compile_et on some systems
Andrew Tridgell [Wed, 13 Jul 2005 13:55:06 +0000 (13:55 +0000)]
r8425: add err() and errx() functions needed by for compile_et on some systems

16 years agor8424: bring in some more of heimdals m4 macros, and remove the hard-coding of severa...
Andrew Tridgell [Wed, 13 Jul 2005 12:35:21 +0000 (12:35 +0000)]
r8424: bring in some more of heimdals m4 macros, and remove the hard-coding of several test
results

16 years agor8423: remove the dependency on the full roken lib for asn1_compile
Andrew Tridgell [Wed, 13 Jul 2005 12:12:33 +0000 (12:12 +0000)]
r8423: remove the dependency on the full roken lib for asn1_compile

this should fix the -lsocket problem on solaris

16 years agor8422: needed on irix 6.4
Andrew Tridgell [Wed, 13 Jul 2005 11:30:34 +0000 (11:30 +0000)]
r8422: needed on irix 6.4

16 years agor8421: needed for build on solaris10
Andrew Tridgell [Wed, 13 Jul 2005 11:28:37 +0000 (11:28 +0000)]
r8421: needed for build on solaris10

16 years agor8420: slowly getting my way through some more heimdal portability fixes
Andrew Tridgell [Wed, 13 Jul 2005 11:17:32 +0000 (11:17 +0000)]
r8420: slowly getting my way through some more heimdal portability fixes

16 years agor8419: in order to use our replace.h, heimdal needs stdarg.h
Andrew Tridgell [Wed, 13 Jul 2005 11:02:56 +0000 (11:02 +0000)]
r8419: in order to use our replace.h, heimdal needs stdarg.h

16 years agor8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)
Andrew Tridgell [Wed, 13 Jul 2005 10:58:43 +0000 (10:58 +0000)]
r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)

16 years agor8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build
Andrew Tridgell [Wed, 13 Jul 2005 10:22:13 +0000 (10:22 +0000)]
r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of build

16 years agor8416: added the extra_cflags.txt system from smb-build
Andrew Tridgell [Wed, 13 Jul 2005 09:44:55 +0000 (09:44 +0000)]
r8416: added the extra_cflags.txt system from smb-build

this removes the need for recursive make for heimdal, which is a big
win. It should also make it easier/cleaner to build ldb/tdb/appweb etc
in both in-tree and out-of-tree forms by allowing us to specify
different CFLAGS (and thus different include paths) per directory or
file

16 years agor8415: get rid of the last 2 runtime perl scripts
Andrew Tridgell [Wed, 13 Jul 2005 06:08:35 +0000 (06:08 +0000)]
r8415: get rid of the last 2 runtime perl scripts

16 years agor8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.
Tim Potter [Wed, 13 Jul 2005 05:55:28 +0000 (05:55 +0000)]
r8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.

16 years agor8413: mark exprbug() as fixed, and add a new bug
Andrew Tridgell [Wed, 13 Jul 2005 05:32:41 +0000 (05:32 +0000)]
r8413: mark exprbug() as fixed, and add a new bug

16 years agor8412: cope with some lost messages in the ping test (netbsd gets this)
Andrew Tridgell [Wed, 13 Jul 2005 05:31:21 +0000 (05:31 +0000)]
r8412: cope with some lost messages in the ping test (netbsd gets this)

16 years agor8411: we need to use mprVarToNumber() instead of var->integer now, to cope with
Andrew Tridgell [Wed, 13 Jul 2005 05:30:23 +0000 (05:30 +0000)]
r8411: we need to use mprVarToNumber() instead of var->integer now, to cope with
the 64 bit integer support

this fixes the exit status from smbscript

16 years agor8410: converted the newuser script to js
Andrew Tridgell [Wed, 13 Jul 2005 05:29:05 +0000 (05:29 +0000)]
r8410: converted the newuser script to js

16 years agor8409: fixed another error found on netbsd.
Andrew Tridgell [Wed, 13 Jul 2005 03:55:22 +0000 (03:55 +0000)]
r8409: fixed another error found on netbsd.

some of our torture code does its own timeout processing, which means
there is no event timer in the event context. To fix this gererically
I have added a 30 second timout to all select/epoll calls so the
callers timeout loop is guaranteed to run eventually

16 years agor8408: its quite common in our code to free up a connection when we get an
Andrew Tridgell [Wed, 13 Jul 2005 03:25:36 +0000 (03:25 +0000)]
r8408: its quite common in our code to free up a connection when we get an
error, but sometimes a socket option may then happen on the NULL
socket. This has been handled by the individual libraries up to now,
but its cleaner to centralise it here

16 years agor8407: fixed a bug left over from our old socket code.
Andrew Tridgell [Wed, 13 Jul 2005 03:01:26 +0000 (03:01 +0000)]
r8407: fixed a bug left over from our old socket code.

Thanks to lha for giving me a login on a netbsd machine to see this

16 years agor8406: make sure we give an error in ldbAdd() if any record fails
Andrew Tridgell [Wed, 13 Jul 2005 02:16:58 +0000 (02:16 +0000)]
r8406: make sure we give an error in ldbAdd() if any record fails

16 years agor8405: update var.c from upstream
Andrew Tridgell [Wed, 13 Jul 2005 00:47:54 +0000 (00:47 +0000)]
r8405: update var.c from upstream

16 years agor8404: small upstream merges of appweb code
Andrew Tridgell [Wed, 13 Jul 2005 00:43:16 +0000 (00:43 +0000)]
r8404: small upstream merges of appweb code

16 years agor8403: Reinstate linkpad.gif at Deryck's suggestion.
Tim Potter [Wed, 13 Jul 2005 00:43:00 +0000 (00:43 +0000)]
r8403: Reinstate linkpad.gif at Deryck's suggestion.

Install *.gif from swat/images when installing swat.

16 years agor8401: add a readme pointing to the upstream sources
Andrew Tridgell [Wed, 13 Jul 2005 00:17:02 +0000 (00:17 +0000)]
r8401: add a readme pointing to the upstream sources

16 years agor8400: separate out the mpr code, as it is in the upstream appweb sources
Andrew Tridgell [Wed, 13 Jul 2005 00:12:22 +0000 (00:12 +0000)]
r8400: separate out the mpr code, as it is in the upstream appweb sources

16 years agor8399: move the ejs and esp code closer to the directory layout used by the
Andrew Tridgell [Wed, 13 Jul 2005 00:06:38 +0000 (00:06 +0000)]
r8399: move the ejs and esp code closer to the directory layout used by the
upstream sources. This makes it much easier to keep it up to date.

I will separate out the mpr code into lib/appweb/mpr next

16 years agor8397: merged an upstream fix for the expression bug tpot found yesterday
Andrew Tridgell [Tue, 12 Jul 2005 23:49:08 +0000 (23:49 +0000)]
r8397: merged an upstream fix for the expression bug tpot found yesterday

16 years agor8394: Make sure the argument to ctype is*(3) macros are unsigned char as
Love Hörnquist Åstrand [Tue, 12 Jul 2005 22:22:59 +0000 (22:22 +0000)]
r8394: Make sure the argument to ctype is*(3) macros are unsigned char as
required by ISO C99.

16 years agor8393: check for bswap16 and bswap32
Love Hörnquist Åstrand [Tue, 12 Jul 2005 22:20:12 +0000 (22:20 +0000)]
r8393: check for bswap16 and bswap32

16 years agor8390: (smb_pam_start): move variable to scope within #ifdef to avoid warning
Love Hörnquist Åstrand [Tue, 12 Jul 2005 20:56:27 +0000 (20:56 +0000)]
r8390: (smb_pam_start): move variable to scope within #ifdef to avoid warning
for those PAM implementations w/o PAM_RHOST and/or PAM_TTY

16 years agor8377: forgot an ldif test
Simo Sorce [Tue, 12 Jul 2005 13:37:11 +0000 (13:37 +0000)]
r8377: forgot an ldif test

16 years agor8376: remove version info from configure.in
Stefan Metzmacher [Tue, 12 Jul 2005 13:05:50 +0000 (13:05 +0000)]
r8376: remove version info from configure.in

metze

16 years agor8375: - move from netr_StringLarge to lsa_StringLarge
Stefan Metzmacher [Tue, 12 Jul 2005 12:25:50 +0000 (12:25 +0000)]
r8375: - move from netr_StringLarge to lsa_StringLarge

- we need to use lsa_StringLarge in lsa_DnsDomainInfo, to make windows clients happy

metze

16 years agor8374: avoid running flex and bison unless needed
Andrew Tridgell [Tue, 12 Jul 2005 12:12:03 +0000 (12:12 +0000)]
r8374: avoid running flex and bison unless needed

this should stop the files changes in svn for other developers

16 years agor8373: New wildcard matching code.
Simo Sorce [Tue, 12 Jul 2005 12:04:54 +0000 (12:04 +0000)]
r8373: New wildcard matching code.
This code applies correct ldap standard wildcard matching code
removes WILDCARD matching from tdb @ATTRIBUTES, that's now handled independently
adds some more tests for wildcard matching
fixes dn comparison code in ldb_match

16 years agor8372: - split out provisioning logic into a separate ejs library
Andrew Tridgell [Tue, 12 Jul 2005 11:46:34 +0000 (11:46 +0000)]
r8372: - split out provisioning logic into a separate ejs library

- added a provisioning web page

16 years agor8371: the objectGUID is now stored in binary...
Stefan Metzmacher [Tue, 12 Jul 2005 11:45:29 +0000 (11:45 +0000)]
r8371: the objectGUID is now stored in binary...

metze

16 years agor8370: remove the '$' from in the cn: attribute for computer and dc accounts
Stefan Metzmacher [Tue, 12 Jul 2005 10:59:12 +0000 (10:59 +0000)]
r8370: remove the '$' from in the cn: attribute for computer and dc accounts

metze

16 years agor8369: update the configure script I use
Andrew Tridgell [Tue, 12 Jul 2005 10:38:45 +0000 (10:38 +0000)]
r8369: update the configure script I use

16 years agor8368: the type filed depends on the user being present or not
Stefan Metzmacher [Tue, 12 Jul 2005 09:40:34 +0000 (09:40 +0000)]
r8368: the type filed depends on the user being present or not

call ndr_print for each call

metze

16 years agor8367: another configure test needed by netbsd for heimdal
Andrew Tridgell [Tue, 12 Jul 2005 09:31:41 +0000 (09:31 +0000)]
r8367: another configure test needed by netbsd for heimdal

16 years agor8365: fixed a problem on netbsd
Andrew Tridgell [Tue, 12 Jul 2005 09:09:42 +0000 (09:09 +0000)]
r8365: fixed a problem on netbsd

16 years agor8364: fixed a valgrind bug spotted by simo
Andrew Tridgell [Tue, 12 Jul 2005 09:02:58 +0000 (09:02 +0000)]
r8364: fixed a valgrind bug spotted by simo

16 years agor8363: - we need to correct the realm for the krbtgt/NETBIOSDOMAINREALM
Stefan Metzmacher [Tue, 12 Jul 2005 09:02:27 +0000 (09:02 +0000)]
r8363: - we need to correct the realm for the krbtgt/NETBIOSDOMAINREALM
  into krbtgt/DNS.DOMAIN.REALM too
  with this a windows client asks for the correct ticket when you try to login
  (but it's still not working correct, as some how we mess up the dns host name of the
   client and it asks for the wrong service principal)

- fix some compiler wranings
- fix some debug messages

metze

16 years agor8362: change AC_INIT to the new version, improves failure reporting from autoconf
Love Hörnquist Åstrand [Tue, 12 Jul 2005 08:21:09 +0000 (08:21 +0000)]
r8362: change AC_INIT to the new version, improves failure reporting from autoconf

configure: WARNING: sys/mount.h: present but cannot be compiled
[...]
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

configure: WARNING: sys/mount.h: present but cannot be compiled
[...]
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to samba-technical@samba.org ##
configure: WARNING:     ## ---------------------------------------- ##

16 years agor8361: ctype is* macros needs unsigned arguments
Love Hörnquist Åstrand [Tue, 12 Jul 2005 08:17:34 +0000 (08:17 +0000)]
r8361: ctype is* macros needs unsigned arguments

16 years agor8359: fix a shell warning
Stefan Metzmacher [Tue, 12 Jul 2005 08:03:46 +0000 (08:03 +0000)]
r8359: fix a shell warning

metze

16 years agor8358: Return an error message if js include path not set instead of silently
Tim Potter [Tue, 12 Jul 2005 07:17:04 +0000 (07:17 +0000)]
r8358: Return an error message if js include path not set instead of silently
failing.

16 years agor8357: Call lp_load() so we can access the various lp_functions().
Tim Potter [Tue, 12 Jul 2005 07:15:22 +0000 (07:15 +0000)]
r8357: Call lp_load() so we can access the various lp_functions().

16 years agor8356: avoid warning from AC_CHECK_HEADER that file is present but cannot be compiled
Love Hörnquist Åstrand [Tue, 12 Jul 2005 07:12:46 +0000 (07:12 +0000)]
r8356: avoid warning from AC_CHECK_HEADER that file is present but cannot be compiled
for sys/mount.h

16 years agor8355: - added a vsprintf() function
Andrew Tridgell [Tue, 12 Jul 2005 06:57:25 +0000 (06:57 +0000)]
r8355: - added a vsprintf() function

- removed the --outputdir option from provision, as its not used any
  more (as ejs knows the real paths)

16 years agor8354: work around a js bug found by tpot
Andrew Tridgell [Tue, 12 Jul 2005 06:39:36 +0000 (06:39 +0000)]
r8354: work around a js bug found by tpot

16 years agor8353: Use a PNG instead of a GIF for padding. Also fixes a file not found
Tim Potter [Tue, 12 Jul 2005 06:31:17 +0000 (06:31 +0000)]
r8353: Use a PNG instead of a GIF for padding.  Also fixes a file not found
error as only PNG files were being installed by 'make installswat'.

16 years agor8352: we need to override "setup directory" for the build farm hosts
Andrew Tridgell [Tue, 12 Jul 2005 06:17:40 +0000 (06:17 +0000)]
r8352: we need to override "setup directory" for the build farm hosts

16 years agor8351: When finished sending call stream_terminate_connection() with a nice
Tim Potter [Tue, 12 Jul 2005 06:17:19 +0000 (06:17 +0000)]
r8351: When finished sending call stream_terminate_connection() with a nice
message instead of NULL.

Fix up some other terminate messgages to be consistent.

16 years agor8350: fixed the --root option to provision
Andrew Tridgell [Tue, 12 Jul 2005 06:12:52 +0000 (06:12 +0000)]
r8350: fixed the --root option to provision

16 years agor8349: as we don't use standard dirs, we need to create smb.conf before we run provision
Andrew Tridgell [Tue, 12 Jul 2005 06:08:14 +0000 (06:08 +0000)]
r8349: as we don't use standard dirs, we need to create smb.conf before we run provision

16 years agor8348: switch selftest to use the new provision script
Andrew Tridgell [Tue, 12 Jul 2005 06:06:30 +0000 (06:06 +0000)]
r8348: switch selftest to use the new provision script

16 years agor8347: replace the perl provision script with a ejs script
Andrew Tridgell [Tue, 12 Jul 2005 06:02:20 +0000 (06:02 +0000)]
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

16 years agor8346: added a sprintf test suite for ejs
Andrew Tridgell [Tue, 12 Jul 2005 05:58:41 +0000 (05:58 +0000)]
r8346: added a sprintf test suite for ejs

16 years agor8345: make the dn on the hklm ldif valid
Andrew Tridgell [Tue, 12 Jul 2005 05:57:56 +0000 (05:57 +0000)]
r8345: make the dn on the hklm ldif valid

Jelmer, can you check this is OK?

16 years agor8344: added a "setup directory" smb.conf parameter, pointing at the setup template...
Andrew Tridgell [Tue, 12 Jul 2005 05:57:14 +0000 (05:57 +0000)]
r8344: added a "setup directory" smb.conf parameter, pointing at the setup template files

16 years agor8343: removed a debugging message
Andrew Tridgell [Tue, 12 Jul 2005 05:56:38 +0000 (05:56 +0000)]
r8343: removed a debugging message

16 years agor8342: allow ldb_ldif_read_string() to continue in the string, so you can
Andrew Tridgell [Tue, 12 Jul 2005 05:56:06 +0000 (05:56 +0000)]
r8342: allow ldb_ldif_read_string() to continue in the string, so you can
read multiple records

16 years agor8341: enable floating point support in ejs
Andrew Tridgell [Tue, 12 Jul 2005 05:54:21 +0000 (05:54 +0000)]
r8341: enable floating point support in ejs

16 years agor8340: - added sys_gmtime()
Andrew Tridgell [Tue, 12 Jul 2005 05:53:51 +0000 (05:53 +0000)]
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!

16 years agor8339: added ldbAdd(), ldbModify(), ldbDelete() and ldbRename() to ejs ldb functions
Andrew Tridgell [Tue, 12 Jul 2005 02:54:09 +0000 (02:54 +0000)]
r8339: added ldbAdd(), ldbModify(), ldbDelete() and ldbRename() to ejs ldb functions