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

1364 Commits

Author SHA1 Message Date
Andrew Tridgell
3e54c36fa4 r11674: SMB2 tree connect now works. We do 2 session setups and 2 tree
connects, giving the following output:

Running SMB2-CONNECT
Negprot reply:
current_time  = Fri Nov 11 20:10:42 2005 EST
boot_time     = Sat Nov 12 10:34:33 2005 EST
Session setup gave UID 0x40000000071
Session setup gave UID 0x140000000075
Tree connect gave tid = 0x7500000001
Tree connect gave tid = 0x7500000005
SMB2-CONNECT took 0.049024 secs
(This used to be commit a24a4c311005dec4c5638e9c7c10e5e2f9872f4d)
2007-10-10 13:46:11 -05:00
Stefan Metzmacher
6c4be5073d r11673: - update the max_version of the owner when we get some records
in the sgroup_merge test, so that we don't see old records as new ones
- finish the owned,sgroup,active vs. sgroup * section

metze
(This used to be commit 534e34a1a1c822e72bf863e8acc396168b849b93)
2007-10-10 13:46:11 -05:00
Stefan Metzmacher
087577e47b r11672: - add support for special group merge tests
- add owned,sgroup,active vs. replica,sgroup,active test

metze
(This used to be commit 938853dc5078a0d647d41177375ec8d35d61628b)
2007-10-10 13:46:11 -05:00
Andrew Tridgell
7a78d2d6b0 r11668: yay! we get a successful session setup with SMB2, and get back a 64bit uid
(This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10 13:46:10 -05:00
Andrew Tridgell
86c1370cb0 r11666: filled in the basic session setup. Vista happily accepts the first
stage of the session setup, and waits for more.
(This used to be commit 804c229c3ba7f866a7f3d66684e268d5ddc820ce)
2007-10-10 13:46:09 -05:00
Andrew Tridgell
555b45e12c r11665: started to put some meat on the structure used for the SMB2 library
the call definitions will be in smb2_calls.h, which will play a
similar role that smb_interfaces.h plays for the old SMB protocol
(This used to be commit 4ef3902a8a99a0b8caa81a07ba07830d7cbbc32c)
2007-10-10 13:46:09 -05:00
Andrew Tridgell
686070a147 r11663: start of a SMB2 torture test. Just does a negprot and prints some fields for now.
test name is SMB2-CONNECT
(This used to be commit 13f27fadca2f74a2486caa7df0fc7662fca16f67)
2007-10-10 13:46:09 -05:00
Andrew Tridgell
b18ed75a75 r11660: - the libcli/raw/ lib no longer uses the SMBCLI_REQUEST_SEND state, or
the associated send queue

- fixed negnowait to not watch for the SMBCLI_REQUEST_SEND state
(This used to be commit d19235ede5d352d0b0373d204f4357dddde5946f)
2007-10-10 13:46:08 -05:00
Andrew Tridgell
042a9958c8 r11639: fixed some create_time tests that should be change_time tests
(This used to be commit c4266c7f688145a9b7da8977aff7fb972b7d0aa4)
2007-10-10 13:46:04 -05:00
Andrew Tridgell
498b2892dd r11638: fixed handling of null volume name in RAW-QFSINFO test
thanks to Stephen Zarkos for finding this
(This used to be commit 8331eee64cb679c091ca46cc001ff9851eb91f0e)
2007-10-10 13:46:04 -05:00
Tim Potter
2c8dcf4177 r11633: Fix some more warnings.
(This used to be commit 89039683db4f2f492b292b32e2dd783e977ae165)
2007-10-10 13:46:02 -05:00
Andrew Tridgell
6481a752a2 r11628: fixed a valgrind error in the rpc echo test
(This used to be commit d340ea7906c091a1400d3e73a8f530174aa8a965)
2007-10-10 13:46:01 -05:00
Tim Potter
0eeedb97a5 r11626: Fix unhandled enum in case statement warnings by noting appropriately
that some values aren't handled.  The remaining warnings I think are
actual bugs or required functionality that is missing (mostly lack of
server side Unix extensions).
(This used to be commit 03c7da27a06736f2a27d76e6a00a24ab54453af9)
2007-10-10 13:46:01 -05:00
Tim Potter
16a9bfd33f r11625: NULL terminate list of strings. For some reason this wasn't causing a
crash on i386 but was on ia64.
(This used to be commit 12c77bb2e17ef3cb3264da86852832dffb5474c1)
2007-10-10 13:46:00 -05:00
Tim Potter
a7f37f0930 r11624: Use enum names instead of magic numbers.
(This used to be commit f177c223e6b881a65ed49ceacf9106e42d2a7d0a)
2007-10-10 13:46:00 -05:00
Stefan Metzmacher
a8d741b4f7 r11554: make us able to run without depending on 127.0.0.1
metze
(This used to be commit 6bae17d279205a0d75f609f6a026b5c99d73cea5)
2007-10-10 13:45:53 -05:00
Andrew Bartlett
918c7634c2 r11543: A major upgrade to our KDC and PAC handling.
We now put the PAC in the AS-REP, so that the client has it in the
TGT.  We then validate it (and re-sign it) on a TGS-REQ, ie when the
client wants a ticket.

This should also allow us to interop with windows KDCs.

If we get an invalid PAC at the TGS stage, we just drop it.

I'm slowly trying to move the application logic out of hdb-ldb.c, and
back in with the rest of Samba's auth system, for consistancy.  This
continues that trend.

Andrew Bartlett
(This used to be commit 36973b1eef7db5983cce76ba241e54d5f925c69c)
2007-10-10 13:45:52 -05:00
Volker Lendecke
f792c4f8f2 r11527: Has this ever been run?
(This used to be commit 419b28d02d6c5a03bd33eaeabf1b42bfab9155dd)
2007-10-10 13:45:49 -05:00
Stefan Metzmacher
4f78115d6d r11489: add the one replication cycle test to NBT-WINSREPLICATION-QUICK
metze
(This used to be commit fc53eab2f1bdae471ee68c4b67f57b1eb0821f61)
2007-10-10 13:45:44 -05:00
Stefan Metzmacher
0a4de40a0b r11488: handle the stupid name release demand a windows there send...
metze
(This used to be commit 1b62959a3dd11fface6642e5843224752e188b4a)
2007-10-10 13:45:44 -05:00
Stefan Metzmacher
b69e508381 r11484: test some multi homed record merging
metze
(This used to be commit 630f571934c1119dc3156a1e4b909fc6d5ae95fc)
2007-10-10 13:45:43 -05:00
Stefan Metzmacher
36729384f3 r11480: demonstrate the only the positive name query response cares,
not the addresses that are returned in it

metze
(This used to be commit 82e19d68086e795d68cd11eda21448f695aac0a3)
2007-10-10 13:45:43 -05:00
Stefan Metzmacher
045e8ca574 r11479: fix compiler warning
metze
(This used to be commit 5f45d070208eedaef59bff5f7e05f37719285d84)
2007-10-10 13:45:42 -05:00
Stefan Metzmacher
580cfbb23a r11478: add owned,active,multi homed vs. * section
metze
(This used to be commit 0231926e0a017bb65a900867a6dee7ca52d7ffe9)
2007-10-10 13:45:42 -05:00
Volker Lendecke
66d3ee9ccb r11473: Based on work by Jelmer, implement the [async] flag for rpc requests. If it's
not there (it's not yet on *any* call... :-)), the rpc client strictly
sequences calls to an rpc pipe. Might need some more work on the exact
sequencing semantics when a pipe with both sync and async calls is actually
deployed, but I want it in for winbind simplification.

Volker
(This used to be commit b8f324e4f000971b7dafc263c16dd4af958ee7f9)
2007-10-10 13:45:41 -05:00
Andrew Tridgell
e8c23e4e2d r11457: fixed the winreg IDL and torture code so key and value enumerations
work again. The automatic value() is fine for the length, but cannot
be used for the size as the size is not the number of bytes being
sent, but the number of bytes that the server is allowed to use in the
reply
(This used to be commit 46e91f269c83707863a726e716325eade38e1142)
2007-10-10 13:45:39 -05:00
Andrew Bartlett
a489c19c45 r11453: Fix warning, for a case that just can't happen.
Andrew Bartlett
(This used to be commit c0ba414a38de7ffa7b2a59c664598e64e911fe7c)
2007-10-10 13:45:38 -05:00
Stefan Metzmacher
187b7a9e53 r11429: - add owned,active,sgroup vs. unique, group and mhomed replica
special group vs. special group will be done later

metze
(This used to be commit 25a35c697795ff802d735cfd3e6c11ea73d92126)
2007-10-10 13:45:36 -05:00
Stefan Metzmacher
18a98ecd7a r11426: add owned,active,normalgroup vs. * replica sections
metze
(This used to be commit 70166bb2a9085e08915fc0f560e660b7edd0c2b3)
2007-10-10 13:45:36 -05:00
Stefan Metzmacher
e173352f1b r11425: add owned,active,unique vs. multi homed section
metze
(This used to be commit a70cf6f87b975861bb7af4080c56f146faf3369d)
2007-10-10 13:45:36 -05:00
Stefan Metzmacher
f07cb3f35f r11419: add owned,unique,active vs. special group replica section
metze
(This used to be commit 061e2e67daeb920b2613564814738adc56c58017)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
bc5e112f5b r11418: - add unique,owned,active vs. normal group section
- we handle incoming release demands for that

metze
(This used to be commit 1db4d8e456895d18a864fa740ec0d8198226cba0)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
4400cf2c31 r11416: add some more comments
metze
(This used to be commit dccaceee182066e15e7a4fd9a5f3f0b2e2beda19)
2007-10-10 13:45:35 -05:00
Stefan Metzmacher
7675309bd7 r11415: - create a seperate nbt socket for handling incoming packets
- remove useless .release attribute, we have seperate tests for this
  now
- add first owned,active vs. replica test, including handling incoming
  name queries from the server

metze
(This used to be commit 7843b6c5c84b7543fd30242e0d5c8414b56fd383)
2007-10-10 13:45:34 -05:00
Andrew Bartlett
9bdc1a77f5 r11407: Push 'recreate account' logic into libnet/libnet_join.c. We don't
return the pesky USER_EXISTS 'error' code any more, and it is much
easier to handle this inline.

Andrew Bartlett
(This used to be commit a7eb796cf544db3fe16986d8e233d2defe7a7d1b)
2007-10-10 13:45:32 -05:00
Andrew Bartlett
b4b155c970 r11406: Clean up uninitialised value warnings found by -01.
The warnings were caused by the structure assignements, which we don't
need to do.  The actual values are filled in by the NDR layer later.

Andrew Bartlett
(This used to be commit f140117535c3281f0a0a7970ea4127498737d112)
2007-10-10 13:45:32 -05:00
Andrew Bartlett
6779373ec4 r11405: Ensure we can never have secret4 be uninitialised. Found after
volker's urging on the use of -O1.

Andrew Bartlett
(This used to be commit 6a7bb391ba62a4f90f57aa76c5dcc0d35fca54a4)
2007-10-10 13:45:32 -05:00
Andrew Bartlett
b1d3d75c68 r11404: Another torture test and a new WERR.
Andrew Bartlett
(This used to be commit de83b8cd187b28ecb30550c44f9f84e373df692e)
2007-10-10 13:45:32 -05:00
Andrew Bartlett
56b4e4b62c r11402: In response to comments by volker, expand our Netlogon DsRGetDCName
IDL and testsuites.  The server-side of this remains a stub, we should
probably be doing ldb searches for the server reference record.

Andrew Bartlett
(This used to be commit 0141ed309a664e7a9893c95232c2dcb9768f9315)
2007-10-10 13:45:31 -05:00
Andrew Bartlett
546f63df5b r11370: Samba4 now passes it's own RPC-SAMLOGON test again.
This avoids the nasty user@DOMAIN test for now, as it has very odd
semantics with NTLMv2.

Allow only user accounts to do an interactive login.

Andrew Bartlett
(This used to be commit 690cad8083e176b2e58fc243a11a003a78ce4074)
2007-10-10 13:45:27 -05:00
Andrew Bartlett
f2d1614906 r11361: Test user@DOMAIN userPrincipalNames
Andrew Bartlett
(This used to be commit 75b002746af3788c71f99854ce983ff807f12b37)
2007-10-10 13:45:24 -05:00
Andrew Bartlett
18e9c49922 r11360: Pass down a flag indicating that this is an 'old password', and to
expect funny buisness.

Andrew Bartlett
(This used to be commit b2810bd702b14375ddc237ba39be0badbae20aa5)
2007-10-10 13:45:24 -05:00
Andrew Bartlett
f003a02ef2 r11359: More lovely cracknames tests...
Andrew Bartlett
(This used to be commit 35cbdd5c9ddb95a78fd56b854edca1b62f118fa7)
2007-10-10 13:45:24 -05:00
Andrew Bartlett
09bfb8ffb0 r11355: Test for error returns when we don't specify the newly discovered
'workstation for account on NTLM' flag.

Andrew Bartlett
(This used to be commit aa5b6cf7c4cabd25655dc11d90d00c5faec67d6c)
2007-10-10 13:45:23 -05:00
Andrew Bartlett
56576de528 r11352: Add newly discovered (via the radiator lists) flags for controlling
plaintext and machine account logins.

Update tests to confirm this behaviour.

Andrew Bartlett
(This used to be commit a0ed41d379f4b15a7f44ca93de9907f02bada163)
2007-10-10 13:45:22 -05:00
Andrew Bartlett
a0dcf1aa1c r11351: Another add-hoc test.
Andrew Bartlett
(This used to be commit 326ffb2cc03bfde37b6fe34779848e9a191198e2)
2007-10-10 13:45:22 -05:00
Stefan Metzmacher
7ec41c9424 r11330: - split up owned,active vs replica and owned,released vs. replica
- complete owned,released tests

metze
(This used to be commit ba82ffb261d5ef59216cec75fb617b4d7022aaee)
2007-10-10 13:45:20 -05:00
Jelmer Vernooij
8ee1ee66ed r11303: Support defining and installing public headers for libraries.
Support installing libraries.
Get rid of pkg-config file (will be autogenerated later on).
(This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10 13:45:16 -05:00
Andrew Bartlett
0511b5df16 r11298: Consolidate the 'short' samlogon tests, and move to using the
credentials system for password -> NTLM translation.

Andrew Bartlett
(This used to be commit d22cbf1b0cae9ca211c916320754d5edfe360c30)
2007-10-10 13:45:15 -05:00
Andrew Bartlett
861fdd902a r11297: Move the RPC-SCHANNEL test to using the credentials system for
converting username/pass into the NTLM responses.

Andrew Bartlett
(This used to be commit 272861b8ede591073cc3a26635fefbc784976764)
2007-10-10 13:45:15 -05:00