1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

7708 Commits

Author SHA1 Message Date
Simo Sorce
a6d0d56459 r12605: docs patch from Brad Hards <bradh@frogmouth.net>
(This used to be commit 874f16e055)
2007-10-10 13:49:02 -05:00
Simo Sorce
0cf1feb114 r12604: fix make clean as Brad Hards <bradh@frogmouth.net> sugested
(This used to be commit 6198006ee4)
2007-10-10 13:49:02 -05:00
Stefan Metzmacher
964487e4b9 r12602: fix compiler warning
metze
(This used to be commit 82d5bdb1e7)
2007-10-10 13:49:02 -05:00
Andrew Bartlett
a326d6dba9 r12601: Syncronise both copies of dlinklist.h.
Should we somehow link these, or just use the version in ldb?

Andrew Bartlett
(This used to be commit e98d14668e)
2007-10-10 13:49:01 -05:00
Andrew Bartlett
4ff20fcd31 r12600: Add a new module to sort the objectclass attribute on store. The
module is perhaps not the most efficient, but I think it is
reasonable.

This should restore operation of MMC against Samba4 (broken by the
templating fixes).

Andrew Bartlett
(This used to be commit 41948c4bdb)
2007-10-10 13:49:01 -05:00
Andrew Bartlett
c82c9fe7bb r12599: This new LDB module (and associated changes) allows Samba4 to operate
using pre-calculated passwords for all kerberos key types.
(Previously we could only use these for the NT# type).

The module handles all of the hash/string2key tasks for all parts of
Samba, which was previously in the rpc_server/samr/samr_password.c
code.  We also update the msDS-KeyVersionNumber, and the password
history.  This new module can be called at provision time, which
ensures we start with a database that is consistent in this respect.

By ensuring that the krb5key attribute is the only one we need to
retrieve, this also simplifies the run-time KDC logic.  (Each value of
the multi-valued attribute is encoded as a 'Key' in ASN.1, using the
definition from Heimdal's HDB.  This simplfies the KDC code.).

It is hoped that this will speed up the KDC enough that it can again
operate under valgrind.
(This used to be commit e902274321)
2007-10-10 13:49:01 -05:00
Andrew Bartlett
1c027f35d7 r12598: Make the 'objectClass' part of the templating process actually work.
We need to add to the multivalued objectClass, not ignore it because
the user has already specified a value.

Also rename the template again.

This was caught by more stringent tests in the unicodePwd module, but
breaks MMC.  A later commit will sort the objectClass.

Andrew Bartlett
(This used to be commit 0aaff059ba)
2007-10-10 13:49:01 -05:00
Andrew Bartlett
7ad708924b r12597: One less void *
Andrew Bartlett
(This used to be commit a328acc8fa)
2007-10-10 13:49:00 -05:00
Andrew Bartlett
02c8c376d5 r12596: This variable is unused.
Andrew Bartlett
(This used to be commit 2853ccfc8a)
2007-10-10 13:49:00 -05:00
Andrew Bartlett
cca1daeab1 r12595: There was no comment on the mailing list, so kill the 'ldapsrv:samdb'
parameter.  It isn't useful with so many other things in the ldap
server opening the database directly.  Best to run this as a seperate
process, and change the global options.

Andrew Bartlett
(This used to be commit 34d6220cec)
2007-10-10 13:49:00 -05:00
Andrew Bartlett
906c142423 r12594: Jelmer pushed some proposed header reductions to the list today. This
commits some of these that I know to be correct in the kerberos area.

Andrew Bartlett
(This used to be commit 6787b3737c)
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
46aa296cc9 r12592: Remove some useless dependencies
(This used to be commit ca8db1a0cd)
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
e7303fc267 r12589: Add missing newline.
(This used to be commit 86fe24e606)
2007-10-10 13:48:59 -05:00
Jelmer Vernooij
19d606ce18 r12584: Move NDR tests from rpc/ to local/, add to list of tests
to run for 'make all'
(This used to be commit e71cd4778b)
2007-10-10 13:48:59 -05:00
Stefan Metzmacher
70a15ba4df r12580: return the first 0x1B address as first address to 0x1C queries
metze
(This used to be commit 669009579d)
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
2842acf5e3 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
(This used to be commit f68a883daf)
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
8faa1f4f9a r12577: filter the loopback addresses like this 127.*.*.* and not only 127.0.0.1
metze
(This used to be commit 3b32d8b6b6)
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
87fd7b5484 r12574: Bring tables.pl back to life and move registration of interfaces
now completely to a new subsystem.
(This used to be commit bbacfaaea5)
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
1690ae449a r12573: Update README to recent changes in pidls namespace
(This used to be commit 33012dc015)
2007-10-10 13:48:55 -05:00
Jelmer Vernooij
1cfda1af18 r12572: No longer parse coclasses as interfaces
(This used to be commit f75f757b62)
2007-10-10 13:48:52 -05:00
Jelmer Vernooij
e82a044e6d r12568: Fix rename (noted by Steinar Gunderson)
(This used to be commit 1c26c63c85)
2007-10-10 13:48:51 -05:00
Stefan Metzmacher
6eec6cd9d0 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
(This used to be commit 4636f9ee7d)
2007-10-10 13:47:58 -05:00
Jelmer Vernooij
b9fa7bc48e r12558: Support [flag(NULLTERM)] on [charset()] arrays
(This used to be commit 2e5a6eb219)
2007-10-10 13:47:57 -05:00
Andrew Tridgell
fc8fef69fd 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)
(This used to be commit 2c3b7585c7)
2007-10-10 13:47:57 -05:00
Andrew Tridgell
302cab75c3 r12554: get rid of the pesky NTLMSSP warnings about being called after processing is finished
(This used to be commit ca6ae1afa0)
2007-10-10 13:47:57 -05:00
Andrew Bartlett
a50b42dcb5 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
(This used to be commit b1c8adcfe1)
2007-10-10 13:47:57 -05:00
Jelmer Vernooij
f71f21fa05 r12552: Remove use of Test::Harness - we're not printing the result summaries
on success anyway. Instead, call the scripts directly.
(This used to be commit a83a38eab2)
2007-10-10 13:47:56 -05:00
Andrew Tridgell
06c454094f r12551: fixed oplock serialisation problem in gentest as well
(This used to be commit 2055f97821)
2007-10-10 13:47:56 -05:00
Andrew Tridgell
020cd6b95b 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
(This used to be commit d39c749c71)
2007-10-10 13:47:56 -05:00
Andrew Tridgell
5e117701b4 r12549: fixed the problem with serialisation and the RAW-OPLOCK test
(This used to be commit ad3b828663)
2007-10-10 13:47:56 -05:00
Jelmer Vernooij
2cd5ca7d25 r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd513)
2007-10-10 13:47:55 -05:00
Andrew Bartlett
451797744d r12540: Provide more information in the ldb error string.
Andrew Bartlett
(This used to be commit 31f65e510c)
2007-10-10 13:47:54 -05:00
Stefan Metzmacher
43c3c7349d r12539: fix the pidl tests
metze
(This used to be commit 4b90ad7a27)
2007-10-10 13:47:54 -05:00
Andrew Bartlett
773d5e0af0 r12538: Clarify why we are doing the delete here.
Andrew Bartlett
(This used to be commit 6d8405038f)
2007-10-10 13:47:53 -05:00
Andrew Tridgell
c8531ef9c8 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
(This used to be commit 1b65713bbc)
2007-10-10 13:47:53 -05:00
Andrew Tridgell
d34e1e598d r12536: kerberos is on port 88, not port 389
i guess this shows that MS clients ignore the port number in SRV replies
(This used to be commit ce070ef50f)
2007-10-10 13:47:53 -05:00
Andrew Tridgell
1984ba6ee9 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 :-)
(This used to be commit df00f8b342)
2007-10-10 13:47:53 -05:00
Andrew Bartlett
b1c80c3cfa r12534: Make the transaction code fill the error string on failure.
Andrew Bartlett
(This used to be commit 2f54d7f774)
2007-10-10 13:47:53 -05:00
Andrew Bartlett
5811b6dac5 r12533: Get the ldb.errstring() out to the user on failure. It helps a lot
with debugging!

