1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

7768 Commits

Author SHA1 Message Date
Stefan Metzmacher
0391b1cb3a r12617: create a winsdb_handle and pass that arround,
so we later can hang the local owner address, on this handle too

metze
(This used to be commit 49ba4cc111)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
eef64ba034 r12616: remove unused function, and we have iface_local() as replacement
metze
(This used to be commit 032d0a19ee)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
83acc688e3 r12615: prepare building with ../samba4/source/configure --srcdir=../samba4/source/
metze
(This used to be commit bf35c74218)
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
87a97acdfe r12613: workarround a BSD make bug, where $< gets expanded to 'torture/libnet/userman.c'
when $@ is 'libnet/userman.o'

metze
(This used to be commit 48d975cc5e)
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
ba76f23df9 r12611: fix compiler warnings
metze
(This used to be commit 50940879f6)
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
aed4d517fe r12610: we need struct passwd on some systems
metze
(This used to be commit fd7812beb2)
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
bb8a5a2a1e r12609: - add some comments to a change that went in in the last 'fix the build' commit
- we need to reply to name queries with the recursion desired bit set,
  to pass the multi homed challenge, when registering our interfaces
  with a wins server

metze
(This used to be commit 9dfbce5f34)
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
ab8cd4470c r12607: fix the build
metze
(This used to be commit 5cc955bf54)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
805f5d861f r12606: - fix multihomed registrations
always remove the addresses which are no longer valid
- use the wins_challenge_send/recv calls which are also used by the replication
  challenge

metze
(This used to be commit 037b5d9f36)
2007-10-10 13:49:03 -05:00
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