1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

2854 Commits

Author SHA1 Message Date
Stefan Metzmacher
5e6f2019f9 r3963: fix conpiler warnings
metze
(This used to be commit 1239076ef77a2970e806f00e262e910777b40692)
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
1814aad561 r3962: fix compiler warnings
metze
(This used to be commit 3bfb732187211d450db842a7533e4c7e915b6ce4)
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
4dc2599dad r3961: - fix compiler warnings
- remove unused typedef

metze
(This used to be commit 19613122a5222b152044b1f86136496b95d4a3e3)
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
5c55901266 r3960: fix compiler warnings
metze
(This used to be commit 54d5b418a75d421a9c6c09bc084454f11e9b7b44)
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
13abb52758 r3959: fix compiler warnings
metze
(This used to be commit e28351f710525ca9863210974544a8b1a537e63a)
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
f342dbe702 r3958: fix the build for now
tridge: please fix that!

metze
(This used to be commit 45401b757e13036b9e8bffce3e7c3695a6da1e9b)
2007-10-10 13:06:08 -05:00
Stefan Metzmacher
b69b4075aa r3957: fix compiler warning
metze
(This used to be commit a6fb416f519688cb012dc9098306bbe5b7950e1d)
2007-10-10 13:06:07 -05:00
Stefan Metzmacher
e547588368 r3956: start to decode the repsFrom and repsTo fileds but not ready
metze
(This used to be commit 44f168c44de908fdf38b39aae8bf10e80206410a)
2007-10-10 13:06:07 -05:00
Andrew Tridgell
a99bf33294 r3953: the lm verifier key in passwoed ChangePasswordUser3 is based on the nt
hash, not the lm hash
(This used to be commit 8d4f0dc7d0745fc86fd43205b21d846acdc1d8c7)
2007-10-10 13:06:07 -05:00
Andrew Tridgell
cf91ad8122 r3952: added validation of the lm and nt verifiers to our server side password change code.
(This used to be commit f70e8f02d6164046781a5d63fa5c0b86b8ab8df9)
2007-10-10 13:06:07 -05:00
Andrew Tridgell
9e5bee246f r3945: expanded the BASE-PROPERTIES test to print a nicely formatted list of
the capabilities and filesystem attribute bits of the server.
(This used to be commit 9debe2938194d686eb9ef46f7e10010490f2a624)
2007-10-10 13:06:07 -05:00
Stefan Metzmacher
8ac9d36f93 r3942: decode the 'replUpToDateVector' blob
metze
(This used to be commit 42b9f0bd476f2175e856ea8f79577eb9eda905e2)
2007-10-10 13:06:07 -05:00
Andrew Tridgell
3fd0f21cd9 r3941: make sure we don't keep pounding on a ncacn_ip_tcp connection after it is dead
(This used to be commit f0263672fd1eb79bfa3a94663de1cea996c92880)
2007-10-10 13:06:07 -05:00
Andrew Tridgell
f2a605eeab r3939: - added "posix:fakeoplocks" option for testing with oplocks forced on
- added support for sticky write times after a setfileinfo, by using a
  write_time field in the DosAttrib xattr structure.
(This used to be commit 4a52fae82d8305e999f94f1947daa21dab54cdfd)
2007-10-10 13:06:06 -05:00
Andrew Tridgell
624f5f1b5c r3938: cleaned some old stuff out of loadparm
(This used to be commit f280770c8184465c364f497b8931e9753f97e970)
2007-10-10 13:06:06 -05:00
Stefan Metzmacher
7e2e2cf9b2 r3927: add idl file for NDR encoded LDAP attributes used for the directory service
metze
(This used to be commit 07803f28863db72a7691766da912878459eec70a)
2007-10-10 13:06:06 -05:00
Stefan Metzmacher
90b06b4ea8 r3926: fix compiler warnings
metze
(This used to be commit a9cbaa3cff470f58031972d53ecb6f5856b187e0)
2007-10-10 13:06:06 -05:00
Andrew Bartlett
21ebf8b942 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
(This used to be commit 90cd7b34cc18e758e939e0183281b7a517d728f0)
2007-10-10 13:06:06 -05:00
Andrew Bartlett
47c3f920db r3921: Cross-test SIDs in RPC-SAMSYNC, fix the build.
Andrew Bartlett
(This used to be commit 49c794a6b215f81fd0dba0e7f6812c647b3d91c7)
2007-10-10 13:06:06 -05:00
Stefan Metzmacher
2f39a9fe62 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
(This used to be commit 625826ad9050c68407ae5e8abfee13699986303c)
2007-10-10 13:06:06 -05:00
Andrew Bartlett
587745e32d 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
(This used to be commit 63635533693fa364b0c697a3fe1010b3eb8b17d3)
2007-10-10 13:06:05 -05:00
Andrew Bartlett
88baaee093 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
(This used to be commit d6a7ab57e74ab89dd163d5f9f5f901e586b0aad4)
2007-10-10 13:06:05 -05:00
Andrew Tridgell
d2a62ab22e r3916: w2k3 does not check the max_setup count in nttrans requests
(This used to be commit 671a864d8f3548b052ffa33fa8fb0bbf3a0e3970)
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
ded4440335 r3915: a few updates to the DsCrackNames() torture test
metze
(This used to be commit 62d26e0b91703d667e94d016e7943b6883130579)
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
e94c88cedc r3914: add idl, torture test and simple server for netr_DrsGetDCNameEx2()
metze
(This used to be commit 1ffabbaa667c7dec6657ec523f92f072a2a47a95)
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
5e2f7e9ae2 r3913: fix the build
metze
(This used to be commit ba67e98835095e940c23d095422e0cd72e105aee)
2007-10-10 13:06:05 -05:00
Stefan Metzmacher
3129264308 r3910: add some error codes
metze
(This used to be commit 64570b7a4734ec1cc56a07e6bd9b20a155a876c0)
2007-10-10 13:06:05 -05:00
Andrew Bartlett
08c4c748a4 r3909: Fix cross-reference test for trusted domains.
Andrew Bartlett
(This used to be commit f2c86e619440c715499a28da5bfe22272458f0af)
2007-10-10 13:06:04 -05:00
Andrew Bartlett
201393fd8b r3908: We know that this field is a flag of some kind, and matches the output on LSA.
Andrew Bartlett
(This used to be commit e3dce0f5be9d43d84d60e8402344dadd079f1e47)
2007-10-10 13:06:04 -05:00
Andrew Bartlett
b6b61cec79 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
(This used to be commit 174c0778421b5154ff2ba809688ea6ef38a1478b)
2007-10-10 13:06:04 -05:00
Stefan Metzmacher
ca751e2638 r3906: fix compiler warnings
metze
(This used to be commit df924e18220aedbfbfae569e1fb37da652914c0b)
2007-10-10 13:06:04 -05:00
Andrew Bartlett
21eecc6282 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
(This used to be commit ed838beddb3cb7b0015313a310303f831ed4f11b)
2007-10-10 13:06:03 -05:00
Andrew Bartlett
be7a3e3ce0 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
(This used to be commit 7094502fe0346255a89667f702289b4c8dc9fa08)
2007-10-10 13:06:03 -05:00
Stefan Metzmacher
aae697b924 r3903: better fix for -r 3902
(not introduce new warnings:-)