Andrew Bartlett
(This used to be commit fe36cb6767)
2007-10-10 13:47:52 -05:00
Andrew Tridgell
3fb95418fa r12532: log a message giving the IPs of non-partner clients trying WINS replication
(makes getting the wins config right much easier)
(This used to be commit 3016c7ee13)
2007-10-10 13:47:52 -05:00
Andrew Tridgell
e4dbcc0d5d 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
(This used to be commit f79d90bd13)
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
1f70087663 r12530: Let include/includes.h depend on lib/basic.h (which it includes)
(This used to be commit 90129b081e)
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
0a3c167f6b r12528: Add seperate proto headers for ntvfs, tdr, smb_server and nbt_server.
(This used to be commit 87f665a1d5)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
7285e102f0 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)
(This used to be commit 60e11f5758)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
10c183d9ae 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.
(This used to be commit cdfd20fa17)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
d49f11df21 r12517: Don't generate empty init functions
(This used to be commit 832a1092c9)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
00ace36e07 r12516: Fix drsuapi and netlogon javascript bindings
(This used to be commit b46eeba9fc)
2007-10-10 13:47:51 -05:00
Jelmer Vernooij
05b141c5c9 r12515: Use UUID directly rather then string containing UUID
(This used to be commit 465b973870)
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
0ad7b308a1 r12514: Move DCE/RPC interface table to a seperate file
Be a bit more strict when checking for duplicate interfaces
(This used to be commit b1286a6d27)
2007-10-10 13:47:49 -05:00
Jelmer Vernooij
e748b53e43 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.
(This used to be commit 8dcfcaf75a)
2007-10-10 13:47:49 -05:00