1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

7750 Commits

Author SHA1 Message Date
Jelmer Vernooij
3b99d9c5bd r12658: Couple of fixes related to shared module builds.
(This used to be commit c297c93faf3b748de68679f5a4be50845ebe25fe)
2007-10-10 13:49:35 -05:00
Jelmer Vernooij
912f556dba r12651: Remove STR_LARGE_SIZE as it's no longer used
(This used to be commit 8e95aee6fba4d3632f4718428bdb1f07cb58fab4)
2007-10-10 13:49:35 -05:00
Jelmer Vernooij
f54ef2a8f6 r12650: Remove support for NULLTERM flag (is already covered by tridge's
fixes to [validate])
(This used to be commit aa880bf1966889b1cd0b0b7d4d837dff79f0447e)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
0283bd7bf7 r12649: use the same default('yes') for 'dns proxy' as samba3
metze
(This used to be commit d430fc278b8782f625cfafbff2a4efb936fdea36)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
c4d0b5729a r12648: implement the dns proxy feature
metze
(This used to be commit b07b201c8671e04d6faae162d883d84c79f0ee94)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
24c54281a9 r12647: make use of the str_list_add function
metze
(This used to be commit e47873a1a391c8a8b469528d44c17dfe1ea2f553)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
706ef631f7 r12644: prepare the dns proxy feature for the wins server
metze
(This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)
2007-10-10 13:49:34 -05:00
Simo Sorce
93a3e9e2b6 r12643: don't fail make test
thanks Brad
(This used to be commit 2f213b9580cb9e84f1c44393cac521e5c1af817b)
2007-10-10 13:49:33 -05:00
Stefan Metzmacher
60d27d8505 r12642: only do push notifications when something changed
metze
(This used to be commit 61f1c8c347d26f34e3e924ceae55e99e6c1461f7)
2007-10-10 13:49:33 -05:00
Stefan Metzmacher
1d63dc5fe4 r12641: - remove some unused functions
- we already call usleep() directly in some places,
  so do it everywhere

metze
(This used to be commit 9eaf6e2c4d3dae3b6711e4aae3828222f5cab65e)
2007-10-10 13:49:33 -05:00
Stefan Metzmacher
76480dba70 r12639: - do some tests with 0x20 0x1B names
- do some tests with 0xBF and 0xBE, this shows that the '+' padding
  should be done by the client

metze
(This used to be commit 5a257ba9811b247a0df2b44c99df00f59dacc1e0)
2007-10-10 13:49:11 -05:00
Stefan Metzmacher
d73156d2c4 r12638: fix the build on BSD systems
metze
(This used to be commit cd3cc29fdc2c0b9ffd82253857a7968e3324ea9b)
2007-10-10 13:49:11 -05:00
Andrew Tridgell
7dae041b1a r12637: test CLDAP with both NULL and non-NULL user
(This used to be commit 2b603d3ecf2f3108942422bda864e41c8addbf60)
2007-10-10 13:49:11 -05:00
Andrew Tridgell
ca2f6f69d9 r12636: fixed some torture code for the changed lsa string types
(This used to be commit ce77c0e8bf4127027edd6291d2ae5d868e3372a1)
2007-10-10 13:49:11 -05:00
Andrew Tridgell
767ce19bf8 r12635: use the new [validate] value() checking to fix the string types for
the LSA pipe. Strangely, windows is not consistent for the LookupSids
call. Sometimes the name is terminated and sometimes not?! It might
depend on the type of rid (alias, group etc) ?
(This used to be commit c0b7e0619a153f1da0fa76f176335d1b2afa340b)
2007-10-10 13:49:10 -05:00
Andrew Tridgell
ff5c9a1273 r12634: make the [validate] binding string switch also check to see if the
string form of the structure we receive matches the generated
form. This has the effect of checking things like value() attributes.
(This used to be commit f2e68ec649658976e5bf4887713a92c14850c277)
2007-10-10 13:49:10 -05:00
Andrew Tridgell
e4b7e8cdf1 r12633: expose talloc_vasprintf_append()
(This used to be commit 7a0e7074f6d3d38ce92f2b617549d5dbbaf968ef)
2007-10-10 13:49:10 -05:00
Andrew Bartlett
8d147a4dd3 r12632: Build fixes from Brad Hards <bradh@frogmouth.net>
Andrew Bartlett
(This used to be commit 44b107d3150135ee4381c1ba4eac23bfd9cb16b9)
2007-10-10 13:49:10 -05:00
Andrew Bartlett
cf07cd3fee r12631: Now we have fixed the provision script, we don't need to work around
it here.

