samba.git
16 years agor9390: fixed mixing of code and data
Andrew Tridgell [Thu, 18 Aug 2005 12:21:42 +0000 (12:21 +0000)]
r9390: fixed mixing of code and data

16 years agor9389: handle errors reading from files in web server
Andrew Tridgell [Thu, 18 Aug 2005 12:19:16 +0000 (12:19 +0000)]
r9389: handle errors reading from files in web server

bug found by coverity

16 years agor9388: we should fault bad handles given to winreg_GetVersion()
Andrew Tridgell [Thu, 18 Aug 2005 11:16:32 +0000 (11:16 +0000)]
r9388: we should fault bad handles given to winreg_GetVersion()

16 years agor9387: regedit uses "New Key #nn" for newly created keys, which conflicts with the...
Andrew Tridgell [Thu, 18 Aug 2005 11:15:15 +0000 (11:15 +0000)]
r9387: regedit uses "New Key #nn" for newly created keys, which conflicts with the stricter
DN rules in ldb. Escape the DN components to cope.

Simo, sorry for making a change in ldb_dn.c while you have changes
pending. Please feel free to revert these and switch reg_backend_ldb.c
to use the new dn construction code.

16 years agor9386: OpenKey with a bad name must return WERR_BADFILE (w2k3 regedit relies on this)
Andrew Tridgell [Thu, 18 Aug 2005 10:58:05 +0000 (10:58 +0000)]
r9386: OpenKey with a bad name must return WERR_BADFILE (w2k3 regedit relies on this)

16 years agor9385: Remove unused functions
Simo Sorce [Thu, 18 Aug 2005 10:23:53 +0000 (10:23 +0000)]
r9385: Remove unused functions

16 years agor9384: added a debug to show the dcerpc fault code for any calls we fault
Andrew Tridgell [Thu, 18 Aug 2005 10:12:55 +0000 (10:12 +0000)]
r9384: added a debug to show the dcerpc fault code for any calls we fault

16 years agor9383: remove unused file
Andrew Tridgell [Thu, 18 Aug 2005 09:33:03 +0000 (09:33 +0000)]
r9383: remove unused file

16 years agor9382: Add a dummy registry for HKEY_USERS to get rid of the annoying dialog
Tim Potter [Thu, 18 Aug 2005 07:06:19 +0000 (07:06 +0000)]
r9382: Add a dummy registry for HKEY_USERS to get rid of the annoying dialog
presented by regedt32.  I think this hive is dynamically generated
from SAM information.

16 years agor9381: Line wrapping.
Tim Potter [Thu, 18 Aug 2005 07:00:37 +0000 (07:00 +0000)]
r9381: Line wrapping.

16 years agor9379: the valgrind test box is now just going past the max 30 minute smbd
Andrew Tridgell [Thu, 18 Aug 2005 06:19:32 +0000 (06:19 +0000)]
r9379: the valgrind test box is now just going past the max 30 minute smbd
runtime for testing. Increased to 45 minutes.

16 years agor9378: initialise the last_mod attribute in the ldb backend. Better to return
Andrew Tridgell [Thu, 18 Aug 2005 06:14:10 +0000 (06:14 +0000)]
r9378: initialise the last_mod attribute in the ldb backend. Better to return
0 than an uninitialised value, but we should put proper last_modified
time support into the ldb winreg backend in the future

16 years agor9377: made winreg a user tool (I find it quite useful). I expect it to get the ability
Andrew Tridgell [Thu, 18 Aug 2005 05:09:26 +0000 (05:09 +0000)]
r9377: made winreg a user tool (I find it quite useful). I expect it to get the ability
to add/remove keys and values in the future.

add it to the standard tests, ensuring that we know if winreg
breaks. This is particularly important as winreg uses such unusual IDL
constructs

16 years agor9374: HPUX is also missing setegid()
Andrew Tridgell [Thu, 18 Aug 2005 01:57:43 +0000 (01:57 +0000)]
r9374: HPUX is also missing setegid()

16 years agor9373: - create a hierachical memory tree with recursiv ndr_pull_* functions
Stefan Metzmacher [Thu, 18 Aug 2005 01:24:08 +0000 (01:24 +0000)]
r9373: - create a hierachical memory tree with recursiv ndr_pull_* functions
- with this it's also possible to talloc_free() the ndr_pull structure
  and talloc_steal(ndr->current_mem_ctx); to fetch the whole data of the hierachical tree
