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

801 Commits

Author SHA1 Message Date
Stefan Metzmacher
6685e53385 r21944: move acl header checks to the correct place only
jeremy: please merge this to 3.0.25:-)

metze
(This used to be commit 874164e365)
2007-10-10 12:18:51 -05:00
Stefan Metzmacher
c542e154c2 r21931: include acl/libacl.h is present
I'm not sure if this should go into 3.0.25... it fixes a compiler warning about
a missing acl_get_perm() prototype

metze
(This used to be commit 4b67f94c6a)
2007-10-10 12:18:49 -05:00
Jeremy Allison
edccfc9192 r21845: Refactor the sessionsetupX code a little to allow us
to return a NT_STATUS_TIME_DIFFERENCE_AT_DC error to
a client when there's clock skew. Will help people
debug this. Prepare us for being able to return the
correct sessionsetupX "NT_STATUS_MORE_PROCESSING_REQUIRED"
error with associated krb5 clock skew error to allow
clients to re-sync time with us when we're eventually
able to be a KDC.
Jeremy.
(This used to be commit c426340fc7)
2007-10-10 12:18:37 -05:00
Günther Deschner
0e702698f9 r21822: Adding experimental krb5 lib locator plugin.
This is a starting point and may get changed. Basically we need follow the
exact same path to detect (K)DCs like other Samba tools/winbind do. In
particular with regard to the server affinity cache and the site-awarness for
DNS SRV lookups.

To compile just call "make bin/smb_krb5_locator.so", copy to
/usr/lib/plugin/krb5/ (Heimdal HEAD) or /usr/lib/krb5/plugins/libkrb5/ (MIT)
and you should immediately be able to kinit to your AD domain without having
your REALM with kdc or kpasswd directives defined in /etc/krb5.conf at all.

Tested with todays Heimdal HEAD and MIT krb5 1.5.

Guenther
(This used to be commit 34ae610bd5)
2007-10-10 12:18:36 -05:00
James Peach
3adeb42742 r21778: Wrap calls to krb5_get_init_creds_opt_free to handle the different
calling convention in the latest MIT changes.  Apparantly Heimdal
is also changing to this calling convention.
(This used to be commit c29c69d2df)
2007-10-10 12:18:32 -05:00
James Peach
30b9b9acae r21763: Add support for the UNIX_INFO2 infolevel.
(This used to be commit 262e4e1fd8)
2007-10-10 12:18:29 -05:00
Jeremy Allison
578a817e47 r21605: Fix small typo noticed by Raúl Sánchez Siles <rss@barracuda.es>.
Jeremy.
(This used to be commit 5ed61d5af6)
2007-10-10 12:18:16 -05:00
Herb Lewis
e7d6c7b151 r21546: remove duplicate lines
(This used to be commit 934163782b)
2007-10-10 12:18:11 -05:00
Gerald Carter
56c1d7e507 r21525: Go ahead and checkin the mlock() & memalign() fixes so
others don't get stuck with the winbindd hang.
Still waiting on additional confirmation from Guenther
that this fixes thes issues he was observing as well.
But it's been running in my local tree for a day without
problems.
(This used to be commit 0d2b80c6c4)
2007-10-10 12:18:10 -05:00
Volker Lendecke
9c79a696c0 r21365: Lets see which build farm machines have makecontext & friends
(This used to be commit ab053a3b71)
2007-10-10 12:17:59 -05:00
Günther Deschner
51fb8080c9 r21237: Forgot configure checks in 3_0 (3_0_25 is fine) for heimdal kinit fix.
Guenther
(This used to be commit 8700829c1f)
2007-10-10 12:17:50 -05:00
Volker Lendecke
6b8fc040e5 r21109: Send notify_fam.c through the VFS. Lets see how the build farm likes this.
Volker
(This used to be commit e57a6d4d63)
2007-10-10 12:17:38 -05:00
Gerald Carter
b9b26be174 r20986: Commit the prototype of the nss_info plugin interface.
This allows a provider to supply the homedirectory, etc...
attributes for a user without requiring support in core
winbindd code.  The idmap_ad.c module has been modified
to provide the idmap 'ad' library as well as the rfc2307 and sfu
"winbind nss info" support.

