1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

846 Commits

Author SHA1 Message Date
Stefan Metzmacher
aa76c2edee r14863: try to make the generation of bin/timelimit more portable
jerry: can you test that please

metze
2007-10-10 11:15:51 -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
Stefan Metzmacher
789694d12e r14676: add make valgrindtest and remove old 'make check' and old 'make test'
metze
2007-10-10 11:15:43 -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
Günther Deschner
38b18f428b r14643: Merge dcerpc_errstr from Samba 4.
Might need to rework prs_dcerpc_status().

Guenther
2007-10-10 11:15:41 -05:00
Stefan Metzmacher
899fd6808e r14632: add basic 'make test' using samba4's smbtorture
I'll try to add some tests using samba3's smbtorture and smbclient
later.

can someone check if this would be save to run on the build-farm
without leaking child processes...

metze
2007-10-10 11:15:40 -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
160626195b r14627: Adapt the linkage text from pam_smbpass to pam_winbind. 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
Gerald Carter
7d92cff7a3 r14515: fix soname breakage caused by mad merge from trunk (missed replacing a AC variable) 2007-10-10 11:15:36 -05:00
Lars Müller
90eb092083 r14331: Add a comment on top of test_pam_modules about what we're testing. 2007-10-10 11:15:25 -05:00
Lars Müller
4b545e0ce6 r14326: First catch of make test_pam_modules.
Testing pam_smbpass pam_winbind
dlopen() of "./bin/pam_smbpass.so" succeeded.
dlopen() of "./bin/pam_winbind.so" failed: ././bin/pam_winbind.so:
undefined symbol: secrets_fetch_domain_sid
make: *** [test_pam_modules] Error 1
2007-10-10 11:15:25 -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
Gerald Carter
a40a7f5ea1 r14077: fix build breakage 2007-10-10 11:11:10 -05:00
Gerald Carter
71d960250d r14075: * add support for long variable names in smb.conf in the form of %(....)
* add support for %(DomainSID)
* replace standard_sub_XXX() functions with wrappers around their
  alloc_sub_XXX() counterparts
* add support for using SIDs in read list, et. al. (anything that
  is checked by nt_token_contains_name_in_list())
2007-10-10 11:11:09 -05:00
Lars Müller
b974b1879c r14057: Remove generated script/gen-8bit-gap.sh while calling rule realclean.
Ignore script/gen-8bit-gap.sh in branches/SAMBA_3_0/source/script as we
already do in trunk.
2007-10-10 11:11:09 -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
730d5ec229 r14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.

BASEDIR is non of the default autoconf variables.  prefix is.

Jerry1: If possible please announce this with the next release.  I'll
self reply to technical.

Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
2007-10-10 11:11:08 -05:00
Lars Müller
fb76390c6a r13947: Use tabs instead of spaces for indention. 2007-10-10 11:11:00 -05:00
Lars Müller
426c8fe0bd r13946: Link pam_smbpass with the required object files. Fix bug #3565. 2007-10-10 11:11:00 -05:00
Günther Deschner
7e80d5358e r13945: Move display_sec.c to lib/ (as suggested by Volker).
Guenther
2007-10-10 11:11:00 -05:00
Günther Deschner
0ae3fddf95 r13864: Some cleanup and the samr set security object function client-side.
Guenther
2007-10-10 11:10:57 -05:00
Lars Müller
8f48c6d1e5 r13819: Remove accidently with rev 13713 submitted and never used MY_FLAGS
variable.
2007-10-10 11:10:55 -05:00
Lars Müller
deb35f85b3 r13751: Call proto_exists before we create the precompiles headers. 2007-10-10 11:10:52 -05:00
Lars Müller
6e4af8cd15 r13750: Cleanup line wrap to less than 80 chars. 2007-10-10 11:10:52 -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
5119472cdc r13688: Revert change to set DAT_FILES and SWAT_MSG_FILES in the Makefile.
Instead check for *.dat and *.msg files as done before.  Then added
files are installed and removed as soon as we have some in the
filesystem.  It's simpler and less error prone.
2007-10-10 11:10:23 -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
Lars Müller
a606d11056 r13656: Use the new installdirs.sh syntax for all calls. 2007-10-10 11:10:21 -05:00
Lars Müller
c38adf7131 r13642: Fix install* scripts to use DESTDIR.
Always pass the INSTALLPERMS and DESTDIR as first and second arg to the
scripts.

No longer prepend DESTDIR to the remaining args.

To fix bug #3282 it is important _not_ to prepend DESTDIR to the source
of the sym link pointing to smbmount.
2007-10-10 11:10:20 -05:00
Gerald Carter
028b1f26ae r13573: removing wrepld from SAMBA_3_0. The Samba 4 work is more current and any integration into Samba 3 would most likely be from scratch 2007-10-10 11:10:15 -05:00
James Peach
5e7efe304b r13564: Remove trailing backslash. Makes other than GNU make choke on this. 2007-10-10 11:10:14 -05:00
Lars Müller
7716c69729 r13529: No functional, line break changes to let it fit into 80 chares screen
width again.
2007-10-10 11:10:10 -05:00
Lars Müller
66990adfac r13526: Remove superfuous extra spaces at EOL. 2007-10-10 11:10:10 -05:00
Lars Müller
dbdc5ba497 r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.
This fixes bug #1386.

The initial changes had been made by Carsten Höger <choeger at
open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh*

To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and
get_pass() are moved from smbpasswd to utils/passwd_util.c.
2007-10-10 11:10:10 -05:00
Volker Lendecke
bb40e544de r13494: Merge the stuff I've done in head the last days.
Volker
2007-10-10 11:10:06 -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
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
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
Lars Müller
e64134a859 r13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so. 2007-10-10 11:10:00 -05:00
Tim Potter
7ca75d9060 r13363: Honour the $(DESTDIR) Makefile variable when installing Python
extensions.  Fix from Vladimir Lettiev.
2007-10-10 11:06:26 -05:00
Volker Lendecke
fc73690a70 r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)
Implement 'net rpc shell account' -- An editor for account policies

nt_time_to_unix_abs changed its argument which to me seems wrong, and I could
not find a caller that depends on this. So I changed it. Applied some more
const in time.c.

Volker
2007-10-10 11:06:26 -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
Gerald Carter
51fe6bd845 r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now 2007-10-10 11:06:19 -05:00
James Peach
652b511ff2 r13027: Support file change notifications from FAM. 2007-10-10 11:06:11 -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