1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-14 12:23:52 +03:00
Commit Graph

793 Commits

Author SHA1 Message Date
Andrew Tridgell
52db7a052b 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
2007-10-10 13:22:39 -05:00
Stefan Metzmacher
9739aa75d2 r8359: fix a shell warning
metze
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
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
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
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
529370ed92 r8283: make sure we build constant variables for both pull and push side of enums 2007-10-10 13:19:31 -05:00
Andrew Tridgell
1c6b1102e5 r8281: pass the callnum and rpc interface table directly from the generated
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
2007-10-10 13:19:31 -05:00
Andrew Tridgell
d5153d16e1 r8275: possibly a more portable way to export symbols in perl? 2007-10-10 13:19:29 -05:00
Jelmer Vernooij
d1f754a0a3 r8274: Export some more symbols. 2007-10-10 13:19:29 -05:00
Jelmer Vernooij
d64bffa17e r8270: Export some symbols, making the code more readable. 2007-10-10 13:19:28 -05:00
Andrew Tridgell
c7a9dbe70a r8268: added the 'needed' logic to ehs generation, so we don't generate
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.
2007-10-10 13:19:28 -05:00
Andrew Tridgell
a6922ccd63 r8267: re-generated the yapp parser with correct paths 2007-10-10 13:19:28 -05:00
Jelmer Vernooij
1235333afb r8265: Fixes to the pidl test suite. 2007-10-10 13:19:28 -05:00
Jelmer Vernooij
c620095692 r8264: - Use standard perl package structure for pidl.
- Only "use" pidl modules in the main executable when necessary

Try 'make install' in build/pidl to install the package (should work stand-alone).
2007-10-10 13:19:27 -05:00
Jelmer Vernooij
c785677a14 r8263: Some small pidl fixes, start working towards supporting installation of pidl. 2007-10-10 13:19:27 -05:00
Andrew Tridgell
aa0e1d6699 r8261: charset style strings in pidl should be const, just like old style ndr strings 2007-10-10 13:19:27 -05:00
Andrew Tridgell
0e54fa4466 r8260: added an init based registration system for the generated ejs rpc code, so
adding a new pipe only involves changes to librpc/config.mk
2007-10-10 13:19:27 -05:00
Andrew Tridgell
08cf709bc6 r8243: fixed indentation of generated ejs interface code 2007-10-10 13:19:24 -05:00
Andrew Tridgell
0cf8c091a9 r8242: support bitmap constants from ejs calls 2007-10-10 13:19:24 -05:00
Andrew Tridgell
9398b02e4b r8238: - fixed handling of NULL pointers from ejs
- added automatic creation of all constants in IDL as ejs variables
2007-10-10 13:19:23 -05:00
Andrew Tridgell
a8cb2dbdcc r8233: - added support for more base types in pidl ejs
- added auto generation of a header with prototypes for public ejs functions

- make public functions non-static

- fixed allocation of fixed sized arrays

- added 'noejs' flag indicating that a typedef will be handled manually by ejs

- added manual functions for sid and GUID, so they show up as nice
  strings in ejs scripts

This allows ejs to bring in samr, security, lsa and misc IDL functions
2007-10-10 13:19:23 -05:00
Andrew Tridgell
a61cdee384 r8220: added auto-generation of ENUM constants in ejs wrapper. So we can now use the enum name
instead of a integer in ejs scripts making rpc calls
2007-10-10 13:19:21 -05:00
Andrew Tridgell
f3ff48204c r8216: - handle union pull in ejs pidl generation
- added debugging calls for missing structure/union elements
2007-10-10 13:19:20 -05:00
Andrew Tridgell
49fc14d132 r8215: switched the pull side of the ejs generator over to the recursive LEVELS based approach.
This allows for much more complex structure mappings to be generated.
2007-10-10 13:19:20 -05:00
Andrew Tridgell
2e306be1d8 r8213: I've started to understand the LEVELS stuff in pidl much better now,
and have re-coded the push side of the ejs generator to use it
properly. It ends up being very neat and small, and should handle much
more complex structures (like arrays of pointers to unions etc).

Also added push side support for unions. This should get more of the
echo pipe working via ejs.
2007-10-10 13:19:20 -05:00
Stefan Metzmacher
3f0a6efd74 r8203: fix the build temporary,
we also get perl warnings uninitialized value used in ejs.pm line 26

metze
2007-10-10 13:19:19 -05:00
Andrew Tridgell
5f062d7148 r8200: - added stub functions for union pull/push
- kill the js interpreter with an exception on internal errors
2007-10-10 13:19:19 -05:00
Andrew Tridgell
a77c2aa860 r8198: - handled push/pull of simple strings in ejs
- improved the error handling, so the ejs wrappers don't just ignore a type they
  don't handle, instead an exception is issued saying what isn't handled
