1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

527 Commits

Author SHA1 Message Date
Volker Lendecke
eb18cb83d1 Fix Tim's fix for #1144. Tim, could you look at that again?
With only your fix in for example smb.conf was expected in /smb.conf...

Thanks,

Volker
-
Tim Potter
e0382635a5 Fix bugzilla #1144 where running configure --with-fhs=anything would
turn on fhs compliant paths.  Spotted by Timur Bakeyev.
-
Rafal Szczesniak
39bc55e4d4 Disabling GUMS (gums_tdbsam2) temporarily, to fix the build.
rafal
-
Gerald Carter
fb90b4140e check for <sys/xattr.h>; needed by Debian testing -
Tim Potter
056bf382d7 Applied James Peach's stack backtrace patch for IRIX. -
Jeremy Allison
2a8601d0bf Fix for a bug where the mutex could be left locked. Also remove the
memory keytab code which has no effect. Driven by bug report from
"Rob J. Caskey" <rcaskey@uga.edu>.
Jeremy.
-
Tim Potter
cbf9c3d395 Merge from 3.0:
>Include sys/acl.h in check for broken nisplus include files.  Bug #1025.
-
Gerald Carter
e94590fd5a BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux.com> -
Simo Sorce
9836def8a9 reactivate pdb_gums as static module -
Jelmer Vernooij
df7666161f Don't built gums by default
(to enable it, run ./configure --with-static-modules=pdb_gums)
-
Andrew Bartlett
ba9bc99d3d (merge from 3.0)
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where
the failure of our LFS test on ia64 caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...

This was due to strdup() bein implicitly declared, and casting
pointer->int->pointer.

I'll look into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.

Andrew Bartlett
-
Tim Potter
835a28337f Merge of POBAD_CC removal from 3.0 -
Gerald Carter
64c1db9bce syncing abartlet's cracklib tests from 3.0 -
Gerald Carter
c98399e3c9 sync HEAD with recent changes in 3.0 -
Volker Lendecke
9f0292091b Correctly detect AFS headers on SuSE in /usr/include/afs/afs/
Volker
-
Gerald Carter
cca2afecd5 fix inverted check using krb5_kt_resolve() and HAVE_MEMORY_KEYTAB; bug 912 -
Jelmer Vernooij
61cbd5c9be Merge commit to 3_0: add pdb_pgsql -
Jeremy Allison
c208ea44aa Fix detection of elements in in-memory keytab code.
Jeremy.
-
Gerald Carter
824218d086 fix bug that prevent --mandir from overriding the defaults given in the --with-fhs macro -
Jeremy Allison
25d91f8d8c Correctly detect in-memory krb5 keytab support. Fix for bug #863 from
gschafer@zip.com.au (Greg Schafer).
Jeremy.
-
Jeremy Allison
04abff372b IRIX spinlock patch from James Peach <jpeach@sgi.com>.
Jeremy.
-
Gerald Carter
c16e51bfaf working on packaging; also fixed some path issues in configure.in & Makefile.in -
Jeremy Allison
a571194342 Patch from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> to add
MacOSX (Darwin) specific charset module code. Also had to add AC_CHECK_CPP
to configure.in (this took a *long* time to track down) to make autoconf
work correctly on Fedora Core 1.
Jeremy.
-
Simo Sorce
aae13b2e63 do not build config_ldap by default
(forget to remove the module from the default list after testing :-)
-
Simo Sorce
207968eafc Split smbldap in a core file and a utility file
Add module support for configuration loading

Add a first implementation of config_ldap module to put samba configuration
on ldap

It worked on my test machine, please try it out and send bugfixes :-)

have fun,
Simo.

INSTRUCTIONS:


Just add something like  this to your smb.conf file:
        config backend = config_ldap:ldap://localhost
        config_ldap:basedn = dc=samba,dc=org

the config tree must follow this scheme:
   ou=foo, dc=samba, dc=org <- global section
   |- sambaOptionName=log level, ou=foo, ...  <- options
   |- ...
   |- sambaShareName=testlc, ou=foo, ...  == [testlc]
      |- sambaOptionName=path, sambaShareName=testlc, ou=foo, ... <- option


here is a sample ldif:
# foo, samba, org
dn: ou=foo, dc=samba, dc=org
objectClass: organizationalUnit
objectClass: sambaConfig
ou: foo
description: Test Foo

# log level, foo, samba, org
dn: sambaOptionName=log level, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: log level
sambaIntegerOption: 10
description: log level 10 is suitable for good debugging