The SID/id mapping is working in idmap_ad but the nss_info
still has a few quirks that I'm in the process of resolving.
(This used to be commit aaec0115e2)
2007-10-10 12:17:23 -05:00
James Peach
24e25ae761 r20965: Fix spelling.
(This used to be commit 0eb19b5728)
2007-10-10 12:17:21 -05:00
Volker Lendecke
420e577004 r20932: This is the basic infrastructure for inotify support. This is far from being
complete, in particular the various mask bits are not correctly supported
yet. Checkin in now, I want to see how the build farm likes it.

Volker
(This used to be commit c9a5d011a9)
2007-10-10 12:17:21 -05:00
Stefan Metzmacher
2ae539f566 r20811: fix comment
metze
(This used to be commit 1f49b9c387)
2007-10-10 12:17:09 -05:00
Lars Müller
83a41eb3a7 r20663: Do not install smbmount man page if we didn't called configure
--with-smbmount.
(This used to be commit ee12348cf1)
2007-10-10 12:17:01 -05:00
Volker Lendecke
a328e2f997 r20501: Check in config.h fix from Michael Adam <ma@sernet.de>
(This used to be commit d10dd47fb8)
2007-10-10 12:16:53 -05:00
Gerald Carter
d3fc370fb9 r20487: Remove the unused dn2ad_canonical() call
(This used to be commit 86e6ae6a9f)
2007-10-10 12:16:52 -05:00
James Peach
17a8c7cb92 r20429: Restructure the libuuid API tests to handle the case where libuuid
is (effectively) in libc. Convert AC_LIBTESTFUNC to use the mystically
undocumented m4_ifval, which fixes some quoting problems when
providing shell code for the if-true and if-false branches.
(This used to be commit 5e1fbcc403)
2007-10-10 12:16:49 -05:00
Stefan Metzmacher
8993ab2fcb r20389: this needs to be after AC_LIBREPLACE_BROKEN_CHECKS :-)
metze
(This used to be commit e5333d5628)
2007-10-10 12:16:46 -05:00
Stefan Metzmacher
ffa4ecae30 r20388: add the library that contains dlopen to the global LIBS as it was before
metze
(This used to be commit b2feeee748)
2007-10-10 12:16:46 -05:00
Stefan Metzmacher
e1d4e31c44 r20386: remove unneeded dlopen related configure checks and includes
this is done by libreplace...

this hopefully fixes the build on HPUX 11.00

metze
(This used to be commit eed50e1047)
2007-10-10 12:16:45 -05:00
Simo Sorce
4225f9a4bd r20116: Start merging in the work done to create the new idmap subsystem.
Simo.
(This used to be commit 50cd8bffee)
2007-10-10 12:16:25 -05:00
James Peach
e2166a9fee r19851: Disable gcc PIE options on Darwin.
(This used to be commit 23795be8b4)
2007-10-10 12:16:02 -05:00
Stefan Metzmacher
81cf0a5cd8 r19730: as libreplace always provides dlopen(), we need to always define SHLIBEXT
this fix the build on hpisgr8 HPUX 11.23

metze
(This used to be commit b61269d7e3)
2007-10-10 12:15:50 -05:00
Stefan Metzmacher
06715191dd r19718: define SHLIBEXT (prepare ldb merge from samba4)
metze
(This used to be commit d8f9c20055)
2007-10-10 12:15:49 -05:00
Jim McDonough
4fe70bcee2 r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
the vfs layer, since gpfs supports it.  Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
(This used to be commit 0620658890)
2007-10-10 12:15:43 -05:00
Günther Deschner
99433b1f7b r19494: When building with a static Heimdal, make sure not to link against
-lgssapi_krb5. With that change I could sucessfully verify that Heimdal
support is still working nicely after the changes from jpeach.

Guenther
(This used to be commit 53d09487a0)
2007-10-10 12:15:39 -05:00
James Peach
75018ad0cc r19477: Patch from Huang Dejin Eugene <hdejin@yahoo.com>.
Add configure option --enable-fam so that FAM support can explicitly
be controlled at build time. Default behaviour is to autodetect.
(This used to be commit 066951bc48)
2007-10-10 12:15:37 -05:00
Gerald Carter
6e2b290672 r19421: BUG 3868: Patch from Timur Bakeyev <timur@com.bat.ru> to prevent
--with-aio-support from trimping on the $LIBS variable
(This used to be commit 00bf29d352)
2007-10-10 12:15:34 -05:00
Gerald Carter
7ac5df4824 r19417: BUG 3856: patch from Timur Bakeyev <timur@com.bat.ru> to include setting the nss soname version on FreeBSD
(This used to be commit e1490e72ea)
2007-10-10 12:15:33 -05:00
Stefan Metzmacher
6ec00affb6 r19291: this should fix the build on heimdal systems
metze
(This used to be commit 785ab128c4)
2007-10-10 12:15:28 -05:00
Volker Lendecke
7d2aa0d3f1 r19287: As requested by Bjoern Jacke <bjoern@j3e.de>: Check in the NetBSD winbind module by Luke
Mewburn.

