kai/samba.git
18 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Sat, 16 Nov 2002 23:59:58 +0000 (23:59 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

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

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

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

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

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

18 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

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

18 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

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

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

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

18 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

18 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

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

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 agofix segfault
Gerald Carter [Fri, 15 Nov 2002 17:56:46 +0000 (17:56 +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:56:21 +0000 (17:56 +0000)]
enable enumeration of domain local groups using LDAP (and in a native mode domain)

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

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

18 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

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

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