1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

6482 Commits

Author SHA1 Message Date
Andrew Tridgell
cd67aa92a5 r10403: fixed the basedn for testing, and add a debug showing the size of the test in ldbtest
(This used to be commit 740b9f7537d60c7dbd48fe592587b12b304c52d1)
2007-10-10 13:38:40 -05:00
Andrew Bartlett
51cbc188df r10402: Make the RPC-SAMLOGON test pass against Win2k3 SP0 again.
I still have issues with Win2k3 SP1, and Samba4 doesn't pass it's own
test for the moment, but I'm working on these issues :-)

This required a change to the credentials API, so that the special
case for NTLM logins using a principal was indeed handled as a
special, not general case.

Also don't set the realm from a ccache, as then it overrides --option=realm=.

Andrew Bartlett
(This used to be commit 194e8f07c0cb4685797c5a7a074577c62dfdebe3)
2007-10-10 13:38:39 -05:00
Andrew Bartlett
3b7f8ddd9a r10398: Don't do DNS lookups on short names (no .).
Andrew Bartlett
(This used to be commit 77aca9619d24a8e118f53bcd1a1e54b8437812a8)
2007-10-10 13:38:39 -05:00
Volker Lendecke
e0febb258a r10395: While playing with winbind, I found a segfault because I had given
resolve_name_send a stack-allocated method list. Duplicate it.

Volker
(This used to be commit 17dbbf965bcf038be7450781e28acb5e061eb295)
2007-10-10 13:38:39 -05:00
Jelmer Vernooij
90678b76d6 r10393: More type checking in scons
Remove unused file
(This used to be commit a9e71ab5d1ed8b34f158ff0e89dd67ec785b9829)
2007-10-10 13:38:39 -05:00
Volker Lendecke
b1ad4a27cb r10390: Remove fstring, pstring and uint32_t from winbindd_nss.h.
Volker
(This used to be commit 3dc7e67dc5e5844523e9768081123c622e61c7e9)
2007-10-10 13:38:39 -05:00
Jelmer Vernooij
7a545880d7 r10389: Add Manifest file (required for CPAN)
(This used to be commit 775323815961c25986e2557de5d59626822b3944)
2007-10-10 13:38:38 -05:00
Jelmer Vernooij
58a399d766 r10388: Add version numbers (required for CPAN)
(This used to be commit 786329576bf14ae774f9d5a24268e46b7dcb634a)
2007-10-10 13:38:38 -05:00
Andrew Bartlett
1d4fcd40a6 r10387: By exporting KRB5_CONFIG pointing at a file of our choosing, we can
avoid DNS delays in our testsuite.  The next step will be to use
kerberos in the tests (awaits application of socketwrapper or hooks
into our socket layer).

Andrew Bartlett
(This used to be commit b9e9cca14e345a338fd7ffe06f6862bb3cb74e78)
2007-10-10 13:38:38 -05:00
Andrew Bartlett
c44efdaa22 r10386: Merge current lorikeet-heimdal into Samba4.
Andrew Bartlett
(This used to be commit 4d2a9a9bc497eae269c24cbf156b43b8588e2f73)
2007-10-10 13:38:38 -05:00
Andrew Tridgell
8f334f69b5 r10385: removed obsolete comment
(This used to be commit 40a8ad2d1eb26d1635b8f188036b04319ffd41b4)
2007-10-10 13:38:36 -05:00
Andrew Tridgell
9ae24d8058 r10384: add _GNU_SOURCE in tdb configure
(This used to be commit 21e5c328a033a4b452b3fd696069ad8bbfa6b9cc)
2007-10-10 13:38:35 -05:00
Andrew Bartlett
428c8ce207 r10383: This patch is on the road to implementing servers (such as kpasswd) that
use raw krb5, not GSSAPI.  I still keep the 'fake GSSAPI' code, but
under the module name 'fake_gssapi_krb5'.

Andrew Bartlett
(This used to be commit 99efec2758ad6c996db65dd42cb72a81077c9b2b)
2007-10-10 13:38:34 -05:00
Andrew Bartlett
42f2519b50 r10382: In the absence of client support for the full KDC-side
canonicalisation code, I've hacked Heimdal to use the default realm if
no other realm can be determined for a given host.

Andrew Bartlett
(This used to be commit 0f0b0021b7728ce75ca0060003a3d08264ead810)
2007-10-10 13:38:34 -05:00
Jelmer Vernooij
e073918771 r10381: Be a bit stricter on pod syntax
(This used to be commit 3f646c620a354ab6820c4a97d629e1e27978b76d)
2007-10-10 13:38:34 -05:00
Jelmer Vernooij
cc6fae19ae r10380: Use pod-style documentation rather then XML-doc, in good perl style.
(This used to be commit fcc1ba97a3dd955208d8d9555ff8dab455239412)
2007-10-10 13:38:34 -05:00
Tim Potter
3e4f47aaff r10379: Add files for ldb and tdb to proto_files. The tool for building proto.h
is busted though.
(This used to be commit 54882f88cad1427b6adcb4c956a63e534e7d13e4)
2007-10-10 13:38:34 -05:00
Tim Potter
5e4c8b8cd3 r10378: Build config.h file from dictionary of defines and always use it.
(This used to be commit 252b64eb20db9152d357188d45fb39bb3d0b61bc)
2007-10-10 13:38:33 -05:00
Tim Potter
d191c7d993 r10377: Save configuration stuff to sconf.cache so it isn't annoyingly run
at every single build.  Run 'scons configure=1' or delete sconf.cache
to force checks to be re-run.

