1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

70 Commits

Author SHA1 Message Date
Jelmer Vernooij
a259547786 build: Remove support for DESCRIPTION setting that is now unused.
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22 18:49:51 +01:00
Jelmer Vernooij
03023c4f7d build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
to migrate to a new build system.
(This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
2008-01-21 03:54:42 +01:00
Kai Blin
35c597161b wbinfo: Handle SID_NAME_COMPUTER in sid_type_lookup
(This used to be commit 1abb2b471a11305ae7e0da403eca3cfe1fe1b016)
2008-01-11 11:13:05 +01:00
Kai Blin
e7b93f7d47 r26515: nsswitch: Get rid of a pstring
(This used to be commit 88a2d0de8431e7fdd375405808761d2e89d3e712)
2007-12-21 05:51:19 +01:00
Jelmer Vernooij
b65dba2245 r26355: Eliminate global_loadparm in more places.
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
b83a7a135f r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection.
(This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
2007-12-21 05:47:47 +01:00
Günther Deschner
34fa7e3d2c r25706: Merge padding fix from Samba3.
Guenther
(This used to be commit d33667f914d8f292f008c1e6288868bcd3392da8)
2007-12-21 05:43:23 +01:00
Andrew Bartlett
a72869d77b r25619: As perhaps could have been expected, the CFLAGS hack broke all non-gcc
compilers.

Instead, as jelmer suggests, remove the depricated marker on fstring,
for as long as it is used in the samba3 winbind protocol.

Andrew Bartlett
(This used to be commit b15df834ae6506a5c585ec1ede8bf513339d9b13)
2007-12-21 05:42:55 +01:00
Andrew Bartlett
68c550e8e4 r25618: I'm sick of the fstring warnings turning up here. Let's see how much
of the build farm I can break with this...

Andrew Bartlett
(This used to be commit b7e4b4f95cc3363329b2b14a4295bcb47bb30c53)
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Stefan Metzmacher
e0ea2c9b9f r25242: remove sequence_number out of WINBINDD_DOMAIN_INFO call
as this is always answered by the winbindd parent and will
most times return old sequence number values.

metze
(This used to be commit af259f35f22ea24c1b2f2e007998bfa0bb58f6f6)
2007-10-10 15:06:59 -05:00
Stefan Metzmacher
864c9dd88b r25192: try to fix the build on sun/solaris hosts
we should try to get rid of all c++ sympols
in samba4...

metze
(This used to be commit 96d2f8b3604b8d34bc65877886d1d663131a712a)
2007-10-10 15:06:49 -05:00
Stefan Metzmacher
540caf7ea6 r25181: sync winbind client code with samba3
NOTE: wbinfo.c isn't fully merged here

metze
(This used to be commit eee5327dc2f79c052c2db0ca89f23cc9d2ce355d)
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
7d554e4104 r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
metze
(This used to be commit 1fc3a37902005a4f127191b9183747ddfb1f59a3)
2007-10-10 15:06:44 -05:00
Jelmer Vernooij
7e297ecfa4 r25047: Fix more warnings.
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10 15:05:49 -05:00
Jelmer Vernooij
dccf3f99e4 r25027: Fix more warnings.
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10 15:02:54 -05:00
Michael Adam
32ce9de932 r24629: Make read_sock return the total number of bytes read instead
of the number of bytes read in the last of possibly several
read calls.

This was noted by Metze.

Michael
(This used to be commit 37363307c6cbe28f1ca7135ca501d8c0dcd4c6d7)
2007-10-10 15:02:26 -05:00
Kai Blin
c24511fe25 r24374: Add a getpwuid lookup to wbinfo
(This used to be commit f1672fb553e39f30c8dbb76f36c7132b2fd6e0c4)
2007-10-10 15:01:48 -05:00
Andrew Bartlett
09d33c5612 r24286: (missed from previous commit)
A number of machines on the build farm fail because while they use
SOCKET_WRAPPER, they don't compile with --enable-developer.  As such
the winbind tests fail.

We need to ensure that on production systems we never have
SOCKET_WRAPPER set, or this could be a security issue.

Andrew Bartlett
(This used to be commit 3d2dbcf50dbe3d36ec86e1bc1d7bdcb72dbdef00)
2007-10-10 15:01:37 -05:00
Andrew Bartlett
9b1cdd45eb r24285: A number of machines on the build farm fail because while they use
SOCKET_WRAPPER, they don't compile with --enable-developer.  As such
the winbind tests fail.

We need to ensure that on production systems we never have
SOCKET_WRAPPER set, or this could be a security issue.

Andrew Bartlett
(This used to be commit eccc2d11da86661cb2086a6f5ce970571d744ec9)
2007-10-10 15:01:36 -05:00
Kai Blin
40dbe572e5 r23876: Prepare to run nsstest from make test, just not add it to tests_all.sh yet.
(This used to be commit f45ae8a878c3d34ea2e4e1c7770e57cd96fa845b)
2007-10-10 15:01:06 -05:00
Andrew Bartlett
762f9efa48 r23852: Merge Samba 3.2's wbinfo into Samba4, so Kai can use it for testing.
Andrew Bartlett
(This used to be commit 0fc9b015d734463416e7acb1981eb65216d200fc)
2007-10-10 15:00:53 -05:00
Andrew Tridgell
b8875bee5f r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
(This used to be commit 01e3fe7533b5670236c026ec3c6cc1e25655fbc3)
2007-10-10 14:59:17 -05:00
Andrew Tridgell
6c973f4e8c r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
95f930d875 r23794: convert more code from LGPLv2+ to LGPLv3+
(This used to be commit 9d37f1ec070ddcfd49dfe351e76cc08fa0d9b41c)
2007-10-10 14:59:13 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Kai Blin
06a87823aa r23675: Build libnss_winbind on linux.
(This used to be commit 9b74d3aef41c020846de9ee1f1adc502f4b1bf39)
2007-10-10 14:57:21 -05:00
Kai Blin
170e019044 r23674: Merge changes from Samba 3 SVN r23539:
Avoid code duplication in winbind_nss_linux.h
(This used to be commit e95d258078701c1a15940815652f77b127471267)
2007-10-10 14:53:31 -05:00
Kai Blin
b163ab8008 r23481: As per metze's suggestion, move the nsstest files from torture/ to nsswitch/
(This used to be commit 4e7dc9eae4a30f67a87dbf8ccfda7f6a3ace114d)
2007-10-10 14:53:19 -05:00
Kai Blin
3fb4bd1c06 r23311: Updating the samba4 winbind protocol to version 18.
nsswitch/winbindd_nss.h is just copied from SAMBA_3_0.
nsswitch/winbind_nss_config.h is copied from SAMBA_3_0, too, but I had to
drop some of the defines to make things build again.

Kai
(This used to be commit 553b7e146f52975b45941ba850140e312a280513)
2007-10-10 14:53:10 -05:00
Andrew Tridgell
2cd4e0264f r18218: setenv() is guaranteed by libreplace
also, putenv() cannot take a const char *
(This used to be commit 03c9f9dc3668d43983e0e6d7b87d9d3bbf8869f0)
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
7f38e8644b r17794: ifdef out unused macros
metze
(This used to be commit 6968136621dc75532a19c910bf559aa37b7e41bd)
2007-10-10 14:16:44 -05:00
Jelmer Vernooij
e572bbb94c r15321: Reduce the size of rewrite.m4 a bit more
(This used to be commit c83e4b166534278c335254aa8890a50635bbf1b7)
2007-10-10 14:05:15 -05:00
Jelmer Vernooij
184955ffd7 r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
e153a8099e r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10 13:57:12 -05:00
Andrew Bartlett
b70009649a r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
(This used to be commit 8866aa06ffc3896094c878e9c07b40c03826d9a7)
2007-10-10 13:51:37 -05:00
Andrew Bartlett
dfd9b2d883 r12859: Make Samba4 match the Samba3 winbindd interface. trunk has moved too
far at this point, and there is no point being in between.

Andrew Bartlett
(This used to be commit 10fb19add65ba534ea7cf3357b02d642e94fe535)
2007-10-10 13:50:54 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
ab31a44216 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10 13:47:24 -05:00
Andrew Bartlett
0f44011f6f r11411: Add to Samba4 the Samba3 patch I just posted for machine account
logins (changing the winbindd interface).

Clean up the wbsrv_samba3_async_epilogue() handling, as it was mixing
auth and other replies, such that all replies were having the auth
error strings set.  We now do a better job of filling in the right
errors in the right places.

Andrew Bartlett
(This used to be commit 8ed975df52bcac9646672f6a39c51481b5c59226)
2007-10-10 13:45:33 -05:00
Jelmer Vernooij
93fd08168f r11377: Add support for building LIBRARY elements as shared libraries:
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries.
 - Writes out pkg-config files when building shared libs
 - Supports automatic fallback to MERGEDOBJ (which is the default) or
   OBJ_LIST (if ld -r is not supported)

Building with shared libs reduces the size of the Samba binaries from
197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging).

To build with shared libraries support enabled, run:

LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status

init functions don't get called correctly yet when using shared libs, so
you won't be able to actually run anything with success :-)

Once init functions are done, I'll look at support for loading shared
modules once again.

Based on a patch by Peter Novodvorsky (nidd on IRC).
(This used to be commit 0b54405685674a2b19a28d77aae5b1136b5a4728)
2007-10-10 13:45:28 -05:00
Jelmer Vernooij
4c5a4a7e02 r11244: Relative path names in .mk files
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10 13:45:03 -05:00
Volker Lendecke
e5671ad531 r10934: Fix a gcc 4 warning
(This used to be commit 317edeb546ef03507812e5a0fa1fb331073f55c1)
2007-10-10 13:39:43 -05:00
Andrew Bartlett
bc42531213 r10844: Add challenge-response authentication to Samba4's winbindd for VL.
Plaintext should be simple, but I'm going to do some infrustructure
work first.

Andrew Bartlett
(This used to be commit c9273729e4db4adc0061087fe7e0332e2bc24384)
2007-10-10 13:39:35 -05:00