samba.git
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
(This used to be commit 35b73aa0a139721d8560e81ba1caf26ebdf7d0b6)

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
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)

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.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)

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
(This used to be commit efa639c5cef51f2ca903c08d2ad19db70ab7206c)

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
(This used to be commit cc7566ca508f8705a95cdd546553a018731d5f5f)

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

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.
(This used to be commit f5d8afc626b8f7792aa7dd7fa7082f55725b539c)

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
(This used to be commit e6d2debaf6064c3229f41c06545a1ccb83695a77)

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
(This used to be commit 2fd47d0c25bdf1d5351f79164c6cb35b83a9cc5f)

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.
(This used to be commit 507ff510e7e7d63e02be5b11d974fc05839e6eaf)

18 years agofix segfault
Gerald Carter [Fri, 15 Nov 2002 17:56:46 +0000 (17:56 +0000)]
fix segfault
(This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)

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)
(This used to be commit 3ac98b59632fd771b8819f88a479ef4c0daade68)

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()
(This used to be commit b10541b71ba288783976e8c124b6667b7df3b12d)

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'
(This used to be commit 7b860414b11ec3b2ecb34c515536c598322f06ee)

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
(This used to be commit 2addbaff358993923a58ad3845c63168678c2c21)

18 years agoAdd smb_register_passdb()
Jelmer Vernooij [Fri, 15 Nov 2002 16:48:00 +0000 (16:48 +0000)]
Add smb_register_passdb()
(This used to be commit b5b3b2e6bef431c9c30dc8f2899dc22328801c0e)

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.
(This used to be commit 644b5e30c825d26ee34be79847c9469acd9fb640)

18 years agoRerun autoconf
Andrew Bartlett [Fri, 15 Nov 2002 14:00:09 +0000 (14:00 +0000)]
Rerun autoconf
(This used to be commit 32684e133fa5d33d2478c0270af09a6fa9f0e57a)

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 :-)
(This used to be commit 9d8aa4bd51736709a9295791f54c9481b876699f)

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.
(This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1)

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
(This used to be commit 36441899e61a711b8fe03ec7b6f95973b1e69fc5)

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.
(This used to be commit a59f731256f3a1c09f32452de9483b44088c942b)

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.
(This used to be commit fdce4be719d7a81f25a4bae05934a5590038ec47)

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
(This used to be commit b8f9930f62db8b997a0d6126e79212a113f8b29c)

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

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
(This used to be commit 2dcb295d8eceea7e92e7e8f2e2ffc3583db833fd)

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
(This used to be commit f01fad02d75975f25235eeeba8262bf11657e54a)

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
(This used to be commit f6ef18df11cc48f25adeee464e79e63ee209b08c)

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
(This used to be commit 4cffb29d27253e0e2ca270640d86b21315cab91f)

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
(This used to be commit 218395ac7e5963a773691fb5a0539cce9e3b92f2)

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
(This used to be commit 85946731dd8bc60d0f71fe7ffa6756bd3bcbbf67)

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)
(This used to be commit 5f16343e0d7c8120a7a5786097b8920a5b7d047b)

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.
(This used to be commit 6ab12ca80d12fcecf6ad3a534bd73b482d991112)

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
(This used to be commit c656e7dce91bb3171f9ec2b8d8f98812ab6c618f)

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
(This used to be commit d777bba5082ebdf78d314b0d7b4196a4d6413e1f)

18 years agoAdd debug2html and *.so
Jelmer Vernooij [Wed, 13 Nov 2002 19:27:33 +0000 (19:27 +0000)]
Add debug2html and *.so
(This used to be commit 2134e3b89726b97ad8b8c6fd3255d6b425144c88)

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
(This used to be commit afbff33eba7edd98329114b5113b3360cd6dfcc6)

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()
(This used to be commit 77afa4f1679c22cde88ecc5bc7ed37951c822221)

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
(This used to be commit 11ad39398e077c3901e63f31bcc6efb223854357)

18 years agoadd lp_modules()
Jelmer Vernooij [Wed, 13 Nov 2002 14:51:50 +0000 (14:51 +0000)]
add lp_modules()
(This used to be commit 344d8e521f951e7f59b8378fee80bb553670a3be)

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
(This used to be commit 0855e5810aefd71c37031be31abe91229e2de8b3)

