1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

68 Commits

Author SHA1 Message Date
Kai Blin
1abb2b471a wbinfo: Handle SID_NAME_COMPUTER in sid_type_lookup 2008-01-11 11:13:05 +01:00
Kai Blin
88a2d0de84 r26515: nsswitch: Get rid of a pstring 2007-12-21 05:51:19 +01:00
Jelmer Vernooij
5d589a0d94 r26355: Eliminate global_loadparm in more places. 2007-12-21 05:49:01 +01:00
Jelmer Vernooij
7c00866423 r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and wbsrv_connection. 2007-12-21 05:47:47 +01:00
Günther Deschner
d33667f914 r25706: Merge padding fix from Samba3.
Guenther
2007-12-21 05:43:23 +01:00
Andrew Bartlett
b15df834ae 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
2007-12-21 05:42:55 +01:00
Andrew Bartlett
b7e4b4f95c 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
2007-12-21 05:42:55 +01:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Stefan Metzmacher
af259f35f2 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
2007-10-10 15:06:59 -05:00
Stefan Metzmacher
96d2f8b360 r25192: try to fix the build on sun/solaris hosts
we should try to get rid of all c++ sympols
in samba4...

metze
2007-10-10 15:06:49 -05:00
Stefan Metzmacher
eee5327dc2 r25181: sync winbind client code with samba3
NOTE: wbinfo.c isn't fully merged here

metze
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
1fc3a37902 r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.h
metze
2007-10-10 15:06:44 -05:00
Jelmer Vernooij
69de86d2d2 r25047: Fix more warnings. 2007-10-10 15:05:49 -05:00
Jelmer Vernooij
5085c53fcf r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Michael Adam
37363307c6 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
2007-10-10 15:02:26 -05:00
Kai Blin
f1672fb553 r24374: Add a getpwuid lookup to wbinfo 2007-10-10 15:01:48 -05:00
Andrew Bartlett
3d2dbcf50d 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
2007-10-10 15:01:37 -05:00
Andrew Bartlett
eccc2d11da 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
2007-10-10 15:01:36 -05:00
Kai Blin
f45ae8a878 r23876: Prepare to run nsstest from make test, just not add it to tests_all.sh yet. 2007-10-10 15:01:06 -05:00
Andrew Bartlett
0fc9b015d7 r23852: Merge Samba 3.2's wbinfo into Samba4, so Kai can use it for testing.
Andrew Bartlett
2007-10-10 15:00:53 -05:00
Andrew Tridgell
01e3fe7533 r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
2007-10-10 14:59:17 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
9d37f1ec07 r23794: convert more code from LGPLv2+ to LGPLv3+ 2007-10-10 14:59:13 -05:00
Andrew Tridgell
fcf38a38ac 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.
2007-10-10 14:59:12 -05:00
Kai Blin
9b74d3aef4 r23675: Build libnss_winbind on linux. 2007-10-10 14:57:21 -05:00
Kai Blin
e95d258078 r23674: Merge changes from Samba 3 SVN r23539:
Avoid code duplication in winbind_nss_linux.h
2007-10-10 14:53:31 -05:00
Kai Blin
4e7dc9eae4 r23481: As per metze's suggestion, move the nsstest files from torture/ to nsswitch/ 2007-10-10 14:53:19 -05:00
Kai Blin
553b7e146f 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
2007-10-10 14:53:10 -05:00
Andrew Tridgell
03c9f9dc36 r18218: setenv() is guaranteed by libreplace
also, putenv() cannot take a const char *
2007-10-10 14:17:51 -05:00
Stefan Metzmacher
6968136621 r17794: ifdef out unused macros
metze
2007-10-10 14:16:44 -05:00
Jelmer Vernooij
c83e4b1665 r15321: Reduce the size of rewrite.m4 a bit more 2007-10-10 14:05:15 -05:00
Jelmer Vernooij
ed382873fd r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
4682bc5ce0 r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now. 2007-10-10 13:57:32 -05:00
Jelmer Vernooij
9c37f847d3 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
7871b07e21 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.
2007-10-10 13:57:12 -05:00
Andrew Bartlett
8866aa06ff 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
2007-10-10 13:51:37 -05:00
Andrew Bartlett
10fb19add6 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
2007-10-10 13:50:54 -05:00
Jelmer Vernooij
b24f2583ed 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.
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
a86abe84e2 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
2007-10-10 13:47:24 -05:00
Andrew Bartlett
8ed975df52 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
2007-10-10 13:45:33 -05:00
Jelmer Vernooij
0b54405685 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).
2007-10-10 13:45:28 -05:00
Jelmer Vernooij
24e1030090 r11244: Relative path names in .mk files 2007-10-10 13:45:06 -05:00
Jelmer Vernooij
7fffc5c917 r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html) 2007-10-10 13:45:03 -05:00
Volker Lendecke
317edeb546 r10934: Fix a gcc 4 warning 2007-10-10 13:39:43 -05:00
Andrew Bartlett
c9273729e4 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
2007-10-10 13:39:35 -05:00
Jelmer Vernooij
b53313dc51 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Volker Lendecke
3dc7e67dc5 r10390: Remove fstring, pstring and uint32_t from winbindd_nss.h.
Volker
2007-10-10 13:38:39 -05:00