Jelmer, I think this stuff is cached in the .sconf_cache directory but
the message is still displayed and it looks like it caches the compiled
test object file not the actual result of the test.
(This used to be commit 9d001dc083937bbf5642af90bc8a8b1a27825de0)
2007-10-10 13:38:33 -05:00
Tim Potter
60cb7a42aa r10376: Argh - not quoting dictionary/hash keys is a bit of a perlism.
(This used to be commit 588a3183b3f5922349b85520d554dcce23cd699f)
2007-10-10 13:38:33 -05:00
Jelmer Vernooij
9d44a9a351 r10374: Add HAVE_* defines (on command-line or in config.h file) for scons +
some other minor updates
(This used to be commit f142c15de1afb2f13a5e23ceb40ce70f0115c8bf)
2007-10-10 13:38:33 -05:00
Andrew Bartlett
b5521a818f r10373: Fix segfault in LookupSids.
Andrew Bartlett
(This used to be commit ddc3a1c79e80e12296c398c42110fc378fb80e00)
2007-10-10 13:38:33 -05:00
Andrew Bartlett
b1b5e49f98 r10372: Having gone to all the effort to uppercase the realm, actually set the
upper-case realm.

Andrew Bartlett
(This used to be commit 3e38456dd5c40730f3203e89393dad2b97996d56)
2007-10-10 13:38:32 -05:00
Andrew Tridgell
d9ca09b8b4 r10370: only validate the re-generated binding string for hostnames with IPs
Jelmer, can you see a better approach to this? As far as I am aware
protocol towers don't use hostnames, they always use IP addresses
(This used to be commit 7a3ec95d9911e8c0a278f5a94513e4fd61979eab)
2007-10-10 13:38:32 -05:00
Tim Potter
344b0d640d r10369: You don't need to put leading or trailing spaces on variables. It's
a make-ism.

Use consistent (single) quoting.
(This used to be commit 368475ffcb88e4cd1f632847f6fe661eb35b9403)
2007-10-10 13:38:32 -05:00
Andrew Tridgell
b963050769 r10368: when building the epm tower, don't put host names in the ip address
field, instead put a zero address. Note that zero is correct (ie. we
shouldn't do the lookup) as in the client we want to send a zero for
the server to fill in. When we make this call from the server we fill
in a real IP.
(This used to be commit e54c8b5658761c33d50a1a557d2ec77229b07b47)
2007-10-10 13:38:32 -05:00
Jelmer Vernooij
8db177b652 r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now
(This used to be commit 22f18a84242e5e68a2d57b6d7ff77c089ee7434a)
2007-10-10 13:38:32 -05:00
Volker Lendecke
0e2c62451d r10365: Use nsswitch/winbindd_nss.h in winbind/, update that file to the current 3_0
interface.

Volker
(This used to be commit 90f98e9be310edcdf6ac8b5f7ce792b52cec1d79)
2007-10-10 13:38:31 -05:00
Andrew Bartlett
65d4da0ff3 r10364: Turn gensec:gssapi on by default, except for a login of the form
-Udomain\\user.

This will probably break in a few configurations, so please let me
know.  I'll also work to have a way to inhibit kerberos/ntlmssp, as
this removes -k.

Andrew Bartlett
(This used to be commit 3c0dc570b86e79aea5446d7c3bb9750a11bf8ca4)
2007-10-10 13:38:31 -05:00
Volker Lendecke
9a1ceab6d6 r10363: Nobody loudly screamed "noo", so commit the samba3 winbind interface to
samba4. Ok, maybe the silence is due to timezones, but what can you do... ;-)

Volker
(This used to be commit 9a5d8f55ab2841572b94fbc3a86a47f65a7d74a6)
2007-10-10 13:38:31 -05:00
Jelmer Vernooij
920a627ba8 r10356: Make the proto generator work with scons
(This used to be commit a2268f1dd441059955bee30cf2a9028656c14099)
2007-10-10 13:38:31 -05:00
Volker Lendecke
5c40f9cd9b r10353: Fix typo
(This used to be commit b871ecbc2cf5ef2222e498f7819a06aa9082e155)
2007-10-10 13:38:31 -05:00
Jelmer Vernooij
6812c73534 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10 13:38:30 -05:00
Stefan Metzmacher
b7545608ad r10346: here are only real ip-addresses valid, prevent dns lookups,
when the input is invalid

