ira/wip.git
18 years agoMerge from HEAD - updates to the build farm, /bin/sh can swallow return values,
Andrew Bartlett [Sat, 16 Nov 2002 01:12:31 +0000 (01:12 +0000)]
Merge from HEAD - updates to the build farm, /bin/sh can swallow return values,
and add the RENAME torture test.

18 years agoMerge from HEAD: Remove assumption that all solaris has -lsendfile
Andrew Bartlett [Sat, 16 Nov 2002 01:08:46 +0000 (01:08 +0000)]
Merge from HEAD:  Remove assumption that all solaris has -lsendfile

18 years agoUpdates from HEAD:
Andrew Bartlett [Fri, 15 Nov 2002 21:43:57 +0000 (21:43 +0000)]
Updates from HEAD:

 - const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett

18 years agoFix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
Jeremy Allison [Fri, 15 Nov 2002 18:55:18 +0000 (18:55 +0000)]
Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
release.
Jeremy.

18 years agofix segfault
Gerald Carter [Fri, 15 Nov 2002 17:57:25 +0000 (17:57 +0000)]
fix segfault

18 years agoenable enumeration of domain local groups using LDAP (and in a native mode domain)
Gerald Carter [Fri, 15 Nov 2002 17:57:21 +0000 (17:57 +0000)]
enable enumeration of domain local groups using LDAP (and in a native mode domain)

18 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Fri, 15 Nov 2002 14:24:28 +0000 (14:24 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

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

18 years agoMerge from HEAD:
Andrew Bartlett [Fri, 15 Nov 2002 14:06:35 +0000 (14:06 +0000)]
Merge from HEAD:
 - heimdal updates to configure
 - make DEBUG() const
 - add testsuite for:
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett

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

18 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 :-)

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

18 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Fri, 15 Nov 2002 13:53:03 +0000 (13:53 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

18 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

18 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.

18 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.

18 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

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

18 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

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

18 years agoThere is support for the cups printing system now as well
Jelmer Vernooij [Thu, 14 Nov 2002 18:24:14 +0000 (18:24 +0000)]
There is support for the cups printing system now as well

18 years agoRemove #ifdef's for NISPLUS_SAM - there are no function name collisions anymore
Jelmer Vernooij [Thu, 14 Nov 2002 18:21:22 +0000 (18:21 +0000)]
Remove #ifdef's for NISPLUS_SAM - there are no function name collisions anymore

18 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

18 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

18 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

18 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

18 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:54:31 +0000 (21:54 +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)

18 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)

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

18 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.

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

18 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

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

18 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

18 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()

18 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

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

18 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

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

18 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

18 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

18 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/

18 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

18 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/

18 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

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

18 years agoMerge from HEAD
Andrew Bartlett [Wed, 13 Nov 2002 07:04:00 +0000 (07:04 +0000)]
Merge from HEAD
- make configure check for the location of Heimdal KRB5 on suse systems
- fix libsmbclient for new global_myname()

18 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

18 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

18 years agoSorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()
Jeremy Allison [Wed, 13 Nov 2002 02:22:39 +0000 (02:22 +0000)]
Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()
to ensure the malloc is done.
Jeremy.

18 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.

18 years agoBring smbmount.c in line with jra's global-cide. global_scope was used here...
Jim McDonough [Wed, 13 Nov 2002 01:58:19 +0000 (01:58 +0000)]
Bring smbmount.c in line with jra's global-cide.  global_scope was used here...

18 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...

18 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

