1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-23 20:23:50 +03:00
Commit Graph

7775 Commits

Author SHA1 Message Date
Stefan Metzmacher
f68a883daf r12578: - w2k3 allows entries with 127.0.0.1 as address, so we should do
to make it possible to add a static record for localhost or so...
- we already make sure we don't register 127.0.0.1 with our wins server,
  so the check for loopback in the non-wins name queries is enough

metze
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
3b32d8b6b6 r12577: filter the loopback addresses like this 127.*.*.* and not only 127.0.0.1
metze
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
bbacfaaea5 r12574: Bring tables.pl back to life and move registration of interfaces
now completely to a new subsystem.
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
33012dc015 r12573: Update README to recent changes in pidls namespace 2007-10-10 13:48:55 -05:00
Jelmer Vernooij
f75f757b62 r12572: No longer parse coclasses as interfaces 2007-10-10 13:48:52 -05:00
Stefan Metzmacher
4636f9ee7d r12559: use the selftest_prefix, we should use this for all make test output,
(e.g. the pidl tests and tdbtests, tridge, jelmer can you look at this)
to not polute the source/ directory with a lot of files

metze
2007-10-10 13:47:58 -05:00
Jelmer Vernooij
2e5a6eb219 r12558: Support [flag(NULLTERM)] on [charset()] arrays 2007-10-10 13:47:57 -05:00
Andrew Tridgell
2c3b7585c7 r12556: added 'make gdbtest'
this runs smbd under gdb in a xterm, and starts the quicktest
tests. Then you can set a breakpoint on an interesting place. This
makes it easier to track down where something is happening in the test
suite (I used it to find the NTLMSSP annoyance from the previous
commit)
2007-10-10 13:47:57 -05:00
Andrew Tridgell
ca6ae1afa0 r12554: get rid of the pesky NTLMSSP warnings about being called after processing is finished 2007-10-10 13:47:57 -05:00
Andrew Bartlett
b1c8adcfe1 r12553: Steal the error string onto this context, so that the caller doesn't
have to think about exactly what the right context to hang it of is.

Andrew Bartlett
2007-10-10 13:47:57 -05:00
Jelmer Vernooij
a83a38eab2 r12552: Remove use of Test::Harness - we're not printing the result summaries
on success anyway. Instead, call the scripts directly.
2007-10-10 13:47:56 -05:00
Andrew Tridgell
2055f97821 r12551: fixed oplock serialisation problem in gentest as well 2007-10-10 13:47:56 -05:00
Andrew Tridgell
d39c749c71 r12550: - fixed 'make pch' to always rebuild the gch file. The dependencies
were wrong, and we were using old gch files after include changes,
  so safest to just rebuild when the user specifically asks for 'make
  pch'

- fixed deps for includes.h so 'make pch' can work after a clean build

- changed 'make valgrindtest' to run valgrind on both client and
  server binaries
2007-10-10 13:47:56 -05:00
Andrew Tridgell
ad3b828663 r12549: fixed the problem with serialisation and the RAW-OPLOCK test 2007-10-10 13:47:56 -05:00
Jelmer Vernooij
0aca5fd513 r12542: Move some more prototypes out to seperate headers 2007-10-10 13:47:55 -05:00
Andrew Bartlett
31f65e510c r12540: Provide more information in the ldb error string.
Andrew Bartlett
2007-10-10 13:47:54 -05:00
Stefan Metzmacher
4b90ad7a27 r12539: fix the pidl tests
metze
2007-10-10 13:47:54 -05:00
Andrew Bartlett
6d8405038f r12538: Clarify why we are doing the delete here.
Andrew Bartlett
2007-10-10 13:47:53 -05:00
Andrew Tridgell
1b65713bbc r12537: finally found the difference between us and w2k3 that caused w2k
domain joins to be agonisingly slow! The join is now instant, and
login is fast too
2007-10-10 13:47:53 -05:00
Andrew Tridgell
ce070ef50f r12536: kerberos is on port 88, not port 389
i guess this shows that MS clients ignore the port number in SRV replies
2007-10-10 13:47:53 -05:00
Andrew Tridgell
df00f8b342 r12535: - simplify string list handling in a couple of places using str_list_add()
- don't reply with 127.0.0.1 in NBT or WINS name queries unless the
  query came in on the loopback interface. Otherwise clients can end
  up talking to themselves, which is not very productive :-)
2007-10-10 13:47:53 -05:00
Andrew Bartlett
2f54d7f774 r12534: Make the transaction code fill the error string on failure.
Andrew Bartlett
2007-10-10 13:47:53 -05:00
Andrew Bartlett
fe36cb6767 r12533: Get the ldb.errstring() out to the user on failure. It helps a lot
with debugging!