metze
(This used to be commit 1083204c1f89d9b918015113b6cc2ea423372fe0)
2007-10-10 13:38:30 -05:00
Andrew Bartlett
f1b39f9b80 r10345: Add more add-hock tests.
Andrew Bartlett
(This used to be commit e05e87b3fe1dae058e2a3588578d09ea1cfd2142)
2007-10-10 13:38:30 -05:00
Stefan Metzmacher
444fcf12ef r10341: remove unused libads/ code, we'll never use this in samba4,
and have replacements for the most stuff already in the tree

discussed with abartlet

metze
(This used to be commit 18facf90e965053886abd642c71bf655d13ff5a5)
2007-10-10 13:38:30 -05:00
Stefan Metzmacher
efa30b073f r10339: fix ndr_push_udlongr
metze
(This used to be commit a34d0771ce60d4c590c8bc14449cc23d31a6dd2c)
2007-10-10 13:38:29 -05:00
Andrew Bartlett
f9263dd102 r10337: This grubby little hack is the implementation of a concept discussed
on the kerberos mailing lists a couple of weeks ago: Don't use DNS at
all for expanding short names into long names.

Using the 'override krb5_init_context' code already in the tree, this
removes the DNS lag on a kerberos session setup/connection.

Andrew Bartlett
(This used to be commit de3ceab3d064a286e8662a2b9b62b212f0454156)
2007-10-10 13:38:29 -05:00
Jelmer Vernooij
5b02ee9b9d r10336: Add sconscript for a couple more subsystems.
(This used to be commit 59d4450453c25f5cce9b67b808ff0c4433c1d194)
2007-10-10 13:38:29 -05:00
Tim Potter
6cd5ede5d5 r10335: Build tdb tools into bin directory.
(This used to be commit f35c4763d5c681a74af1f59e75a2f93e99d645cb)
2007-10-10 13:38:29 -05:00
Tim Potter
3556e1d13e r10334: Use CPPDEFINES instead of CCFLAGS for adding preprocessor symbols.
(This used to be commit ba305886fd404161f4d081d2ffe60c824e932641)
2007-10-10 13:38:28 -05:00
Jelmer Vernooij
b1c3c66ead r10332: Fix the build - messaging uses UNIX_PRIVS
(This used to be commit df4a923c64a7fffea3aa01f646b3fba7a83a1b49)
2007-10-10 13:38:28 -05:00
Jelmer Vernooij
069e498da2 r10330: Add SConscript to more subsystems. Some of the tdb tools build now.
Start on custom Samba scons tools (for handling proto generation, pidl, etc)
(This used to be commit 4bffe4435944fffa3f9680b5a2fe63f2bdd98003)
2007-10-10 13:38:28 -05:00
Tim Potter
7001200686 r10329: Perhaps we shouldn't get too ahead of ourselves just yet.
(This used to be commit 4d7bc667f72dae459a050eb701d1e365949c340b)
2007-10-10 13:38:28 -05:00
Tim Potter
96745cbfc0 r10328: Add more emacs python-mode markers.
(This used to be commit 540a3649e88690e829c17d79ecdccdc9ed464845)
2007-10-10 13:38:28 -05:00
Tim Potter
3e1ae5a409 r10327: Use CPPPATH instead of appending -Idir to CCFLAGS.
Use a list comprehension instead of a for loop.

Add a emacs thingy to kick in python mode.  (-:
(This used to be commit 80bf842f56c0b0e632f32c8442ad62ebe7a87c8c)
2007-10-10 13:38:28 -05:00
Jelmer Vernooij
523034b9fb r10323: Add first bits required for getting compile with scons working. This does
not work yet and can exist parallel with the existing build system.
(This used to be commit 829568d75985e875e3363d76fb44270a0298c7f8)
2007-10-10 13:38:25 -05:00
Jelmer Vernooij
d2a666acbe r10316: More dynconfig fixes
(This used to be commit 0963ab9c148772b961f17ec779213b0eb861e1dd)
2007-10-10 13:38:17 -05:00
Jelmer Vernooij
349294d358 r10315: Remove use of fstring and pstring in dynconfig.c
Remove unused includes of dynconfig.h
(This used to be commit 59083b7ba60d518ddb59646c4fd69938afd079b3)
2007-10-10 13:38:17 -05:00
Andrew Bartlett
a388d683de r10314: Apply the controvertial 'server role =' patch after discussion on the list:
This patch removes the 'domain logon' and 'domain master' controls from
Samba4, in favour of a 'server role =' that users can actually
understand.

We can expand the list of roles as needed, and nobody has to figure out
what a 'domain master' actually means.

Andrew Bartlett
(This used to be commit 31e755c2ced64dbd2681d5f6ef021a87dbeda689)
2007-10-10 13:38:16 -05:00