1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

93 Commits

Author SHA1 Message Date
Jelmer Vernooij
47b8095a0a r11182: Explicitly add "." to perl include path so that perl doesn't use the
Config module instead of the configure-generated config.pm on case-insensitive
filesystems (MacOSX, OpenVMS)
2007-10-10 13:44:57 -05:00
Jelmer Vernooij
6f9956a1dd r10294: Generate Makefile directly rather then thru Makefile.in. Autoconf
substitution variables are now no longer used.

This is one more step towards a (hopefully) perl-based configure
2007-10-10 13:38:14 -05:00
Stefan Metzmacher
1b777217ba r9506: as the included file only contains a macro and no logic for configure move the
include to aclocal.m4

metze
2007-10-10 13:34:24 -05:00
James Peach
850d073c85 r9494: Add ac-archive macro for checking GCC options. Use this to add to
developer CFLAGS to handle different versions of GCC.
2007-10-10 13:34:22 -05:00
Stefan Metzmacher
cc2ccf5314 r9141: fix up output massage
metze
2007-10-10 13:31:22 -05:00
Stefan Metzmacher
69ade058fd r9078: - move charset stuff to lib/charset
- don't use the global $LIBS variable for -liconv as $LIBS is not used anymore

should fix the build on solaris 10

metze
2007-10-10 13:31:14 -05:00
Stefan Metzmacher
adebd56be6 r9063: - don't pollute the global $LIBS variable with -ldl
- -lresolve seems to not being needed any more
  (it's actually not used, and the build farm seem to happy with it)

- move socket and netif configure test to seperate files
- don't pollute the global $LIBS variable with -lsocket ...
- actually make use of the -lsocket when needed
  (should fix the solaris build)

metze
2007-10-10 13:31:13 -05:00
Jelmer Vernooij
d89caeb800 r8972: More simplifications... 2007-10-10 13:31:01 -05:00
Jelmer Vernooij
19d383259f r8829: Generate hash rather then a lot of globals. 2007-10-10 13:30:10 -05:00
Jelmer Vernooij
52bb1374bb r8826: Make configure generate config.mk files (with the external libraries
that were found) and a config.pm file (with all substitution variables)
2007-10-10 13:30:09 -05:00
Andrew Tridgell
e1bf7c4279 r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
437c4057ae r8482: gnutls_x509_crt_set_subject_key_id is not available in some versions
of gnutls. Thanks to ab for spotting this.
2007-10-10 13:23:08 -05:00
Jelmer Vernooij
d2ea619125 r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes
2007-10-10 13:23:02 -05:00
Stefan Metzmacher
bfce35bf63 r8376: remove version info from configure.in
metze
2007-10-10 13:20:14 -05:00
Love Hörnquist Åstrand
f872686d83 r8362: change AC_INIT to the new version, improves failure reporting from autoconf
configure: WARNING: sys/mount.h: present but cannot be compiled
[...]
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

configure: WARNING: sys/mount.h: present but cannot be compiled
[...]
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to samba-technical@samba.org ##
configure: WARNING:     ## ---------------------------------------- ##
2007-10-10 13:20:11 -05:00
Jelmer Vernooij
bf85fdd015 r7850: Support mkdir() with just one parameter. Patch from
Steven Edwards <steven_ed4153@yahoo.com>.

I've moved the Win32-specific tests to win32.m4 so it does not
make any of the POSIX configure stuff more complicated.
2007-10-10 13:18:42 -05:00
Andrew Tridgell
844d2a2083 r7669: removed ldap from our configure tests
This takes our link dependencies from this:

tridge@blu:~/samba/samba4/source$ ldd bin/ldbsearch
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc9000)
        libldap_r.so.2 => /usr/lib/libldap_r.so.2 (0xb7f92000)
        liblber.so.2 => /usr/local/lib/liblber.so.2 (0xb7f85000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7f7d000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e48000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7e36000)
        libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7e09000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7df3000)
        libgnutls.so.11 => /usr/lib/libgnutls.so.11 (0xb7d8c000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d7d000)
        libtasn1.so.2 => /usr/lib/libtasn1.so.2 (0xb7d6d000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb7d20000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7d1c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d09000)
        libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7cf5000)

to this:

tridge@blu:~/samba/samba4/source$ ldd bin/ldbsearch
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc9000)
        libpam.so.0 => /lib/libpam.so.0 (0xb7fc0000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e8b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fea000)

