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

4095 Commits

Author SHA1 Message Date
Stefan Metzmacher
bb2622a0c9 r5681: fix the build and compiler wanings
metze
2007-10-10 13:11:00 -05:00
Jelmer Vernooij
0d789872a8 r5680: Don't crash if none of the predefined keys is available (reported by Alexander) 2007-10-10 13:10:59 -05:00
Rafal Szczesniak
7278c7d837 r5679: Complete basic test of rpc_composite_userinfo function (which
btw proves the function is completely broken but that's what
tests are for)

rafal
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
e492a2a604 r5678: Torture tests require also libnet in order to run NET-* tests.
rafal
2007-10-10 13:10:59 -05:00
Rafal Szczesniak
ec177c9226 r5677: Split structure definitions from implementation.
rafal
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
a9b13f6701 r5676: Fix some alignment issues and IRemoteActivation 2007-10-10 13:10:59 -05:00
Jelmer Vernooij
f694f484c4 r5675: - More DCOM bug fixes
- Keep COM and DCOM more seperated
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
26d5a0b92c r5674: - Re-enable DCOM support.
- Always put IID in vtables (useful for asserts)
- Add table to keep track of DCOM proxy classes
- Bunch of smaller bug fixes
2007-10-10 13:10:59 -05:00
Jelmer Vernooij
dc6b4ffc82 r5672: Use switch_type() and the token storage mechanism for unions:
- Makes union handling less special
 - Allows unions in arrays, etc
 - Compatible with midl
 - Pidl will warn about switch_type() and the type of the switch_is() variable being different
2007-10-10 13:10:58 -05:00
Jelmer Vernooij
00ef0feadd r5671: Bunch of fixes related to arrays and pointers to arrays. 2007-10-10 13:10:58 -05:00
Simo Sorce
0579b5f7ad r5670: simplify and clarify ldb_modules.c code
rectify the test schema
correct a glitch in schema module
2007-10-10 13:10:58 -05:00
Jelmer Vernooij
09a9222b60 r5669: Couple of minor clearifications, simplifications. 2007-10-10 13:10:58 -05:00
Andrew Bartlett
de02c7c222 r5668: Add tests to RPC-SAMLOGON to test for user@REALM style logins. These
need a NULL domain (or a "" domain, except this breaks NTLMv2, and I
need to look into it a bit more).

Add support to the Samba4 server for these logins.  This will need
extension when we handle trusted domains as a DC, as it is a principal
name, not just another format for the username.

Andrew Bartlett
2007-10-10 13:10:58 -05:00
Andrew Bartlett
69114b4a8e r5667: Move schannel state into libcli/auth (as it belongs with schannel,
which will move in with the rest of GENSEC shortly).

Add the RID as another element in the schannel state.

Andrew Bartlett
2007-10-10 13:10:58 -05:00
Andrew Tridgell
439ce2efbf r5666: winxp will use a NTTIME of -1 to mean "don't change" in setfileinfo
basic_info. Add null_nttime() as the equivalent of the existing
null_time() call for cheecking for valid NTTIME values
2007-10-10 13:10:58 -05:00
Andrew Tridgell
12d03f9663 r5665: the data within el2->values can still be used at this point, so don't free 2007-10-10 13:10:57 -05:00
Andrew Tridgell
19a22f78c2 r5664: simo, please look into this. It is possible for the number of elements
in msg[0] to be 0, in which case we crash. This is a workaround.

Also, if you could please split up this function into readable
pieces. It's a bit of a mess at the moment.
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
54e0be6f1e r5663: Revert some changes I didn't mean to commit... 2007-10-10 13:10:57 -05:00
Jelmer Vernooij
f9e9ff0d8d r5662: eventlog uses dom_sid so it depends on security 2007-10-10 13:10:57 -05:00
Jelmer Vernooij
a416de5825 r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :

 type *name[];

rather then :

 type *name;

which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
2007-10-10 13:10:57 -05:00
Jelmer Vernooij
128c0ecf03 r5660: Reduce number of generated "{}"'s
No longer complain about pointers to arrays - we support those.
2007-10-10 13:10:56 -05:00
Rafal Szczesniak
f061652b75 r5652: Add libnet tests section to torture test.
rafal
2007-10-10 13:10:56 -05:00
Rafal Szczesniak
94955e5325 r5651: A bit more code in userinfo test and hook up test function to
main torture binary.

