tprouty/samba.git
21 years agojcmd really should run with a higher compiler warning level more often :-).
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.

21 years agoRerun autoconf.
Tim Potter [Fri, 22 Nov 2002 06:56:28 +0000 (06:56 +0000)]
Rerun autoconf.

21 years agoHere's a bit of a cleanup of the {configure,Makefile}.in files. I've
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.

21 years agoAdded some extra code to test absence/presence of LM and NT passwords.
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.

21 years agoFixed some compiler warnings.
Tim Potter [Fri, 22 Nov 2002 06:18:03 +0000 (06:18 +0000)]
Fixed some compiler warnings.

21 years agoFixed some globals that escaped the recent globalcide.
Tim Potter [Fri, 22 Nov 2002 06:15:43 +0000 (06:15 +0000)]
Fixed some globals that escaped the recent globalcide.

21 years agoAdd support for 'restrict anonymous=2' and make the doco give a slight hint
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

21 years agoAdd support for new 'F' format, which is a string in the default
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.

21 years agoIf you don't specify --with-python, we assume "python" anyhow, because
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".

21 years agoget_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix...
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.

21 years agomerge get_friendly_nt_err_msg() from app_head
Gerald Carter [Thu, 21 Nov 2002 00:10:28 +0000 (00:10 +0000)]
merge get_friendly_nt_err_msg() from app_head

21 years agofixed a number of places where we can try to free a wild pointer or
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

21 years agoIgnore automatically generated Makefile.
Tim Potter [Wed, 20 Nov 2002 03:01:55 +0000 (03:01 +0000)]
Ignore automatically generated Makefile.

21 years agoSpelling fix.
Tim Potter [Wed, 20 Nov 2002 03:00:32 +0000 (03:00 +0000)]
Spelling fix.

21 years agomore %U fixes for head
Andrew Tridgell [Wed, 20 Nov 2002 00:39:57 +0000 (00:39 +0000)]
more %U fixes for head

21 years agoa better for for using %U in smb.conf
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

21 years agoFixed two very, very minor typos (that sort of just annoyed me).
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).

21 years agoVery curious. It turns out attribute matching on truncate only matters
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.

21 years agoMerge from appliance:
Tim Potter [Tue, 19 Nov 2002 01:14:00 +0000 (01:14 +0000)]
Merge from appliance:

>Fix memory leak in cli_ds_getprimarydominfo()

21 years agoFix typo in docstring.
Tim Potter [Tue, 19 Nov 2002 01:02:43 +0000 (01:02 +0000)]
Fix typo in docstring.

21 years agoAdded HIDDEN/NORMAL attribute test.
Jeremy Allison [Mon, 18 Nov 2002 23:12:45 +0000 (23:12 +0000)]
Added HIDDEN/NORMAL attribute test.
Jeremy.

21 years agoBug fix from appliance - we must initialise the winbindd server state
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.

21 years agoDon't pass a function to ADS_ERR_OK().
Jim McDonough [Mon, 18 Nov 2002 20:46:20 +0000 (20:46 +0000)]
Don't pass a function to ADS_ERR_OK().

21 years agoRevert ADS_ERR_OK change. Some compilers didn't like it.
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.

21 years agoBack out some goofs that accidentally checked in with printer publishing.
Jim McDonough [Mon, 18 Nov 2002 19:56:55 +0000 (19:56 +0000)]
Back out some goofs that accidentally checked in with printer publishing.

21 years agoNext step of 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

21 years agobad date string in specfile
Gerald Carter [Mon, 18 Nov 2002 16:00:12 +0000 (16:00 +0000)]
bad date string in specfile

21 years agosync packaging changes with SAMBA_3_0
Gerald Carter [Mon, 18 Nov 2002 15:59:04 +0000 (15:59 +0000)]
sync packaging changes with SAMBA_3_0

21 years agouse ${RPM} for rpm v4.1
Gerald Carter [Mon, 18 Nov 2002 15:47:48 +0000 (15:47 +0000)]
use ${RPM} for rpm v4.1

21 years agoformatting fix
Gerald Carter [Mon, 18 Nov 2002 15:45:06 +0000 (15:45 +0000)]
formatting fix

21 years agothe change in the way %U is handled to use current_user has broken
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.

21 years agoRenamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC
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.

21 years agoAdded for the people who want to use Windows XP with plaintext
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.

21 years agoUpdate docs status document
Jelmer Vernooij [Sat, 16 Nov 2002 02:23:34 +0000 (02:23 +0000)]
Update docs status document

21 years agoUpdate for 3.0
Jelmer Vernooij [Sat, 16 Nov 2002 02:17:23 +0000 (02:17 +0000)]
Update for 3.0

21 years agoUpdate for 3.0
Jelmer Vernooij [Sat, 16 Nov 2002 01:55:01 +0000 (01:55 +0000)]
Update for 3.0

21 years ago/bin/sh on solaris swallows the failure code, so exec this directly.
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

