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

701 Commits

Author SHA1 Message Date
Gerald Carter
07c67fbfc0 r17021: remove unsupported smbwrapper code 2007-10-10 11:19:20 -05:00
Jeremy Allison
9dafb7f48c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
2007-10-10 11:19:14 -05:00
Volker Lendecke
1a80266d77 r16676: .o generates other warnings, use the Solaris trick with .po.o also for AIX.
Fix a configure.in output line

Volker
2007-10-10 11:19:07 -05:00
James Peach
a22bf28bca r16483: Turn off some useless MIPSPro warnings be default. 2007-10-10 11:18:56 -05:00
James Peach
2131ddd7a1 r16482: Fix bugzilla 3801 by forcing MIPSPro warning 1035 to be an error. 2007-10-10 11:18:56 -05:00
Gerald Carter
0fca41efde r16478: small cleanup to make pam_winbind.so build and iniparser
include directory like other parts of the build files.
2007-10-10 11:18:56 -05:00
Volker Lendecke
c08bfdf87a r16340: Commit Bjoern's fix for the AIX PIC suffix. 'make test' still does the first
tests, and vfstest is still able to load modules. Looks like this is ok :-)

Volker
2007-10-10 11:17:36 -05:00
Jeremy Allison
e24361ecdd r16287: Use intptr_t to return an integer of an unknown type cast
to void *.
Jeremy.
2007-10-10 11:17:31 -05:00
Günther Deschner
535d03cbe8 r16268: Add TCP fallback for our implementation of the CHANGEPW kpasswd calls.
This patch is mainly based on the work of Todd Stecher
<tstecher@isilon.com> and has been reviewed by Jeremy.

I sucessfully tested and valgrinded it with MIT 1.4.3, 1.3.5, Heimdal
0.7.2 and 0.6.1rc3.

Guenther
2007-10-10 11:17:29 -05:00
James Peach
fc6ed6a1aa r16111: Patch from Björn JACKE <samba@j3e.de>.
This fixes a problem where the clock definition for clock_gettime() is
present at compile time, but is not available on the running system. In
this case, we fall back to less-preferred clocks until we find one that
we can use.
2007-10-10 11:17:20 -05:00
James Peach
aafd4db457 r16057: Coalesce the DMAPI configure tests into a single macro. Add
a more specific probe to try and eliminate old, incompatible
DMAPI implementations provided by IRIX 6.4 and AIX 4.3.
2007-10-10 11:17:18 -05:00
James Peach
5712644fcc r15928: When we search for clock_gettime, we might find it in librt, but librt
might pull in libpthread. This is quite bad, firstly because it can
cause oplock signals on Linux to go wonky, and secondly because merely
linking with pthreads can cause performance degradations due to implicit
locking requirements.

The solution is to only search for clock_gettime if --with-profiling-data
was specified. If we do end up searching for it, then we test whether
linking with librt pulled in libpthread, and we only allow the definition
for clock_gettime to succeed if libpthread was NOT linked in.

Problem reported by Thomas Bork and diagnosed by Volker Lendecke.
2007-10-10 11:17:13 -05:00
James Peach
9559886a92 r15654: Update our internal copy of popt to that distributed with the RPM 4.2
source code.
2007-10-10 11:17:05 -05:00
Günther Deschner
206cdbb8e9 r15634: Prevent passwords of winbindd's list of credential caches from beeing
swapped to disc using mlock(). (patch was reviewed by Jeremy).

