Author: metze Date: 2005-09-22 08:23:45 +0000 (Thu, 22 Sep 2005) New Revision: 10417
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10417 Log: [EMAIL PROTECTED] (orig r10353): vlendec | 2005-09-20 17:43:58 +0200 Fix typo [EMAIL PROTECTED] (orig r10356): jelmer | 2005-09-20 19:49:19 +0200 Make the proto generator work with scons [EMAIL PROTECTED] (orig r10363): vlendec | 2005-09-20 22:54:25 +0200 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 [EMAIL PROTECTED] (orig r10364): abartlet | 2005-09-20 23:29:29 +0200 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 [EMAIL PROTECTED] (orig r10365): vlendec | 2005-09-20 23:37:10 +0200 Use nsswitch/winbindd_nss.h in winbind/, update that file to the current 3_0 interface. Volker [EMAIL PROTECTED] (orig r10366): jelmer | 2005-09-21 00:10:40 +0200 More scons fixes. Building et, asn1, lex and yacc files sort-of works now [EMAIL PROTECTED] (orig r10368): tridge | 2005-09-21 00:52:54 +0200 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. [EMAIL PROTECTED] (orig r10369): tpot | 2005-09-21 01:00:45 +0200 You don't need to put leading or trailing spaces on variables. It's a make-ism. Use consistent (single) quoting. [EMAIL PROTECTED] (orig r10370): tridge | 2005-09-21 01:23:03 +0200 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 [EMAIL PROTECTED] (orig r10372): abartlet | 2005-09-21 02:15:56 +0200 Having gone to all the effort to uppercase the realm, actually set the upper-case realm. Andrew Bartlett [EMAIL PROTECTED] (orig r10373): abartlet | 2005-09-21 02:27:10 +0200 Fix segfault in LookupSids. Andrew Bartlett [EMAIL PROTECTED] (orig r10374): jelmer | 2005-09-21 02:38:23 +0200 Add HAVE_* defines (on command-line or in config.h file) for scons + some other minor updates [EMAIL PROTECTED] (orig r10376): tpot | 2005-09-21 06:59:02 +0200 Argh - not quoting dictionary/hash keys is a bit of a perlism. [EMAIL PROTECTED] (orig r10377): tpot | 2005-09-21 07:39:18 +0200 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. [EMAIL PROTECTED] (orig r10378): tpot | 2005-09-21 09:12:23 +0200 Build config.h file from dictionary of defines and always use it. [EMAIL PROTECTED] (orig r10379): tpot | 2005-09-21 09:20:58 +0200 Add files for ldb and tdb to proto_files. The tool for building proto.h is busted though. [EMAIL PROTECTED] (orig r10380): jelmer | 2005-09-21 11:16:55 +0200 Use pod-style documentation rather then XML-doc, in good perl style. [EMAIL PROTECTED] (orig r10381): jelmer | 2005-09-21 11:27:17 +0200 Be a bit stricter on pod syntax [EMAIL PROTECTED] (orig r10382): abartlet | 2005-09-21 12:17:56 +0200 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 [EMAIL PROTECTED] (orig r10383): abartlet | 2005-09-21 12:18:40 +0200 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 [EMAIL PROTECTED] (orig r10384): tridge | 2005-09-21 12:45:47 +0200 add _GNU_SOURCE in tdb configure [EMAIL PROTECTED] (orig r10385): tridge | 2005-09-21 12:46:02 +0200 removed obsolete comment [EMAIL PROTECTED] (orig r10386): abartlet | 2005-09-21 14:24:41 +0200 Merge current lorikeet-heimdal into Samba4. Andrew Bartlett [EMAIL PROTECTED] (orig r10387): abartlet | 2005-09-21 14:38:25 +0200 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 [EMAIL PROTECTED] (orig r10388): jelmer | 2005-09-21 14:57:18 +0200 Add version numbers (required for CPAN) [EMAIL PROTECTED] (orig r10389): jelmer | 2005-09-21 15:04:09 +0200 Add Manifest file (required for CPAN) [EMAIL PROTECTED] (orig r10390): vlendec | 2005-09-21 16:41:29 +0200 Remove fstring, pstring and uint32_t from winbindd_nss.h. Volker [EMAIL PROTECTED] (orig r10393): jelmer | 2005-09-21 17:18:11 +0200 More type checking in scons Remove unused file [EMAIL PROTECTED] (orig r10395): vlendec | 2005-09-21 18:35:15 +0200 While playing with winbind, I found a segfault because I had given resolve_name_send a stack-allocated method list. Duplicate it. Volker [EMAIL PROTECTED] (orig r10398): abartlet | 2005-09-22 00:55:39 +0200 Don't do DNS lookups on short names (no .). Andrew Bartlett [EMAIL PROTECTED] (orig r10402): abartlet | 2005-09-22 03:50:58 +0200 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 [EMAIL PROTECTED] (orig r10403): tridge | 2005-09-22 05:51:50 +0200 fixed the basedn for testing, and add a debug showing the size of the test in ldbtest [EMAIL PROTECTED] (orig r10404): tridge | 2005-09-22 05:52:32 +0200 make sure we use the right smb.conf in the ldap testing [EMAIL PROTECTED] (orig r10405): tridge | 2005-09-22 05:56:41 +0200 added transactions into tdb, and hook them into ldb. See my samba-technical posting for more details on the transactions design. This also adds a number of command line arguments to tdbtorture, making it more flexible, and fixes some lock deadlock conditions in the tdbtorture code. [EMAIL PROTECTED] (orig r10406): tridge | 2005-09-22 06:16:46 +0200 added --nosync option to all ldb tools, so that you can control if transactions are synchronous or not on the command line. add LDB_FLG_NOSYNC flag to ldb_connect() so we can make our temporary ldb databases non-synchronous [EMAIL PROTECTED] (orig r10407): tridge | 2005-09-22 06:19:57 +0200 the schannel database does not need to be synchronous (and thus crash safe) as it is removed on smbd restart [EMAIL PROTECTED] (orig r10408): tridge | 2005-09-22 06:40:23 +0200 now that we are using tdb transactions we don't need any additional locking code in the ldb_tdb backend, except for a single read lock during searches to ensure searches don't cross transaction boundaries The tdb transactions code would map these extra locks to noops anyway (as locking makes no sense inside a transaction), but the work in setting up the locking keys still costs something, and it makes the code needlessly complex [EMAIL PROTECTED] (orig r10409): tridge | 2005-09-22 06:57:35 +0200 allow smb.conf override of ldb synchronous transactions with "ldb:nosync = yes/no" [EMAIL PROTECTED] (orig r10410): tridge | 2005-09-22 07:03:03 +0200 blindly update the scons file for tdb. I'm not sure how this works, but it definately needs transaction.c now [EMAIL PROTECTED] (orig r10411): tridge | 2005-09-22 07:31:16 +0200 we don't need the 10 times retry on rid allocation now, as transactions ensure two account creations can't interfere with each other [EMAIL PROTECTED] (orig r10414): tpot | 2005-09-22 08:20:53 +0200 Fix building of proto.h [EMAIL PROTECTED] (orig r10415): tpot | 2005-09-22 08:38:26 +0200 The ldb and tdb libraries are bad examples to test out the make proto code as they are marked as NOPROTO in the config.mk files. [EMAIL PROTECTED] (orig r10416): tpot | 2005-09-22 09:17:24 +0200 Detect some more types to get rid of spurious warnings in the lib/replace/replace.h header. Running 'scons lib/tdb' now (mostly) builds tdb. Added: branches/tmp/samba4-winsrepl/source/build/scons/pkgconfig.py branches/tmp/samba4-winsrepl/source/lib/tdb/common/transaction.c branches/tmp/samba4-winsrepl/source/pidl/MANIFEST Removed: branches/tmp/samba4-winsrepl/source/build/m4/check_shld.m4 branches/tmp/samba4-winsrepl/source/pidl/pidl.1.xml Modified: branches/tmp/samba4-winsrepl/ branches/tmp/samba4-winsrepl/source/SConstruct branches/tmp/samba4-winsrepl/source/auth/SConscript branches/tmp/samba4-winsrepl/source/auth/auth_winbind.c branches/tmp/samba4-winsrepl/source/auth/gensec/gensec_gssapi.c branches/tmp/samba4-winsrepl/source/auth/gensec/gensec_krb5.c branches/tmp/samba4-winsrepl/source/auth/gensec/schannel_state.c branches/tmp/samba4-winsrepl/source/auth/kerberos/kerberos-notes.txt branches/tmp/samba4-winsrepl/source/auth/kerberos/kerberos_util.c branches/tmp/samba4-winsrepl/source/auth/kerberos/krb5_init_context.c branches/tmp/samba4-winsrepl/source/auth/ntlmssp/ntlmssp_client.c branches/tmp/samba4-winsrepl/source/build/m4/env.m4 branches/tmp/samba4-winsrepl/source/build/scons/ branches/tmp/samba4-winsrepl/source/build/scons/asn1.py branches/tmp/samba4-winsrepl/source/build/scons/et.py branches/tmp/samba4-winsrepl/source/build/scons/iconv.py branches/tmp/samba4-winsrepl/source/build/scons/pidl.py branches/tmp/samba4-winsrepl/source/build/scons/proto.py branches/tmp/samba4-winsrepl/source/build/smb_build/makefile.pm branches/tmp/samba4-winsrepl/source/client/SConscript branches/tmp/samba4-winsrepl/source/client/client.c branches/tmp/samba4-winsrepl/source/dsdb/samdb/ldb_modules/samldb.c branches/tmp/samba4-winsrepl/source/dynconfig.c branches/tmp/samba4-winsrepl/source/gtk/SConscript branches/tmp/samba4-winsrepl/source/heimdal/cf/resolv.m4 branches/tmp/samba4-winsrepl/source/heimdal/kdc/kerberos5.c branches/tmp/samba4-winsrepl/source/heimdal/kdc/pkinit.c branches/tmp/samba4-winsrepl/source/heimdal/lib/asn1/gen_decode.c branches/tmp/samba4-winsrepl/source/heimdal/lib/asn1/lex.c branches/tmp/samba4-winsrepl/source/heimdal/lib/asn1/lex.l branches/tmp/samba4-winsrepl/source/heimdal/lib/asn1/pkcs8.asn1 branches/tmp/samba4-winsrepl/source/heimdal/lib/com_err/parse.c branches/tmp/samba4-winsrepl/source/heimdal/lib/com_err/parse.h branches/tmp/samba4-winsrepl/source/heimdal/lib/gssapi/cfx.c branches/tmp/samba4-winsrepl/source/heimdal/lib/hdb/hdb-protos.h branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/changepw.c branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/crypto.c branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/get_host_realm.c branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/kcm.c branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/krb5-private.h branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/krb5-protos.h branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/krbhst.c branches/tmp/samba4-winsrepl/source/heimdal/lib/krb5/pkinit.c branches/tmp/samba4-winsrepl/source/heimdal_build/SConscript branches/tmp/samba4-winsrepl/source/ldap_server/ldap_server.c branches/tmp/samba4-winsrepl/source/lib/SConscript branches/tmp/samba4-winsrepl/source/lib/cmdline/SConscript branches/tmp/samba4-winsrepl/source/lib/cmdline/credentials.c branches/tmp/samba4-winsrepl/source/lib/cmdline/popt_common.c branches/tmp/samba4-winsrepl/source/lib/credentials.c branches/tmp/samba4-winsrepl/source/lib/db_wrap.c branches/tmp/samba4-winsrepl/source/lib/genrand.c branches/tmp/samba4-winsrepl/source/lib/ldb/Makefile.in branches/tmp/samba4-winsrepl/source/lib/ldb/SConscript branches/tmp/samba4-winsrepl/source/lib/ldb/configure.in branches/tmp/samba4-winsrepl/source/lib/ldb/include/ldb.h branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_search.c branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_tdb.c branches/tmp/samba4-winsrepl/source/lib/ldb/ldb_tdb/ldb_tdb.h branches/tmp/samba4-winsrepl/source/lib/ldb/tools/cmdline.c branches/tmp/samba4-winsrepl/source/lib/ldb/tools/cmdline.h branches/tmp/samba4-winsrepl/source/lib/ldb/tools/ldbtest.c branches/tmp/samba4-winsrepl/source/lib/messaging/config.mk branches/tmp/samba4-winsrepl/source/lib/popt/SConscript branches/tmp/samba4-winsrepl/source/lib/registry/SConscript branches/tmp/samba4-winsrepl/source/lib/replace/SConscript branches/tmp/samba4-winsrepl/source/lib/socket_wrapper/SConscript branches/tmp/samba4-winsrepl/source/lib/tdb/Makefile.in branches/tmp/samba4-winsrepl/source/lib/tdb/SConscript branches/tmp/samba4-winsrepl/source/lib/tdb/common/dump.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/error.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/freelist.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/io.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/lock.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/open.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/tdb.c branches/tmp/samba4-winsrepl/source/lib/tdb/common/tdb_private.h branches/tmp/samba4-winsrepl/source/lib/tdb/common/traverse.c branches/tmp/samba4-winsrepl/source/lib/tdb/config.mk branches/tmp/samba4-winsrepl/source/lib/tdb/configure.in branches/tmp/samba4-winsrepl/source/lib/tdb/docs/README branches/tmp/samba4-winsrepl/source/lib/tdb/include/tdb.h branches/tmp/samba4-winsrepl/source/lib/tdb/tools/tdbtool.c branches/tmp/samba4-winsrepl/source/lib/tdb/tools/tdbtorture.c branches/tmp/samba4-winsrepl/source/lib/tls/SConscript branches/tmp/samba4-winsrepl/source/libcli/composite/sesssetup.c branches/tmp/samba4-winsrepl/source/libcli/resolve/resolve.c branches/tmp/samba4-winsrepl/source/librpc/SConscript branches/tmp/samba4-winsrepl/source/librpc/rpc/dcerpc_schannel.c branches/tmp/samba4-winsrepl/source/librpc/rpc/dcerpc_util.c branches/tmp/samba4-winsrepl/source/nsswitch/wb_common.c branches/tmp/samba4-winsrepl/source/nsswitch/winbind_nss_config.h branches/tmp/samba4-winsrepl/source/nsswitch/winbindd_nss.h branches/tmp/samba4-winsrepl/source/param/SConscript branches/tmp/samba4-winsrepl/source/param/loadparm.c branches/tmp/samba4-winsrepl/source/pidl/ branches/tmp/samba4-winsrepl/source/pidl/Makefile.PL branches/tmp/samba4-winsrepl/source/pidl/README branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Compat.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Dump.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Ethereal/Conformance.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Ethereal/NDR.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/NDR.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/ODL.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/COM/Header.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/COM/Proxy.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/COM/Stub.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/EJS.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/EJSHeader.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/Header.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/NDR/Client.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/NDR/Header.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/NDR/Parser.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/NDR/Server.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/SWIG.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/TDR.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Samba/Template.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Test.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Typelist.pm branches/tmp/samba4-winsrepl/source/pidl/lib/Parse/Pidl/Util.pm branches/tmp/samba4-winsrepl/source/pidl/pidl branches/tmp/samba4-winsrepl/source/rpc_server/lsa/dcesrv_lsa.c branches/tmp/samba4-winsrepl/source/script/tests/selftest.sh branches/tmp/samba4-winsrepl/source/script/tests/test_ldap.sh branches/tmp/samba4-winsrepl/source/scripting/ejs/smbcalls_auth.c branches/tmp/samba4-winsrepl/source/scripting/ejs/smbcalls_creds.c branches/tmp/samba4-winsrepl/source/torture/local/binding_string.c branches/tmp/samba4-winsrepl/source/torture/rpc/netlogon.c branches/tmp/samba4-winsrepl/source/torture/rpc/samlogon.c branches/tmp/samba4-winsrepl/source/torture/rpc/schannel.c branches/tmp/samba4-winsrepl/source/utils/net/net_password.c branches/tmp/samba4-winsrepl/source/winbind/wb_server.c Changeset: Sorry, the patch is too large (9805 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10417