rafal
2007-10-10 13:10:56 -05:00
Alexander Bokovoy
eb57a58788 r5646: state->loadfile might be NULL after allocation so this is really
should be NT_STATUS_HAVE_NO_MEMORY(state->loadfile) instead of
NT_STATUS_NOT_OK_RETURN(status).
2007-10-10 13:10:56 -05:00
Günther Deschner
46ae4010f2 r5611: Add EnumPrinterDataEx-test (for now just for PrinterDriverData, we need
to enumerate (recursively!) over all keys with EnumPrinterKey later on.

Guenther
2007-10-10 13:10:56 -05:00
Rafal Szczesniak
eb13c1bcfc r5610: Starting libnet test of userinfo call. Unfinished yet, though
doesn't break anything at the moment.

rafal
2007-10-10 13:10:56 -05:00
Stefan Metzmacher
bf40d5321f r5603: add "authservice()" property to the interface property list
so we can specify allowed target service names in the idl file

the default is "host"

metze
2007-10-10 13:10:55 -05:00
Stefan Metzmacher
87ff661703 r5601: add a gsskrb5 backend that uses lorikeet-heimdal's new gssapi with
GSS_C_DCE_STYLE support, it's just a start and does work correctly yet

metze
2007-10-10 13:10:55 -05:00
Jelmer Vernooij
12bfb37e1b r5598: GTK+ cleanups, remove some globals 2007-10-10 13:10:55 -05:00
Simo Sorce
b67512c513 r5588: We currently use a string representing an hex number so conform to that.
But we should move to a signed integer in future to be AD compatible.
2007-10-10 13:10:55 -05:00
Simo Sorce
acb99e63d4 r5587: more work around the samldb module
fix the provision.ldif the layout of the @MODULES dn has changed since last commit
2007-10-10 13:10:55 -05:00
Simo Sorce
d58be9e74b r5585: LDB interfaces change:
changes:
- ldb_wrap disappears from code and become a private structure of db_wrap.c
  thanks to our move to talloc in ldb code, we do not need to expose it anymore

- removal of ldb_close() function form the code
  thanks to our move to talloc in ldb code, we do not need it anymore
  use talloc_free() to close and free an ldb database

- some minor updates to ldb modules code to cope with the change and fix some
  bugs I found out during the process
2007-10-10 13:10:55 -05:00
Simo Sorce
e77a070c84 r5584: add new experimental ldb module 2007-10-10 13:10:55 -05:00
Simo Sorce
d7751e3181 r5583: some more docs 2007-10-10 13:10:54 -05:00
Rafal Szczesniak
e5daf6911b r5576: Bunch of fixes pointed by tridge. A few more to come...
rafal
2007-10-10 13:10:54 -05:00
Tim Potter
eed816e20f r5554: Constants and untested IDL for spoolss_SetPrinter() 2007-10-10 13:10:54 -05:00
Tim Potter
ba4730a378 r5553: Add idl and test for spoolss_AddPort(). It always seems to return
WERR_NOT_SUPPORTED though.
2007-10-10 13:10:54 -05:00
Tim Potter
0e83a306b0 r5552: Don't try to read the value of r.out.result when the dcerpc client
function returns non-OK.  If a non-OK status is returned then some or
all or r.out is likely to be uninitialised.
2007-10-10 13:10:54 -05:00
Tim Potter
c23f767a9f r5551: Protect against falling off the end of the name resolve order list
if a name is not found.
2007-10-10 13:10:54 -05:00
Tim Potter
328f37a3e8 r5550: Initialise retry count - valgrind was freaking out because this value
was not set.
2007-10-10 13:10:54 -05:00
Stefan Metzmacher
6cdc717f3f r5540: - some more input checking in OpenPrinerEx()
- fix EnumPrinters() output

- add dummy EnumPorts

metze
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
98e32260f5 r5539: more bad name checks and don't check for \\localhost and \\127.0.0.1
we maybe use this in the build farm

metze
2007-10-10 13:10:53 -05:00
Alexander Bokovoy
1d033d9dba r5538: Fix typo in comment -- non-existant constant name mentioned 2007-10-10 13:10:53 -05:00
Stefan Metzmacher
14b88ca20d r5537: - make use of bitmaps and enums
- add and fix some PrinterInfo levels

- add and fix some DriverInfo levels

- fix EnumPrinterDriver torture test

the curent RPC-SPOOLSS now passes on w2k3

metze
2007-10-10 13:10:53 -05:00
Jeremy Allison
84f6d2b3dd r5533: Patch to detect infinite loops when traversing a tdb from "Shlomi Yaakobovich" <Shlomi@exanet.com>
Jeremy.
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
81f4afcbfa r5516: NT4 doesn't support GetPrinterDataEx()
metze
2007-10-10 13:10:53 -05:00
Stefan Metzmacher
0f5b0ec349 r5515: fix PrinterInfo3
metze
2007-10-10 13:10:53 -05:00
Jelmer Vernooij
48d54a9b57 r5506: Simplify the use of subcontexts and make them a bit less a special case. 2007-10-10 13:10:52 -05:00
Stefan Metzmacher
bc31e19f38 r5505: make usage of bitmap's :-)
metze
2007-10-10 13:10:52 -05:00
Stefan Metzmacher
2bb29cc68a r5504: fix typo
metze
2007-10-10 13:10:52 -05:00