# testlc, foo, samba, org
dn: sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaShare
sambaShareName: testlc
description: share to test ldap config module actually works

# path, testlc, foo, samba, org
dn: sambaOptionName=path, sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: path
sambaStringOption: /tmp
description: Path for share testlc

# read only, testlc, foo, samba, org
dn: sambaOptionName=read only, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: read only
sambaBoolOption: TRUE
description: Share testlc is read only

# guest ok, testlc, foo, samba, org
dn: sambaOptionName=guest ok, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: guest ok
sambaBoolOption: TRUE
description: Guest users are allowed to connect to testlc share
-
Gerald Carter
89a8c607af fix more memory leaks in the LDAP backend code; patches from metze -
Richard Sharpe
664cc4f46c Keep configure.in in sync with SAMBA-3.0.0 -
Gerald Carter
ac9f9f9ea8 merge's tpot build fix from 3.0 -
Gerald Carter
2277c6e06c patch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570 -
Richard Sharpe
e490efd29a Make the recent changes more pretty. -
Richard Sharpe
123a516a60 Better handling of iconv support and etc because gnu libiconv on FreeBSD
changed where it puts things :-)
-
Tim Potter
e7e17e6b4a Merge of uname cleanups from 3.0 -
Gerald Carter
b4d80ee747 removing #include <compat.h> in hopes to avoid problems with apache header files; will watch the build farm on this to make sure things don't blow up -
Volker Lendecke
f6cff956c4 From 3_0:
AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least
autoconf-2.53 on SLES8 does not correctly find the keyblock.

Volker
-
Tim Potter
a2feac08e8 Fix duplicate libs problem in iconv detection code. -
Tim Potter
160903f997 Sync up some indentation. -
Jeremy Allison
8d29faaa63 Check for nsswitch.h. Patch from albert chin (china@thewrittenword.com).
Jeremy.
-
Richard Sharpe
4ab7947e60 Check for va_copy before you check for __va_copy, since va_copy is the
actual standard, and __va_copy was the proposed standard.
-
Jim McDonough
73882e970a Add server side support for epmapper pipe. Currently only does a fixed
mapping, but this is the base for changes to come.
-
Tim Potter
720f5e5629 Merge of krb5_keytab entry key vs keyblock member check from HEAD. -
Simo Sorce
2d46b2a0e7 fix typo -
Tim Potter
0abe1964f7 Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone to
the trouble of detecting what the PIC suffix should actually be.

Change PICFLAG in configure.in to PICFLAGS for consistency.

Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
-
Simo Sorce
7b3c94b5cf So here it is a non-intrusive patch with my latest work on gums (the
laternative to the current passdb).
Currently it is run through a comatibility module in the passdb layer, with
a subset of the functionality it may provide.
It is still work in progress, but as someone asked me about it, and as it
should make no difference to the normal code, I tought it was a good idea to
put it into.
It adds a dependency on perl. I know it is not very nice, but I'm sure we
will work out a solution for that.

As always blame me if I break something, but try to fix yourself, as I am
busy-busy-busy :-)

Simo.
-
Jelmer Vernooij
2ef9661862 We need to make sure that the files that contain the static_init_$subsystem;
macro get recompiled after configure has ran.
This was done by touching the source file. This patch changes it to removing
the object file, so that you don't need write-access to the source directory.
-
Jelmer Vernooij
cd3e4882fc Move sysquotas autoconf tests to a seperate file in tests/
Patch by Stefan Metzmacher <metze@metzemix.de>
-
Jelmer Vernooij
46a5575f19 Refuse to configure if --with-expsam=$BACKEND was specified, but
the libraries for $BACKEND were not found
-
Tim Potter
442cfcce0d Merge from 3.0:
>Explicitly initialise the value of AR for vendor makes that don't do
>this (HPUX 11).  Currently it's initialised to 'ar' but this may have
>to be changed if any systems pop up that have archivers that aren't
>named 'ar'. Closes bug #552.

>Fallback to our defaults (CP850/ASCII/UTF8) if there is no native
>iconv on the platform. This allows to compile and complain about it
>at runtime
-
Gerald Carter
aa7fccf6ad save and restore CFLAGS before/after AC_PROG_CC; this macro seems to overwrite the CFLAGS variable -
Gerald Carter
b766fe78a7 don't write to static pointers; patch from Anthony -
Tim Potter
4b73ba7df1 Another round of merges from 3.0:
>Change error message displayed when --without-libiconv is used as
>an argument to configure.  Closes bug 468.
-