1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

5205 Commits

Author SHA1 Message Date
Andrew Tridgell
0c534699ef r8074: demonstrate calling echo_AddOne() from ejs 2007-10-10 13:19:05 -05:00
Andrew Tridgell
b1ea58ddc4 r8073: a successful rpc call from ejs!
the ejs_echo.c code is the stuff that needs to be auto-generated by
pidl. It only does echo_AddOne so far.

We also need a table for registering these calls. The code is
hard-wired for echo_AddOne for now.
2007-10-10 13:19:05 -05:00
Andrew Tridgell
c03753faa4 r8071: reduce the size of the default ldb tests. We run on some pretty low powered machines
in the farm, and don't want to chew too much cpu needlessly.
2007-10-10 13:19:05 -05:00
Andrew Tridgell
b9e73fa932 r8070: a (as yet not working) example of how rpc calls might be made from js scripts 2007-10-10 13:19:05 -05:00
Andrew Tridgell
a782541db3 r8069: the beginnings of code to allow rpc calls to be made from ejs
tpot, note that this shows how you can modify passed in MprVar
variables in C call
2007-10-10 13:19:04 -05:00
Andrew Tridgell
4c5974fc3d r8068: reduced the verbosity of the EPM code 2007-10-10 13:19:04 -05:00
Andrew Tridgell
d7d7f7292b r8067: added a method for disabling the password prompt in programs that want
cmdline credentials, but don't want a prompt if none are supplied
2007-10-10 13:19:04 -05:00
Andrew Tridgell
a129501951 r8065: don't run the LOCAL-ICONV test in selftest. It does cross-checking of
the builtin iconv code with the system iconv code, and too many
platforms have broken system iconv code, making it fail in a way that
is meaningless for whether samba will work
2007-10-10 13:19:04 -05:00
Andrew Tridgell
14f51a99bc r8059: fixed handling of delete on close fir directories 2007-10-10 13:19:04 -05:00
Andrew Tridgell
214e51b3c8 r8058: added testing of delete on close for files and directories 2007-10-10 13:19:04 -05:00
Andrew Tridgell
4e14ebf51e r8057: use our defined push/pull types in the validate code (fixes a warning) 2007-10-10 13:19:04 -05:00
Andrew Tridgell
39cfb6f739 r8056: make the realm lowercase in our ldb (better matches w2k3) 2007-10-10 13:19:03 -05:00
Andrew Tridgell
1ba296b9d0 r8055: added canonicalName to our domainDns record 2007-10-10 13:19:03 -05:00
Stefan Metzmacher
47781fccbc r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerData
metze
2007-10-10 13:19:03 -05:00
Andrew Tridgell
c112a2b23e r8053: requests from mmc show that the auth info for a bind should be 4 byte aligned, not
8 byte aligned
2007-10-10 13:19:03 -05:00
Stefan Metzmacher
dad0371a9f r8052: that looks nicer:-)
metze
2007-10-10 13:19:03 -05:00
Andrew Tridgell
dac526845e r8051: separate out the MAX EAs test, as it fills disk too much to be run regularly 2007-10-10 13:19:03 -05:00
Stefan Metzmacher
054e1ca434 r8050: - make use of more [value()] properties
- the out subcontext's need to have a fixed size of r->in.offered,
  to make windows clients happy

metze
2007-10-10 13:19:02 -05:00
Stefan Metzmacher
81abbdaeb1 r8049: add function that returns the build version (of w2k3 here 3790)
metze
2007-10-10 13:19:02 -05:00
Stefan Metzmacher
d8c308a465 r8046: - add somemore failure checks in the RPC-SPOOLSS test
- test AddForm on the PrintServer object

- GetForm() isn't allowed on the PrintServer object so remove NTPTR
  function for it

- accept the dns name as servername in the spoolss server

metze
2007-10-10 13:19:02 -05:00
Stefan Metzmacher
d8175b01db r8045: fix valgrind warning, add zero padding when the string doesn't fill the full FIXLEN
metze
2007-10-10 13:19:02 -05:00
Stefan Metzmacher
fdbf822f1c r8044: give a better error code
metze
2007-10-10 13:19:02 -05:00
Andrew Tridgell
60863b6faf r8043: increase shell compatibility of ldb tests 2007-10-10 13:19:02 -05:00
Stefan Metzmacher
70118e9529 r8042: give better error message
metze
2007-10-10 13:19:02 -05:00
Andrew Tridgell
912fa269d2 r8041: remove a mis-spelled debug message :-) 2007-10-10 13:19:01 -05:00
Andrew Tridgell
3671459d9a r8040: run ldb test suite as part of samba 'make test' 2007-10-10 13:19:01 -05:00
Andrew Tridgell
f3e3b2ccd9 r8039: allow ldb test suite to be run outside of the ldb directory 2007-10-10 13:19:01 -05:00
Andrew Tridgell
7d2bee2c56 r8038: - fixed indexing on binary values that need base64 encoding and canonicalisation
- added support for recognising the S- form of objectsid in search
  expressions. I thought this could be done with just a comparison
  modified comparison function, but it turns out it also needs a
  canonicalisation function so that indexing can work
