1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

660 Commits

Author SHA1 Message Date
Lars Müller
71b2eb55ad r14325: Add pam_modules rule which builds the configure(d) pam modules. This is
called as part of the all rule (again only if pam modules are requested
by configure).

Add pam_winbind rule.

Ensure proto_exists before we build the pam modules.

Add test_pam_modules rule to test if the built pam modules have any
unresolved symbols.  For test_pam_modules we use script/tests/dlopen.sh
which was written by Nalin Dahyabhai <nalin@redhat.com>.  Thanks Nalin!
RedHat and SuSE use this script to test nss and pam modules since
several years.
2007-10-10 11:15:25 -05:00
Günther Deschner
a32a423a0e r14321: When we have libnscd and winbindd comes (back) online, try to flush the
nscd caches so that NSS-calls can deliver accurate information.

Guenther
2007-10-10 11:15:24 -05:00
Lars Müller
9883957b74 r14317: Use source/bin as dir to link pam_winbind instead of source/nsswitch/
The intention is to have the resulting binaries at one place.  This is
also usefull for upcoming changes to provide a test_pammodules rule.

With these changes I even got aware of
testsuite/nsswitch/pam_winbind_syms.exp  But this only covers
pam_winbind.
2007-10-10 11:15:24 -05:00
Günther Deschner
7ec2b31a87 r14148: Removing the not very well tested krb5 ticket refresh handling activated
over --with-kcm. No time to look after it for the moment.

Guenther
2007-10-10 11:15:13 -05:00
James Peach
dc96ce90e5 r14111: Work around additional typedefs in the gamin implementation
of the FAM API.
2007-10-10 11:11:12 -05:00
Jeremy Allison
7d50966d7f r14106: Fix from William Jojo for AIX vfs builds. Thanks Bill !
Jeremy.
2007-10-10 11:11:12 -05:00
Lars Müller
7773b8c9e0 r14056: Also install the mount.smbfs sym link to rootsbindir. Therfore we have
to substitute rootsbindir in {,un}installbin.sh.in.

Pass $prefix as third arg to installbin/ uninstallbin as rootsbindir by
default is $prefix/sbin.
2007-10-10 11:11:09 -05:00
Lars Müller
75c95d149a r13997: Prefix $prefix by default even to rootsbindir as we else run in trouble
if we use ./configure --prefix=dir && make install

Vendors might use ./configure --with-rootsbindir=/sbin && make
DESTDIR=/var/tmp/samba/ install if they use a buildroot.

Thanks to Björn Jacke for pointing me at the stderr output of the build
farm.
2007-10-10 11:11:04 -05:00
Lars Müller
2329308930 r13718: There is even no need to use AC_MSG_WARN in the case the user did not
request to build mount.cifs/ umount.cifs and we're not on Linux.
2007-10-10 11:10:50 -05:00
Lars Müller
1c66c4e4b8 r13717: Use AC_MSG_WARN if we did not called --with-cifsmount on a non Linux
system to report we're not on Linux.
2007-10-10 11:10:50 -05:00
Lars Müller
a2ab4cc824 r13713: Added installcifsmount and uninstallcifsmount rules for mount.cifs and
unmount.cifs.  This is controlled via CIFSMOUNT_PROGS which is set by
configure by default to yes on linux systems only.  It's possible to
disable with --without-cifsmount anyhow.

Added ROOTSBINDIR to the Makefile to allow us an install to /sbin and
not $prefix/sbin.  Configurable with --with-rootsbindir.
2007-10-10 11:10:49 -05:00
Lars Müller
43549301b9 r13663: make uninstall DESTDIR=/somewhere no longer leaves files. This is done
with the new rules: uninstallservers uninstalldat, uninstallswat (calles
uninstallmsg), uninstallmodules, uninstallclientlib, and
uninstalllibmsrpc.

We still leave directories.  We might try to remove the dirs we created
in reverse order.

The new uninstall scripts are sym links to the respective install
scripts.  Inside we set mode to install or uninstall.

installservers is now used to install the servers.  These are no longer
installed with installbin.
2007-10-10 11:10:21 -05:00
Günther Deschner
69fb189a6b r13566: Fix EA support for AIX.
Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>.

Guenther
2007-10-10 11:10:14 -05:00
Gerald Carter
db575c7641 r13550: remove pdb_guest 2007-10-10 11:10:13 -05:00
Gerald Carter
380d89d148 r13546: NSS soname merge from trunk 2007-10-10 11:10:12 -05:00
James Peach
30122f61c3 r13425: Revert all the "clever" compiler options checks. They broke
the build on Solaris, AIX and S390. The fundamental problem is
that macros like AX_CFLAGS_IRIX_OPTION can spuriously succeed.
2007-10-10 11:10:01 -05:00
James Peach
341d554e2f r13424: Don't attempt to use cc -O2. This breaks the solaris build. 2007-10-10 11:10:01 -05:00
Jeremy Allison
07132d8796 r13423: Write wrapper functions (and configure tests) so we can
always assume we can get a struct timespec out of a stat
struct. This will allow us to portably move to nsec timestamps
on files and directories in the file server code in future.
Jeremy.
2007-10-10 11:10:01 -05:00
James Peach
5e57021723 r13420: Support profile-guided optimisation in the build system. This is
implemented for gcc 3.x, gcc 4.x and MIPSPro compilers.
2007-10-10 11:10:01 -05:00
James Peach
eb3ba826ef r13418: Formalise support for checking compiler options. 2007-10-10 11:10:00 -05:00
Lars Müller
b28e43427b r13417: Add .2 to the SONAME as version suffix if we link the nss modules on
linux.