Volker
(This used to be commit 104f5e9ec9)
2007-10-10 12:15:28 -05:00
James Peach
2e46e9189a r19286: Remove dependency on Fink. If we really *need* anything from Fink,
this shold be a strong dependency. If stuff from Fink is an optional
extra, there should be a --with-stuff-from-fink argument. It's just
too easy to unexpectedly end up with binaries that depend on
/sw/{lib,include}.
(This used to be commit d0166e1172)
2007-10-10 12:15:28 -05:00
James Peach
876be25055 r19270: Stop depending on internal MIT symbols. These are private on MacOS
x, so we can't get at them even if we wanted to.

Kerberos experts, please take a look to make sure I've done the
right thing!
(This used to be commit 9b8e179fcc)
2007-10-10 12:15:27 -05:00
Stefan Metzmacher
f9f3a2d790 r19246: merge from samba4 rev 18207 and 18208:
readline fixes for mac os 10

metze
(This used to be commit 976b97ecbf)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
51994b35f1 r19244: fix the build on systems with broken krb5
we need to make sure

HAVE_GSSAPI

HAVE_KRB5_H
HAVE_GSSAPI_H
HAVE_GSSAPI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H

are not in config.h

this adds 2 new macros to libreplace
AC_REMOVE_DEFINE(), AC_REMOVE_INCLUDE()

metze
(This used to be commit eb1f0b49cf)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
1843884fbf r19241: compile xattr wrappers on mac os 10
patch from Bjoern Jacke and it fixes bug 3698

metze
(This used to be commit e54302b916)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
960894349f r19239: make the acl configure check more readable...
metze
(This used to be commit 0882f0c9d6)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
6c1eaffd2e r19238: Let the comfigure check find that some krb5 functions
are missing! Bailing out at compile time is ugly.

Hopefully this fixes the Mac OS 10 boxes in the build-farm
there're some missing function. Fixing that is a different
problem...

metze
(This used to be commit e00a83a0b6)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
1cbaa09ffc r19236: prepare for --with-pam=auto as default
but still leave --with-pam=no the default for now
and wait for discussion on samba-technical

metze
(This used to be commit b045d5afcf)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
fc15a2ae5f r19233: remove unused --with-spinlocks option
the defines are not used anywhere in the tree.
(grep -R SPINLOCKS . in the topdir)

metze
(This used to be commit 1697686d9d)
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
f6e72ba4a6 r19096: - fix the build with included popt
- and fix some whitespaces

metze
(This used to be commit 4906e60151)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
63a0d4aa5b r19093: speed up the samba3 build from 8mins to 5mins:-)
we now don't compile mostly each .c file twice.

- we use PICFLAG for all object files
- PICFLAG defaults to PIE_CFLAGS and is then overwritten
  if the system supports shared libraries

as we currently always use -fPIE if available
(and at least on linux -fPIE produces the same code as -fPIC)
it doesn't change anything in the resulting code.

"high performance" binaries can be build with
"--disable-pie --disable-shared" if someone really needs to...

metze
(This used to be commit 6db1f57f45)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
11d219f1a1 r19089: normalize KRB5_LIBS too
metze
(This used to be commit c7788f6c71)
2007-10-10 12:15:11 -05:00
Stefan Metzmacher
eade80109b r19087: normalize vars before printing them
metze
(This used to be commit 9900abf8ab)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
4bc71f13c8 r19086: fix --disable-pie together with -C
metze
(This used to be commit 035579b62c)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
e07df9be38 r18976: follow the advice from "William Jojo" <jojowil@hvcc.edu>
and pass -bbigtoc also to the linker when building shared libs

metze
(This used to be commit 4948b676a8)
2007-10-10 12:14:52 -05:00
Stefan Metzmacher
8f4f93a201 r18973: we should always set LDFLAGS and DYNEXP depending on the host_os
but disable building of shared libs and modules whe enable_shared != yes

Also make it easier to track down the problem with lost LDFLAGS values
on AIX.

metze
(This used to be commit 3367e306e6)
2007-10-10 12:14:52 -05:00