1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

8438 Commits

Author SHA1 Message Date
Tim Potter
3721072fc5 r14801: Move swig testing makefile fragment into swig's config.mk and out of
main.mk
2007-10-10 13:59:21 -05:00
Andrew Tridgell
d09b8761bf r14800: use tdb_get_seqnum() in the change notify code to avoid reloading the
notify record if the tdb has not changed. This makes the
notify_trigger() call much faster, which is important as it is called
on just about every file operation
2007-10-10 13:59:20 -05:00
Andrew Tridgell
f325ba605c r14799: added a tdb_get_seqnum() call, and the TDB_SEQNUM flag. This allows
for an extremely lightweight test to see if a tdb has possibly
changed.
2007-10-10 13:59:20 -05:00
Tim Potter
3dfd0959f7 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
2007-10-10 13:59:20 -05:00
Andrew Tridgell
1db0a5a7f4 r14797: added checking of the filter in notify requests 2007-10-10 13:59:20 -05:00
Andrew Tridgell
a4c0e23f9d r14796: handle overflows in the notify buffer. The pending events are dumped
and the notify buffer removed
2007-10-10 13:59:19 -05:00
Andrew Tridgell
c976f14a9f r14795: queue notify requests on the same handle 2007-10-10 13:59:19 -05:00
Andrew Tridgell
15e9302bcd r14794: added a test to see what happens when you send a notify request on a
handle that already has a notify request pending. It turns out that
they are queued
2007-10-10 13:59:19 -05:00
Andrew Tridgell
d193758902 r14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, and
add the hooks in all the other places
2007-10-10 13:59:19 -05:00
Andrew Tridgell
182aee1a21 r14792: when we enable fake oplocks, give out batch oplocks not exclusive oplocks 2007-10-10 13:59:19 -05:00
Andrew Tridgell
4d234b37e5 r14755: the change notify code now passes most of the RAW-NOTIFY test. Still
more work to do though
2007-10-10 13:59:18 -05:00
Jelmer Vernooij
3aafd09020 r14740: Try loading shared libs from the bin/ directory (useful for running 'make test'
without developer mode)
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
2c87f210e9 r14739: keep the last request time for the smbsrv_connection,
smbsrv_session and smbsrv_tcon for management tools

metze
2007-10-10 13:59:18 -05:00
Stefan Metzmacher
f61bd2e9a2 r14738: do some different lookups
metze
2007-10-10 13:59:18 -05:00
Jelmer Vernooij
d508382180 r14737: Fix shared library build without --enable-developer 2007-10-10 13:59:18 -05:00
Stefan Metzmacher
bac95bb8f4 r14736: - the ntvfs subsystem should not know about smb_server.h
- the process module subsystem should not know about smb_server.h
- the smb_server module should not know about process models

metze
2007-10-10 13:59:17 -05:00
Jelmer Vernooij
a316b33057 r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere 2007-10-10 13:59:17 -05:00
Stefan Metzmacher
b9a90ed763 r14734: this demonstrates that a tcon isn't autoclosed by a ulogoff
the tcon can be reused using any other valid session later

metze
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
fca74f2a4b r14733: SMBtdis needs a TCON and doesn't need a SESSION,
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid)

metze
2007-10-10 13:59:17 -05:00
Stefan Metzmacher
ffa500ebb4 r14732: fix typo noticed by derrell, thanks!
metze
2007-10-10 13:59:16 -05:00
Jelmer Vernooij
e68785a30b r14731: Fix typo 2007-10-10 13:59:15 -05:00
Jelmer Vernooij
16da854eff r14730: Remove dependency information with 'make clean' 2007-10-10 13:59:15 -05:00
Jelmer Vernooij
aa8979d55d r14729: Install db_wrap.h and db_wrap_proto.h 2007-10-10 13:59:15 -05:00
Jelmer Vernooij
7a227457a4 r14728: Install two more headers, fix warning 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
c2f510d38b r14727: Update pidls' TODO, add test that demonstrates the desired behaviour 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
141830116b r14725: Reduce amount of headers, add simple ui implementation (not used yet though) 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
7146c1600f r14724: Rearrange some source files, install more headers. 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
9d6eefad3a r14723: Keep statistics 2007-10-10 13:59:14 -05:00
Jelmer Vernooij
426ac78108 r14721: Fix a couple of warnings. 2007-10-10 13:59:13 -05:00
Jelmer Vernooij
3c7a5ce291 r14720: Add torture_context argument to all torture tests 2007-10-10 13:59:13 -05:00
Jelmer Vernooij
a15a8d87b5 r14718: Add initial work on a standardized UI for smbtorture 2007-10-10 13:59:13 -05:00
Andrew Bartlett
cc7c84bfc9 r14717: Don't provision the system as 'localhost', but instead list localhost
as an alias.  The netbios name is then 'localtest', which will resolve
with netbios and work with krb5.