Guenther
2007-10-10 11:17:04 -05:00
Gerald Carter
4f3a1c2c58 r15550: make sure to pick up the -lresolv libs on systems without -lldap to pull it in 2007-10-10 11:16:58 -05:00
Gerald Carter
d19dad8815 r15549: removing rhosts and 'hosts equiv' authentication features 2007-10-10 11:16:58 -05:00
Gerald Carter
7d99e05ee8 r15547: say goodbye to --with-ldapsam (although the ldapsam_compat passdb backend still exists 2007-10-10 11:16:58 -05:00
James Peach
d448629282 r15508: Use clock_gettime for profiling timstamps if it is available. Use
the fastest clock available on uniprocessors.
2007-10-10 11:16:55 -05:00
Gerald Carter
cf71f88a3c r15462: replace the use of OpenLDAP's ldap_domain2hostlist() for
locating AD DC's with out own DNS SRV queries.
Testing on Linux and Solaris.
2007-10-10 11:16:49 -05:00
James Peach
a19d4f2bb4 r15448: New autoconf macro to test for sysconf variables. 2007-10-10 11:16:46 -05:00
James Peach
0b5e07e12d r15424: Implement a "stacktrace" smbcontrol option using libunwind's remote
stack tracing support. This provides an easy way for users to provide
stack traces (hopefully it will be implemented on something other than
ia64).
2007-10-10 11:16:42 -05:00
James Peach
918f56b6de r15423: Correct comparison logic so that libunwind can be correctly detected. 2007-10-10 11:16:42 -05:00
Tim Potter
2aad5e915c r15289: Put references to $PICFLAGS in quotes. Fixes #3725. 2007-10-10 11:16:32 -05:00
Günther Deschner
8b2ba11508 r15240: Correctly disallow unauthorized access when logging on with the
kerberized pam_winbind and workstation restrictions are in effect.

The krb5 AS-REQ needs to add the host netbios-name in the address-list.

We don't get the clear NT_STATUS_INVALID_WORKSTATION code back yet from
the edata of the KRB_ERROR but the login at least fails when the local
machine is not in the workstation list on the DC.

Guenther
2007-10-10 11:16:29 -05:00
Günther Deschner
e32c4f6f6e r15080: As discussed with Jerry, remove the CAP_LIBS again (we don't need that
handling anymore when we remove $(LIBS) from pam_winbind again.

Also make sure to build our own copy of iniparser with -fPIC.

Guenther
2007-10-10 11:16:21 -05:00
Gerald Carter
7d5adcf3a7 r15074: Remove -lcap from pam_winbind (not needed)
Temporary linking fix for --with-included-iniparser
(gd will do a proper fix later).
2007-10-10 11:16:21 -05:00
Gerald Carter
a95d11345e r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server 2007-10-10 11:16:00 -05:00
James Peach
256a19d722 r15047: Add support for using libunwind to generate a backtrace. This is
primarily intended for ia64 systems where libunwind knows more about
the different ways of walking the stack that just about anything else.
2007-10-10 11:16:00 -05:00
James Peach
1d5e4830d3 r15046: Fix bug #3490 reported by Jason Mader. Do not continue to check for LDAP
and AD requirements if --without-ldap and --without-ads have been given
to configure.
2007-10-10 11:15:59 -05:00
Günther Deschner
5ae22cf46b r15043: Only build our copy of iniparser when the system doesn't have one.
Guenther
2007-10-10 11:15:59 -05:00
James Peach
56bc02d644 r14898: This change is an attempt to improve the quality of the information that
is produced when a process exits abnormally.

First, we coalesce the core dumping code so that we greatly improve our
odds of being able to produce a core file, even in the case of a memory
fault. I've removed duplicates of dump_core() and split it in two to
reduce the amount of work needed to actually do the dump.

Second, we refactor the exit_server code path to always log an explanation
and a stack trace. My goal is to always produce enough log information
for us to be able to explain any server exit, though there is a risk
that this could produce too much log information on a flaky network.

Finally, smbcontrol has gained a smbd fault injection operation to test
the changes above. This is only enabled for developer builds.
2007-10-10 11:15:53 -05:00
Jeremy Allison
fd98427f64 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.
2007-10-10 11:15:45 -05:00
Volker Lendecke
b6b72f8c6a r14695: Patch from Björn Jacke:
- add DMAPI/XDSM support for AIX
- find JFS DMAPI libs on Linux when only they are available

Volker
2007-10-10 11:15:44 -05:00
James Peach
514a767c57 r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-based
HSM is interested in. Tested on both IRIX and SLES9.
2007-10-10 11:15:42 -05:00
Lars Müller
07a70f8f86 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.
2007-10-10 11:15:42 -05:00
Lars Müller
7163c68605 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.
2007-10-10 11:15:40 -05:00
Lars Müller
94980a15be 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.
2007-10-10 11:15:40 -05:00
Stefan Metzmacher
d9df1853b9 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
2007-10-10 11:15:39 -05:00
Lars Müller
df6d69e78f r14617: Fix typo in comment. 2007-10-10 11:15:39 -05:00
James Peach
763f4c0148 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.
2007-10-10 11:15:39 -05:00
Lars Müller
1829d22720 r14584: Really follow with roosbindir by defaulr the setting we use for sbindir. 2007-10-10 11:15:38 -05:00
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