Author: jelmer Date: 2005-07-13 22:11:52 +0000 (Wed, 13 Jul 2005) New Revision: 8438
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8438 Log: - More win32 portability fixes. Now fails on socketwrapper (because unix domain sockets are not available on win32) - Update howto Modified: branches/SAMBA_4_0/howto.txt branches/SAMBA_4_0/source/heimdal_build/glue.c branches/SAMBA_4_0/source/include/includes.h Changeset: Modified: branches/SAMBA_4_0/howto.txt =================================================================== --- branches/SAMBA_4_0/howto.txt 2005-07-13 21:54:34 UTC (rev 8437) +++ branches/SAMBA_4_0/howto.txt 2005-07-13 22:11:52 UTC (rev 8438) @@ -29,30 +29,6 @@ $ cd samba4 $ svn up -Step 1a: Use Lorikeet/Heimdal ------------------------------ - -If you want to use Kerberos in Samba4, you must use -'Lorikeet/heimdal', and place a checkout into samba4/source/heimdal - -There are 2 methods of doing this: - - method 1: - $ cd samba4/source - $ rsync -avz samba.org::ftp/unpacked/lorikeet-heimdal heimdal - - method 2: - - $ cd samba4/source - $ svn co svn://svnanon.samba.org/lorikeet/trunk/heimdal heimdal - -both methods will create a directory called "heimdal" in the samba4/source -directory. - -(Long-term, we will either import Heimdal from 'lorikeet', or setup a -reference between the repositories, so this and svn update works -automaticly. In the short term, you must manually update this directory). - Step 2: compile Samba4 ---------------------- @@ -60,13 +36,13 @@ $ cd samba4/source $ ./autogen.sh - $ ./configure.developer -C + $ ./configure.developer If you did not include heimdal, run this: $ make proto all If you did include Heimdal, a different step is required: - $ make proto HEIMDAL_EXTERNAL all + $ make proto all If you have gcc 3.4 or newer, then substitue "pch" for "proto" to greatly speed up the compile process (about 5x faster). @@ -88,7 +64,7 @@ The "provision" step sets up a basic user database. $ cd source - $ ./setup/provision.pl --realm=YOUR.REALM --domain=YOURDOM --adminpass=SOMEPASSWORD + $ ./setup/provision --realm=YOUR.REALM --domain=YOURDOM --adminpass=SOMEPASSWORD This will create a number of new 'ldb' database files in a directory newdb.XXX. You need to move these to the "private" subdirectory of Modified: branches/SAMBA_4_0/source/heimdal_build/glue.c =================================================================== --- branches/SAMBA_4_0/source/heimdal_build/glue.c 2005-07-13 21:54:34 UTC (rev 8437) +++ branches/SAMBA_4_0/source/heimdal_build/glue.c 2005-07-13 22:11:52 UTC (rev 8438) @@ -23,12 +23,11 @@ #include "includes.h" #include "system/network.h" #include "system/kerberos.h" -#include "err.h" /* get the list of IP addresses for configured interfaces */ -krb5_error_code krb5_get_all_client_addrs(krb5_context context, krb5_addresses *res) +krb5_error_code KRB5_LIB_FUNCTION krb5_get_all_client_addrs(krb5_context context, krb5_addresses *res) { int i; res->len = iface_count(); Modified: branches/SAMBA_4_0/source/include/includes.h =================================================================== --- branches/SAMBA_4_0/source/include/includes.h 2005-07-13 21:54:34 UTC (rev 8437) +++ branches/SAMBA_4_0/source/include/includes.h 2005-07-13 22:11:52 UTC (rev 8438) @@ -64,6 +64,10 @@ #include <winsock2.h> #endif +#ifdef HAVE_WS2TCPIP_H +#include <ws2tcpip.h> +#endif + #ifdef HAVE_WINDOWS_H #include <windows.h> #endif