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

873 Commits

Author SHA1 Message Date
Andrew Tridgell
b47e203a05 r4113: modified EnumValue in winreg to take advantage of the new pidl handling
of arrays.
2007-10-10 13:06:27 -05:00
Andrew Tridgell
659d029531 r4111: fixed winreg to use much simpler (and I believe correct) IDL for QueryValue 2007-10-10 13:06:27 -05:00
Jelmer Vernooij
0fa6d84743 r4105: Fix IDL for QueryValue() and add a torture test for it.
Thanks to Michael Allen for some hints on what was wrong with the previous IDL.
2007-10-10 13:06:27 -05:00
Stefan Metzmacher
4fd57d5e7c r4087: - add idl and torture tests for drsuapi_DsReplicaGetInfo()
(NOTE: that the drsuapi_DsReplicaObjMetaData2 struct is not corrently parsed yet
 and there're some unknown fields left in someother infotypes)

metze
2007-10-10 13:06:25 -05:00
Andrew Tridgell
dcf6c297d3 r4074: make the RAW-ACLS test use the new lsa helper functions to determine
the privileges of the user running the test. This allows the test to
work out what the expected access masks are.
2007-10-10 13:06:23 -05:00
Stefan Metzmacher
b94f92bc66 r4063: - change char * -> uint8_t in struct request_buffer
- change smbcli_read/write to take void * for the buffers to match read(2)/write(2)

all this fixes a lot of gcc-4 warnings

metze
2007-10-10 13:06:21 -05:00
Andrew Tridgell
273165e53a r4061: more additions to the RAW-ACLS test, to help me work out some details for pvfs 2007-10-10 13:06:21 -05:00
Andrew Tridgell
eec698254f r4055: fixed more places to use type safe allocation macros 2007-10-10 13:06:20 -05:00
Andrew Tridgell
0d19b4a09f r4053: expanded and fixed a bug in the RAW-ACLS test 2007-10-10 13:06:18 -05:00
Andrew Tridgell
80d15fa340 r4052: fixed a bunch of code to use the type safe _p allocation macros 2007-10-10 13:06:18 -05:00
Andrew Tridgell
0928b1f5b6 r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile 2007-10-10 13:06:16 -05:00
Andrew Tridgell
f572fe6d29 r4036: expanded the RAW-ACLS torture test to include tests for the
generic->specific access mask mappings, and tests of the behaviour of
SID_CREATOR_OWNER and SEC_FLAG_MAXIMUM_ALLOWED
2007-10-10 13:06:16 -05:00
Andrew Tridgell
17a4e0b3ac r4035: more effort on consistent naming of the access mask bits.
This removes the duplicate named SEC_RIGHTS_MAXIMUM_ALLOWED and
SEC_RIGHTS_FULL_CONTROL, which are just other names for
SEC_FLAG_MAXIMUM_ALLOWED and SEC_RIGHTS_FILE_ALL. The latter names
match the new naming conventions in security.idl

Also added names for the generic->specific mappings for files are
directories
2007-10-10 13:06:16 -05:00
Andrew Tridgell
31a7bddbb3 r4013: got rid of a bunch of unused or unmaintained code
- removed the clitar code. It is unmaintained, and a horribly badly done hack

 - removed client.h as it contained mostly unused definitions

 - removed the unused clidfs.c code
2007-10-10 13:06:15 -05:00
Andrew Tridgell
01c0fa722f r4011: get rid of rpc_secdes.h and replace it with a single sane set of
definitions for security access masks, in security.idl

The previous definitions were inconsistently named, and contained many
duplicate and misleading entries. I kept finding myself tripping up
while using them.
2007-10-10 13:06:13 -05:00
Stefan Metzmacher
5101cd51a2 r4003: run successful against a nt4 sp6 pdc with one nt4 sp6 trust and a w2k3 trust
metze
2007-10-10 13:06:13 -05:00
Stefan Metzmacher
c04a77ed69 r4002: NT 4.0 sp6a can't do schannel 128
metze
2007-10-10 13:06:13 -05:00
Stefan Metzmacher
2783bf393f r4000: DATA_BLOB.data is uint8_t * not void * :-)
(thanks abartlet for telling me)

metze
2007-10-10 13:06:13 -05:00
Günther Deschner
5dde59be09 r3981: Use correct access-mask when querying aliases.
Guenther
2007-10-10 13:06:10 -05:00
Andrew Tridgell
9da455ed56 r3978: added IDL and test code for lsa_LookupSids2() and lsa_LookupNames2() 2007-10-10 13:06:10 -05:00
Andrew Tridgell
27e7fb3baf r3977: fixed the lmPwdHash change in the rpc server (we were not fetching the
lm hash from the samdb, and thus not checking the verifier)

fixed the client side to calculate the lm verifier based on the nt
hash, not the lm hash (confirmed using w2k3)
2007-10-10 13:06:10 -05:00
Andrew Tridgell
aca0658f6d r3976: changed NBENCH to use the same recording method as the latest dbench,
where the warmup phase continues until all clients have done some file
IO. This gives more repeatable results when under high load
2007-10-10 13:06:10 -05:00
Andrew Tridgell
0950681091 r3975: added LFN filesystem attribute bit definition from ethereal
apologies for not committing this earlier
2007-10-10 13:06:10 -05:00
Stefan Metzmacher
523e6acf4f r3972: use GUID_* naming context and move GUID_* functions to one place
metze
2007-10-10 13:06:09 -05:00
Stefan Metzmacher
234166606d r3971: fix compiler warnings
metze
2007-10-10 13:06:09 -05:00
Stefan Metzmacher
3f2c3ce2f0 r3967: fix compiler warnings
metze
2007-10-10 13:06:09 -05:00
Stefan Metzmacher
531c4654e0 r3966: fix compiler warnings
metze
2007-10-10 13:06:09 -05:00
Stefan Metzmacher
e28351f710 r3959: fix compiler warnings
metze
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
45401b757e r3958: fix the build for now
tridge: please fix that!