- if the toplevel struct is a valid talloc pointer it's also possible to use
  NDR_PULL_SET_MEM_CTX(ndr, mem_ctx); to the the toplevel pointer with the struct pointer

(NOTE: no callers are using this yet, but they shortly will)

metze

16 years agor9372: - make the subcontext handling autogenerated code look nicer,
Stefan Metzmacher [Thu, 18 Aug 2005 00:45:19 +0000 (00:45 +0000)]
r9372: - make the subcontext handling autogenerated code look nicer,
- unify the handling of subcontext, compression and obfucation

metze

16 years agor9371: add the usefull trick hack for NT_STATUS_NO_MEMORY too
Stefan Metzmacher [Thu, 18 Aug 2005 00:43:00 +0000 (00:43 +0000)]
r9371: add the usefull trick hack for NT_STATUS_NO_MEMORY too

metze

16 years agor9370: need a configure test for setresuid()
Andrew Tridgell [Thu, 18 Aug 2005 00:31:40 +0000 (00:31 +0000)]
r9370: need a configure test for setresuid()

16 years agor9369: an attempt to fix the build on HPUX. This is based on work by Don
Andrew Tridgell [Thu, 18 Aug 2005 00:20:40 +0000 (00:20 +0000)]
r9369: an attempt to fix the build on HPUX. This is based on work by Don
McCall, but takes a slightly different approach that I hope will be
more generic

16 years agor9360: fixed the IDL for winreg_SetValue()
Andrew Tridgell [Wed, 17 Aug 2005 13:14:40 +0000 (13:14 +0000)]
r9360: fixed the IDL for winreg_SetValue()

16 years agor9359: don't check for size overflow if value is NULL
Andrew Tridgell [Wed, 17 Aug 2005 13:09:42 +0000 (13:09 +0000)]
r9359: don't check for size overflow if value is NULL

this gets viewing the product options in smbd HKLM from w2k3 regedit
working

16 years agor9358: - opening a winreg key of "" is the same as re-opening the hive. The
Andrew Tridgell [Wed, 17 Aug 2005 13:06:05 +0000 (13:06 +0000)]
r9358: - opening a winreg key of "" is the same as re-opening the hive. The
  w2k3 regedit does this.

- w2k3 expects null termination is string lengths

16 years agor9357: Remove DBGC_CLASS cruft copied over from Samba 3. I would like to
Tim Potter [Wed, 17 Aug 2005 12:51:07 +0000 (12:51 +0000)]
r9357: Remove DBGC_CLASS cruft copied over from Samba 3.  I would like to
replace this with something funkier.

16 years agor9356: a better way of coping with NULL arrays in the array bounds checking. This...
Andrew Tridgell [Wed, 17 Aug 2005 12:28:47 +0000 (12:28 +0000)]
r9356: a better way of coping with NULL arrays in the array bounds checking. This copes with the
case of size_is(*size) where size is NULL, and the array is NULL

16 years agor9355: return the EnumKey and EnumValue list we have so far when we get a rpc fault
Andrew Tridgell [Wed, 17 Aug 2005 12:27:28 +0000 (12:27 +0000)]
r9355: return the EnumKey and EnumValue list we have so far when we get a rpc fault

16 years agor9347: this array bounds checking is harder than it looks ...
Andrew Tridgell [Wed, 17 Aug 2005 03:30:45 +0000 (03:30 +0000)]
r9347: this array bounds checking is harder than it looks ...

this copes with 2 more situations:

1) where the array is NULL, which would previously be coped with by a
   if (ptr) check, but now in the deferred array bounds checking needs
   to look at the array variable in the ndr code. Not nice.

2) nest the array checking along with the SCALARS vs BUFFERS checks, ensuring we don't
   do array bounds checking for a buffer when in scalars only mode

16 years agor9346: allow test_ldap.sh to be called when $CONFFILE is not set
Andrew Tridgell [Wed, 17 Aug 2005 02:56:39 +0000 (02:56 +0000)]
r9346: allow test_ldap.sh to be called when $CONFFILE is not set

16 years agor9345: used the data blob functions in the echo.js test code
Andrew Tridgell [Wed, 17 Aug 2005 02:56:07 +0000 (02:56 +0000)]
r9345: used the data blob functions in the echo.js test code

