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

680 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
aef719f753 Fix installation of auth and charset modules (reported by Stephan Kulow)
(This used to be commit 2a281784c9)
2003-03-30 21:23:01 +00:00
Jelmer Vernooij
28f7d7588a Compile @VFS_STATIC@ into smbd and vfstest
(This used to be commit 0133c0a2ee)
2003-03-27 23:36:16 +00:00
Jelmer Vernooij
6d620e0e00 Also rebuild smbd/vfs.o after reconfiguring
(This used to be commit afda828b38)
2003-03-27 23:31:15 +00:00
Jelmer Vernooij
11db21cc1c Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
(This used to be commit cebe8d8b42)
2003-03-27 12:08:46 +00:00
Jelmer Vernooij
4c74bfcbda Remove LDAP_LIBS and just use LIBS again as before. I'll
fix this better later.
(This used to be commit c6807d2045)
2003-03-26 20:16:48 +00:00
Jelmer Vernooij
dee03e1d2d Don't do $(MAKE) modules_clean twice in a row - it breaks the build...
(This used to be commit 1e1544ecc1)
2003-03-25 23:53:34 +00:00
Jelmer Vernooij
6d73e56b30 Give PARAMS_OBJ more priority
(This used to be commit cf73797d11)
2003-03-25 23:26:39 +00:00
Jelmer Vernooij
99038b9aee Do $(MAKE) modules_clean when compiling dynconfig.o. It's not the
most elegant solution, but it works.
(This used to be commit 02d202034d)
2003-03-25 22:57:29 +00:00
Jelmer Vernooij
dc16a6848b Always rebuild modules after running ./configure (to prevent
undefined symbol errors)
(This used to be commit e193b47259)
2003-03-25 22:37:43 +00:00
Jelmer Vernooij
4905ba282f - Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 71b05cd14a)
2003-03-25 14:46:11 +00:00
Jelmer Vernooij
6d6f1c0522 - Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
(This used to be commit 3defbd5e06)
2003-03-24 23:03:46 +00:00
Jelmer Vernooij
9ae249c6f1 Add modules support to charset
(This used to be commit cf3d31b980)
2003-03-24 12:47:21 +00:00
Jelmer Vernooij
dc0ce6f158 Convert to popt.
(This used to be commit 18d52ce914)
2003-03-23 13:42:38 +00:00
Jelmer Vernooij
67cf75843e Convert to popt.
(This used to be commit 691c63ad6b)
2003-03-23 13:12:04 +00:00
Jelmer Vernooij
b6520a4d48 Convert to popt.
(This used to be commit 83c7f1e166)
2003-03-23 13:02:15 +00:00
Jelmer Vernooij
8c7753e87f Convert to popt.
(This used to be commit 5f12b246b0)
2003-03-23 00:44:56 +00:00
Jelmer Vernooij
6ab85f1997 Convert to popt.
(This used to be commit 633b3eb781)
2003-03-23 00:18:44 +00:00
Jelmer Vernooij
6bfe8b7c16 Convert to popt
(This used to be commit 8f285878b3)
2003-03-22 23:51:46 +00:00
Andrew Bartlett
a38e5e6850 Small clenaup patches:
- safe_string.h - don't assume that __FUNCTION__ is available
 - process.c - use new workaround from safe_string.h for the same
 - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc()
 - gencache.c - Keep valgrind quiet by always null terminating.
 - clistr.c - Add copyright
 - srvstr.h - move srvstr_push into a .c file again, as a real function.
 - srvstr.c - revive, with 'safe' checked srvstr_push
 - loadparm.c - set a default for the display charset.

Andrew Bartlett
(This used to be commit a7eba37aad)
2003-03-22 13:06:52 +00:00
Jelmer Vernooij
21fb006207 Convert smbcacls to popt
(This used to be commit 45e5374e89)
2003-03-20 12:07:52 +00:00
Jelmer Vernooij
4e01382b3a Make swat use popt
(This used to be commit 3cd1650d38)
2003-03-20 11:11:32 +00:00
Jelmer Vernooij
c775678250 Add make rules for passdb/*.so
(This used to be commit ea85f8ff21)
2003-03-19 22:16:38 +00:00
Jelmer Vernooij
47ea3a2bf2 Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today.
(This used to be commit af7bfee0c6)
2003-03-19 18:45:19 +00:00
Martin Pool
1d2afdcfb7 Get rid of "make check" targets that call nonexistent code.
Add in new ones that run STF, after setting up a PATH and
LD_LIBRARY_PATH that will let them find samba in the build directory.

LD_LIBRARY_PATH is probably not portable but without libtool I don't
know a portable way to do it.  Perhaps the simple solution is just to
link these things statically?
(This used to be commit 27c1626ae0)
2003-03-19 03:55:14 +00:00
Martin Pool
6b2fb1e2fe Add t_strcmp test/torture harness.
(This used to be commit 2c17cb1bd2)
2003-03-18 07:13:15 +00:00
Martin Pool
a084f06fe3 Split "clobber" function and variables into its own file before it
grows too much larger.
(This used to be commit 4bbddbfc6a)
2003-03-18 07:09:23 +00:00