1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

29 Commits

Author SHA1 Message Date
Volker Lendecke
518666fde1 r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
right now.

Volker
(This used to be commit f381232c3ad032fcffb37d68d005e94cb2c95971)
2007-10-10 14:21:03 -05:00
Volker Lendecke
554972d1d2 r19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I thought I
had tested that w2k3 copies the input server name to output.

Volker
(This used to be commit b7e54501f773a11892ab5ef3202ee4d57723725e)
2007-10-10 14:20:57 -05:00
Volker Lendecke
4ead8b391d r19205: Some consolidation
(This used to be commit 6991864a032b136c68190b0f86714cd6c0c14b9f)
2007-10-10 14:20:54 -05:00
Volker Lendecke
b0d8e2d42c r19204: Samba3 does level6 now
(This used to be commit 603ecde9bca4460fb139f5119b9034c8b22f727b)
2007-10-10 14:20:53 -05:00
Volker Lendecke
22abc6b927 r19202: Make RPC-SAMBA3-SPOOLSS work against w2k3 again
(This used to be commit f67a0159d107238a0b2197777fb2d51596f66097)
2007-10-10 14:20:53 -05:00
Volker Lendecke
8f073d3004 r19153: Simple consistency check for enumprinters level 2 as well
(This used to be commit bd50a5929494949af865107551bb637ca9a3d96b)
2007-10-10 14:20:44 -05:00
Volker Lendecke
84a5b72847 r19152: A simple consistency check for enumprinters
(This used to be commit 593b17c8e5678949d8b41d241f522ffb20c6640f)
2007-10-10 14:20:44 -05:00
Volker Lendecke
1344f23546 r19027: Modify RPC-SAMBA3-SPOOLSS so that it can be activated in the build farm
(This used to be commit 7304abe5958fde1940439f7d95da96e16ea4bc57)
2007-10-10 14:20:30 -05:00
Andrew Tridgell
aab0622a75 r18325: more warnings and one compile error on aix fixed
(This used to be commit 6e7e151432a31e48a67679df3966d2227d555317)
2007-10-10 14:18:09 -05:00
Volker Lendecke
2e771a7e1b r17827: Fix an error message
(This used to be commit 4242309d54d201b35e9cc96c0359ded64cf7485a)
2007-10-10 14:16:46 -05:00
Volker Lendecke
545a588536 r17826: Add line numbers to the d_printfs
(This used to be commit 8df16dce4d67c17a24aba934f0d656aa5670e539)
2007-10-10 14:16:45 -05:00
Volker Lendecke
8de6b7bf4f r17624: Samba3 does not yet do getprinterinfo level 6
(This used to be commit 9455b0340f634afa25a5af5ed4ea385212cf95a7)
2007-10-10 14:16:17 -05:00
Volker Lendecke
2dc38416b6 r17205: Even if this makes me look foolish, at least start to scratch on the surface
of spoolss. If snum is to be removed, then we should make at least the attempt
to walk parts of the code before and after the changes.

This walks GetPrinterInfo level 0-7.

Volker
(This used to be commit 0c05f571a0eda2412896f340b7c751cf7cbdbd2a)
2007-10-10 14:10:18 -05:00
Volker Lendecke
7718ef4c66 r17187: Beginnings of a little lsa walker for Samba3, if only to prevent the
regression we had in 3.0.23...

Volker
(This used to be commit 0236f3b41a4f9015f8551ffb67db59fa48212bf5)
2007-10-10 14:10:17 -05:00
Andrew Bartlett
b38fca6e2d r17104: Rename function parameters and variables to avoid shadowing global
declarations.

Andrew Bartlett
(This used to be commit 15dd43b77328c4d56438bdb34b3e8139c5a83878)
2007-10-10 14:10:13 -05:00
Stefan Metzmacher
bca8f2d568 r17085: reuse the existing sec_desc_buf struct
metze
(This used to be commit 22463cbcdd159657d04657071451738e768d0b2a)
2007-10-10 14:10:12 -05:00
Volker Lendecke
152ea280f1 r17082: Add a test that walks and tests denying tconX access via the share security
descriptor. This is something that W2k3 does _not_ pass and probably is not
expected to, it seems the don't check access at tconX time.

Thanks to metze for the hint how in the srvsvc_NetShareInfo1501 struct the
length of the sd can be encoded in idl.

