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

706 Commits

Author SHA1 Message Date
Tim Potter
895bef1a62 A good reason to use make variables instead of autoconf substitutions
directly - fixed problem where the last line of the link command was
'\ @LDAP_LIBS@'.  If @LDAP_LIBS@ is zero then the backslash
incorrectly includes the next line of the Makefile in the current
target.

This should fix a bucketload of build farm failures.
-
Tim Potter
d15406ad91 AIX doesn't append $SHLIB_EXT to NSS libraries.
Also merged a little bit of abartlet's recent configure.in change of
duplicated IRIX stuff.
-
Simo Sorce
921215cf4b fixes to *_util.c files
add winbindd_passdb backend
this makes it possible to have nua accounts on security = user servers to
show up in unic through nss_winbind.so

the problem is that we do not have group support, so nss group support is
not very good at this time (read: totally absent)

we NEED group support in passdb
-
Simo Sorce
28b73a3921 exclude tdbsam2.h generation until it will be used -
Paul Green
2dd18ca0cf Refactor existing sock_exec() and socketpair_tcp() functions into their own
source file. I will be making changes to sock_exec to work on VOS, which
has a blocking connect() call, but first I want to get it in its own source
file so that it can be called from a test program.
-
Andrew Bartlett
b05fa6b90a pam_smbpass will need at least IDMAP. -
Gerald Carter
000fe6b2f0 remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them -
Simo Sorce
f7041ec5d7 consolidate idmap code in one place -
Simo Sorce
c4ba4db341 swat need idmap now -
Jelmer Vernooij
674b671983 Add 'smbiconv' program - a clone of the 'iconv' utility
that uses samba's internal iconv() functions. Useful for
testing purposes.
-
Simo Sorce
9d7d007443 make winbind use idmap as well.
change idmap_init call

removed ldap backend for winbind idmap, seem it had problems anyway and it
have to be reworked to work with idmap without calling winbind code.

simo
-
Jelmer Vernooij
1c0ae10301 Fix the 'weird' charset module. Also, built it by default for
./configure --enable-developer
-
Jelmer Vernooij
9b969f877f Move pdb_mysql and pdb_xml from modules/ to passdb/, just like they are
in 3_0
-
Gerald Carter
0fd28bc3a8 [merge from SAMBA_3_0]
Merging smbgroupedit into 'net groupmap'.  Not entirely done.
Need to check on where the privilege code is sitting
and update the docs.

Examples:

root# bin/net help groupmap
net groupmap add
  Create a new group mapping
net groupmap modify
  Update a group mapping
net groupmap delete
  Remove a group mapping
net groupmap list
  List current group map

# bin/net groupmap add
Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>]

# bin/net groupmap delete
Usage: net groupmap delete name=<string|SID>

# bin/net groupmap modify
Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local>]
-
Jelmer Vernooij
89048748ae Add torture to everything.. -
Jelmer Vernooij
4477954696 Don't build the torture progs in 'make all' -
Jelmer Vernooij
8df9ab2fcf Fix build of VFS modules statically (we used Makefile variables before setting them) -
Tim Potter
53dcaf2271 Use picobjs when building python extensions. Spotted by Steve Langasek. -
Martin Pool
8fbe456ee3 Make a libbigballofmud.so.0 link, so that the linker can find the
library to build the test cases.  Previously the link had to be
created by hand.

Doing this manually is incredibly kludgy and not very portable, but I
don't know a better way without introducing l*bt**l.
-
Martin Pool
95ff914d82 Build and run the lib/snprintf.c test cases from "make check". -
Martin Pool
7805641d6e Add rules to build bin/t_snprintf, which exposes the snprintf test code. -
Gerald Carter
74fab8f0d2 smbcquota patch from metze -
Tim Potter
4ccd34ef83 A new RPC pipe! The \pipe\echo named pipe is for testing large RPC
requests and responses and is only compiled in when --enable-developer
is passed to configure.  It includes server and client side code for
generating and responding to functions on this pipe.  The functions are:

 - AddOne: add one to the uint32 argument and return ig
 - EchoData: echo back a variable sized char array to the caller
 - SourceData: request a variable sized char array
 - SinkData: send a variable sized char array and throw it away

