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

706 Commits

Author SHA1 Message Date
Tim Potter
ddb870f36b 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.
(This used to be commit 895bef1a62)
2003-05-05 04:09:56 +00:00
Tim Potter
4b8d28f832 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.
(This used to be commit d15406ad91)
2003-05-05 01:52:08 +00:00
Simo Sorce
8b232cbb3e 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
(This used to be commit 921215cf4b)
2003-05-03 01:29:18 +00:00
Simo Sorce
8caaebf56e exclude tdbsam2.h generation until it will be used
(This used to be commit 28b73a3921)
2003-05-02 18:24:30 +00:00
Paul Green
4e2bd11d3e 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.
(This used to be commit 2dd18ca0cf)
2003-04-30 17:35:56 +00:00
Andrew Bartlett
211939f3ab pam_smbpass will need at least IDMAP.
(This used to be commit b05fa6b90a)
2003-04-30 13:57:28 +00:00
Gerald Carter
0db7c13f92 remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them
(This used to be commit 000fe6b2f0)
2003-04-29 15:24:52 +00:00
Simo Sorce
fd102eb947 consolidate idmap code in one place
(This used to be commit f7041ec5d7)
2003-04-29 10:54:13 +00:00
Simo Sorce
e64b34cd47 swat need idmap now
(This used to be commit c4ba4db341)
2003-04-28 23:58:55 +00:00
Jelmer Vernooij
1914b3ba9f Add 'smbiconv' program - a clone of the 'iconv' utility
that uses samba's internal iconv() functions. Useful for
testing purposes.
(This used to be commit 674b671983)
2003-04-27 20:49:18 +00:00
Simo Sorce
c737b1f758 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
(This used to be commit 9d7d007443)
2003-04-27 12:07:20 +00:00
Jelmer Vernooij
17c29f0faf Fix the 'weird' charset module. Also, built it by default for
./configure --enable-developer
(This used to be commit 1c0ae10301)
2003-04-26 11:38:42 +00:00
Jelmer Vernooij
172fe551bc Move pdb_mysql and pdb_xml from modules/ to passdb/, just like they are
in 3_0
(This used to be commit 9b969f877f)
2003-04-24 20:51:16 +00:00
Gerald Carter
0676a942f9 [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>]
(This used to be commit 0fd28bc3a8)
2003-04-19 06:04:17 +00:00
Jelmer Vernooij
ef41d0d951 Add torture to everything..
(This used to be commit 89048748ae)
2003-04-16 09:12:26 +00:00
Jelmer Vernooij
abb10073d3 Don't build the torture progs in 'make all'
(This used to be commit 4477954696)
2003-04-16 08:57:12 +00:00
Jelmer Vernooij
4e3f7c8509 Fix build of VFS modules statically (we used Makefile variables before setting them)
(This used to be commit 8df9ab2fcf)
2003-04-15 12:04:48 +00:00
Tim Potter
ef8f998edc Use picobjs when building python extensions. Spotted by Steve Langasek.
(This used to be commit 53dcaf2271)
2003-04-15 03:43:24 +00:00
Martin Pool
3aaee9fea9 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.
(This used to be commit 8fbe456ee3)
2003-04-14 07:48:44 +00:00
Martin Pool
4dc97bea8b Build and run the lib/snprintf.c test cases from "make check".
(This used to be commit 95ff914d82)
2003-04-14 06:07:25 +00:00
Martin Pool
ee855b3333 Add rules to build bin/t_snprintf, which exposes the snprintf test code.
(This used to be commit 7805641d6e)
2003-04-14 05:26:28 +00:00
Gerald Carter
5b51fc4f06 smbcquota patch from metze
(This used to be commit 74fab8f0d2)
2003-04-11 23:32:00 +00:00
Tim Potter
065561932c 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.
(This used to be commit 4ccd34ef83)
2003-04-11 04:09:14 +00:00
Tim Potter
acfddbe0b8 Fixes to linker flags for AIX winbind client from Stephen Roylance.
(This used to be commit 1cc5b2881c)
2003-04-10 05:16:49 +00:00
Martin Pool
91c9960eba bin/smbcontrol needs to be built to run tpot's new tests of it.
(This used to be commit 16b0917915)
2003-04-09 06:05:12 +00:00
Tim Potter
e9c998df08 poptify smbcontrol
(This used to be commit f75d4b90ca)
2003-04-09 05:53:31 +00:00
Tim Potter
0aad60636d Install libsmbclient.h from $(srcdir)
(This used to be commit d396f57678)
2003-04-09 04:20:29 +00:00
Tim Potter
e725e6a0b7 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.
(This used to be commit 69c392bc12)
2003-04-09 04:05:42 +00:00
Martin Pool
bce94d35f1 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.
(This used to be commit 275e095c92)
2003-04-08 08:05:01 +00:00
Jim McDonough
31e21b67d9 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).
(This used to be commit 046c2087a1)
2003-04-07 18:01:40 +00:00
Jelmer Vernooij
c2fc81156c make installclientlib depend on the shared-linked or statically-linked version
of libsmbclient, depending on what is possible - pointed out by Paul Green
(This used to be commit 69e37469c4)
2003-04-07 17:36:59 +00:00
Jelmer Vernooij
b11e5b1342 Don't make installclientlib depend on the shared-linked version of libsmbclient - we need it to work on other platforms as well
(This used to be commit 77b1589188)
2003-04-07 16:44:08 +00:00
Jelmer Vernooij
e5f2a77971 Fix build of static libsmbclient
(This used to be commit 8f2975cc94)
2003-04-07 11:46:44 +00:00
Andrew Bartlett
fbd5367245 Fix bigballofmud.so, and add a test to show a bug I'm having with push_ucs2.
Andrew Bartlett
(This used to be commit a60fd29b43)
2003-04-06 11:19:26 +00:00
Jelmer Vernooij
35833e5aaf Fix building on platforms without ldap
(This used to be commit 3f78ea7d06)
2003-04-06 01:08:39 +00:00
Martin Pool
0ac3eeaff5 t_doschar: Test harness that exercises check_dos_char()
(This used to be commit 54f4df0301)
2003-04-04 03:09:42 +00:00
Tim Potter
41ef3e1c2d Updated warning messages for when configure.in is updated.
(This used to be commit 516e6c2e00)
2003-04-04 00:36:11 +00:00
Jim McDonough
77dc0bc6bf 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.
(This used to be commit 87c7c582c6)
2003-04-03 03:30:25 +00:00
Jelmer Vernooij
ab0bd4b63c winbindd should depend on IDMAP_OBJ too, not just link with it
(This used to be commit 3e2b73fcc1)
2003-04-02 21:48:33 +00:00
Richard Sharpe
63f153c808 Commit some more fixes for Coolo ...
(This used to be commit e1a159c55f)
2003-04-02 18:32:31 +00:00
Jelmer Vernooij
35d546ecd1 Add KRB5LIBS to smbmount
(This used to be commit cdaa3bf12e)
2003-04-02 15:46:25 +00:00
Jelmer Vernooij
c64d654797 Link in lib/snprintf.o with editreg for use on systems that don't have snprintf
(This used to be commit 7cd2c44745)
2003-04-02 15:42:44 +00:00
Jelmer Vernooij
b5c7e3377f Add EDITREG_OBJ
(This used to be commit fef586d6cd)
2003-04-02 15:25:19 +00:00
Jelmer Vernooij
388af65857 Only link in popt when we need it
(This used to be commit a5a980eb3e)
2003-04-02 15:08:31 +00:00
Jelmer Vernooij
8d9962f1d3 Only link in libs when they are actually used. Works great here and on
one of my other boxes. I'll watch the buildfarm.
(This used to be commit 266c3970df)
2003-04-02 14:59:21 +00:00
Simo Sorce
a557af96e9 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.
(This used to be commit 0278132047)
2003-04-02 10:36:02 +00:00
Jelmer Vernooij
96b5d5bdfd - 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)
(This used to be commit aa36f462d9)
2003-03-31 15:06:34 +00:00
Tim Potter
6c33130c0f 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.
(This used to be commit 93ea047a16)
2003-03-31 04:36:01 +00:00
Tim Potter
4b664cfccb 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).
(This used to be commit 58924582e8)
2003-03-31 01:44:42 +00:00
Tim Potter
f60980b3f2 distclean fixups from Paul Green.
(This used to be commit 3776840227)
2003-03-30 23:44:22 +00:00