16 years agor9344: started adding calls for manipulation of data blobs in ejs
Andrew Tridgell [Wed, 17 Aug 2005 02:55:31 +0000 (02:55 +0000)]
r9344: started adding calls for manipulation of data blobs in ejs

added:

  blobToArray()
  blobFromArray()
  blobCompare()

16 years agor9342: removed extra libinclude of base.js
Andrew Tridgell [Wed, 17 Aug 2005 02:21:40 +0000 (02:21 +0000)]
r9342: removed extra libinclude of base.js

16 years agor9341: updated the winreg test program to take advantage of the new EnumValue
Andrew Tridgell [Wed, 17 Aug 2005 01:40:14 +0000 (01:40 +0000)]
r9341: updated the winreg test program to take advantage of the new EnumValue
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.

16 years agor9340: print the [in] contents when debugging even if the marshalling
Andrew Tridgell [Wed, 17 Aug 2005 01:30:47 +0000 (01:30 +0000)]
r9340: print the [in] contents when debugging even if the marshalling
failed. This makes it easier to track down marshalling bugs.

16 years agor9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejs
Andrew Tridgell [Wed, 17 Aug 2005 01:29:35 +0000 (01:29 +0000)]
r9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejs
interfaces to RPC. This makes large blobs of data much saner. Tim, you
will probably want to do the same for the smb_interfaces.h generated
code.

Next we will need ways of extracting different data types from these
blobs, for example asking for the blob to be interpreted as a utf16
string, or as a little-endian integer. That will allow for registry
scripting to be quite sane.

16 years agor9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
Andrew Tridgell [Wed, 17 Aug 2005 01:25:58 +0000 (01:25 +0000)]
r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
calls. The previous IDL was just a workaround for the limitations of
our older rpc infrastructure. Now that Jelmer has added much improved
string support using the charset keyword we can correctly implemenent
the unusual winreg string buffers.

Jelmer, note the little comment I put on winreg_StringBuf() about why
I couldn't use [value()] for the length field.

This also fixes EnumKey() and EnumValue() to use NTTIME fields for the
last_changed_time. I don't know why we were using a pair of uint32's,
as it is just a NTTIME.

16 years agor9337: defer the checking of array sizes until the end of the
Andrew Tridgell [Wed, 17 Aug 2005 01:20:22 +0000 (01:20 +0000)]
r9337: defer the checking of array sizes until the end of the
function/structure, as the checks might involve variables that have
not yet been unmarshalled. This is needed to cope with the correct IDL
for the winreg pipe.

Jelmer, can you look at this when you get a chance and see if you
think this is a reasonable approach? Sorry its wrecks the nice
indentation in the generated code.

16 years agor9335: only copy the in side of an array to the out side of an array when the
Andrew Tridgell [Tue, 16 Aug 2005 23:19:17 +0000 (23:19 +0000)]
r9335: only copy the in side of an array to the out side of an array when the
array is a [ref] pointer. For non-ref arrays it is quite valid for a
server to return a larger response array then the client gave (as can
happen with winreg) in which case this memcpy() will fault.

16 years agor9328: Remove background:ThreeDFace from qooxdoo styles to
Deryck Hodge [Tue, 16 Aug 2005 20:00:24 +0000 (20:00 +0000)]
r9328: Remove background:ThreeDFace from qooxdoo styles to
get our samba.org background bacl.

deryck

16 years agor9327: Rename parent to fParent to prevent confusion with window.parent object.
Deryck Hodge [Tue, 16 Aug 2005 19:47:27 +0000 (19:47 +0000)]
r9327: Rename parent to fParent to prevent confusion with window.parent object.
(Thanks, Derrell, for the reminder.)
Rename child to fChild, to be consistent and maintain readability.

deryck

16 years agor9321: Fix potential bug found by Coverity. src_len has to be int but later we do...
Alexander Bokovoy [Tue, 16 Aug 2005 13:22:01 +0000 (13:22 +0000)]
r9321: Fix potential bug found by Coverity. src_len has to be int but later we do pass it as size_t. In case src_len is negative, we need to register a failure and return to the caller

16 years agor9320: Fix premature dereference bug found by Coverty and also get rid of non-used...
Alexander Bokovoy [Tue, 16 Aug 2005 10:57:21 +0000 (10:57 +0000)]
r9320: Fix premature dereference bug found by Coverty and also get rid of non-used memory context

