1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

705 Commits

Author SHA1 Message Date
Andrew Bartlett
9f3525967d Makefile.in change for ldap escaping fixes -
Gerald Carter
f739a7263d patch from Paul Green to only build libsmbclient.so on platforms that support shared libraries -
Richard Sharpe
58a7744f4a One more fix ... Things link now if you don't use dynamic RPC stuff -
Richard Sharpe
a96592fb69 One more try to get rid of the dependency on GNU MAKE -
Richard Sharpe
5e99472d5b Fix the dependency on GNU Make introduced by the DYNAMIC RPC stuff.
I have not tested this in a GNU MAKE environment yet.
-
Jim McDonough
d51e12df78 Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt for instructions. -
Andrew Bartlett
9128aa3dd2 Add LIBSMB_OBJ for the new ntlm_auth functionality.
Andrew Bartlett
-
Gerald Carter
dfeab6ff24 remove torture tools on make clean -
Andrew Bartlett
9e48ab86da Refactor the NTLMSSP code again - this time we use function pointers to
eliminate the dependency on the auth subsystem.  The next step is to add
the required code to 'ntlm_auth', for export to Squid etc.

Andrew Bartlett
-
Andrew Bartlett
b6641badcb Updates to our NTLMSSP code:
This tries to extract our server-side code out of sessetup.c, and into a more
general lib.  I hope this is only a temporay resting place - I indend to
refactor it again into an auth-subsystem independent lib, using callbacks.

Move some of our our NTLMSSP #defines into a new file, and add two that I found
in the COMsource docs - we seem to have a double-up, but I've verified from
traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real.

This code also copes with ASCII clients - not that we will ever see any here,
but I hope to use this for HTTP, were we can get them.  Win2k authenticates
fine under forced ASCII, btw.

Tested with Win2k, NTLMv2 and Samba's smbclient.

Andrew Bartlett
-
Gerald Carter
0f8ba688d4 add $(LDFLAGS) to libsmbclient -
Gerald Carter
63d057fc78 make sure we create the PIDDIR and LOCKDIR from installdirs -
Andrew Bartlett
23abf75ade debugparse is a seperate utility, no need to include it in the main ubiqx
objects.

Andrew Bartlett
-
Andrew Bartlett
1ad782282a Add a new VFS module, that just fiddles the file permissions. Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).

The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.

If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.

The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile.  This should
avoid that mess.

I'll test this out properly next week, but it works in vfstest (thanks idra!).

Andrew Bartlett
-
Herb Lewis
773e5af6eb fix make proto to work with SGI smake -
Simo Sorce
831d3d1ec7 updates to the gums
introduce genparser will be used by tdbsam2
-
Gerald Carter
6b18ca9511 merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 * -
Richard Sharpe
5273844a74 Add support to Makefile.in for editreg
Fix a couple of duplicated macros.
-
Richard Sharpe
481fa87154 A small fix to Makefile.in from Bradley Longhurst.
Less Fir needed.
-
Andrew Bartlett
49d9698ef0 Link less with smbmnt and smbumount. Also change from a pstrcpy() to a
strncpy() to make it clear that we must operate on a PATH_MAX sized buffer.

Andrew Bartlett
-
Andrew Bartlett
3f5608c7e0 Patch from Paul Green to detect exe extensions, needed for Stratus VOS.
Andrew Bartlett
-
Tim Potter
f5fa4801ce Fix up smbwrapper target. -
Jelmer Vernooij
5b4d03fc85 merge in some changes from metze's patches (rest follows later, after
some issues in the new module system have been resolved)
-
Jelmer Vernooij
3d0735e6b0 Add PDBLIBDIR, just like VFSLIBDIR -
Gerald Carter
1cf0cfa1b7 merging changes from SAMBA_3_0 relating to RPM packaging -
Andrew Bartlett
47f3bfe956 Having waited for *way* too long, this is mimir's namecache and trusted domain
cache code.

This uses gencache, mimir's new caching code that stores at text-based cache
of various data.

Mimir has done a *lot* of work on this patch, and it is finally time to
get it in CVS.

Andrew Bartlett
-
Gerald Carter
256d8c27cd [print notify fixes from APP_HEAD]
* fixing change notify on print server handle
 * adding change notify support into smbcontrol for sending comment
   changes, etc...

