1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

670 Commits

Author SHA1 Message Date
Jeremy Allison
1d3fd5201c r14746: Add the Samba4 replacements for opendir/readdir etc. to
Samba3 - with some 64-bit macro madness. Attempt to fix
the broken directory handling in the *BSD-of-the-month
club.
Jeremy.
(This used to be commit fd98427f64f4206c01f16f82fadf24f5863878db)
2007-10-10 11:15:45 -05:00
Volker Lendecke
e487835181 r14695: Patch from Björn Jacke:
- add DMAPI/XDSM support for AIX
- find JFS DMAPI libs on Linux when only they are available

Volker
(This used to be commit b6b72f8c6a03001ae75457c9e7a78e189bea5a3f)
2007-10-10 11:15:44 -05:00
James Peach
40d0707827 r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-based
HSM is interested in. Tested on both IRIX and SLES9.
(This used to be commit 514a767c57f8194547e5b708ad2573ab9a0719c6)
2007-10-10 11:15:42 -05:00
Lars Müller
853ad11aaf r14659: Fix installpammodules for shells where a
for module in ; do ... ; done

leads to an error (true64, solaris 8).

We now use {,UN}INSTALL_PAM_MODULES to get replaced by configure.
Therfore we don't run into the {,un}installpammodules rule if no PAM
module is requested.

Thanks to Björn Jacke for pointing to this issue.
(This used to be commit 07a70f8f861235ba4037aacb9cc835b6d18f51c3)
2007-10-10 11:15:42 -05:00
Lars Müller
4ba096740f r14631: Add {,un}installpammodules rule and add it to the install rule.
Nothing happens if PAM_MODULES is empty which is our default.

The default destination dir is "${LIBDIR}/security".  It's possible to
overwrite the default with --with-pammodulesdir while calling configure.
(This used to be commit 7163c6860549378fa63907048c4eb34fe81835cc)
2007-10-10 11:15:40 -05:00
Lars Müller
49ba0a9e20 r14626: Only set libdir and mandir to the defaults if we haven't used --libdir
or --mandir to set them already.  Till now we overwrrote a setting made
with --libdir or --mandir.
(This used to be commit 94980a15be5eae2820c340d3d33b6c9df7053b24)
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
b40e258870 r14624: - add timelimit.c
- add configure tests --with-selftest-prefix=/tmp/samba-test
  this is needed because the path name of unix socket can only be 108 chars long
- add configure test --with-smbtorture4-path=/home/foo/prefix/samba4/bin/smbtorture
  this will be used to run samba4's smbtorture inside samba3's make test later