Andrew Bartlett
2007-10-10 13:47:52 -05:00
Andrew Tridgell
3016c7ee13 r12532: log a message giving the IPs of non-partner clients trying WINS replication
(makes getting the wins config right much easier)
2007-10-10 13:47:52 -05:00
Andrew Tridgell
f79d90bd13 r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNS
lookups in load_interfaces(). The reason was my eth0 interface was
down, and it was being interpreted as a DNS name.

This patch changes load_interfaces() to happening automatically when
interfaces are first needed instead of on the startup of every samba
binary. This means that (for example) ldbadd doesn't call
load_interfaces(), which means no slow DNS lookups.

I also reduced the number of static globals in interface.c to 1, and
changed from malloc to talloc

When you want to force a reload of the interfaces list, you now call
unload_interfaces(), which means the next call that needs the
interfaces list will reload it
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
90129b081e r12530: Let include/includes.h depend on lib/basic.h (which it includes) 2007-10-10 13:47:52 -05:00
Jelmer Vernooij
87f665a1d5 r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server. 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
60e11f5758 r12523: Convert the registry subsystem to use a seperate prototype header
(note that this doesn't use the distinction between private
 and public prototypes yet)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
cdfd20fa17 r12520: Add support for --help to mkproto.pl
Allow the use of {PRIVATE,PUBLIC}_PROTO_HEADER for [SUBSYSTEM]
and [LIBRARY] sections in .mk files. Public functions can be marked
by adding _PUBLIC_ between their return type and function name.

This should eventually make include/proto.h and include/structs.h obsolete.
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
832a1092c9 r12517: Don't generate empty init functions 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
b46eeba9fc r12516: Fix drsuapi and netlogon javascript bindings 2007-10-10 13:47:51 -05:00
Jelmer Vernooij
465b973870 r12515: Use UUID directly rather then string containing UUID 2007-10-10 13:47:49 -05:00
Jelmer Vernooij
b1286a6d27 r12514: Move DCE/RPC interface table to a seperate file
Be a bit more strict when checking for duplicate interfaces
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
8dcfcaf75a r12513: Similar change as my previous commit, but now for transfer syntaxes.
Avoids converting a static string to GUID every time we check whether
a transfer syntax is equal to that of NDR.
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
3564e2f967 r12512: Use GUID structs in API functions everywhere rather then converting back and
forth between GUID structs and strings in several places.
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
2188168209 r12511: Remove authservice from binding string 2007-10-10 13:47:48 -05:00
Jelmer Vernooij
8aae0f168e r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
2007-10-10 13:47:48 -05:00
Stefan Metzmacher
f03170cc52 r12509: make the output for the buildfarm nicer
metze
2007-10-10 13:47:47 -05:00
Andrew Bartlett
865a2552e6 r12507: This file has had my grubby paws all over it ;-)
Andrew Bartlett
2007-10-10 13:47:47 -05:00
Andrew Bartlett
dc091c6c06 r12506: Fix up issues shown up by the expanded RPC-SAMR testsuite, and add ldb
transactions to the SAMR password change code.

Andrew Bartlett
2007-10-10 13:47:47 -05:00
Andrew Bartlett
85b7e3c493 r12505: Cope better with NT_STATUS_PASSWORD_RESTRICTION (due to minimum
password age), and test for the incorrect password error case.

Andrew Bartlett
2007-10-10 13:47:47 -05:00
Andrew Bartlett
07b885d0c7 r12504: Fix one more transaction cancel bail-out path, and correct comments.
Andrew Bartlett
2007-10-10 13:47:46 -05:00
Andrew Bartlett
2eebd7b3cf r12503: This function was just too simple to leave unimplemented.
Andrew Bartlett
2007-10-10 13:47:46 -05:00
Andrew Bartlett
a7e4062547 r12502: A bit of work on the RPC-SAMR torture test. Prove that ridToSid is
really as simple as it looks.

Andrew Bartlett
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
1e8670874b r12501: Merge EJSHeader.pm into EJS.pm and simplify smbcalls_rpc.c a bit,
now that it is guaranteed that the smbcalls modules are always initialized
after the EJS subsystem itself.
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
f6bbc72996 r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
c92ace494f r12499: Move smb_build.h out of includes.h 2007-10-10 13:47:45 -05:00
Jelmer Vernooij
b24f2583ed r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
b6d2ad4ce0 r12494: Support loading modules from .so files for most subsystems.
We now use a different system for initializing the modules for a subsystem.
Most subsystems now have an init function that looks something like this:

	init_module_fn static_init[] = STATIC_AUTH_MODULES;
	init_module_fn *shared_init = load_samba_modules(NULL, "auth");

	run_init_functions(static_init);
	run_init_functions(shared_init);

	talloc_free(shared_init);

I hope to eliminate the other init functions later on (the
init_programname_subsystems; defines).
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
ba6a767f1b r12490: Fix --warn-compat 2007-10-10 13:47:44 -05:00