21 years agoOne more small fix in tree.c
Richard Sharpe [Fri, 15 Nov 2002 22:55:15 +0000 (22:55 +0000)]
One more small fix in tree.c

21 years agoFix some problems with tree.c reported by users.
Richard Sharpe [Fri, 15 Nov 2002 22:51:03 +0000 (22:51 +0000)]
Fix some problems with tree.c reported by users.

21 years agoRemove the assumption that all Solaris has -lsendfile.
Andrew Bartlett [Fri, 15 Nov 2002 21:56:14 +0000 (21:56 +0000)]
Remove the assumption that all Solaris has -lsendfile.

Andrew Bartlett

21 years agoAdd samdump and vampire to 'net rpc help'
Andrew Bartlett [Fri, 15 Nov 2002 21:28:33 +0000 (21:28 +0000)]
Add samdump and vampire to 'net rpc help'

Andrew Bartlett

21 years agoAdd const to PACKS()
Andrew Bartlett [Fri, 15 Nov 2002 21:27:55 +0000 (21:27 +0000)]
Add const to PACKS()

21 years agoInclude the hostname we are trying to match with $@, to allow easier debugging.
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.

21 years agoSmall auth updates:
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

21 years agopatch from aedil@alchar.org to correctly detect solaris workshop CC's ability
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

21 years agoFix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
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.

21 years agofix segfault
Gerald Carter [Fri, 15 Nov 2002 17:56:46 +0000 (17:56 +0000)]
fix segfault

21 years agoenable enumeration of domain local groups using LDAP (and in a native mode domain)
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)

21 years agoUpdate to use smb_register_passdb()
Jelmer Vernooij [Fri, 15 Nov 2002 17:49:47 +0000 (17:49 +0000)]
Update to use smb_register_passdb()

21 years agoRename pdb_mysql and pdb_xml to 'mysql' and 'xml'
Jelmer Vernooij [Fri, 15 Nov 2002 17:03:58 +0000 (17:03 +0000)]
Rename pdb_mysql and pdb_xml to 'mysql' and 'xml'

21 years agoUse smb_register_passdb() - plus some small fixes
Jelmer Vernooij [Fri, 15 Nov 2002 17:01:24 +0000 (17:01 +0000)]
Use smb_register_passdb() - plus some small fixes

21 years agoAdd smb_register_passdb()
Jelmer Vernooij [Fri, 15 Nov 2002 16:48:00 +0000 (16:48 +0000)]
Add smb_register_passdb()

21 years agoAdd the rename torture test.
Andrew Bartlett [Fri, 15 Nov 2002 14:24:27 +0000 (14:24 +0000)]
Add the rename torture test.

21 years agoRerun autoconf
Andrew Bartlett [Fri, 15 Nov 2002 14:00:09 +0000 (14:00 +0000)]
Rerun autoconf

21 years agoWhen testing for /usr/include/heimdal, don't include /usr/heimdal/include
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 :-)

21 years agoAdd const to DEBUG() macro.
Andrew Bartlett [Fri, 15 Nov 2002 13:57:25 +0000 (13:57 +0000)]
Add const to DEBUG() macro.

21 years agoUpdates to the build farm tests:
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

21 years agoA cool idea from mbp: create a big shared library of all Samba objects
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.

21 years agoA cool idea from mbp: create a big shared library of all Samba objects
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.

21 years agoSome small updates - 'ads server' is no longer required for example
Jelmer Vernooij [Thu, 14 Nov 2002 22:54:23 +0000 (22:54 +0000)]
Some small updates - 'ads server' is no longer required for example

21 years agoRemove some obsolete info
Jelmer Vernooij [Thu, 14 Nov 2002 21:36:46 +0000 (21:36 +0000)]
Remove some obsolete info

21 years agoAdd more info about stackable VFS objects
Jelmer Vernooij [Thu, 14 Nov 2002 21:18:22 +0000 (21:18 +0000)]
Add more info about stackable VFS objects

21 years agoUpdate testparm for 3.0
Jelmer Vernooij [Thu, 14 Nov 2002 21:04:12 +0000 (21:04 +0000)]
Update testparm for 3.0

21 years agoRemove the #ifdef's for NISPLUS_SAM - there are no function name collisions anymore
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

21 years agoa cups printing backend is now available as well
Jelmer Vernooij [Thu, 14 Nov 2002 17:42:01 +0000 (17:42 +0000)]
a cups printing backend is now available as well

21 years agoUpdate documentation to cover cascaded VFS modules
Jelmer Vernooij [Thu, 14 Nov 2002 17:37:44 +0000 (17:37 +0000)]
Update documentation to cover cascaded VFS modules

21 years agoQuieten status message when linking libsmbclient.so
Tim Potter [Thu, 14 Nov 2002 00:53:40 +0000 (00:53 +0000)]
Quieten status message when linking libsmbclient.so

21 years agosmall patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist...
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)