Andrew Bartlett
2007-10-10 13:59:13 -05:00
Andrew Bartlett
c978fea2a1 r14716: Remove username from debug message, it just causes valgrind assertions.
Andrew Bartlett
2007-10-10 13:59:12 -05:00
Andrew Bartlett
ce0c7f86fd r14715: Correct the definition of the DCE/RPC bind_nak, per the OpenGroup spec.
This allows us to correctly parse the bind_nak from NT4, when we use
an invalid auth type (the unsupported SPNEGO)..

Andrew Bartlett
2007-10-10 13:59:12 -05:00
Andrew Bartlett
6d57d1dbb7 r14714: On DCE/RPC, we need the name of the remote server used on the socket,
for Kerberos.  It must be the full name contacted, not the 'called
name' we might want to use for \\server things, so add another function.

Andrew Bartlett
2007-10-10 13:59:12 -05:00
Andrew Bartlett
78447333b0 r14713: For testing, it is sometimes useful to specify a hostname for kerberos
that differs from the hostname the connect() uses.

In particular, this helps in running Kerberos tests in 'make test'.

Andrew Bartlett
2007-10-10 13:59:12 -05:00
Andrew Bartlett
8566515a51 r14712: Do not proceed in event of failure to obtain a policy handle.
This makes the log results much easier to understand.

Andrew Bartlett
2007-10-10 13:59:12 -05:00
Stefan Metzmacher
02703f4e8f r14711: let windows clients retry after getting ERR_SKEW
metze
2007-10-10 13:59:11 -05:00
Stefan Metzmacher
1bc6940e7d r14710: make more clear that SMBexit only cares about the PID
that is used in the open call

metze
2007-10-10 13:59:11 -05:00
Stefan Metzmacher
0e7b224294 r14709: allways use the unicast socket of the interface, when reply to DGRAM
requests...

this fixes a bug where I thought windows would try KRB5 via broadcast...

metze
2007-10-10 13:59:11 -05:00
Andrew Bartlett
0ce6513e34 r14708: Add a (bogus) UUID and a comment to the PAC defintion.
Andrew Bartlett
2007-10-10 13:59:11 -05:00
Andrew Bartlett
bdb55ce2b5 r14707: Initialise default value (the rest of this function sets it to 1 if
this is CFX).

Caught by Valgrind.

Andrew Bartlett
2007-10-10 13:59:11 -05:00
Andrew Bartlett
3dff2a0078 r14702: Accept our netbios aliases as valid names in the SPOOLSS server.
(Suggested by metze)

Andrew Bartlett
2007-10-10 13:59:10 -05:00
Andrew Bartlett
cb6c27b4f2 r14701: Allow, with non-default options, NTLMSSP to access the LM session key,
even when not sending the LM response.  Needed to pass the
test_session_key against Win2k3.

Yes, I think this is a security flaw in the use of Win2k3-compatible NTLM.

Andrew Bartlett
2007-10-10 13:59:10 -05:00
Andrew Bartlett
8f96f524bf r14700: Fix spelling, and change these informational messages to debug level 5.
Andrew Bartlett
2007-10-10 13:59:10 -05:00
Jelmer Vernooij
4a8214f0f3 r14694: Remove for now until it does something useful. 2007-10-10 13:59:10 -05:00
Jelmer Vernooij
cea38a2960 r14693: Automatically update dependencies during compilation 2007-10-10 13:59:09 -05:00
Jelmer Vernooij
122d1d0249 r14692: Get rid of the obfuscation() attribute 2007-10-10 13:59:09 -05:00
Jelmer Vernooij
f4428db2f9 r14691: Fix printing elements with represent_as set 2007-10-10 13:59:09 -05:00
Jelmer Vernooij
31e847a084 r14690: Support represent_as in headers, enable represent_as() test (which works now) 2007-10-10 13:59:09 -05:00