Heads up: This might be required on other OS using glibc too.
2007-10-10 11:10:00 -05:00
Volker Lendecke
a3bc4f5114 r13338: Remove the experimental pdb modules 2007-10-10 11:06:25 -05:00
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Volker Lendecke
246b5b4356 r13202: Fix the build for --with-aio-support. Sorry.
Jeremy, configure.in decides whether aio support works quite early in the
sequence of checks. Wouldn't it be better to only use aio support if really
all necessary functions actually are around?

Volker
2007-10-10 11:06:17 -05:00
James Peach
652b511ff2 r13027: Support file change notifications from FAM. 2007-10-10 11:06:11 -05:00
Volker Lendecke
8176f5a282 r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de> 2007-10-10 11:06:10 -05:00
Volker Lendecke
de0347cd70 r12993: Ouch... 2007-10-10 11:06:10 -05:00
Günther Deschner
a77e02177d r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".
Finally cleanup the way idmap modules are build and loaded, idmap_rid
now will have to be loaded without prefix, just "rid".

Guenther
2007-10-10 11:06:06 -05:00
Jeremy Allison
d01824b785 r12877: Stop passing structs around in smb messages, instead
always linearize into little-endian. Should fix all
Solaris issues with this, plus provide a cleaner base
moving forward for cluster-aware Samba where smbd's
can communicate across different compilers/architectures
(eventually these message will have to go cross-machine).
Jeremy.
2007-10-10 11:06:05 -05:00
Volker Lendecke
044dc33173 r12837: - configure check for Tru64 EA functions (not yet implemented)
- find Tru64 AIO lib in configure

Thanks to Björn Jacke <bj@sernet.de>

Volker
2007-10-10 11:06:04 -05:00
Tim Potter
679fc45935 r12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX in
linking smbd when the symbol table for ld exceeds 65536 bytes.
2007-10-10 11:06:04 -05:00
Volker Lendecke
2c3d5c029a r12735: After talking to Tridge and Jeremy... This needs to be made more generic
before it goes in.

Volker
2007-10-10 11:06:02 -05:00
Volker Lendecke
2253b17a1a r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
oplocks across the cluster. Adapt Samba to it.

The gpfs API is called via libgpfs.so. This code is written with dlopen(), so
that you can compile on a system with gpfs installed and later on run on
systems without gpfs available.

So to actually make Samba call gpfs share mode calls you need to compile with
gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you
export from GPFS.

Volker
2007-10-10 11:06:01 -05:00
Lars Müller
6794d44099 r12077: Add configure switch to disable libmsrpc build. Add new Makefile target
installlibmsrpc.  This works the same way as we're already doing it for
libsmbclient.  Default is to build it.

Add a soname to libmsrpc as we do it for libsmbclient.  We already had
the MAJOR and MINOR variable in the Makefile.
2007-10-10 11:05:44 -05:00
Gerald Carter
a33e78aced r11863: BUG 3196: patch from Alex Deiter <tiamat@komi.mts.ru> to compile against the Sun LDAP client libs. But not for AD support; just ldap support 2007-10-10 11:05:31 -05:00
Tim Potter
78ddbb1dd4 r11729: Remove space from DYNEXP flags declaration for HPUX. Fixes bugzilla
#3260.
2007-10-10 11:05:25 -05:00
Gerald Carter
c495059de1 r11301: why would you look for printf in -lnsl[_s]? Fixing configure checks 2007-10-10 11:05:11 -05:00
Gerald Carter
056bf81628 r11167: -lsec should be include in $ACL_LIBS and not $LIBS on solaris 2007-10-10 11:05:05 -05:00
Gerald Carter
df998bfa8e r11165: deparate the library install commands from the logic of whether to build the library at all. Still needs some more cleanup but this works for now 2007-10-10 11:05:04 -05:00
Gerald Carter
19e0e48ce0 r11161: another regression from merge; make sure to build vfs_full_audit modulebranches/SAMBA_3_0_RELEASE/source/configure.in 2007-10-10 11:05:04 -05:00
Gerald Carter
490dbc64f7 r11150: fix solaris acl linking problem on sunos5.9; not quite sure how this got broken 2007-10-10 11:05:03 -05:00
Günther Deschner
380c613324 r10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.
Guenther
2007-10-10 11:04:59 -05:00
Gerald Carter
b70b888699 r10927: bug 1473 & 3090: quota compile fixes on Solaris 2007-10-10 11:04:56 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Jeremy Allison
9c2a641366 r10458: Patches from Jiri Sasek <Jiri.Sasek@Sun.COM> to help
configure run on Solaris.
Jeremy.
2007-10-10 11:03:42 -05:00
Jeremy Allison
155dc2d52a r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy.
2007-10-10 11:03:41 -05:00
Jeremy Allison
67be4ee41c r10234: Add new auth module "auth_script" to allow valid users to
be provisioned on demand - calls script with domain,
username, challenge and LM and NT responses - passing
the info through a pipe.
Jeremy.
2007-10-10 11:03:38 -05:00
Stefan Metzmacher
6768c07bd1 r10165: - use the sysquota interface on linux by default (as the configure --help, shows since a few years ago)
- fix the logic for using the builtin linux quota support
(hopeful fix the quota build on the fedora 4 builtfarm boxes)

metze
2007-10-10 11:03:35 -05:00
James Peach
7c97a1bcc3 r10068: Use prctl(PR_SET_DUMPABLE) to make sure we can always leave a good
looking corpse on Linux.
2007-10-10 11:03:33 -05:00
Gerald Carter
c7f7bcdb0f r10064: BUG 3052: adding OpenBSD timespec patch from Steve Williams <steve@celineandsteve.com> 2007-10-10 11:03:32 -05:00