metze
(This used to be commit d9df1853b947c70f747ea30a353162f2985ef250)
2007-10-10 11:15:39 -05:00
Lars Müller
22183b0c74 r14617: Fix typo in comment.
(This used to be commit df6d69e78fb0f604a7bfc34fc9ac8f391252520d)
2007-10-10 11:15:39 -05:00
James Peach
97ee5b1afa r14600: Refactor capability interface from being IRIX-specific to using only
the POSIX interface. Note that this removes support for inherited
capabilities. This wasn't used, and probably should not be.
(This used to be commit 763f4c01488a96aec000c18bca313da37ed1df1b)
2007-10-10 11:15:39 -05:00
Lars Müller
4b000b2c95 r14584: Really follow with roosbindir by defaulr the setting we use for sbindir.
(This used to be commit 1829d22720612b0e61cec7e66d7cba46c04160b9)
2007-10-10 11:15:38 -05:00
Lars Müller
9b27791644 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.
(This used to be commit 71b2eb55adcd28f3796254ea1ce0bcee6098e712)
2007-10-10 11:15:25 -05:00
Günther Deschner
b97a69dce3 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
(This used to be commit a32a423a0e9e0d4dd21282fd528bcd3247fddbd1)
2007-10-10 11:15:24 -05:00
Lars Müller
b372fd2cff 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.
(This used to be commit 9883957b74ddefb5293e4aef0cc2f53ee4d417ac)
2007-10-10 11:15:24 -05:00
Günther Deschner
14e904fe86 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
(This used to be commit 7ec2b31a8790db1466ffafeab533c11ab7ea801a)
2007-10-10 11:15:13 -05:00
James Peach
f0210601d1 r14111: Work around additional typedefs in the gamin implementation
of the FAM API.
(This used to be commit dc96ce90e50da9a82f941b0b534c0681c8477f5e)
2007-10-10 11:11:12 -05:00
Jeremy Allison
433e171482 r14106: Fix from William Jojo for AIX vfs builds. Thanks Bill !
Jeremy.
(This used to be commit 7d50966d7f783da41dc9303d7c535bc46564cf09)
2007-10-10 11:11:12 -05:00
Lars Müller
24decd1233 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.
(This used to be commit 7773b8c9e0ad7bcff1312f28ca9cd17d7677e9bd)
2007-10-10 11:11:09 -05:00
Lars Müller
ef5b36ca8d 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.
(This used to be commit 75c95d149a22eba4a5afedcec7ba5e2a28cccf01)
2007-10-10 11:11:04 -05:00
Lars Müller
fe4a6081e4 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.
(This used to be commit 23293089307a2c6166ee53e5e1e6b3135e4303ed)
2007-10-10 11:10:50 -05:00
Lars Müller
c32cb9dd43 r13717: Use AC_MSG_WARN if we did not called --with-cifsmount on a non Linux
system to report we're not on Linux.
(This used to be commit 1c66c4e4b82907146928396fe79d18bdaade079f)
2007-10-10 11:10:50 -05:00
Lars Müller
94893f645b 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.
(This used to be commit a2ab4cc824995cbe172c9179edf9002d17de7f74)
2007-10-10 11:10:49 -05:00
Lars Müller
9169edfeb4 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.
(This used to be commit 43549301b937c060742840054017b31bf3781e04)
2007-10-10 11:10:21 -05:00
Günther Deschner
2cf38b62c5 r13566: Fix EA support for AIX.
Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>.

