Jeremy Allison [Sat, 23 Nov 2002 02:51:31 +0000 (02:51 +0000)]
jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
Tim Potter [Fri, 22 Nov 2002 06:56:28 +0000 (06:56 +0000)]
Rerun autoconf.
Tim Potter [Fri, 22 Nov 2002 06:54:12 +0000 (06:54 +0000)]
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.
Tim Potter [Fri, 22 Nov 2002 06:51:14 +0000 (06:51 +0000)]
Added some extra code to test absence/presence of LM and NT passwords.
Tim Potter [Fri, 22 Nov 2002 06:18:03 +0000 (06:18 +0000)]
Fixed some compiler warnings.
Tim Potter [Fri, 22 Nov 2002 06:15:43 +0000 (06:15 +0000)]
Fixed some globals that escaped the recent globalcide.
Andrew Bartlett [Fri, 22 Nov 2002 02:40:21 +0000 (02:40 +0000)]
Add support for 'restrict anonymous=2' and make the doco give a slight hint
as to what it now does in 3.0. Needs more work, but better than documenting
the old functionality :-).
As the security benifits of this are nullified by a setting of 'guest ok' on
any share, we might want to put some documentation there too.
Andrew Bartlett
Martin Pool [Fri, 22 Nov 2002 01:12:23 +0000 (01:12 +0000)]
Add support for new 'F' format, which is a string in the default
codepage.
Martin Pool [Thu, 21 Nov 2002 01:33:42 +0000 (01:33 +0000)]
If you don't specify --with-python, we assume "python" anyhow, because
the extensions are not built until you specifically "make python_ext".
Jim McDonough [Thu, 21 Nov 2002 00:58:50 +0000 (00:58 +0000)]
get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
Gerald Carter [Thu, 21 Nov 2002 00:10:28 +0000 (00:10 +0000)]
merge get_friendly_nt_err_msg() from app_head
Andrew Tridgell [Wed, 20 Nov 2002 11:30:19 +0000 (11:30 +0000)]
fixed a number of places where we can try to free a wild pointer or
look for the record count after an invalid search. This fixes a segv
in ldapsam
Tim Potter [Wed, 20 Nov 2002 03:01:55 +0000 (03:01 +0000)]
Ignore automatically generated Makefile.
Tim Potter [Wed, 20 Nov 2002 03:00:32 +0000 (03:00 +0000)]
Spelling fix.
Andrew Tridgell [Wed, 20 Nov 2002 00:39:57 +0000 (00:39 +0000)]
more %U fixes for head
Andrew Tridgell [Tue, 19 Nov 2002 23:44:24 +0000 (23:44 +0000)]
a better for for using %U in smb.conf
this follows the method used for remote_machine and also fixes the
problem of anonymous connections clobbering the string
Christopher R. Hertel [Tue, 19 Nov 2002 22:05:00 +0000 (22:05 +0000)]
Fixed two very, very minor typos (that sort of just annoyed me).
Jeremy Allison [Tue, 19 Nov 2002 01:45:55 +0000 (01:45 +0000)]
Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
Tim Potter [Tue, 19 Nov 2002 01:14:00 +0000 (01:14 +0000)]
Merge from appliance:
>Fix memory leak in cli_ds_getprimarydominfo()
Tim Potter [Tue, 19 Nov 2002 01:02:43 +0000 (01:02 +0000)]
Fix typo in docstring.
Jeremy Allison [Mon, 18 Nov 2002 23:12:45 +0000 (23:12 +0000)]
Added HIDDEN/NORMAL attribute test.
Jeremy.
Tim Potter [Mon, 18 Nov 2002 22:46:45 +0000 (22:46 +0000)]
Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
Jim McDonough [Mon, 18 Nov 2002 20:46:20 +0000 (20:46 +0000)]
Don't pass a function to ADS_ERR_OK().
Jim McDonough [Mon, 18 Nov 2002 20:40:44 +0000 (20:40 +0000)]
Revert ADS_ERR_OK change. Some compilers didn't like it.
The problem is that ADS_ERR_OK() run on a function that returns an ADS_STATUS
causes the function to be run mulitple times...so you have to return a status,
then check it with the macro.
Jim McDonough [Mon, 18 Nov 2002 19:56:55 +0000 (19:56 +0000)]
Back out some goofs that accidentally checked in with printer publishing.
Jim McDonough [Mon, 18 Nov 2002 19:50:36 +0000 (19:50 +0000)]
Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.
Next comes doing it within smbd
Gerald Carter [Mon, 18 Nov 2002 16:00:12 +0000 (16:00 +0000)]
bad date string in specfile
Gerald Carter [Mon, 18 Nov 2002 15:59:04 +0000 (15:59 +0000)]
sync packaging changes with SAMBA_3_0
Gerald Carter [Mon, 18 Nov 2002 15:47:48 +0000 (15:47 +0000)]
use ${RPM} for rpm v4.1
Gerald Carter [Mon, 18 Nov 2002 15:45:06 +0000 (15:45 +0000)]
formatting fix
Andrew Tridgell [Mon, 18 Nov 2002 03:11:59 +0000 (03:11 +0000)]
the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'
This changes fixes things again, by checking for reload after we setup
current_user in tconx.
Tim Potter [Sun, 17 Nov 2002 01:14:30 +0000 (01:14 +0000)]
Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC
headers.
Tim Potter [Sat, 16 Nov 2002 23:59:57 +0000 (23:59 +0000)]
Added for the people who want to use Windows XP with plaintext
passwords. From dcb.
Jelmer Vernooij [Sat, 16 Nov 2002 02:23:34 +0000 (02:23 +0000)]
Update docs status document
Jelmer Vernooij [Sat, 16 Nov 2002 02:17:23 +0000 (02:17 +0000)]
Update for 3.0
Jelmer Vernooij [Sat, 16 Nov 2002 01:55:01 +0000 (01:55 +0000)]
Update for 3.0
Andrew Bartlett [Fri, 15 Nov 2002 23:48:39 +0000 (23:48 +0000)]
/bin/sh on solaris swallows the failure code, so exec this directly.
Andrew Bartlett
Richard Sharpe [Fri, 15 Nov 2002 22:55:15 +0000 (22:55 +0000)]
One more small fix in tree.c
Richard Sharpe [Fri, 15 Nov 2002 22:51:03 +0000 (22:51 +0000)]
Fix some problems with tree.c reported by users.
Andrew Bartlett [Fri, 15 Nov 2002 21:56:14 +0000 (21:56 +0000)]
Remove the assumption that all Solaris has -lsendfile.
Andrew Bartlett
Andrew Bartlett [Fri, 15 Nov 2002 21:28:33 +0000 (21:28 +0000)]
Add samdump and vampire to 'net rpc help'
Andrew Bartlett
Andrew Bartlett [Fri, 15 Nov 2002 21:27:55 +0000 (21:27 +0000)]
Add const to PACKS()
Andrew Bartlett [Fri, 15 Nov 2002 21:25:40 +0000 (21:25 +0000)]
Include the hostname we are trying to match with $@, to allow easier debugging.
Andrew Bartlett [Fri, 15 Nov 2002 21:23:55 +0000 (21:23 +0000)]
Small auth updates:
- add static remove unnneded prototype
- move become_root() to just around pdb calls, so as to make it easier to
remove when we kill off this silly idea
- Change auth_sam to do 'account before password' rather than 'password before
account'. This means that we match Win2k in giving 'account disabled' instead
of 'wrong password' if the wrong password to a disabled account is used.
Andrew Bartlett
Andrew Bartlett [Fri, 15 Nov 2002 21:15:51 +0000 (21:15 +0000)]
patch from aedil@alchar.org to correctly detect solaris workshop CC's ability
to build shared libs (but not with .po suffix).
Andrew Bartlett
Jeremy Allison [Fri, 15 Nov 2002 18:55:30 +0000 (18:55 +0000)]
Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
release.
Jeremy.
Gerald Carter [Fri, 15 Nov 2002 17:56:46 +0000 (17:56 +0000)]
fix segfault
Gerald Carter [Fri, 15 Nov 2002 17:56:21 +0000 (17:56 +0000)]
enable enumeration of domain local groups using LDAP (and in a native mode domain)
Jelmer Vernooij [Fri, 15 Nov 2002 17:49:47 +0000 (17:49 +0000)]
Update to use smb_register_passdb()
Jelmer Vernooij [Fri, 15 Nov 2002 17:03:58 +0000 (17:03 +0000)]
Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'
Jelmer Vernooij [Fri, 15 Nov 2002 17:01:24 +0000 (17:01 +0000)]
Use smb_register_passdb() - plus some small fixes
Jelmer Vernooij [Fri, 15 Nov 2002 16:48:00 +0000 (16:48 +0000)]
Add smb_register_passdb()
Andrew Bartlett [Fri, 15 Nov 2002 14:24:27 +0000 (14:24 +0000)]
Add the rename torture test.
Andrew Bartlett [Fri, 15 Nov 2002 14:00:09 +0000 (14:00 +0000)]
Rerun autoconf
Andrew Bartlett [Fri, 15 Nov 2002 13:59:33 +0000 (13:59 +0000)]
When testing for /usr/include/heimdal, don't include /usr/heimdal/include
instead :-)
Andrew Bartlett [Fri, 15 Nov 2002 13:57:25 +0000 (13:57 +0000)]
Add const to DEBUG() macro.
Andrew Bartlett [Fri, 15 Nov 2002 13:53:02 +0000 (13:53 +0000)]
Updates to the build farm tests:
- Get valid/invalid users working
- Test preexec, preexec close
Andrew Bartlett
Tim Potter [Fri, 15 Nov 2002 00:33:55 +0000 (00:33 +0000)]
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 [Fri, 15 Nov 2002 00:20:55 +0000 (00:20 +0000)]
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.
Jelmer Vernooij [Thu, 14 Nov 2002 22:54:23 +0000 (22:54 +0000)]
Some small updates - 'ads server' is no longer required for example
Jelmer Vernooij [Thu, 14 Nov 2002 21:36:46 +0000 (21:36 +0000)]
Remove some obsolete info
Jelmer Vernooij [Thu, 14 Nov 2002 21:18:22 +0000 (21:18 +0000)]
Add more info about stackable VFS objects
Jelmer Vernooij [Thu, 14 Nov 2002 21:04:12 +0000 (21:04 +0000)]
Update testparm for 3.0
Jelmer Vernooij [Thu, 14 Nov 2002 18:16:17 +0000 (18:16 +0000)]
Remove the #ifdef's for NISPLUS_SAM - there are no function name collisions anymore
Jelmer Vernooij [Thu, 14 Nov 2002 17:42:01 +0000 (17:42 +0000)]
a cups printing backend is now available as well
Jelmer Vernooij [Thu, 14 Nov 2002 17:37:44 +0000 (17:37 +0000)]
Update documentation to cover cascaded VFS modules
Tim Potter [Thu, 14 Nov 2002 00:53:40 +0000 (00:53 +0000)]
Quieten status message when linking libsmbclient.so
Jelmer Vernooij [Wed, 13 Nov 2002 21:51:08 +0000 (21:51 +0000)]
small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by metze)
Jeremy Allison [Wed, 13 Nov 2002 21:47:21 +0000 (21:47 +0000)]
Fix smbwrapper from the global_* changes.
Jeremy.
Jelmer Vernooij [Wed, 13 Nov 2002 20:40:31 +0000 (20:40 +0000)]
Add installmodules and uninstallmodules targets
Jelmer Vernooij [Wed, 13 Nov 2002 20:38:56 +0000 (20:38 +0000)]
Remove obsolete scripts and put in module install/uninstall
Jelmer Vernooij [Wed, 13 Nov 2002 19:27:33 +0000 (19:27 +0000)]
Add debug2html and *.so
Jelmer Vernooij [Wed, 13 Nov 2002 19:07:34 +0000 (19:07 +0000)]
Move 'weird' character set into new 'developer' module
Jelmer Vernooij [Wed, 13 Nov 2002 19:04:17 +0000 (19:04 +0000)]
Load modules in lp_modules() after fork()
Jelmer Vernooij [Wed, 13 Nov 2002 15:34:49 +0000 (15:34 +0000)]
Some more doc updates:
- make
- update status of docs document
- move security_level to 'type of installation' part
Jelmer Vernooij [Wed, 13 Nov 2002 14:51:50 +0000 (14:51 +0000)]
add lp_modules()
Jelmer Vernooij [Wed, 13 Nov 2002 14:45:11 +0000 (14:45 +0000)]
Don't crash when there are no arguments specified
Jelmer Vernooij [Wed, 13 Nov 2002 14:23:52 +0000 (14:23 +0000)]
Ignore Makefile
Jelmer Vernooij [Wed, 13 Nov 2002 13:47:12 +0000 (13:47 +0000)]
Add a DEBUG() that gives the number of successfully loaded modules - useful for debugging
Jelmer Vernooij [Wed, 13 Nov 2002 13:33:02 +0000 (13:33 +0000)]
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 [Wed, 13 Nov 2002 13:23:02 +0000 (13:23 +0000)]
Don't build Makefile.in in examples/VFS/
Jelmer Vernooij [Wed, 13 Nov 2002 13:19:24 +0000 (13:19 +0000)]
Add make target 'modules' that currently builds vfs_audit, vfs_recycle and vfs_netatalk
Jelmer Vernooij [Wed, 13 Nov 2002 13:11:04 +0000 (13:11 +0000)]
Move working VFS modules to source/modules/
Jelmer Vernooij [Wed, 13 Nov 2002 13:08:56 +0000 (13:08 +0000)]
Move VFS documentation to the HOWTO collection
Jelmer Vernooij [Wed, 13 Nov 2002 13:04:16 +0000 (13:04 +0000)]
Move VFS documentation to SGML
Andrew Bartlett [Wed, 13 Nov 2002 06:38:33 +0000 (06:38 +0000)]
Try to bring libsmbclient in line with the new global_myname stuff
Andrew Bartlett [Wed, 13 Nov 2002 04:14:21 +0000 (04:14 +0000)]
Undo the new --enable-developer flags that caused breakage on gcc != 3.2, and
rerun autoconf
Jeremy Allison [Wed, 13 Nov 2002 02:21:55 +0000 (02:21 +0000)]
Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()
to ensure the malloc is done.
Jeremy.
Jim McDonough [Wed, 13 Nov 2002 01:54:44 +0000 (01:54 +0000)]
Bring smbmount.c in line with jra's global-cide. global_scope was used here...
Andrew Bartlett [Wed, 13 Nov 2002 01:22:25 +0000 (01:22 +0000)]
- Add some more warning flags for --enable-developer.
- patch from SUSE for hiemdal headers in /usr/include/heimdal
Jeremy Allison [Tue, 12 Nov 2002 23:15:52 +0000 (23:15 +0000)]
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
Martin Pool [Tue, 12 Nov 2002 22:23:36 +0000 (22:23 +0000)]
Rename unpack_* functions to be consistent
Decode CP850 strings when unpacking
Add variable giving default encoding name
Martin Pool [Tue, 12 Nov 2002 22:08:59 +0000 (22:08 +0000)]
Rename pytdbpack_unpack -> pytdbunpack
Martin Pool [Tue, 12 Nov 2002 22:07:11 +0000 (22:07 +0000)]
Just reorder functions to put related ones together
Martin Pool [Tue, 12 Nov 2002 22:00:57 +0000 (22:00 +0000)]
Remove dead code for packing buffers which has now been reimplemented.
Martin Pool [Tue, 12 Nov 2002 21:42:36 +0000 (21:42 +0000)]
Remove dead code for packing buffers which has now been reimplemented.
Martin Pool [Tue, 12 Nov 2002 21:40:37 +0000 (21:40 +0000)]
Remove non-integer Pointer values, which are no longer supported.
Jelmer Vernooij [Tue, 12 Nov 2002 18:11:00 +0000 (18:11 +0000)]
Don't throw out WEIRD - yet (I committed my local changes together with my last fix. D'oh!)
Jelmer Vernooij [Tue, 12 Nov 2002 18:07:51 +0000 (18:07 +0000)]
Fix segfault with high debug levels
Jelmer Vernooij [Tue, 12 Nov 2002 15:18:12 +0000 (15:18 +0000)]
Add smb_register_charset() and use it