metze
2007-10-10 13:06:08 -05:00
Andrew Tridgell
9debe29381 r3945: expanded the BASE-PROPERTIES test to print a nicely formatted list of
the capabilities and filesystem attribute bits of the server.
2007-10-10 13:06:07 -05:00
Andrew Tridgell
f0263672fd r3941: make sure we don't keep pounding on a ncacn_ip_tcp connection after it is dead 2007-10-10 13:06:07 -05:00
Andrew Bartlett
90cd7b34cc r3922: Add yet another NETLOGON RPC. This is another varient of SamLogon,
that works only on SCHANNEL secured connections (as it needs the
implicit credentials).

Fix some of the IDL.

Andrew Bartlett
2007-10-10 13:06:06 -05:00
Andrew Bartlett
49c794a6b2 r3921: Cross-test SIDs in RPC-SAMSYNC, fix the build.
Andrew Bartlett
2007-10-10 13:06:06 -05:00
Stefan Metzmacher
625826ad90 r3920: - it seem that we need to send a magic bind_guid in DsBind()
to make DsWriteAccountSpn() work

- add idl and torture test for DsWriteAccountSpn()

metze
2007-10-10 13:06:06 -05:00
Andrew Bartlett
6363553369 r3919: Add more info levels to the QueryTrustedDomainInfo structures, with
names and other assistance from the ethereal sources.

More work needs to be done to validate some of the levels, which do
not appear in the query - perhaps they are modification levels.

Andrew Bartlett
2007-10-10 13:06:05 -05:00
Andrew Bartlett
d6a7ab57e7 r3917: A few more LSA RPCs found in my wanderings (for trusted domains, these
seem to be 'shortcut' RPCs, that just avoid an open/query pair).

Rename a few others to give us a slightly sensible pattern.

Andrew Bartlett
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
62d26e0b91 r3915: a few updates to the DsCrackNames() torture test
metze
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
1ffabbaa66 r3914: add idl, torture test and simple server for netr_DrsGetDCNameEx2()
metze
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
ba67e98835 r3913: fix the build
metze
2007-10-10 13:06:05 -05:00
Andrew Bartlett
f2c86e6194 r3909: Fix cross-reference test for trusted domains.
Andrew Bartlett
2007-10-10 13:06:04 -05:00
Andrew Bartlett
174c077842 r3907: * Rename lsa_Name to lsa_String
* Add new IDL to LSA, to query information about trusted domains (for
  cross-check with SamSync).

Andrew Bartlett
2007-10-10 13:06:04 -05:00
Andrew Bartlett
ed838beddb r3905: (oops, missing file: samsync.c)
* Add new LSA calls to open trusted domains

* Add new tests for ACCOUNTs in SamSync

* Clean up names in NETLOGON and LSA

* Verify Security Descriptors against LSA, as well as SamR

Andrew Bartlett
2007-10-10 13:06:03 -05:00
Andrew Bartlett
7094502fe0 r3904: * Add new LSA calls to open trusted domains
* Add new tests for ACCOUNTs in SamSync

* Clean up names in NETLOGON and LSA

* Verify Security Descriptors against LSA, as well as SamR

Andrew Bartlett
2007-10-10 13:06:03 -05:00
Jelmer Vernooij
98afb504d9 r3898: Work towards local/server DCOM support, start working
on Simple example server side implementation
2007-10-10 13:06:02 -05:00
Jelmer Vernooij
4840eaeed3 r3891: Add rot (Running Object Table) interface 2007-10-10 13:06:02 -05:00
Jeremy Allison
a2ea2166dc r3888: Just proving :-) to tridge that a Setfileinfo with a modified
write time is sticky, and causes any subsequent writes not to update
the last write time. Added write that extends the file followed by
fnum specific smbflush. It stays the same time :-).
Jeremy.
2007-10-10 13:06:02 -05:00
Jeremy Allison
c9211d0847 r3887: Much better understanding of delayed write time, and the interaction
with setfileinfo modifying the write time. I have some ideas on how
to emulate this in the Samba server now but the commented case will
be very hard...
Jeremy.
2007-10-10 13:06:02 -05:00
Jeremy Allison
2e47e241f9 r3886: Trying to understand delayed file write update times. Added another
test that uses 2 connections and queries the time via pathinfo, not fileinfo.
MSDN states : "When writing to a file, the last write time is not fully updated
until all handles used for writing have been closed." - but this is obviously
untrue. W2K3 seems to use a 2 second granularity for this. Next I'll try using
SetFileTime equivalent to see if this takes the same time to take effect.
Jeremy.
2007-10-10 13:06:02 -05:00
Andrew Bartlett
39ae5e1dac r3885: Add security descriptor comparison to our RPC-SAMSYNC test. We now
verify that the security descriptor found in the SamSync is the same
as what is available over SAMR.

Unfortunately, the administrator seems unable to retrieve the SACL on
the security descriptor, so I've added a new function to compare with
a mask.

Andrew Bartlett
2007-10-10 13:06:01 -05:00
Jelmer Vernooij
16d905f6b0 r3881: Split up the LIBNDR_GEN subsystem into NDR_* and RPC_NDR_* subsystems.
This reduces the total size of the samba binaries from 119 Mb to 73 Mb.
Next step will be to have the build system obtain some of this information
by itself, so that we don't have to write ~10 lines per interface manually.
2007-10-10 13:06:01 -05:00