Guenther
(This used to be commit 69fb189a6b9947069afebb15d6ee6f2f20d15171)
2007-10-10 11:10:14 -05:00
Gerald Carter
ac456c7440 r13550: remove pdb_guest
(This used to be commit db575c764127d7bea92fc12e5aa73c96c9ee5e2f)
2007-10-10 11:10:13 -05:00
Gerald Carter
f4e11e9ddb r13546: NSS soname merge from trunk
(This used to be commit 380d89d148548b4658f705e900d874094a123359)
2007-10-10 11:10:12 -05:00
James Peach
457e6ac043 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.
(This used to be commit 30122f61c35b1af977efd6e4727204c2e2e1c7a3)
2007-10-10 11:10:01 -05:00
James Peach
e2ad693d03 r13424: Don't attempt to use cc -O2. This breaks the solaris build.
(This used to be commit 341d554e2f7a117c7098633b24cb18c7ff25a011)
2007-10-10 11:10:01 -05:00
Jeremy Allison
687e5be25e 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.
(This used to be commit 07132d8796a08aa71d6719cb07b5b2c999930632)
2007-10-10 11:10:01 -05:00
James Peach
e97ad44d55 r13420: Support profile-guided optimisation in the build system. This is
implemented for gcc 3.x, gcc 4.x and MIPSPro compilers.
(This used to be commit 5e57021723f091a33021c30557cace2b70acf172)
2007-10-10 11:10:01 -05:00
James Peach
e6d847d8c4 r13418: Formalise support for checking compiler options.
(This used to be commit eb3ba826ef465b95f9597043ee156ad9d7ca16a0)
2007-10-10 11:10:00 -05:00
Lars Müller
34352fe039 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.
(This used to be commit b28e43427b43994404f109ce7da467461af12200)
2007-10-10 11:10:00 -05:00
Volker Lendecke
74f32df289 r13338: Remove the experimental pdb modules
(This used to be commit a3bc4f51144bcd711ae1869d60a15d24be6ad992)
2007-10-10 11:06:25 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10 11:06:23 -05:00
Volker Lendecke
5fa89783ab 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
(This used to be commit 246b5b43566f15732091ec9a775b864399f9418d)
2007-10-10 11:06:17 -05:00
James Peach
543ff192b3 r13027: Support file change notifications from FAM.
(This used to be commit 652b511ff24ce41c7745a0e00363e619e5027828)
2007-10-10 11:06:11 -05:00
Volker Lendecke
fcd791c1da r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de>
(This used to be commit 8176f5a2821e897d8ff0b127450c918a2d82b70a)
2007-10-10 11:06:10 -05:00
Volker Lendecke
0d3168381d r12993: Ouch...
(This used to be commit de0347cd706c36a593dba9e46c9106b8215fe656)
2007-10-10 11:06:10 -05:00
Günther Deschner
8eba11978d 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
(This used to be commit a77e02177dcefaaccf863aa8d237ea35a2ec52d1)
2007-10-10 11:06:06 -05:00
Jeremy Allison
3317484799 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.
(This used to be commit d01824b78576a034428e1cef73868d1169057991)
2007-10-10 11:06:05 -05:00
Volker Lendecke
5bad6e3a4a 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
(This used to be commit 044dc331739d4a1678bbf6347df9725f709f5be3)
2007-10-10 11:06:04 -05:00
Tim Potter
0b192df2ea 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.
(This used to be commit 679fc459357d3ddfac1786726e4d2ccdada0b05f)
2007-10-10 11:06:04 -05:00
Volker Lendecke
4d1d826be4 r12735: After talking to Tridge and Jeremy... This needs to be made more generic
before it goes in.

Volker
(This used to be commit 2c3d5c029a31111e1fe84ddc13c1bfc183d8bfde)
2007-10-10 11:06:02 -05:00
Volker Lendecke
a189257c15 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
(This used to be commit 2253b17a1a88555291b59d52c826c81c2b8f7e7f)
2007-10-10 11:06:01 -05:00
Lars Müller
884a0c8226 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.
(This used to be commit 6794d440996946da0f77a83904a713dd298ba8c0)
2007-10-10 11:05:44 -05:00
Gerald Carter
ac331c48db 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
(This used to be commit a33e78acedb37df47905d326411e017794721250)
2007-10-10 11:05:31 -05:00
Tim Potter
bc5921d40e r11729: Remove space from DYNEXP flags declaration for HPUX. Fixes bugzilla
#3260.
(This used to be commit 78ddbb1dd4fd90ef5e3aee1fe42fdc0e3105c800)
2007-10-10 11:05:25 -05:00
Gerald Carter
03cfcabec4 r11301: why would you look for printf in -lnsl[_s]? Fixing configure checks
(This used to be commit c495059de1675676fe4d9a87ce516a54f16e9c66)
2007-10-10 11:05:11 -05:00
Gerald Carter
f31caeae50 r11167: -lsec should be include in $ACL_LIBS and not $LIBS on solaris
(This used to be commit 056bf816284a473b8419fccf62a54813317043b7)
2007-10-10 11:05:05 -05:00
Gerald Carter
df484a87af 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
(This used to be commit df998bfa8e00a736250eb5a7b31ed53abd6a4241)
2007-10-10 11:05:04 -05:00
Gerald Carter
dc593a0fb6 r11161: another regression from merge; make sure to build vfs_full_audit modulebranches/SAMBA_3_0_RELEASE/source/configure.in
(This used to be commit 19e0e48ce09eebc21b800b6ecf13c6f42dfe27f3)
2007-10-10 11:05:04 -05:00