Andrew Tridgell
2a9efbdae6
r7229: use socket_pending() to get rid of the max packet size limits in the
...
nbt and dgram layers
2007-10-10 13:17:29 -05:00
Andrew Tridgell
ca3c4e9617
r7228: use socket_pending() instead of the direct ioctl in the messaging code
2007-10-10 13:17:28 -05:00
Andrew Tridgell
f6993db31d
r7227: added a socket_pending() call to abstract away the FIONREAD ioctl. It
...
will be interesting to see if this causes any portability problems, as
it is a less commonly used call.
2007-10-10 13:17:28 -05:00
Andrew Bartlett
678c3f37c7
r7226: Forgot file to disable building the new kdc
...
Andrew Bartlett
2007-10-10 13:17:28 -05:00
Tim Potter
d81d5f8317
r7225: Create a MprVar object from a NTSTATUS, e.g:
...
res: {
is_err: true,
is_ok: false,
errstr: "NT_STATUS_IO_TIMEOUT",
v: -1073741643
}
2007-10-10 13:17:28 -05:00
Simo Sorce
e40c44e9cd
r7224: add some more usefull data to the auth_usersupplied_info struct
2007-10-10 13:17:28 -05:00
Tim Potter
31b9fadbed
r7223: Advance script past interpreter line.
2007-10-10 13:17:27 -05:00
Simo Sorce
615618f192
r7222: remove double call to the same function in the same place, probable cut&paste error
2007-10-10 13:17:27 -05:00
Andrew Bartlett
51ba3ea60c
r7221: Add the start of a KDC service (to be built on a 'libkdc' from a to be
...
included Heimdal) to Samba4.
Andrew Bartlett
2007-10-10 13:17:27 -05:00
Andrew Bartlett
964f0d95bb
r7220: Fix comment
2007-10-10 13:17:27 -05:00
Andrew Bartlett
3dd730fbc8
r7219: Don't allow 'binding' to be used uninitilaised.
...
Andrew Bartlett
2007-10-10 13:17:27 -05:00
Andrew Bartlett
1f68cf7d0e
r7218: Don't use an uninitialised variable in an error message.
...
Andrew Bartlett
2007-10-10 13:17:27 -05:00
Tim Potter
14a2053c04
r7215: Convert smbscript to use ejsEvalScript() and file_load() instead of
...
ejsEvalFile().
Still need to add advancement of the script past the hash-bang line but
it's home time now!!
2007-10-10 13:17:27 -05:00
Tim Potter
7b49711ecb
r7214: Undo my interpreter patch. Tridge thought of a much better way to do it
...
that doesn't involve any changes to ejs at all.
2007-10-10 13:17:26 -05:00
Tim Potter
875c816409
r7213: Add a small bit to the ejs parser to ignore a #!/path/to/interpreter
...
as the first line of the script. This allows smbscript to be used as an
interpreter.
2007-10-10 13:17:26 -05:00
Tim Potter
61537301a3
r7212: Disambiguate dummy functions to avoid linker problemos.
2007-10-10 13:17:26 -05:00
Andrew Tridgell
753839c358
r7211: - use ioctl(FIONREAD) to remove the artificial limit on messaging size
...
- avoid a memcpy
2007-10-10 13:17:26 -05:00
Andrew Tridgell
2369170fc1
r7206: changed the messaging library to use sendto instead of a connected
...
send on the unix domain datagram socket. This gains us about 50% in
speed, and also means that we don't run the risk of running out of
file descriptors due to heavy messaging traffic. We now use a single
file descriptor no matter how many messages are pending to any number
of servers.
2007-10-10 13:17:26 -05:00
Andrew Tridgell
35ef6e3b15
r7205: added support for sendto() on unix domain sockets
2007-10-10 13:17:26 -05:00
Andrew Bartlett
06b1416c31
r7204: Also fall back to different password set methods on WRITE_FAULT, as
...
NT4 apparently returns this.
Andrew Bartlett
2007-10-10 13:17:26 -05:00
Andrew Bartlett
27257170f4
r7203: Fill in the error message and fail if we can't open the secrets database.
...
Andrew Bartlett
2007-10-10 13:17:25 -05:00
Jelmer Vernooij
c04fca198a
r7198: Add IDL for browse service
2007-10-10 13:17:25 -05:00
Stefan Metzmacher
da319b7bc3
r7196: fix typo, that makes the spoolss test working with [validate]
...
([validate,bigendian] is still failing badly...)
metze
2007-10-10 13:17:25 -05:00
Jelmer Vernooij
837c83d77a
r7195: - Fix echo pipe
...
- Don't allocate strings
- Give higher preference to the [out] part of variables when they
are being used by another [out] variable. Also make sure that
[in] variables never use [out] variables (i.e. switch_is() on an
[in] variable can no longer use an [out] variable).
2007-10-10 13:17:25 -05:00
Stefan Metzmacher
d2eb1a6844
r7194: fix pulling of the NDR_IN data, [validate] works for the NDR_IN side now...
...
metze
2007-10-10 13:17:25 -05:00
Stefan Metzmacher
58a214d98f
r7193: add some bail out checks and fix pushing of relative pointers
...
metze
2007-10-10 13:17:25 -05:00
Stefan Metzmacher
870ed3a2b5
r7188: make use of the new relative_base property for the spoolss_Enum* functions
...
metze
2007-10-10 13:17:25 -05:00
Stefan Metzmacher
b9e50a47f1
r7187: fix alignment of unions
...
metze
2007-10-10 13:17:24 -05:00
Stefan Metzmacher
c0dd18326c
r7186: add [relative_base] property, which is allowed on typedef's
...
(maybe we could add them to elements latter...)
with this property all relative pointers from inside the struct or union
are relative to the struct/union start
metze
2007-10-10 13:17:24 -05:00
Stefan Metzmacher
87a3162190
r7185: fix formatting
...
metze
2007-10-10 13:17:24 -05:00
Stefan Metzmacher
95d3286a32
r7184: remove unused ndr_pull/push_struct_start/end() functions
...
metze
2007-10-10 13:17:24 -05:00
Stefan Metzmacher
e9f30ad698
r7183: add some forward declarations ...
...
metze
2007-10-10 13:17:24 -05:00
Stefan Metzmacher
9a4e9f68fb
r7182: remove current support for RELATIVE_CURRENT, this will be replaced with a better aproach later
...
metze
2007-10-10 13:17:23 -05:00
Stefan Metzmacher
539fe32ced
r7181: add functions to calculate the buffer size needed for array buffer in the spoolss_Enum* functions
...
they will be later used in the spoolss server code
metze
2007-10-10 13:17:23 -05:00
Jeremy Allison
997e1405cb
r7180: Missed fixing the shutdown for 1 process...
...
Jeremy.
2007-10-10 13:17:23 -05:00
Stefan Metzmacher
0e1b1c3937
r7179: remove compiler warnings
...
metze
2007-10-10 13:17:23 -05:00
Jeremy Allison
fba9462591
r7178: If we're using one process in NETBENCH simultion only open one
...
connection to the server. Makes valgrind/cachegrind on the server
easier.
Jeremy.
2007-10-10 13:17:23 -05:00
Stefan Metzmacher
aab9b953da
r7177: fill in REMOTE_ADDR correctly
...
metze
2007-10-10 13:17:22 -05:00
Stefan Metzmacher
978f49ced5
r7167: fix the build
...
metze
2007-10-10 13:17:22 -05:00
Jelmer Vernooij
fc7f519e4a
r7166: Move replacement stuff to seperate directory
...
(easier to add win32-specific bits later)
Trim LIBBASIC a bit more
2007-10-10 13:17:22 -05:00
Jelmer Vernooij
3c6e9d0bd0
r7165: Fix pidl tests
2007-10-10 13:17:22 -05:00
Jelmer Vernooij
6731e0a654
r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.
...
- Define __PIDL__ when preprocessing IDL files.
- Remove a couple of useless defines from rpcecho.idl
rpcecho.idl now works in both pidl and midl
(althought pidl is a bit pedantic and gives two warnings)
2007-10-10 13:17:21 -05:00
Jelmer Vernooij
aaf097ec10
r7160: Initial work on an esp function wrapper generator
2007-10-10 13:17:21 -05:00
Jelmer Vernooij
b264c61061
r7159: Improve the messages from pidl's validator module.
...
Change the IDL file for the echo interface to match the one we use for
Windows. The only thing different between the two files currently is the
names of the scalar types and the handling of strings.
2007-10-10 13:17:21 -05:00
Tim Potter
20e1ed965a
r7138: Doh - fix some typos.
2007-10-10 13:17:21 -05:00
Tim Potter
6838607893
r7137: Add a couple more dummy idl files for the DNS server and Windows
...
Terminal Server remote management.
2007-10-10 13:17:21 -05:00
Andrew Tridgell
29ab4cc6cb
r7135: make typeof() complient with ECMA 11.4.3
2007-10-10 13:17:21 -05:00
Derrell Lipman
aa9bb6ad4c
r7133: work in progress, including a HIGHLY revised and simplified schema
2007-10-10 13:17:20 -05:00
Andrew Tridgell
567bb9568c
r7127: allow for recursive ejs functions
2007-10-10 13:17:20 -05:00
Andrew Tridgell
f9f1d85e65
r7124: fixed a bug in array construction (see ECMA standard section 15.4.2.2)
2007-10-10 13:17:19 -05:00