2007-10-10 13:19:01 -05:00
Andrew Tridgell
944c5844ab r8037: a fairly major update to the internals of ldb. Changes are:
- moved the knowledge of attribute types out of ldb_tdb and into the
   generic ldb code. This allows the ldb_match() message match logic
   to be generic, so it can be used by other backend

 - added the generic ability to load attribute handlers, for
   canonicalisation, compare, ldif read and ldif write. In the future
   this will be used by the schema module to allow us to correctly
   obey the attributetype schema elements

 - added attribute handlers for some of the core ldap attribute types,
   Integer, DirectoryString, DN, ObjectClass etc

 - added automatic registration of attribute handlers for well-known
   attribute names 'cn', 'dc', 'dn', 'ou' and 'objectClass'

 - converted the objectSid special handlers for Samba to the new system

 - added more correct handling of indexing in tdb backend based on the
   attribute canonicalisation function

 - added generic support for subclasses, moving it out of the tdb
   backend. This will be used in future by the schema module

 - fixed several bugs in the dn_explode code. It still needs more
   work, but doesn't corrupt ldb dbs any more.
2007-10-10 13:19:01 -05:00
Stefan Metzmacher
66d6b1d578 r8036: revert rev 8023/8024 as they have a bugs.
metze
2007-10-10 13:19:01 -05:00
Andrew Tridgell
a9c3244503 r8035: added indexing tests. current ldb fails the integer indexing, will be fixed shortly 2007-10-10 13:19:00 -05:00
Andrew Tridgell
ad6e62fdcf r8033: - add easier valgrind testing
- add tests for the @SUBCLASSES ltdb special
2007-10-10 13:19:00 -05:00
Andrew Tridgell
563058e78b r8032: added loop detection into talloc. Robert Collins found a way to make a
memory loop with talloc_unlink(), so now we detect it and handle it
2007-10-10 13:19:00 -05:00
Stefan Metzmacher
a2e34475d7 r8028: fix a crash bug in ulogoff, when the tree_connect failed before
metze
2007-10-10 13:19:00 -05:00
Stefan Metzmacher
078f42bc3f r8024: avoid one memcpy in the ipc_trans dcesrv_output() callback
we now can reference the DATA_BLOB that is used inside the dcesrv subsystem

metze
2007-10-10 13:19:00 -05:00
Stefan Metzmacher
d0574d407f r8023: use a pointer to a DATA_BLOB for each reply,
that will allow the write_fn callback of dcesrv_output()
to reference the memory with a valid TALLOC pointer

metze
2007-10-10 13:19:00 -05:00
Stefan Metzmacher
fe483dcd87 r8021: we only need to return STATUS_BUFFER_OVERFLOW for the ipc_trans replies
and not for the ipc_read() replies as here the client explicit says how much data it wants

the write_fn() in dcesrv_output() now returns NTSTATUS

and the ipc specific implementations are moved to the ntvfs_ipc module

metze
2007-10-10 13:19:00 -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 Bartlett
44b86b7e65 r8016: Get the keyblock arguments correct. (the context struct changed, but
I forgot to update the users)

Andrew Bartlett
2007-10-10 13:18:59 -05:00
Andrew Bartlett
707cf5fba8 r8013: Remember to add the header containing the prototype for the pac
generating function...

Andrew Bartlett
2007-10-10 13:18:59 -05:00
Jelmer Vernooij
6a3f622222 r8012: Add UUID for NDR64 transfer syntax. 2007-10-10 13:18:58 -05:00
Andrew Tridgell
5efea40ea6 r8011: arrgh, commit the right version this time 2007-10-10 13:18:58 -05:00
Andrew Tridgell
25d3872a6e r8010: added testing of wildcard attributes 2007-10-10 13:18:58 -05:00
Andrew Tridgell
5801167c8d r8009: expanded the ldb test suite. It worried me that some changes I have
pending, which I know break lots of features, still passed our test
suite! Now they don't.
2007-10-10 13:18:58 -05:00
Andrew Tridgell
330293ddff r8006: I have seen w2k3 send multiple encoding syntaxes in rpc bind
requests. This is a simple change to accept that, as long as the first
one is NDR.
2007-10-10 13:18:58 -05:00
Andrew Tridgell
2de986455c r8005: escape '"' characters in ldap expressions. Makes scripting easier. 2007-10-10 13:18:58 -05:00
Andrew Tridgell
426c4d08ac r8004: added a maximum EAs size test from Kukks. 2007-10-10 13:18:58 -05:00
Andrew Tridgell
b4f2d17ace r8003: ensure that we don't try to send a trans request with more than 64k data or params 2007-10-10 13:18:57 -05:00
Andrew Tridgell
2fafc23052 r8002: favor addresses on our local interfaces in NBT name resolution if
possible. This is needed because w2k3 will return bogus IPs in its
name resolution replies when it has an unplugged network interface.
2007-10-10 13:18:57 -05:00
Andrew Bartlett
90d0f502da r8001: Also fill in the krbtgt checksum, and make sure to put the right
checksum in the right place...

Andrew Bartlett
2007-10-10 13:18:57 -05:00