metze
(This used to be commit 36b11992dc3b08914db24ec23f10cc8b3eb55320)
2007-10-10 13:06:03 -05:00
Stefan Metzmacher
7aeebaa962 r3902: fix compiler warnings
metze
(This used to be commit ce7686ac3e15b0d52ef01bd8bd773641c8ce2e35)
2007-10-10 13:06:03 -05:00
Stefan Metzmacher
243b314a23 r3901: fix compiler warnings
metze
(This used to be commit efe840c8b0dd599d205068a4946ef587d542f2a5)
2007-10-10 13:06:03 -05:00
Stefan Metzmacher
ac40a16d6a r3900: fix compiler warning
metze
(This used to be commit f2ff50dfc40f7bf329ab83eefcc2cff9e575a84e)
2007-10-10 13:06:03 -05:00
Stefan Metzmacher
2877f415ae r3899: fix compiler warnings
metze
(This used to be commit b1b47bda0177c42687b9c291e4e28ae123fb4eac)
2007-10-10 13:06:03 -05:00
Jelmer Vernooij
cc368fa69e r3898: Work towards local/server DCOM support, start working
on Simple example server side implementation
(This used to be commit 98afb504d95ccca4d6ec48273e10b52ccfa26ad0)
2007-10-10 13:06:02 -05:00
Simo Sorce
a4de8cd6a5 r3897: add a locking infrastructure
(This used to be commit a99c0adb09e2bc77b876d23cb2d0711ccffd83ca)
2007-10-10 13:06:02 -05:00
Jelmer Vernooij
7e3503e277 r3896: Correct header files in rpc server templates plus
some other minor fixes
(This used to be commit 9fca748fe3c12af83a006f1d0821aa560d08fc95)
2007-10-10 13:06:02 -05:00
Jelmer Vernooij
d53fd3d8d5 r3891: Add rot (Running Object Table) interface
(This used to be commit 4840eaeed3cfd72026babb382f26929c29702713)
2007-10-10 13:06:02 -05:00
Jeremy Allison
f55ee60575 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.
(This used to be commit a2ea2166dcb7044d7b9e53417e53febea2f81e20)
2007-10-10 13:06:02 -05:00
Jeremy Allison
c760b8b969 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.
(This used to be commit c9211d084719a16f671b315a9c0bc6ed59fa8c8e)
2007-10-10 13:06:02 -05:00
Jeremy Allison
96ecdf3a33 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.
(This used to be commit 2e47e241f98c3dba8be346cea726def38399eb97)
2007-10-10 13:06:02 -05:00
Andrew Bartlett
5d35fe6f71 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
(This used to be commit 39ae5e1dac31a22086be50fb23261e02be877f3f)
2007-10-10 13:06:01 -05:00
Jelmer Vernooij
d95a256d1b 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.
(This used to be commit 16d905f6b0cbec591eebc44ee2ac9516a5730378)
2007-10-10 13:06:01 -05:00
Stefan Metzmacher
b307f18825 r3876: fix compiler warnings
metze
(This used to be commit 9ad3837dbad6dbf5ee0122be2bbffac325ece9be)
2007-10-10 13:06:00 -05:00
Tim Potter
c20a326752 r3870: Delete wrappers for tdb_lockkeys() and tdb_unlockkeys().
(This used to be commit 5af52c559e731d55ccd019a2b06f486a2f86e6ce)
2007-10-10 13:06:00 -05:00
Stefan Metzmacher
717c8bc795 r3869: in the NDR encoded replPropertyMetaData attribute in ADS
I see a new 64 bit time field which are seconds since 1601,

this will be mapped to NTTIME by th eparsing code

+#define NTTIME_1sec NTTIME

metze
(This used to be commit db35f3b0f99943311ff8b797e8336616dab28220)
2007-10-10 13:05:59 -05:00