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

15 Commits

Author SHA1 Message Date
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