2007-10-10 13:19:19 -05:00
Andrew Tridgell
fb2639bbc2 r8191: updated the ejs code generator in pidl to generate enough code for
simple rpc calls to work. Still very rough, but its a start.
2007-10-10 13:19:18 -05:00
Stefan Metzmacher
d19068bfb2 r8167: - use the same algorithm than w2k3 for 'unique' pointer values
- add a new 'sptr' (simple-full) pointer type to simulate what we need to support pipes
  like epmapper and mgmt that uses 'ptr' full pointer in their spec

- I runned make test and test_w2k3.sh with this, all fine

does we have any other pipe using 'unique' pointer where we need 'ptr'?

btw: jelmer, what does 'ignore' pointers do? they are allowed in pidl but not implemented!

metze
2007-10-10 13:19:16 -05:00
Andrew Bartlett
8e78830ffc r8162: Revert my pad8 hack.
Andrew Bartlett
2007-10-10 13:19:16 -05:00
Andrew Bartlett
50a54bf4e9 r8110: More PAC work. I still can't get WinXP to accept the PAC, but we are
much closer.

This changes PIDL to allow a subcontext to have a pad8 flag, saying to
pad behind to an 8 byte boundary.  This is the only way I can explain
the 4 trainling zeros in the signature struct.

Far more importantly, the PAC code is now under self-test, both in
creating/parsing our own PAC, but also a PAC from my win2k3 server.
This required changing auth_anonymous, because I wanted to reuse the
anonymous 'server_info' generation code.

I'm still having trouble with PIDL, particulary as surrounds value(),
but I'll follow up on the list.

Andrew Bartlett
2007-10-10 13:19:09 -05:00
Tim Potter
baa8f0836f r8101: Fix some indentation. 2007-10-10 13:19:08 -05:00
Stefan Metzmacher
d04057b932 r8020: - add --with-selftest-prefix option that specify the prefix used in make test
- also we use ./prefix test as default and not `pwd`/prefix-test
  to workaround the path length limit for unix sockets
  ... char sun_path[108]; ...

metze
2007-10-10 13:18:59 -05:00
Andrew Tridgell
e18dc32074 r7977: split up 'make clean' a little more as it is overflowing the command line size limits
on some platforms
2007-10-10 13:18:55 -05:00
Jelmer Vernooij
e8e3524b23 r7958: More debian packaging updates; packages build now with
a few minor issues.

Move ldb manpages one level higher - there is no longer a need to have
subdirectories.
2007-10-10 13:18:54 -05:00
Jelmer Vernooij
fd3f463643 r7943: Add 'make manpages', fix 'make installman' and 'make uninstallman'.
Not part of the "all" make target yet, as it requires xsltproc
2007-10-10 13:18:53 -05:00
Andrew Tridgell
155da538f9 r7923: removed dependence on Data::Dumper
please use util::MyDumper() rather than adding this back in
2007-10-10 13:18:50 -05:00
Andrew Tridgell
8b299e1518 r7896: don't output null rules for blank targets (caued make failure on irix) 2007-10-10 13:18:47 -05:00
Andrew Tridgell
8f0b4ece48 r7895: hopefully this will fix the popt build on solaris 2007-10-10 13:18:46 -05:00
Andrew Tridgell
ac807d0aef r7894: remove portability experiments until its working in the smb-build test project
(this change broke irix)
2007-10-10 13:18:46 -05:00
Stefan Metzmacher
a3439d9365 r7875: try to see if this is portable
metze
2007-10-10 13:18:46 -05:00
Andrew Tridgell
8cdebf5ce3 r7874: reverted metzes patch svn 7837 as it is not portable to make on
several platforms (such as FreeBSD)
2007-10-10 13:18:46 -05:00
Jelmer Vernooij
4eca613470 r7866: Remove some unused autoconf macro calls.
Some of these should probably be re-added again later when
we need them. They should then be added to the appropriate config.m4 file
in the source tree rather then in rewrite.m4.
2007-10-10 13:18:45 -05:00
Andrew Tridgell
eee528be97 r7865: changed pidl to take a "const void *" instead of a "void *" for the
structure in ndr_push_*() and ndr_print_*(). The push and print
functions really should not modify the structure.

metze, to make this work I had to change your spoolss hand
marshaller. Can you please check it is OK? I think that the IN and OUT
sides of that function are not ever called on the same structure, so I
think that attempt at remembering the value by assigning to
r->in._offered was not doing anything anyway, but please correct me if
I have misunderstood it.

If you really do need to remember something on those structures I'd
suggest the ndr_token_store() and ndr_token_retrieve() functions,
which are used by pidl for just this sort of thing.
2007-10-10 13:18:44 -05:00
Stefan Metzmacher
f964e228c9 r7845: remove unused files
and remove all generated files with make distclean and make realdistclean

metze
2007-10-10 13:18:42 -05:00
Stefan Metzmacher
21d930cfc3 r7837: use some more 'make' features
(I just commit this to see how portable it is)

I have a patch that remove the need of the recursiv make
and also fixes the HEIMDAL_EXTERNAL stuff cleanly

metze
2007-10-10 13:18:42 -05:00