18 years agoRemoved global_myworkgroup, global_myname, global_myscope. Added liberal
Jeremy Allison [Tue, 12 Nov 2002 23:20:50 +0000 (23:20 +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.

18 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.

18 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

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

18 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

18 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.

18 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.

18 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.

18 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!)

18 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

18 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

18 years agoUpdated build spec file - removed make_printerdef and modified DESTDIR handling
John Terpstra [Tue, 12 Nov 2002 04:44:47 +0000 (04:44 +0000)]
Updated build spec file - removed make_printerdef and modified DESTDIR handling
to work with new DESTDIR in Makefile.

18 years agoFix all returns to be size_t (they are all unsigned). Fixup strlen being
Jeremy Allison [Mon, 11 Nov 2002 22:13:05 +0000 (22:13 +0000)]
Fix all returns to be size_t (they are all unsigned). Fixup strlen being
done on ucs2 strings.
Jeremy.

18 years agoFix all returns to be size_t (they are all unsigned). Fixup strlen being
Jeremy Allison [Mon, 11 Nov 2002 22:12:48 +0000 (22:12 +0000)]
Fix all returns to be size_t (they are all unsigned). Fixup strlen being
done on ucs2 strings.
Jeremy.

18 years agofix for CR 601. Only call addprinter command when the port, driver, comment, or...
Gerald Carter [Mon, 11 Nov 2002 22:05:32 +0000 (22:05 +0000)]
fix for CR 601.  Only call addprinter command when the port, driver, comment, or location field changed

18 years agofix for CR 601. Only call addprinter command when the port, driver, comment, or...
Gerald Carter [Mon, 11 Nov 2002 22:05:05 +0000 (22:05 +0000)]
fix for CR 601.  Only call addprinter command when the port, driver, comment, or location field changed

18 years agofix typo(s/plaintext pass column/plain pass column/)
Jelmer Vernooij [Mon, 11 Nov 2002 19:20:23 +0000 (19:20 +0000)]
fix typo(s/plaintext pass column/plain pass column/)

18 years agoImprove DEBUG output somewhat more
Jelmer Vernooij [Mon, 11 Nov 2002 18:54:13 +0000 (18:54 +0000)]
Improve DEBUG output somewhat more

18 years agoMore improvement of DEBUG output
Jelmer Vernooij [Mon, 11 Nov 2002 18:53:23 +0000 (18:53 +0000)]
More improvement of DEBUG output

18 years agoAdd more debug info
Jelmer Vernooij [Mon, 11 Nov 2002 18:42:13 +0000 (18:42 +0000)]
Add more debug info

18 years agoAdd extra debug info
Jelmer Vernooij [Mon, 11 Nov 2002 18:41:28 +0000 (18:41 +0000)]
Add extra debug info

18 years agoAdd getdata and getdataex commands
Jim McDonough [Mon, 11 Nov 2002 15:43:09 +0000 (15:43 +0000)]
Add getdata and getdataex commands

18 years agoAdd getdata and getdataex commands
Jim McDonough [Mon, 11 Nov 2002 15:41:04 +0000 (15:41 +0000)]
Add getdata and getdataex commands

18 years agoFix typo
Jelmer Vernooij [Mon, 11 Nov 2002 13:49:39 +0000 (13:49 +0000)]
Fix typo

18 years agoFix typo
Jelmer Vernooij [Mon, 11 Nov 2002 13:49:25 +0000 (13:49 +0000)]
Fix typo

18 years agoAdd note about error that happens when the loopback device doesn't work
Jelmer Vernooij [Mon, 11 Nov 2002 13:29:46 +0000 (13:29 +0000)]
Add note about error that happens when the loopback device doesn't work

18 years agounion is better to avoid problems with pointers
Simo Sorce [Mon, 11 Nov 2002 09:01:24 +0000 (09:01 +0000)]
union is better to avoid problems with pointers

18 years agoSync with HEAD.
Tim Potter [Mon, 11 Nov 2002 05:48:12 +0000 (05:48 +0000)]
Sync with HEAD.

18 years agoFirst cut of fix for changenotify on a print server handle. Use the connections tdb
Jeremy Allison [Sun, 10 Nov 2002 22:24:10 +0000 (22:24 +0000)]
First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.

18 years agoFirst cut of fix for changenotify on a print server handle. Use the connections tdb
Jeremy Allison [Sun, 10 Nov 2002 22:24:00 +0000 (22:24 +0000)]
First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.

18 years agoPrint the number of returned rows, not the number of fields
Jelmer Vernooij [Sun, 10 Nov 2002 16:30:23 +0000 (16:30 +0000)]
Print the number of returned rows, not the number of fields

18 years agoPrint the number of returned rows, not the number of fields
Jelmer Vernooij [Sun, 10 Nov 2002 16:29:50 +0000 (16:29 +0000)]
Print the number of returned rows, not the number of fields

18 years agoAdd $(POPT_LIB_OBJ) to PROTO_OBJ
Jelmer Vernooij [Sun, 10 Nov 2002 16:01:04 +0000 (16:01 +0000)]
Add $(POPT_LIB_OBJ) to PROTO_OBJ

18 years agoSync with HEAD
Jelmer Vernooij [Sun, 10 Nov 2002 12:10:39 +0000 (12:10 +0000)]
Sync with HEAD

18 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Sun, 10 Nov 2002 12:07:55 +0000 (12:07 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

18 years agoAdd example for MySQL
Jelmer Vernooij [Sun, 10 Nov 2002 12:07:54 +0000 (12:07 +0000)]
Add example for MySQL

18 years agoRemove testsmbc.c from source/ in 3.0 as well. It's already in examples/
Jelmer Vernooij [Sun, 10 Nov 2002 11:42:51 +0000 (11:42 +0000)]
Remove testsmbc.c from source/ in 3.0 as well. It's already in examples/

18 years agosync with head
Simo Sorce [Sun, 10 Nov 2002 04:34:03 +0000 (04:34 +0000)]
sync with head
was:
consolidate alla error mapping functions in one file

18 years agoconsolidate error mapping functions into a single file
Simo Sorce [Sun, 10 Nov 2002 04:16:59 +0000 (04:16 +0000)]
consolidate error mapping functions into a single file

18 years agoAfter the lord mayors parade......
Jeremy Allison [Sun, 10 Nov 2002 03:07:19 +0000 (03:07 +0000)]
After the lord mayors parade......
Janitor for tridge :-).
Jeremy.

18 years agoFix for scalable printing noticed by tpot. Don't loop infinately
Jeremy Allison [Sun, 10 Nov 2002 03:00:43 +0000 (03:00 +0000)]
Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.

18 years agoFix for scalable printing noticed by tpot. Don't loop infinately
Jeremy Allison [Sun, 10 Nov 2002 03:00:28 +0000 (03:00 +0000)]
Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.

18 years agomake sure we don't try to decode any null password buffers during a
Andrew Tridgell [Sun, 10 Nov 2002 02:16:43 +0000 (02:16 +0000)]
make sure we don't try to decode any null password buffers during a
SAM sync. This copes with both unset passwords from NT4 DCs and the
null passwords you get from w2k domains.

18 years agomake sure that if kerberos fails we can fall back on NTLMSSP for SASL
Andrew Tridgell [Sun, 10 Nov 2002 00:35:04 +0000 (00:35 +0000)]
make sure that if kerberos fails we can fall back on NTLMSSP for SASL

18 years agoBack out some of my sync changes
Jelmer Vernooij [Sat, 9 Nov 2002 23:28:40 +0000 (23:28 +0000)]
Back out some of my sync changes

18 years agoMerge append_log fix from HEAD
Andrew Bartlett [Sat, 9 Nov 2002 23:18:25 +0000 (23:18 +0000)]
Merge append_log fix from HEAD