There's a win32 implementation of the client and server in the
junkcode CVS repository in the rpcecho-win32 subdirectory.
-
Tim Potter
1cc5b2881c Fixes to linker flags for AIX winbind client from Stephen Roylance. -
Martin Pool
16b0917915 bin/smbcontrol needs to be built to run tpot's new tests of it. -
Tim Potter
f75d4b90ca poptify smbcontrol -
Tim Potter
d396f57678 Install libsmbclient.h from $(srcdir) -
Tim Potter
69c392bc12 Autoconfiscate the name of the winbind shared library file. Under
IRIX this is libns_winbind - everyone else is libnss_winbind.

This simplifies the Makefile a bit and also fixes the 'nsswitch' target
under IRIX.
-
Martin Pool
275e095c92 Integrate abartlet's t_push_ucs2 test into test framework:
- Build t_push_ucs2 as part of check-programs, the prerequisite for
   "make check".

 - t_push_ucs2.c: Load configuration from /dev/null so that we get a
   unix_charset of UTF-8 and can do meaningful UCS2 tests.  Better
   comment.

 - Add a test to strings.py which tries conversion UTF8->UCS2->UTF8
   and checks the results.  Do this for English, Latin-1, and Katakana
   strings.

 - Add Python module with symbolic names for a handful of UNICODE
   characters.
-
Jim McDonough
046c2087a1 Decode the PAC! This patch just decodes it and then frees it, so it's just
for doc purposes right now (you can see it in the debug logs).
-
Jelmer Vernooij
69e37469c4 make installclientlib depend on the shared-linked or statically-linked version
of libsmbclient, depending on what is possible - pointed out by Paul Green
-
Jelmer Vernooij
77b1589188 Don't make installclientlib depend on the shared-linked version of libsmbclient - we need it to work on other platforms as well -
Jelmer Vernooij
8f2975cc94 Fix build of static libsmbclient -
Andrew Bartlett
a60fd29b43 Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.
Andrew Bartlett
-
Jelmer Vernooij
3f78ea7d06 Fix building on platforms without ldap -
Martin Pool
54f4df0301 t_doschar: Test harness that exercises check_dos_char() -
Tim Potter
516e6c2e00 Updated warning messages for when configure.in is updated. -
Jim McDonough
87c7c582c6 The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):
This patch moves the ldap routines out of passdb into a generic
library and implements an LDAP backend for IDMAP.  THe backend
can be enabled with "idmap backend = ldap" in smb.conf.  THere
are also schema changes to make sure to update teh ldap schema files.
-
Jelmer Vernooij
3e2b73fcc1 winbindd should depend on IDMAP_OBJ too, not just link with it -
Richard Sharpe
e1a159c55f Commit some more fixes for Coolo ... -
Jelmer Vernooij
cdaa3bf12e Add KRB5LIBS to smbmount -
Jelmer Vernooij
7cd2c44745 Link in lib/snprintf.o with editreg for use on systems that don't have snprintf -
Jelmer Vernooij
fef586d6cd Add EDITREG_OBJ -
Jelmer Vernooij
a5a980eb3e Only link in popt when we need it -
Jelmer Vernooij
266c3970df Only link in libs when they are actually used. Works great here and on
one of my other boxes. I'll watch the buildfarm.
-
Simo Sorce
0278132047 THE Idmap patch :-)
includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.
-
Jelmer Vernooij
aa36f462d9 - Support absolute paths in vfs and charset modules
- Fix typo in Makefile.in
- Fix compatibility with older vfs modules (from patch by metze)
- Build some modules shared by default and some static (and fall
  back to static when dlopen() is not available)
-
Tim Potter
93ea047a16 Cleanup of winbind client side code.
Mostly this consists of untangling the existing code and moving it in
to operating system specific files.  The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
-
Tim Potter
58924582e8 Break the current build dependency on perl. Perl is required for
include/tdbsam2_parse_info.h which is included by sam/gumm_tdb.c which
doesn't seem to be used anywhere.

It would be nice to have the tdbsam2 stuff hidden behind a --with
configuration parameter so it doesn't interfere with normal builds.

(One of the build farm machines doesn't have perl installed).
-
Tim Potter
3776840227 distclean fixups from Paul Green. -