16 years agor9319: updated newuser script for new OO style for nss object
Andrew Tridgell [Tue, 16 Aug 2005 10:52:02 +0000 (10:52 +0000)]
r9319: updated newuser script for new OO style for nss object

thanks to Hotarut for spotting this

16 years agor9318: fix searches with scope ONE and SUB,
Stefan Metzmacher [Tue, 16 Aug 2005 06:55:40 +0000 (06:55 +0000)]
r9318: fix searches with scope ONE and SUB,

the problem was that ldb_dn_compare_base() just looked at if
both dn's mtach some how, and the following happens:

basedn: CN=bar,DC=foo,DC=com
dn: DC=foo,DC=com

and dn: DC=foo,DC=com was return as result of a sub and base search

and also the ONE search with
basedn: DC=foo,DC=com

returned this

dn: CN=bla,CN=bar,DC=foo,DC=com

metze

16 years agor9311: Missing null pointer check in ejsLib
Steve French [Tue, 16 Aug 2005 00:01:25 +0000 (00:01 +0000)]
r9311: Missing  null pointer check in ejsLib

Found by coverity

16 years agor9310: Add two missing return statements after null pointer checks to fix potential...
Steve French [Mon, 15 Aug 2005 23:52:15 +0000 (23:52 +0000)]
r9310: Add two missing return statements after null pointer checks to fix potential oops in kdc code.
Found by coverity.

16 years agor9309: Incorrect null pointer check in return from talloc.
Steve French [Mon, 15 Aug 2005 23:15:59 +0000 (23:15 +0000)]
r9309: Incorrect null pointer check in return from talloc.

Found by coverity.

16 years agor9305: Use the check-var.m4 from roken to really, really detect h_errno correctly.
Andrew Bartlett [Mon, 15 Aug 2005 01:38:21 +0000 (01:38 +0000)]
r9305: Use the check-var.m4 from roken to really, really detect h_errno correctly.

This fixes the build on Fedora Core 4.

Andrew Bartlett

16 years agor9300: cope with zero length in ndr_pull_charset()
Andrew Tridgell [Sat, 13 Aug 2005 03:17:18 +0000 (03:17 +0000)]
r9300: cope with zero length in ndr_pull_charset()

16 years agor9299: fixed the evaluation of pointer expressions that evaluate to boolean
Andrew Tridgell [Sat, 13 Aug 2005 03:16:03 +0000 (03:16 +0000)]
r9299: fixed the evaluation of pointer expressions that evaluate to boolean

16 years agor9298: pull non-array elements before array elements to overcome the problem
Andrew Tridgell [Sat, 13 Aug 2005 03:14:47 +0000 (03:14 +0000)]
r9298: pull non-array elements before array elements to overcome the problem
of arrays that have length_is() or size_is() properties that refer to
later elements

16 years agor9297: Add a NDR_CHECK() around each ejs push/pull.
Tim Potter [Sat, 13 Aug 2005 02:59:56 +0000 (02:59 +0000)]
r9297: Add a NDR_CHECK() around each ejs push/pull.

Some experimentation with the top level function calls.

16 years agor9296: Reinstate generation of push/pull functions for each field in a struct
Tim Potter [Sat, 13 Aug 2005 02:47:14 +0000 (02:47 +0000)]
r9296: Reinstate generation of push/pull functions for each field in a struct
or union.

16 years agor9295: Tridge had some good suggestions for simplifying the smb_interfaces ejs
Tim Potter [Sat, 13 Aug 2005 02:40:02 +0000 (02:40 +0000)]
r9295: Tridge had some good suggestions for simplifying the smb_interfaces ejs
code.  I will try and get just the push/pull functions working rather than
getting in a mess with trying to do everything at once.

16 years agor9292: More compiles fixes for autogenerated smb_interfaces ejs wrappers.
Tim Potter [Sat, 13 Aug 2005 01:42:14 +0000 (01:42 +0000)]
r9292: More compiles fixes for autogenerated smb_interfaces ejs wrappers.

Add some code to try and work out whether a smb_interface requires a
TALLOC_CTX in the function signature.  I'm not sure whether this is
going to work as the raw api is a bit inconsistent I think.