As metze says, there's probably more to the share secdesc, this needs more
testing. This one is here to walk the samba3 code.

Volker
(This used to be commit 67185508229a8d7f144c22cb194f573c932d6de5)
2007-10-10 14:10:11 -05:00
Volker Lendecke
f139daccf7 r17074: Extend the rpc-samba3-getusername test: This creates a normal user and we
check if we can actually see the user SID on a fresh sessionsetup.

This also gives us the simple create_user, which can lead to more fun tests
:-)

Volker
(This used to be commit 92afe1156915ab6c7e21380000bdad93414d0829)
2007-10-10 14:10:11 -05:00
Volker Lendecke
32b7198256 r17069: Make us pass RPC-NETLOGSAMBA3 against w2k3 again
(This used to be commit 963878a5f394234229af5835b2ccdd6d4b369466)
2007-10-10 14:10:10 -05:00
Volker Lendecke
803e5ef031 r17065: NT4 does not like "0" here, W2k3 does not care...
(This used to be commit 4f13b7d53c0f177cfd2a0d00ee14de3fce12d9bf)
2007-10-10 14:10:10 -05:00
Volker Lendecke
41c571e659 r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Found that because I want to play around with setsharesecurity, for this I
need the "whoami" call figuring out the SID of the currently connected user.

Not activating this test yet until the build farm has picked up the new samba4
revision.

Volker
(This used to be commit 5603db30e7dfbb3d5c4599d36a50007a2b3cac75)
2007-10-10 14:10:10 -05:00
Volker Lendecke
571052fec8 r16958: We also do level 1501 on NetShareGetInfo
(This used to be commit 656d8337c474374014ac681914fa761916a9bc3c)
2007-10-10 14:10:03 -05:00
Volker Lendecke
c7d7022e77 r16956: Walk some of the samba3 srvsvc code
(This used to be commit bd84fde777366899391d122e0aa5034ba0b80037)
2007-10-10 14:10:03 -05:00
Volker Lendecke
a0d491f219 r16140: How on earth does this work on most build farm machines.... ?
(This used to be commit f8bae84e89bb2fe8deea7795ad59fbefa9c98e79)
2007-10-10 14:09:01 -05:00
Volker Lendecke
9469af4596 r16123: Samba3 in the buildfarm will happily create (faked(!!)) users anonymously. Disable that test for now.
(This used to be commit 9015713d62558ba76d693c5e8a4c23e3fd3ccab5)
2007-10-10 14:09:00 -05:00
Volker Lendecke
1335e8f5f1 r16059: Remove accidential commit
(This used to be commit e980066111cf442102b849b04a411c3f2df8e05b)
2007-10-10 14:08:55 -05:00
Volker Lendecke
0285d711b9 r16058: Test a Join using SetUserInfo level 25, as XP does if the user did not
exist. Samba3 right now fails to transfer the acb_info in the info21 sub-part
to the passdb backend, rendering the workstation locked.

Thanks to Tom Bork for finding this one.

Now working on a fix :-)

Volker
(This used to be commit 6613093e69f273f32bdafde0d0c8f122e8466dc0)
2007-10-10 14:08:54 -05:00
Volker Lendecke
2a9982aa52 r16045: RPC-SAMBA3SESSIONKEY tests the different variants of joins (anon/auth smb,
anon/auth bind).

Jeremy, this is the little test I promised to you that shows the places where
we need the SystemLibraryDTC key.

Volker
(This used to be commit 9164c24d8741384ff5173fbf6cf3337f42d80e70)
2007-10-10 14:08:53 -05:00
Volker Lendecke
232db0b46d r16044: Create a samba3 specific file in torture/rpc. The tests in there survive
against W2k3, but they are designed to walk existing Samba3 code paths. It
might be possible that I add something like that to other subdirs like raw/.

RPC-BINDSAMBA3 excercises the bind variants that samba3 supports right now.

RPC-NETLOGSAMBA3 does a samba3 style join, does some schannel-protected
netlogon operations and leaves again. Samba3 right now does not survive this,
I'm about to fix it soon. I'll also post a *VERY* dirty hack (fake users in
sys_getpwnam()) to be able to run this in the build farm.

Volker
(This used to be commit 60b45bf8b6d0d2bb216e319891d50d0e07ab3010)
2007-10-10 14:08:53 -05:00