this finally gets rid of the implicit dependency on pthreads! Yay!
2007-10-10 13:18:20 -05:00
Andrew Tridgell
d4648249b2 r7352: the internal heimdal build change. This changes quite a few things:
- if you want kerberos now, you need to unpack a lorikeet heimdal
   tree in source/heimdal/. If source/heimdal/ does not exist at
   configure time then all kerberos features are disabled. You cannot
   use an external kerberos library for now. That may change later.

 - moved lib/replace/ config stuff to lib/replace/ and create a
   lib/replace/replace.h. That allows the heimdal build to use our
   portability layer, and prevenets duplicate definitions of functions
   like strlcat()

 - if you do enable heimdal, then you will need to do 'make
   HEIMDAL_EXTERNAL' before you build Samba. That should be fixed once
   I explain the problem to jelmer (the problem is the inability to
   set a depend without also dragging in the object list of the
   dependency. We need this for building the heimdal asn1 compiler and
   et compiler.

 - disabled all of the m4 checks for external kerberos libraries. I
   left them in place in auth/kerberos/, but disabled it in
   configure.in

some of the heimdal_build/ code is still very rough, for example I
don't correctly detect the correct awk, flex, bison replacements for
heimdal_build/build_external.sh. I expect to fix that stuff up over
the next few days.
2007-10-10 13:17:45 -05:00
Stefan Metzmacher
2aec140e00 r7303: autodetect the libkdc and our kdc support
btw: I use this for configuring heimdal

>>>
CONFIG="CFLAGS=\"-g -O -Wall -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wdeclaration-after-statement\" \
	CC=gcc-4.0 \
	./configure -C --prefix=$HOME/prefix/heimdal-test \
	--sysconfdir=/etc \
	--enable-shared=no \
	--with-ldb=$HOME/prefix/ldb \
	--without-openldap \
	--without-openssl $@"

echo $CONFIG
eval $CONFIG
>>>

maybe you also want to use --disable-berkeley-db

metze
2007-10-10 13:17:39 -05:00
Andrew Bartlett
5a1ef88810 r7292: Fix up the build system support for derrell's sqlite3 ldb backend.
It is on by default, so I've also fixed a build issue in it.  I'll
show how to make it off be default in the next commit.

Andrew Bartlett
2007-10-10 13:17:37 -05:00
Jelmer Vernooij
879f68cef7 r7288: Remove empty wrapper function 2007-10-10 13:17:37 -05:00
Jelmer Vernooij
0dda66f0e8 r7274: Move m4 files to seperate dir 2007-10-10 13:17:35 -05:00
Simo Sorce
d630e654b6 r7237: we need to check for PAM here 2007-10-10 13:17:30 -05:00
Andrew Bartlett
51ba3ea60c r7221: Add the start of a KDC service (to be built on a 'libkdc' from a to be
included Heimdal) to Samba4.

Andrew Bartlett
2007-10-10 13:17:27 -05:00
Andrew Tridgell
2614ace175 r7004: added support for exceptions generated in the esp library. If the OS
supports setjmp/longjmp then the exception will generate a error in
the web page and the Samba log. If the OS doesn't support setjmp then
we will abort.
2007-10-10 13:17:05 -05:00
Jelmer Vernooij
77f9c471ea r6842: Move to .mk file 2007-10-10 13:16:50 -05:00
Tim Potter
f377c71e4f r6810: Rename auth/{ntlmssp,gensec,kerberos} mk and m4 files to be called
config.mk and config.m4 to be consistent with the rest of Samba.
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
443fb7853b r6140: - Add configure option for enabling the socket-wrapper library, so it
can be enabled on the buildfarm without requiring --enable-developer
- Support tcp and udp being used on the same port
- FIx some portability issues (should fix the build on
							   some hosts on the buildfarm)
- Ignore setting TCP_NODELAY on (semi-)TCP sockets rather then complain about
  it not being supported (saves us from a couple of error messages for each
						  connection that is opened)
2007-10-10 13:11:21 -05:00
Stefan Metzmacher
5e8558c5b4 r6129: - add our own MSZIP decompression implementation
(taken from cabextract.c from KDE)
  this code maybe need to be rewritten and the
  compression side needs to be done,
  but for now it seems to works

- remove the dependency to zlib

metze
2007-10-10 13:11:20 -05:00
Andrew Bartlett
e074d63f3d r6113: Move GENSEC and the kerberos code out of libcli/auth, and into
auth/gensec and auth/kerberos.

This also pulls the kerberos configure code out of libads (which is
otherwise dead), and into auth/kerberos/kerberos.m4

Andrew Bartlett
2007-10-10 13:11:20 -05:00
Stefan Metzmacher
335adef370 r6061: add start of compression support in our rpc code
this is not complete cuurently...

but I want other people to test it and help me on finishing it.
(try to change the #if 0 in torture/rpc/drsuapi.c into #if 1)

metze
2007-10-10 13:11:16 -05:00
Andrew Tridgell
7f54c8a339 r5197: moved events code to lib/events/ (suggestion from metze) 2007-10-10 13:09:30 -05:00
Andrew Tridgell
98b5f73c1b r4473: - moved talloc into its own lib/talloc/ area
- added gcov flags to Makefile.talloc

- expanded talloc testsuite to add a test for realloc with a child ptr

- fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs
2007-10-10 13:07:55 -05:00
Andrew Tridgell
c3b318143f r3745: fixed the posix backend after the recent build changes (it had lost
the detection of HAVE_XATTR_SUPPORT during configure)
2007-10-10 13:05:50 -05:00
Jelmer Vernooij
2a38b77a1d r3739: Remove a bunch of unused m4 macros 2007-10-10 13:05:48 -05:00
Jelmer Vernooij
64826da834 r3733: More build system fixes/features:
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure
 - Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities)
2007-10-10 13:05:47 -05:00
Andrew Bartlett
5925b94a59 r3170: Add winbind client support back into Samba4. This is to allow
auth_winbind to work, and to therefore use the new ntlm_auth and
GENSEC in an otherwise Samba3 setup.

I'm not quite sure what fun-and games my svn cp caused as I merged
this from samba_3_0, but anyway...

Andrew Bartlett
2007-10-10 13:04:31 -05:00
Andrew Tridgell
3af06478da r3016: - converted the events code to talloc
- added the new messaging system, based on unix domain sockets. It
  gets over 10k messages/second on my laptop without any socket
  cacheing, which is better than I expected.

- added a LOCAL-MESSAGING torture test
2007-10-10 12:59:57 -05:00
Stefan Metzmacher
de4447d7a5 r2328: add the start of a new system and protocol
independent socket library.

this is not used, but compiled currently

there're maybe some api changes later...

metze
2007-10-10 12:58:44 -05:00
Stefan Metzmacher
5387bc423d r2321: add complately untested LDAP server start
based on volker's patch

this is compiled by default but not started by default

metze
2007-10-10 12:58:43 -05:00
Stefan Metzmacher
35624842c7 r1943: don't use the with --enable-*developer selected flags for
the configure tests.

and test if the compiler really understand the options,
and clear them when not

this means we can maybe use --enable-developer on the build farm now

metze
2007-10-10 12:58:12 -05:00
Stefan Metzmacher
05c40dca8a r1836: - as abartlet said to me, we need to contact the users domain pdcfor doing a
password change
- add start of libnet_SetPassword
- use KRB5 and LDAP instead of ADS as ADS isn't a protocol
- add start of lib_rpc_connect()

metze
2007-10-10 12:58:00 -05:00
Jelmer Vernooij
8d36dbed8c r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
48939adca1 r1756: merge volkers ldap client lib to samba4 for simo to start with the
ldap server code

it's not compiled in yet...

metze
2007-10-10 12:57:54 -05:00
Jelmer Vernooij
69de0d95c5 r1449: Use the config system somewhat better in libcli/auth 2007-10-10 12:56:57 -05:00
Jelmer Vernooij
d321cf20f1 r1432: - Move the various Gtk-specific parts from the registry code into a directory gtk/
- Move common "Samba-Gtk" code into gtk/common/ ("Connect to RPC pipe"-dialog, etc)
- Add a new utility 'gwcrontab' that can currently list, delete and add 'atsvc' jobs. It still displays times and dates as integers though, will fix that later.

Some screenshots available at:
 http://samba.org/~jelmer/gwcrontab/
2007-10-10 12:56:55 -05:00
Stefan Metzmacher
9fa83ca022 r968: use sinlcude() and no function, that's more portable between
autoconf versions

metze
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
2d109074e8 r967: move some configure checks to seperate files
metze
2007-10-10 12:56:24 -05:00
Stefan Metzmacher
0f8c193ac3 r866: convert the rest of the binaries to config.mk files
metze
2007-10-10 12:56:13 -05:00
Stefan Metzmacher
ecdeedb2ac r864: convert the smbd/* code to a config.mk file
and add server_auth, server_smb, server_rpc as server modules

metze
2007-10-10 12:56:13 -05:00