All part of CR 1159/1160
-
Andrew Bartlett
9bac0b7277 Try to twiddle with the makefile to avoid having a trailing \ when we
don't build any extra programs.
-
Andrew Bartlett
82dbf83887 Add ntlm_auth, a new program to provide a stable interface to winbind's
authentication code.

In particular, ntlm_auth is designed to replace the winbind authentication
'helpers' currently supplied by Squid.  I have added support for the current
plaintext password protocol used by Squid, and will add the real guts (NTLMSSP
support) shortly.

I'll merge this into 3.0 when I've got the interface more stable (error message
format etc) and got the important NTLMSSP support added.

Also move SWAT's URL decoding code into util_str.c, for use in both utilities.

Andrew Bartlett
-
Tim Potter
d6dfe3ea69 Here's a bit of a cleanup of the {configure,Makefile}.in files. I've
now combined all the ad-hoc AC_SUBST variables into three generalised
ones:

  EXTRA_BIN_PROGS 	Additional programs to install in ${prefix}/sbin
  EXTRA_SBIN_PROGS 	Additional programs to install in ${prefix}/bin
  EXTRA_ALL_TARGETS     Additional targets to build by default
  SHLIB_PROGS           Shared library objects (pam, winbind) to build

We also build some extra stuff by default: the python extensions (if
--with-python specified), smbmount related binaries (if
--with-smbmount specified), and the samba torture suite.

The idea behind this is to have everything that is configured built by
default to detect breakage as soon as possible when people make low
level changes.
-
Jelmer Vernooij
2addbaff35 Use smb_register_passdb() - plus some small fixes -
Tim Potter
a59f731256 A cool idea from mbp: create a big shared library of all Samba objects
which we can use to link against Samba unit test programs.  Now we can
compile and link unit tests without having to create 4MB executables
for each program

It's called libbigballofmud.so both to discourage casual usage and
also to reflect what the dependencies within Samba have become.
-
Tim Potter
85946731dd Quieten status message when linking libsmbclient.so -
Jelmer Vernooij
c656e7dce9 Add installmodules and uninstallmodules targets -
Jelmer Vernooij
afbff33eba Move 'weird' character set into new 'developer' module -
Jelmer Vernooij
018a44055d Only add modules/pdb_xml.so and modules/pdb_mysql.so to the 'modules' target if
the libs they depend on are available
-
Jelmer Vernooij
4c05cbbe74 Add make target 'modules' that currently builds vfs_audit, vfs_recycle and vfs_netatalk -
Jelmer Vernooij
ba34be7033 Add $(POPT_LIB_OBJ) to PROTO_OBJ -
Simo Sorce
80086728f2 consolidate error mapping functions into a single file -
Jeremy Allison
10024ed06e Merge of scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
-
Jelmer Vernooij
44c894531b Remove pdb_sql.o.. this one got in by accident -
Jelmer Vernooij
2e7a904856 Small fix from Guenther Deschner <guenther.deschner@suse.de>
(remove junk chars)
-
Jelmer Vernooij
eb8965eeff Add support to build plugins in source/ -
Tim Potter
cf6d2d9d9e Remove DRIVERFILE constant. It was removed with the old win95
printer driver stuff.
-
Tim Potter
01a89690a2 Fix mysterious error message when running 'make python_{ext,install}'
without configuring with python.
-
Andrew Bartlett
c70a3191d4 VFStest already has pop_common via smbd, so don't link it twice.
Andrew Bartlett
-
Jelmer Vernooij
24dd3886e8 Add @BUILD_POPT@ to smbclient -
Andrew Bartlett
a0d13cd3f0 Becouse lib/popt_common.c uses POPT, we must not include it in LIB, we must
link it on a per-program basis.

Next step is to make -lpopt apply only to the right programs, which might
help some of this kind of thing show up on Linux.

Andrew Bartlett
-
Andrew Bartlett
dd9c6214d1 Try to fix popt dependencies - we were linking to popt before we built with it.
Andrew Bartlett
-
Andrew Bartlett
80f1f68b6f Any conversion to POPT must *always* add @BUILD_POPT@ or it just won't work on
systems other than linux.

Andrew Bartlett
-