18 years agoIgnore Makefile
Jelmer Vernooij [Wed, 13 Nov 2002 14:23:52 +0000 (14:23 +0000)]
Ignore Makefile
(This used to be commit 9c811e447821e9c934f9ecf841a38f7e1f7aa626)

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
(This used to be commit 612ea35ab016c56e6ad9886283901bc7b417337a)

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
(This used to be commit 018a44055d6a8435528279523567f9a86b2f3069)

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/
(This used to be commit 98cb778cb7d48dd545b5dcf395567defd0198f86)

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
(This used to be commit 4c05cbbe7434c9d43f561f3be27c0283fa754ab0)

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/
(This used to be commit 14b129e301c94ccf47b9105bda1bd9d142feb1b5)

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
(This used to be commit b8c7ce0381e857c2de5658b25e917622ebea954e)

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
(This used to be commit cf9c1c2584743a059c2d266158d4e8280aaeba8a)

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
(This used to be commit e424b08050b44b1b52abd2af76b1b4dc8b100095)

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
(This used to be commit 6da20cd7638b5e36af080a4b8ae8880035fe684b)

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.
(This used to be commit e57853000aacc61ba3c73907a7afb85385b378c3)

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...
(This used to be commit 5170a9f7ffac93c619358353834bc3024a6746d2)

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
(This used to be commit 1dbc9eff149ca976ff5edb5c256fa2fe6b409617)

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.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)

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
(This used to be commit 8cbaea2afa6faca80eced70d625359165afaa10c)

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

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
(This used to be commit 7863c948b73785e49d04227e87d8b4b47fd61f58)

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.
(This used to be commit 001779dffd18e1f6a83496c94ead185d4bb42204)

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.
(This used to be commit 62ca27d140d55cbb271b97624023540ae7c18882)

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.
(This used to be commit 4a18526257ec4582679efa7a21d0b31ad07992fb)

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!)
(This used to be commit 5191719eeec7062118da2be3aefe35d065e97900)

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
(This used to be commit a20676bc05f50bb89a55e67efef579eaaeac3f72)

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
(This used to be commit 8b654658759a145c5c8aabb3c82220a70f70c3f7)

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.
(This used to be commit 205e8f03015dd533ae62753f2098505f1231e3e4)

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
(This used to be commit c6d45216f6d3573fb2342f4d3aa3a50415924674)

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/)
(This used to be commit 411647ecfbfbb17e46ea2289a09e77a2fbb1162f)

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
(This used to be commit 21530f06b2b89d159657646fe15e16a3fcfdb668)

18 years agoAdd extra debug info
Jelmer Vernooij [Mon, 11 Nov 2002 18:41:28 +0000 (18:41 +0000)]
Add extra debug info
(This used to be commit 79207d56929de2acc15a761b23c8b33369c298ee)

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
(This used to be commit 101727335fffd4011659bfa9f7f8ab24b641fc4e)

18 years agoFix typo
Jelmer Vernooij [Mon, 11 Nov 2002 13:49:25 +0000 (13:49 +0000)]
Fix typo
(This used to be commit 9b469a2aca6de79a5940769b56d15d22e471b2b5)

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
(This used to be commit 377631b3a07c0fb52e4374cc2484e7852d81a84e)

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
(This used to be commit 1645567db3e85151c139115fdc1238149ccf33a2)

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.
(This used to be commit 940b04ddfa87acc939911e3fe76496e3c4675632)

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
(This used to be commit f4110a0f80a4f62d548b6d6cae81692476ef85ba)

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
(This used to be commit ba34be7033bced52eabf4e0b367a32a5196ef127)

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

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
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)

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.
(This used to be commit c206643baaae64cef38f2f74e46337d35a489ca9)

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.
(This used to be commit 20c1cd86aca8040c1fe7497b84bb546526676e48)

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
(This used to be commit 69dba08c40c9739137b4f01d38be5228edc6dd6e)

18 years agoKill append_log from smbmount (thanks vance for reminding me).
Andrew Bartlett [Sat, 9 Nov 2002 23:17:01 +0000 (23:17 +0000)]
Kill append_log from smbmount (thanks vance for reminding me).

Andrew Bartlett
(This used to be commit 7501b2a51835bae005d2ac015c3a428eaadce032)

18 years agoAdd net help join text, from Steve Langasek.
Jim McDonough [Sat, 9 Nov 2002 17:59:24 +0000 (17:59 +0000)]
Add net help join text, from Steve Langasek.

Also update the other commands to his correct example of [<method>], since
it is optional.

Thanks, Steve.
(This used to be commit 9fc12e6cb23aa34b2542252b2a05d8a17b8172ce)

18 years agodeldriver fix
Gerald Carter [Sat, 9 Nov 2002 14:48:27 +0000 (14:48 +0000)]
deldriver fix
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)

18 years agore-enable ffpcn on print server handle
Gerald Carter [Sat, 9 Nov 2002 05:41:27 +0000 (05:41 +0000)]
re-enable ffpcn on print server handle
(This used to be commit e87829b4942237de542d21051092fee069a9c73d)

18 years agoremove accidental debug code..
Gerald Carter [Sat, 9 Nov 2002 04:37:07 +0000 (04:37 +0000)]
remove accidental debug code..
(This used to be commit d422a51b3a076b6398f7b755d16319d9e7c48c75)