Andrew Bartlett
(This used to be commit f282fab6113cbd6a431139cbe7f021864f31c3d1)
2007-10-10 13:49:10 -05:00
Andrew Bartlett
5c03e1b46e r12630: Remove attributes which should be automaticly generated.
This fixes a problem I had with kpasswd, as the account had 'expired'
due to the old pwdLastSet, hardcoded in the ldif.

Andrew Bartlett
(This used to be commit 1a9992e56a777771ad963af87481ce4ffb8cbf56)
2007-10-10 13:49:09 -05:00
Andrew Bartlett
215b3bc055 r12629: Add a comment so minimal_includes.pl doesn't try and remove this.
Andrew Bartlett
(This used to be commit 635e7befaad5ad65774f133062c82733a8cc9aee)
2007-10-10 13:49:09 -05:00
Jelmer Vernooij
8b7013fa50 r12628: Prevent double registration warnings
(This used to be commit 98ec52beeed47c71861c284c7aae66269c074e66)
2007-10-10 13:49:09 -05:00
Andrew Bartlett
c0e574a473 r12627: This magic comment keeps minimal_includes.pl from suggesting the
removal of this header.

Andrew Bartlett
(This used to be commit 17d4d49fe13831a4b9092b57a6279c128e10d36b)
2007-10-10 13:49:08 -05:00
Andrew Tridgell
52de553b82 r12626: some systems need time.h here (for asctime())
(This used to be commit 596f8480bbf44dd70e2d2a7ccbc7ced67b74fce0)
2007-10-10 13:49:07 -05:00
Andrew Bartlett
c139e0eefa r12625: More 'useful' names for the DNS zone.
Andrew Bartlett
(This used to be commit 660fc3ff4e26873710b35c8f52fe3a697764ec98)
2007-10-10 13:49:07 -05:00
Jelmer Vernooij
54613f5ae0 r12624: (hopefully) fix for BSD make after srcdir/builddir changes
(This used to be commit 261dc568f9b0e8641d3a28a03b440bddc5db668e)
2007-10-10 13:49:07 -05:00
Jelmer Vernooij
2cb372f7a4 r12623: Another round of fixes for the prototypes of tables.c
(This used to be commit fb5b22e3dc9ad0892817ae72a73e1e80f3db75c5)
2007-10-10 13:49:06 -05:00
Jelmer Vernooij
046a54f963 r12622: Move table.c prototypes to seperate header to prevent circular dependencies
with proto.h
(This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
2007-10-10 13:49:06 -05:00
Jelmer Vernooij
6ebe31dc1b r12621: INIT_FUNCTION no longer has to be set on libraries
(This used to be commit 7ff1ecdc6fa9e360dedf9737da6ce1941ad5033e)
2007-10-10 13:49:06 -05:00
Jelmer Vernooij
aa9f67163c r12620: Get rid of automatically generated lists of init functions of subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
(This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10 13:49:06 -05:00
Stefan Metzmacher
5a26b2d72b r12619: make sure we don't return more than 25 addresses, as w2k3 crashes in that case
I still need to make sure we didn't write such records to our database...

metze
(This used to be commit d0dc0ffa3160041e137b629b4dbbe821044edfe3)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
905c3ff8e1 r12618: use our primary interface address or the "winsdb:local_owner" -address
as winsOwner: attrbute for owned records

metze
(This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)
2007-10-10 13:49:05 -05:00
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 49ba4cc11144671cafcbe2967954bfd786ea6e76)
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 032d0a19eed485a9f0a11818b5296625f9489b2a)
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 bf35c74218476fc568e251bb337e794ed9d51fac)
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 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