1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

7765 Commits

Author SHA1 Message Date
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 48d975cc5e4c3c2a5c6fe84e5b245c0d8529c5d1)
2007-10-10 13:49:04 -05:00
Stefan Metzmacher
ba76f23df9 r12611: fix compiler warnings
metze
(This used to be commit 50940879f6e373adbc83ae6e19168486dafaec34)
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 fd7812beb21ccd14a0e7fd9db0a6eba22ebab0b2)
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 9dfbce5f34c9e8b55c902fefc8dfaf53f19df9c2)
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
ab8cd4470c r12607: fix the build
metze
(This used to be commit 5cc955bf5400a415e462853cff47a69ef206a548)
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 037b5d9f3661fd7a121d1db0a50dc7743d62a5e1)
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 874f16e055ec30bf2ee52a33464b4810a8f8cd89)
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 6198006ee466c6398f6a3da352d236034693ffb7)
2007-10-10 13:49:02 -05:00
Stefan Metzmacher
964487e4b9 r12602: fix compiler warning
metze
(This used to be commit 82d5bdb1e73dd203cfaf83fdb46c485d212d5c65)
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 e98d14668e3fdee01b103adb5aec733790eee96d)
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 41948c4bdbfca1160a01a92994324f9e22422afe)
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 e9022743210b59f19f370d772e532e0f08bfebd9)
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 0aaff059ba76c7eee86f37bfd74735c1c365d55f)
2007-10-10 13:49:01 -05:00
Andrew Bartlett
7ad708924b r12597: One less void *
Andrew Bartlett
(This used to be commit a328acc8fa73703bba72b94084063906ec63cdc3)
2007-10-10 13:49:00 -05:00
Andrew Bartlett
02c8c376d5 r12596: This variable is unused.
Andrew Bartlett
(This used to be commit 2853ccfc8ad58c6af751e01487b8a9e7e68a01e7)
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 34d6220cec763eefa9313f5a39ce7a73b238f7f0)
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 6787b3737c27f5136152b007b0ee2ae314efac3c)
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
46aa296cc9 r12592: Remove some useless dependencies
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
e7303fc267 r12589: Add missing newline.
(This used to be commit 86fe24e606c72a21853b8f2cd0989bb1598ebf6a)
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 e71cd4778b9a872642619452e574f510e2491052)
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 669009579dfe93b4d5008f93c2949dd4d929baf4)
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 f68a883daf4c792e95f7a4be9e7d00e82cc0517b)
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 3b32d8b6b6565d8c5b3f7e653fdc385cc8cb96ef)
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 bbacfaaea5819e0ecadf81e8fbb424916284c809)
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 33012dc015c837d4cbb61207ad8d3b5a8ad37c02)
2007-10-10 13:48:55 -05:00
Jelmer Vernooij
1cfda1af18 r12572: No longer parse coclasses as interfaces
(This used to be commit f75f757b621a46ea531c27ac682623829a4fdea7)
2007-10-10 13:48:52 -05:00
Jelmer Vernooij
e82a044e6d r12568: Fix rename (noted by Steinar Gunderson)
(This used to be commit 1c26c63c855120ef694f59980965faee3c6ccbc4)
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 4636f9ee7d066f5e24393f94644dbf74c42b9039)
2007-10-10 13:47:58 -05:00
Jelmer Vernooij
b9fa7bc48e r12558: Support [flag(NULLTERM)] on [charset()] arrays
(This used to be commit 2e5a6eb219feab3208f63d727340a852bfdb0b3f)
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 2c3b7585c76d13107d1b0d31aebef961627cdbc3)
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 ca6ae1afa0a8a105ab09199425f308c9ae85902f)
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 b1c8adcfe16c72252b0312e65676edcdbe472f09)
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 a83a38eab29cc289e53b1f9790a61e61d684f547)
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 2055f978214c1a2732433efe38ebc0fb70ec4e70)
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 d39c749c71d66dd21e37cdaa75daaaeab5f4be0a)
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 ad3b8286636f4101fa6528cb447aeeb7ee7507a4)
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 0aca5fd5130d980d07398f3291d294202aefe3c2)
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 31f65e510cdd46b1962cf06b3d51f152b1cecf37)
2007-10-10 13:47:54 -05:00
Stefan Metzmacher
43c3c7349d r12539: fix the pidl tests
metze
(This used to be commit 4b90ad7a272b3cb976c2efc2c67b339519b1cd90)
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 6d8405038f0033439e1e24eb43c2b7990e01b70c)
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 1b65713bbc4f44efee24b86900004a222028b733)
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 ce070ef50f3aca6f911f6f51688d7cd9fc17ff67)
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 df00f8b3428c6d1254e66275c90ae4025cb52c47)
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 2f54d7f774434f2a8b89ae01e993c4a1d16ce861)
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 fe36cb6767ce99432e2778037aad334170dca173)
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 3016c7ee138d29973dfd093de6589a9a798750a7)
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 f79d90bd1364b970adb2981b2572e77066431f1e)
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 90129b081e5bda3c69c3f01f53704b5d34817605)
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 87f665a1d5ba74289974bf9d8f9441c162e6f1b1)
2007-10-10 13:47:51 -05:00