18 years agoFix bug found by tpot with given password server.
Jeremy Allison [Sat, 9 Nov 2002 03:57:28 +0000 (03:57 +0000)]
Fix bug found by tpot with given password server.
Jeremy.
(This used to be commit 90ac8184a0ae1f702d39f947ef5267765f3d2f88)

18 years agoAdd chainlock_read functions to get a read lock. Used in *massively*
Jeremy Allison [Sat, 9 Nov 2002 03:37:01 +0000 (03:37 +0000)]
Add chainlock_read functions to get a read lock. Used in *massively*
contended tdb's (and I've got one :-).
Jeremy.
(This used to be commit 064fa201ab73f476a168c40c2b227507e7342ec4)

18 years agoFix bug where not specifying '-S PDC' in 'net join' would cause it to attempt
Andrew Bartlett [Sat, 9 Nov 2002 02:36:47 +0000 (02:36 +0000)]
Fix bug where not specifying '-S PDC' in 'net join' would cause it to attempt
to contact a random IP address.

Andrew Bartlett
(This used to be commit e6837a85605f258da1fa9ac7ad329bc62392f29a)

18 years agoRewrite all the packing stuff so that it converts 'f' strings to CP850
Martin Pool [Sat, 9 Nov 2002 01:47:54 +0000 (01:47 +0000)]
Rewrite all the packing stuff so that it converts 'f' strings to CP850
on encoding.  (Tough luck if your Samba codepage is not 850.)  It's
much cleaner and possibly more efficient now too: just build one big
list of strings, then zip it up at the end.

Still need to do this for unpacking.
(This used to be commit 2480d385db0527b71cc5cd23c4fab4655df84485)

18 years agodefunct winbindd fix from APP_HEAD
Gerald Carter [Fri, 8 Nov 2002 23:46:45 +0000 (23:46 +0000)]
defunct winbindd fix from APP_HEAD
(This used to be commit 488e985caa0b0e3e2a6665eb2515a2c99745d861)

18 years agoCompleatly remove support for logfile truncation. All logs are opened for
Andrew Bartlett [Fri, 8 Nov 2002 23:05:34 +0000 (23:05 +0000)]
Compleatly remove support for logfile truncation.  All logs are opened for
append writes.

(blessed by jra)

Andrew Bartlett
(This used to be commit 81633064dd196c40541ecece8def51745f514646)

18 years agoMake smbpasswd use the group mapping, and fix spelling in ldapsam.
Andrew Bartlett [Fri, 8 Nov 2002 22:15:34 +0000 (22:15 +0000)]
Make smbpasswd use the group mapping, and fix spelling in ldapsam.

This gets user mangler for doamins working again.

Andrew Bartlett
(This used to be commit 205209f77f154a2a5d5f7a255194d7953860a4db)

18 years agoMake it easier to track things down here - add some debugs on failure.
Andrew Bartlett [Fri, 8 Nov 2002 22:14:31 +0000 (22:14 +0000)]
Make it easier to track things down here - add some debugs on failure.
(This used to be commit 62ee7b7dc08e7be261211de8f85b8e9be4df7b54)

18 years agoMake smbpasswd tell people to use 'net join', not 'net rpc join' now we have
Andrew Bartlett [Fri, 8 Nov 2002 22:13:34 +0000 (22:13 +0000)]
Make smbpasswd tell people to use 'net join', not 'net rpc join' now we have
the automagic detection.
(This used to be commit a066bed5a4855dac955bf0bd7630939220314cfe)

18 years agoAdd enumdataex command
Jim McDonough [Fri, 8 Nov 2002 21:39:53 +0000 (21:39 +0000)]
Add enumdataex command
(This used to be commit 6d1d2849a7b2f99d927ba168ed2d01a879b09e69)

18 years agoImplement enumdata command
Jim McDonough [Fri, 8 Nov 2002 20:51:04 +0000 (20:51 +0000)]
Implement enumdata command
(This used to be commit a22fdf26fef0cd58c84ca13891a762e3fdc6af8b)

18 years agoAdd enumkey command (EnumPrinterKey api)
Jim McDonough [Fri, 8 Nov 2002 19:06:34 +0000 (19:06 +0000)]
Add enumkey command (EnumPrinterKey api)
(This used to be commit a2e17d4344f996b64cd9c4f01b6b15c069fde41b)

18 years agopatches from Urban
Gerald Carter [Fri, 8 Nov 2002 18:44:57 +0000 (18:44 +0000)]
patches from Urban
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)

18 years agoDon't set global_machine_password_needs_changing if
Tim Potter [Fri, 8 Nov 2002 01:34:58 +0000 (01:34 +0000)]
Don't set global_machine_password_needs_changing if
lp_machine_password_timeout() is set to zero.
(This used to be commit 0fa87a68fea8b12242f644605aab7c2f81c1a4df)