16 years agor9291: Add a stub for smb_raw_lpq() which is in smb_interfaces.h but doesn't
Tim Potter [Sat, 13 Aug 2005 01:15:32 +0000 (01:15 +0000)]
r9291: Add a stub for smb_raw_lpq() which is in smb_interfaces.h but doesn't
seem to be used anywhere yet.

16 years agor9284: Whitespace. (-:
Tim Potter [Fri, 12 Aug 2005 23:01:57 +0000 (23:01 +0000)]
r9284: Whitespace.  (-:

16 years agor9279: In Samba3 debuglevel 10 used to print RPC debugs. I think this should
Tim Potter [Fri, 12 Aug 2005 22:55:53 +0000 (22:55 +0000)]
r9279: In Samba3 debuglevel 10 used to print RPC debugs.  I think this should
apply to Samba4 as well so change the DEBUGLEVEL > 10 to DEBUGLEVEL >= 10.

16 years agor9260: only overwrite destination files when the temp files was created correct
Stefan Metzmacher [Fri, 12 Aug 2005 09:51:40 +0000 (09:51 +0000)]
r9260: only overwrite destination files when the temp files was created correct

metze

16 years agor9258: return is only supported in function, not in plain shell scripts
Stefan Metzmacher [Fri, 12 Aug 2005 09:20:32 +0000 (09:20 +0000)]
r9258: return is only supported in function, not in plain shell scripts

metze

16 years agor9257: - I assume we don't need unistd.h in this file,
Stefan Metzmacher [Fri, 12 Aug 2005 09:05:09 +0000 (09:05 +0000)]
r9257: - I assume we don't need unistd.h in this file,
  that sould fixes the build on aix
- use "" instead of <> for includes in our tree

metze

16 years agor9240: - move struct security_token to the idl file, with this we can
Stefan Metzmacher [Thu, 11 Aug 2005 13:12:45 +0000 (13:12 +0000)]
r9240: - move struct security_token to the idl file, with this we can
  the ndr_pull/push/print functions for it in the ntacl-lsm module

- fix compiler warnings in the ldap_encode_ndr_* code

metze

16 years agor9239: I think this is the right IDL for the eventlog record. Pidl is
Tim Potter [Thu, 11 Aug 2005 04:05:21 +0000 (04:05 +0000)]
r9239: I think this is the right IDL for the eventlog record.  Pidl is
generating incorrect code for arrays of strings here.

16 years agor9238: Some test code to do user-unmarshalling of eventlog_Record data.
Tim Potter [Thu, 11 Aug 2005 04:04:16 +0000 (04:04 +0000)]
r9238: Some test code to do user-unmarshalling of eventlog_Record data.

16 years agor9237: Fix eventlog_Record typedef so it decodes records source and computer
Tim Potter [Thu, 11 Aug 2005 03:31:35 +0000 (03:31 +0000)]
r9237: Fix eventlog_Record typedef so it decodes records source and computer
names.  Need to get working with SIDs and extra data.

16 years agor9235: Remove attribute search we no longer reference.
Andrew Bartlett [Wed, 10 Aug 2005 22:28:37 +0000 (22:28 +0000)]
r9235: Remove attribute search we no longer reference.

Andrew Bartlett

16 years agor9234: Ensure we always change the end of the PAC, no matter what it is. Fix
Andrew Bartlett [Wed, 10 Aug 2005 22:27:55 +0000 (22:27 +0000)]
r9234: Ensure we always change the end of the PAC, no matter what it is.  Fix
typo in comment.

Andrew Bartlett

16 years agor9233: Ensure that the output variable is initialised in this conversion from
Andrew Bartlett [Wed, 10 Aug 2005 22:27:04 +0000 (22:27 +0000)]
r9233: Ensure that the output variable is initialised in this conversion from
error to non-error case.

Andrew Bartlett

16 years agor9232: Rename some objects to make code clear.
Deryck Hodge [Wed, 10 Aug 2005 20:47:03 +0000 (20:47 +0000)]
r9232: Rename some objects to make code clear.

deryck

16 years agor9230: Star out passwords and add confim text input for provisioning.
Deryck Hodge [Wed, 10 Aug 2005 19:25:07 +0000 (19:25 +0000)]
r9230: Star out passwords and add confim text input for provisioning.
Also, add addMethod() to form elements now.

deryck

16 years agor9228: cleanup and simplify the AJAJ code - part 2
Andrew Tridgell [Wed, 10 Aug 2005 07:03:10 +0000 (07:03 +0000)]
r9228: cleanup and simplify the AJAJ code - part 2

16 years agor9227: cleanup and simplify the AJAJ code
Andrew Tridgell [Wed, 10 Aug 2005 06:58:05 +0000 (06:58 +0000)]
r9227: cleanup and simplify the AJAJ code

16 years agor9226: make sure we catch rpc faults in the ejs rpc wrappers
Andrew Tridgell [Wed, 10 Aug 2005 06:55:46 +0000 (06:55 +0000)]
r9226: make sure we catch rpc faults in the ejs rpc wrappers

16 years agor9223: Rename smb_raw_session_setup() to smb_raw_sesssetup().
Tim Potter [Tue, 9 Aug 2005 04:11:09 +0000 (04:11 +0000)]
r9223: Rename smb_raw_session_setup() to smb_raw_sesssetup().

16 years agor9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw function
Tim Potter [Tue, 9 Aug 2005 03:09:47 +0000 (03:09 +0000)]
r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw function
names.

16 years agor9221: Try to merge Heimdal across from lorikeet-heimdal to samba4.
Andrew Bartlett [Tue, 9 Aug 2005 03:04:47 +0000 (03:04 +0000)]
r9221: Try to merge Heimdal across from lorikeet-heimdal to samba4.

This is my first attempt at this, so there may be a few rough edges.

Andrew Bartlett

16 years agor9220: Start trying to get autogenerated code to compile.
Tim Potter [Tue, 9 Aug 2005 00:34:24 +0000 (00:34 +0000)]
r9220: Start trying to get autogenerated code to compile.

 - Split out push/pull of top level elements into separate functions.

 - Remove _t from simple type names.

16 years agor9219: by default be a DC, as the provisioning scripts assume that in other parts
Andrew Tridgell [Mon, 8 Aug 2005 23:44:09 +0000 (23:44 +0000)]
r9219: by default be a DC, as the provisioning scripts assume that in other parts

16 years agor9218: make the winreg library code handle arbitrary paths more efficiently
Andrew Tridgell [Mon, 8 Aug 2005 22:29:44 +0000 (22:29 +0000)]
r9218: make the winreg library code handle arbitrary paths more efficiently
and more conveniently (caller doesn't need to know the hive names now)

16 years agor9217: Add 'make clean' hooks to the ans1 depedency generator.
Andrew Bartlett [Mon, 8 Aug 2005 22:14:40 +0000 (22:14 +0000)]
r9217: Add 'make clean' hooks to the ans1 depedency generator.

To be used by the impending Heimdal resync, which has files starting
with asn1_ that are not generated.

Andrew Bartlett

16 years agor9213: some improvements to the registry editor code
Andrew Tridgell [Mon, 8 Aug 2005 05:26:15 +0000 (05:26 +0000)]
r9213: some improvements to the registry editor code

16 years agor9212: the beginnings of a registry editor in SWAT, using client side javascript...
Andrew Tridgell [Mon, 8 Aug 2005 03:23:20 +0000 (03:23 +0000)]
r9212: the beginnings of a registry editor in SWAT, using client side javascript and AJAJ

This doesn't work at all well yet, mostly because of my inexperience
with client side javascript and what events are available

16 years agor9211: don't try to encode functions in the AJAJ object encoder
Andrew Tridgell [Mon, 8 Aug 2005 03:21:16 +0000 (03:21 +0000)]
r9211: don't try to encode functions in the AJAJ object encoder

16 years agor9210: fixed support for a credentials element in a rpc object in ejs to not
Andrew Tridgell [Mon, 8 Aug 2005 03:20:17 +0000 (03:20 +0000)]
r9210: fixed support for a credentials element in a rpc object in ejs to not
give lots of warnings of missing properties

16 years agor9209: - fixed the ldb registry backend to work with the new provision ldif
Andrew Tridgell [Mon, 8 Aug 2005 03:19:28 +0000 (03:19 +0000)]
r9209: - fixed the ldb registry backend to work with the new provision ldif

- default to ldb backend if none specified

16 years agor9208: fix a crash bug
Stefan Metzmacher [Mon, 8 Aug 2005 02:42:35 +0000 (02:42 +0000)]
r9208: fix a crash bug

metze

16 years agor9207: Start generating ejs_push/pull calls for structure elements.
Tim Potter [Mon, 8 Aug 2005 02:19:35 +0000 (02:19 +0000)]
r9207: Start generating ejs_push/pull calls for structure elements.

16 years agor9205: Generate more stub code for smb_raw ejs functions.
Tim Potter [Mon, 8 Aug 2005 00:24:05 +0000 (00:24 +0000)]
r9205: Generate more stub code for smb_raw ejs functions.

16 years agor9202: OK now we are getting somewhere. Generate js stubs for top level structs
Tim Potter [Sun, 7 Aug 2005 22:14:30 +0000 (22:14 +0000)]
r9202: OK now we are getting somewhere.  Generate js stubs for top level structs
and each arm of top level unions.  Don't generate a header file (duh) as
the namespace stuff is done in the module init.

16 years agor9199: Another go at recursive flattening of structs.
Tim Potter [Sun, 7 Aug 2005 21:10:32 +0000 (21:10 +0000)]
r9199: Another go at recursive flattening of structs.

16 years agor9196: - add a note about the Canonicalize KDCOPtion flag
Stefan Metzmacher [Sun, 7 Aug 2005 20:34:38 +0000 (20:34 +0000)]
r9196: - add a note about the Canonicalize KDCOPtion flag

- add a note about old client using the wrong checksum type for GSSAPI
  in the Authenticator

metze

16 years agor9191: Generate headers for nested structures that need pushing or pulling.
Tim Potter [Sun, 7 Aug 2005 19:22:20 +0000 (19:22 +0000)]
r9191: Generate headers for nested structures that need pushing or pulling.

16 years agor9185: Make second pass over the parser tree and tidy things up to make it a
Tim Potter [Sun, 7 Aug 2005 18:04:34 +0000 (18:04 +0000)]
r9185: Make second pass over the parser tree and tidy things up to make it a
bit easier for the code generator.

16 years agor9183: more workarounds for the global variables in ejs. I will discuss getting rid...
Andrew Tridgell [Sun, 7 Aug 2005 15:45:59 +0000 (15:45 +0000)]
r9183: more workarounds for the global variables in ejs. I will discuss getting rid of these
with the mbedthis people.

16 years agor9179: cope with simultaneous web requests using the same session variable
Andrew Tridgell [Sun, 7 Aug 2005 15:20:25 +0000 (15:20 +0000)]
r9179: cope with simultaneous web requests using the same session variable

16 years agor9178: remove the old server printf code
Andrew Tridgell [Sun, 7 Aug 2005 07:01:03 +0000 (07:01 +0000)]
r9178: remove the old server printf code

16 years agor9177: setup a credentials object in authinfo on login
Andrew Tridgell [Sun, 7 Aug 2005 07:00:27 +0000 (07:00 +0000)]
r9177: setup a credentials object in authinfo on login

16 years agor9176: added a much neater method of calling printf on the server from client side...
Andrew Tridgell [Sun, 7 Aug 2005 07:00:00 +0000 (07:00 +0000)]
r9176: added a much neater method of calling printf on the server from client side js. Just
use srv_printf() and normal printf arguments

16 years agor9175: simplify the example code a bit
Andrew Tridgell [Sun, 7 Aug 2005 06:22:08 +0000 (06:22 +0000)]
r9175: simplify the example code a bit

16 years agor9174: ejs does not include the special variable 'length' in for loops over objects,
Andrew Tridgell [Sun, 7 Aug 2005 06:19:17 +0000 (06:19 +0000)]
r9174: ejs does not include the special variable 'length' in for loops over objects,
so we need to check for it separately in the object lineariser

16 years agor9173: catch ep->local being NULL
Andrew Tridgell [Sun, 7 Aug 2005 06:16:32 +0000 (06:16 +0000)]
r9173: catch ep->local being NULL

16 years agor9172: - fixed a nasty bug in the 'deep copy' mpr code that caused variables
Andrew Tridgell [Sun, 7 Aug 2005 06:16:10 +0000 (06:16 +0000)]
r9172: - fixed a nasty bug in the 'deep copy' mpr code that caused variables
  called 'credentials' to not copy correctly (the bug was in handling
  of chaining in the copy code

- ensure that C pointer variables are copied via a talloc reference so that
  we can persist rpc pipes and credentials between sessions