21 years agoFix smbwrapper from the global_* changes.
Jeremy Allison [Wed, 13 Nov 2002 21:47:21 +0000 (21:47 +0000)]
Fix smbwrapper from the global_* changes.
Jeremy.

21 years agoAdd installmodules and uninstallmodules targets
Jelmer Vernooij [Wed, 13 Nov 2002 20:40:31 +0000 (20:40 +0000)]
Add installmodules and uninstallmodules targets

21 years agoRemove obsolete scripts and put in module install/uninstall
Jelmer Vernooij [Wed, 13 Nov 2002 20:38:56 +0000 (20:38 +0000)]
Remove obsolete scripts and put in module install/uninstall

21 years agoAdd debug2html and *.so
Jelmer Vernooij [Wed, 13 Nov 2002 19:27:33 +0000 (19:27 +0000)]
Add debug2html and *.so

21 years agoMove 'weird' character set into new 'developer' module
Jelmer Vernooij [Wed, 13 Nov 2002 19:07:34 +0000 (19:07 +0000)]
Move 'weird' character set into new 'developer' module

21 years agoLoad modules in lp_modules() after fork()
Jelmer Vernooij [Wed, 13 Nov 2002 19:04:17 +0000 (19:04 +0000)]
Load modules in lp_modules() after fork()

21 years agoSome more doc updates:
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

21 years agoadd lp_modules()
Jelmer Vernooij [Wed, 13 Nov 2002 14:51:50 +0000 (14:51 +0000)]
add lp_modules()

21 years agoDon't crash when there are no arguments specified
Jelmer Vernooij [Wed, 13 Nov 2002 14:45:11 +0000 (14:45 +0000)]
Don't crash when there are no arguments specified

21 years agoIgnore Makefile
Jelmer Vernooij [Wed, 13 Nov 2002 14:23:52 +0000 (14:23 +0000)]
Ignore Makefile

21 years agoAdd a DEBUG() that gives the number of successfully loaded modules - useful for debugging
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

21 years agoOnly add modules/pdb_xml.so and modules/pdb_mysql.so to the 'modules' target if
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

21 years agoDon't build Makefile.in in examples/VFS/
Jelmer Vernooij [Wed, 13 Nov 2002 13:23:02 +0000 (13:23 +0000)]
Don't build Makefile.in in examples/VFS/

21 years agoAdd make target 'modules' that currently builds vfs_audit, vfs_recycle and vfs_netatalk
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

21 years agoMove working VFS modules to source/modules/
Jelmer Vernooij [Wed, 13 Nov 2002 13:11:04 +0000 (13:11 +0000)]
Move working VFS modules to source/modules/

21 years agoMove VFS documentation to the HOWTO collection
Jelmer Vernooij [Wed, 13 Nov 2002 13:08:56 +0000 (13:08 +0000)]
Move VFS documentation to the HOWTO collection

21 years agoMove VFS documentation to SGML
Jelmer Vernooij [Wed, 13 Nov 2002 13:04:16 +0000 (13:04 +0000)]
Move VFS documentation to SGML

21 years agoTry to bring libsmbclient in line with the new global_myname stuff
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

21 years agoUndo the new --enable-developer flags that caused breakage on gcc != 3.2, and
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

21 years agoSorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()
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.

21 years agoBring smbmount.c in line with jra's global-cide. global_scope was used here...
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...

21 years ago- Add some more warning flags for --enable-developer.
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

21 years agoRemoved global_myworkgroup, global_myname, global_myscope. Added liberal
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.

21 years agoRename unpack_* functions to be consistent
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

21 years agoRename pytdbpack_unpack -> pytdbunpack
Martin Pool [Tue, 12 Nov 2002 22:08:59 +0000 (22:08 +0000)]
Rename pytdbpack_unpack -> pytdbunpack

21 years agoJust reorder functions to put related ones together
Martin Pool [Tue, 12 Nov 2002 22:07:11 +0000 (22:07 +0000)]
Just reorder functions to put related ones together

21 years agoRemove dead code for packing buffers which has now been reimplemented.
Martin Pool [Tue, 12 Nov 2002 22:00:57 +0000 (22:00 +0000)]
Remove dead code for packing buffers which has now been reimplemented.

21 years agoRemove 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.

21 years agoRemove non-integer Pointer values, which are no longer supported.
Martin Pool [Tue, 12 Nov 2002 21:40:37 +0000 (21:40 +0000)]
Remove non-integer Pointer values, which are no longer supported.

21 years agoDon't throw out WEIRD - yet (I committed my local changes together with my last fix...
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!)

21 years agoFix segfault with high debug levels
Jelmer Vernooij [Tue, 12 Nov 2002 18:07:51 +0000 (18:07 +0000)]
Fix segfault with high debug levels

21 years agoAdd smb_register_charset() and use it
Jelmer Vernooij [Tue, 12 Nov 2002 15:18:12 +0000 (15:18 +0000)]
Add smb_register_charset() and use it