abartlet/samba.git/.git
24 years agoFixes to add "paranoid" option to popen. Checks some basic things.
Jeremy Allison [Thu, 16 Mar 2000 20:55:37 +0000 (20:55 +0000)]
Fixes to add "paranoid" option to popen. Checks some basic things.
Jeremy
(This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)

24 years agoremoved extra arguements from make_nmb_name calls
Herb Lewis [Thu, 16 Mar 2000 17:58:08 +0000 (17:58 +0000)]
removed extra arguements from make_nmb_name calls
(This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)

24 years agofix a bug in enumprinterdrivers
Jean-François Micouleau [Thu, 16 Mar 2000 16:23:38 +0000 (16:23 +0000)]
fix a bug in enumprinterdrivers

J.F.
(This used to be commit a8d04c26da601cb97e66c27c7ad21dd672fcec2d)

24 years agouse parameters to minimize changes in samba for irix release version
Herb Lewis [Thu, 16 Mar 2000 06:44:27 +0000 (06:44 +0000)]
use parameters to minimize changes in samba for irix release version
(This used to be commit 2b0d05d81c485707e3e6727a38d5782ec6d9ce7e)

24 years agouse proper parameter names instead of alias names
Herb Lewis [Thu, 16 Mar 2000 06:40:07 +0000 (06:40 +0000)]
use proper parameter names instead of alias names
clear lppause and lpresume commands since they don't exist on IRIX
change spool directory
(This used to be commit f6404f0b55dc0d098c1ad951d84093d3e763b28e)

24 years agoFix from NAKAJI Hiroyuki for a trailing '\n\ in asctime.
Jeremy Allison [Wed, 15 Mar 2000 18:00:30 +0000 (18:00 +0000)]
Fix from NAKAJI Hiroyuki for a trailing '\n\ in asctime.
Jeremy.
(This used to be commit 87df97c9365a185e4ea6bac7b832b8cf38144624)

24 years agoFixed parsing issue with HP printer defs reported by HP.
Jeremy Allison [Tue, 14 Mar 2000 22:04:35 +0000 (22:04 +0000)]
Fixed parsing issue with HP printer defs reported by HP.
Jeremy.
(This used to be commit 035272e6bcc8c43bf4521e4a20b0c35b0901e904)

24 years agoAdding libtool support to HEAD branch. We're going to need this for
Tim Potter [Mon, 13 Mar 2000 23:20:01 +0000 (23:20 +0000)]
Adding libtool support to HEAD branch.  We're going to need this for
various things yet to be merged from TNG.  The smbwrapper stuff should
probably be ported across too.
(This used to be commit b183c24220154b33fbb1c1712d1ef819ef4e1290)

24 years agoinclude/smb.h:
Jeremy Allison [Mon, 13 Mar 2000 20:05:18 +0000 (20:05 +0000)]
include/smb.h:
smbd/negprot.c:
smbd/reply.c: Fixes to recognise Win2k.
param/loadparm.c: Put debug timestamp parameter back to correct default.
smbd/nttrans.c: Fix to detect Win2k unicode bug with transact create.
Jeremy.
(This used to be commit bb100352ab2f98fab3978008d269920e03efcf6d)

24 years agooops ! forgot smb.h in last commit
Jean-François Micouleau [Mon, 13 Mar 2000 19:34:04 +0000 (19:34 +0000)]
oops ! forgot smb.h in last commit
added info level 1 parsing code for addprinter(ex)

J.F.
(This used to be commit 4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409)

24 years agoCleaning up call_trans2getdfsreferral.
Shirish Kalele [Mon, 13 Mar 2000 18:18:36 +0000 (18:18 +0000)]
Cleaning up call_trans2getdfsreferral.
Instead of a #ifdef MS_DFS in call_trans2getdfsreferral()... , now using a generic call leading to some #define problems.. hopefully I've corrected the last of them.
(This used to be commit b5a489fbb808cc7c8ff2338344ef2dae8e351e44)

24 years agoCleaned up call_trans2getdfsreferral for when MS_DFS is not defined.
Shirish Kalele [Mon, 13 Mar 2000 17:38:13 +0000 (17:38 +0000)]
Cleaned up call_trans2getdfsreferral for when MS_DFS is not defined.
(This used to be commit 2b99318341a3f3a3ac138fe96ad271726bf1552c)

24 years agosmall fix for addprinterex at level 2
Jean-François Micouleau [Mon, 13 Mar 2000 15:53:02 +0000 (15:53 +0000)]
small fix for addprinterex at level 2

I have some network dumps at level 1, but quoting MSDN: "Level [in]
Specifies the version of the structure to which pPrinter points. This
value must be 2."

I like NT so much :-)

J.F.
(This used to be commit fbf40c6a9140a27e773d59eaf056c9e25659d9b8)

24 years agoInterim fix for LPRng. If a lpq parsed line start with a space, we skip
Jean-François Micouleau [Mon, 13 Mar 2000 11:21:03 +0000 (11:21 +0000)]
Interim fix for LPRng. If a lpq parsed line start with a space, we skip
it, to prevent false status return value.

Jeremy, it's a gross hack but you should consider it for 2.0.7 also.

J.F.
(This used to be commit 2b1663ec13d9c481fb535c757744068919201f6a)

24 years agoparse correctly getprinterdriver2
Jean-François Micouleau [Mon, 13 Mar 2000 11:09:20 +0000 (11:09 +0000)]
parse correctly getprinterdriver2
found a stupid bug in enumprinters
fixed some memleaks
found a coredump in enumprinterdata
getprinterdriverdir responds correctly now.

J.F.
(This used to be commit 07f2e194ba61e72320636fb7e5d0f041e255868b)

24 years agomoved #endif to end of function to compile when dfs is disabled.
Jean-François Micouleau [Mon, 13 Mar 2000 11:05:59 +0000 (11:05 +0000)]
moved #endif to end of function to compile when dfs is disabled.

J.F.
(This used to be commit b534fb03b1ef39e5362c29a05cca53782cd157f7)

24 years agoAdded standard shell command thing using '!' as first character.
Tim Potter [Mon, 13 Mar 2000 01:35:09 +0000 (01:35 +0000)]
Added standard shell command thing using '!' as first character.
(This used to be commit 829e645f62ffa16041c0cc126174d6fe8f63a2f0)

24 years agoFix stupid logic bug in detecting start-of-pdu in writeX on pipe.
Jeremy Allison [Sat, 11 Mar 2000 01:28:57 +0000 (01:28 +0000)]
Fix stupid logic bug in detecting start-of-pdu in writeX on pipe.
Found by JF.
Jeremy.
(This used to be commit 8315583694249278c57948406c1f48e2128f2b08)

24 years agoYou *must* use O_EXCL when using mktemp (security issue).
Jeremy Allison [Sat, 11 Mar 2000 01:02:45 +0000 (01:02 +0000)]
You *must* use O_EXCL when using mktemp (security issue).
Glad this code never shipped :-).
This is not a problem in 2.0.x.
Jeremy.
(This used to be commit a0c302f4d03ab07d697115fa8520d0cb0b2ba616)

24 years agoCleaned up unused variables, returns from non-void functions etc.
Shirish Kalele [Fri, 10 Mar 2000 23:13:11 +0000 (23:13 +0000)]
Cleaned up unused variables, returns from non-void functions etc.
(This used to be commit 6ce72c37429c3fc0629fdbd5f5656f07970a8e4a)

24 years agoCleaning warnings from configure.developer
Shirish Kalele [Fri, 10 Mar 2000 23:05:53 +0000 (23:05 +0000)]
Cleaning warnings from configure.developer
(This used to be commit c48579a4fc6c17126712f3a9a9c5212063a6a24d)

24 years agoCleaning up the warnings from configure.developer.
Shirish Kalele [Fri, 10 Mar 2000 22:53:36 +0000 (22:53 +0000)]
Cleaning up the warnings from configure.developer.
Found that Jeremy had already made some of the changes.
(This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)

24 years agoFix for names with spaces and some I18N filename issues from
Jeremy Allison [Fri, 10 Mar 2000 22:25:02 +0000 (22:25 +0000)]
Fix for names with spaces and some I18N filename issues from
V. Fyodorov <V.Fyodorov@VAZ.RU>.
Jeremy.
(This used to be commit 4673aa1a4b133338715059174813b8e29d093972)

24 years agoFixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith...
Jeremy Allison [Fri, 10 Mar 2000 19:50:03 +0000 (19:50 +0000)]
Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
Partially implemented rpc daemon redirect (needs more work).
Jeremy.
(This used to be commit a462191698fa589ceac4afd14c652adf699eccad)

24 years agoyou know, when you do a cvs commit, you _really_ expect it to actually work.
Luke Leighton [Fri, 10 Mar 2000 18:10:10 +0000 (18:10 +0000)]
you know, when you do a cvs commit, you _really_ expect it to actually work.
this explains why j-f wasn't happy.
(This used to be commit c51e38214a5323d0aa9b6dcd948a76ddc29f5305)

24 years agogetprinter level 0: was to short, found most of the fields, undocumented,
Jean-François Micouleau [Fri, 10 Mar 2000 17:12:24 +0000 (17:12 +0000)]
getprinter level 0: was to short, found most of the fields, undocumented,
undecoded, nothing in MSDN, but now it works :-)

cleanup of error codes.
fixed some dfs declarations function.

J.F.
(This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)

24 years agoremoved unused variable
Jean-François Micouleau [Fri, 10 Mar 2000 17:06:12 +0000 (17:06 +0000)]
removed unused variable

J.F.
(This used to be commit e2557ae5515ce30d0341ef7785cc4380266d4c94)

24 years agorestore the spoolss pipe as Jeremy replaced srv_pipe with the one from
Jean-François Micouleau [Fri, 10 Mar 2000 17:03:04 +0000 (17:03 +0000)]
restore the spoolss pipe as Jeremy replaced srv_pipe with the one from
SAMBA_2_0 :-)

J.F.
(This used to be commit 34a3781961a5c41aba9929ec49aacc3bfa14270f)

24 years agoindent went wrong. grr.
Luke Leighton [Fri, 10 Mar 2000 00:24:40 +0000 (00:24 +0000)]
indent went wrong.  grr.
(This used to be commit 525338e80766fe3dbcc4a64db8e957ae63c5e9d6)

24 years agocomputer too slow to compile with debug info (100mins), but i need all the
Luke Leighton [Thu, 9 Mar 2000 22:22:38 +0000 (22:22 +0000)]
computer too slow to compile with debug info (100mins), but i need all the
warnings.
(This used to be commit 3f1d5f7c41a69d1249978c84c84ee4c80abf6cdd)

24 years agoNot used. Functionality folded back into rpc_server/srv_pipe.c (where it
Jeremy Allison [Thu, 9 Mar 2000 21:46:04 +0000 (21:46 +0000)]
Not used. Functionality folded back into rpc_server/srv_pipe.c (where it
originally came from).
Jeremy.
(This used to be commit b9bc7e8cb6255f2973f680678f93978f17489938)

24 years agoBig update moving the multi-pdu support from 2.0.x into HEAD for JF
Jeremy Allison [Thu, 9 Mar 2000 21:45:16 +0000 (21:45 +0000)]
Big update moving the multi-pdu support from 2.0.x into HEAD for JF
and the printer functions.
Also tidied up some header includes and got the order right so you
can now do a :

make proto
make clean
make

Jeremy.
(This used to be commit 833cd9fba92e4ad5297b235d108dd2be8c17079b)

24 years agoFixups for Win2K security descriptors from the 2.0.x branch.
Jeremy Allison [Thu, 9 Mar 2000 20:00:23 +0000 (20:00 +0000)]
Fixups for Win2K security descriptors from the 2.0.x branch.
Jeremy.
(This used to be commit d22d4482b5e170f352dbfde5b37fc4d4e0eb0a49)

24 years agoCorrected DEBUG messages.
Shirish Kalele [Thu, 9 Mar 2000 18:58:10 +0000 (18:58 +0000)]
Corrected DEBUG messages.
(This used to be commit a2d62cd30a25e745c4df7ecd6675babc853238f4)

24 years agodded Microsoft Dfs services.
Shirish Kalele [Wed, 8 Mar 2000 22:14:30 +0000 (22:14 +0000)]
dded Microsoft Dfs services.
* added a new msdfs/ directory under source/
* added msdfs sources under this directory.
* modified configure setup to add a --with-msdfs configure time option

 Modified Files:
  Makefile.in acconfig.h configure configure.in
  include/config.h.in include/includes.h include/proto.h
  include/smb.h include/smb_macros.h param/loadparm.c
  smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c
  smbd/server.c smbd/trans2.c
 Added Files:
  include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c
  msdfs/parse_dfs_map.c
 ----------------------------------------------------------------------
(This used to be commit 4684b4a188b54493dbe7f0de2909a8d3c5c3ebf9)

24 years agoadded a tcon test: make two tconXs with the same user/pass, open a file
Luke Leighton [Tue, 7 Mar 2000 21:55:42 +0000 (21:55 +0000)]
added a tcon test: make two tconXs with the same user/pass, open a file
with one of them and try to write to the file with the other.
(This used to be commit f8d3ce0419aee44e4d5efe1257ce4b27f7511ceb)

24 years agoEnumprinters level 1: reply *exactly* like an NT server
Jean-François Micouleau [Tue, 7 Mar 2000 18:10:20 +0000 (18:10 +0000)]
Enumprinters level 1: reply *exactly* like an NT server
BTW, found a little memleak in it.

J.F.
(This used to be commit 9c37b5df2de9bf8fa6f5536fd75f9c8faf338a52)

24 years agofixed enumprinterdata.
Jean-François Micouleau [Tue, 7 Mar 2000 09:06:03 +0000 (09:06 +0000)]
fixed enumprinterdata.

J.F.
(This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)

24 years agochanged prs_unistr to parse empty and non-empty strings the same way.
Jean-François Micouleau [Mon, 6 Mar 2000 11:13:40 +0000 (11:13 +0000)]
changed prs_unistr to parse empty and non-empty strings the same way.
fixed typo in SPOOLSS_SYNT
some cleanup of unused functions
wrote make_spoolss_enumprinter and make_spoolss_openprinterex for
rpcclient as I'm trying to keep in sync the parsing code between HEAD and
TNG.

Will commit changes to TNG after lunch.

J.F.
(This used to be commit 025cdb345f6de287a41d4449b2662dbc5e762bf2)

24 years agoTidied up fchown code, error reporting.
Jeremy Allison [Thu, 2 Mar 2000 03:04:26 +0000 (03:04 +0000)]
Tidied up fchown code, error reporting.
Jeremy.
(This used to be commit 8e3239440dee6c6f50d26b70f7db46bef2a87a2d)

24 years agoCorrectly full buffer smbpasswd i/o streams.
Jeremy Allison [Thu, 2 Mar 2000 02:58:48 +0000 (02:58 +0000)]
Correctly full buffer smbpasswd i/o streams.
Jeremy.
(This used to be commit 7b222ed713d47241822323970214326b6a8e67ac)

24 years agoUpdate last changed time for new password entry.
Jeremy Allison [Thu, 2 Mar 2000 02:50:05 +0000 (02:50 +0000)]
Update last changed time for new password entry.
Jeremy.
(This used to be commit a8ccf1d9532cdf623342c968f51f1d89f89d728a)

24 years agoFixed bugs with -x smbpasswd entry. Thanks to Bruce Tenison <btenison@dibbs.net>.
Jeremy Allison [Thu, 2 Mar 2000 02:45:02 +0000 (02:45 +0000)]
Fixed bugs with -x smbpasswd entry. Thanks to Bruce Tenison <btenison@dibbs.net>.
Jeremy.
(This used to be commit c7695c66774225248978ac9ca2615762a0d449aa)

24 years agoOff by one error in detecting Win2k unicode bug.
Jeremy Allison [Wed, 1 Mar 2000 23:37:33 +0000 (23:37 +0000)]
Off by one error in detecting Win2k unicode bug.
Jeremy.
(This used to be commit 4971e8b44ac38806f6fc0b3bd22d3ccafd1f5d4e)

24 years agoAdded new codepage from Ded Marazm <DedMarazm@mail.lv> - MSDOS baltic rim.
Jeremy Allison [Wed, 1 Mar 2000 20:41:26 +0000 (20:41 +0000)]
Added new codepage from Ded Marazm <DedMarazm@mail.lv> - MSDOS baltic rim.
Jeremy.
(This used to be commit b8b98d50588a68a8001f4f7eeb09d0d19e232d13)

24 years agoFixed smbpasswd crash bugs found by Giulio.
Jeremy Allison [Wed, 1 Mar 2000 18:58:50 +0000 (18:58 +0000)]
Fixed smbpasswd crash bugs found by Giulio.
Jeremy.
(This used to be commit 54440428e5dbf5c1e673e881d3a9364e64ad2ad7)

24 years agoFix for Win2k unicode bug where doing SMB_NT_TRANSACT_CREATE it uses
Jeremy Allison [Wed, 1 Mar 2000 02:42:06 +0000 (02:42 +0000)]
Fix for Win2k unicode bug where doing SMB_NT_TRANSACT_CREATE it uses
unicode filenames whilst *not* bothering to set the unicode bit. Nice :-(.
Jeremy.
(This used to be commit ccddf4d92e4b1af6076692c21247a838498201fc)

24 years agoCheck for null tdb context in tdb_exists()
Tim Potter [Wed, 1 Mar 2000 01:10:25 +0000 (01:10 +0000)]
Check for null tdb context in tdb_exists()
(This used to be commit bbacdb834f9c8f8c34368664def42dabe78d90c9)

24 years agoFixes from Luke, back-ported from TNG to Win2k. Correctly return FAULT_PDU on
Jeremy Allison [Tue, 29 Feb 2000 21:39:54 +0000 (21:39 +0000)]
Fixes from Luke, back-ported from TNG to Win2k. Correctly return FAULT_PDU on
unknown rpc calls. Win2k now correctly shows the owners of files.
Jeremy.
(This used to be commit 066898689f496dc655c3f0a553ac5e884e078022)

24 years agoFixes for strange Win2K attempts to auto-inherit ACLs.
Jeremy Allison [Tue, 29 Feb 2000 18:46:45 +0000 (18:46 +0000)]
Fixes for strange Win2K attempts to auto-inherit ACLs.
Jeremy.
(This used to be commit 41e37c51816ec048952ada1513c62f2689589001)

24 years agoMakefile for tdb directory.
Tim Potter [Mon, 28 Feb 2000 00:51:53 +0000 (00:51 +0000)]
Makefile for tdb directory.
(This used to be commit 60ae73c257e84aa128954f0cf5cf59e7996c68d9)

24 years agoOops - put back filename argument to tdb_open().
Tim Potter [Mon, 28 Feb 2000 00:38:45 +0000 (00:38 +0000)]
Oops - put back filename argument to tdb_open().
(This used to be commit 110ec9923bd2ad729d63f129514f3f1de76de9c1)

24 years agoModifications to tdb_traverse() arguments to remove compile warnings.
Tim Potter [Mon, 28 Feb 2000 00:37:13 +0000 (00:37 +0000)]
Modifications to tdb_traverse() arguments to remove compile warnings.
(This used to be commit d64456b5889f0ee3a8c2108c13789540bfc3d90c)

24 years agoAllow tdb databases to be created "in memory" without having a file
Tim Potter [Mon, 28 Feb 2000 00:25:37 +0000 (00:25 +0000)]
Allow tdb databases to be created "in memory" without having a file
associated with them.  tdb can then be used as a hash table data
structure.
(This used to be commit b345c0a1058bcde7689bb9566535e9f1c46ee173)

24 years agoAdded tdbtool to .cvsignore list.
Tim Potter [Mon, 28 Feb 2000 00:22:45 +0000 (00:22 +0000)]
Added tdbtool to .cvsignore list.
(This used to be commit 2892f6e534d5084b50287bf3859be74d52978cb7)

24 years agoadded enumprintprocessordatatypes
Jean-François Micouleau [Sat, 26 Feb 2000 23:01:02 +0000 (23:01 +0000)]
added enumprintprocessordatatypes
now NT is happy and the "always send data in RAW mode" is checked

J.F.
(This used to be commit d7bcfe17cee64a513595d7c44456e93e88f2448b)

24 years agorewrote enumprinterdata. still a bug in it but reproducing it hard and
Jean-François Micouleau [Sat, 26 Feb 2000 22:22:24 +0000 (22:22 +0000)]
rewrote enumprinterdata. still a bug in it but reproducing it hard and
borring.

I need a client test program urgently!!!

rewrote setprinter, doesn't coredump anymore, and no memleak.

J.F.
(This used to be commit b76ae1f92f4f12b38c4245456cdd2db970724077)

24 years agoclient/client.c:
Jeremy Allison [Fri, 25 Feb 2000 22:25:25 +0000 (22:25 +0000)]
client/client.c:
libsmb/clientgen.c: Fixes for Win2k smbclient browsing.
Other fixes implement smbpasswd -x user to delete users. Also allows swat
to do the same.
Jeremy.
(This used to be commit 9f6ad046761adecafba59040baa3abc9f0959e65)

24 years agomade dynamic the Printer struct. No more limits :-)
Jean-François Micouleau [Thu, 24 Feb 2000 23:01:24 +0000 (23:01 +0000)]
made dynamic the Printer struct. No more limits :-)

J.F.
(This used to be commit b59233b3b61b17e85f5d5b44cc6f2ced9d27b497)

24 years agoconverted a couple of bzero() to memset()
Jean-François Micouleau [Thu, 24 Feb 2000 16:27:06 +0000 (16:27 +0000)]
converted a couple of bzero() to memset()

rewrote the printer notify code, so now it's compatible with SP5 and fully
dynamic. No more limits on printers and job lists.

removed the make_xxx() functions as they are not used and broken

fixed a bug in the open handle function.

J.F.
(This used to be commit aa9054d14bc940f251639ab897d9f356814f5fc0)

24 years agoMultiple-dot scope handling fix from Greg Bowering gb@pobox.com
Jeremy Allison [Wed, 23 Feb 2000 22:29:27 +0000 (22:29 +0000)]
Multiple-dot scope handling fix from Greg Bowering gb@pobox.com
Jeremy.
(This used to be commit 693a582c23599bbdd45adb30401b1162e44fd274)

24 years agolib/system.c: Fixed gcc warnings.
Jeremy Allison [Wed, 23 Feb 2000 02:02:33 +0000 (02:02 +0000)]
lib/system.c: Fixed gcc warnings.
nmbd/nmbd_processlogon.c: Use "True" and "False" instead of 1 and 0.
Others - preparing for multiple pdu write code.
Jeremy.
(This used to be commit 9f879ec396230deba34fbe5e82d8a65f92137c54)

24 years agorichard got the short request for GETDC right (hooray!) win9x _and_ nt
Luke Leighton [Tue, 22 Feb 2000 21:00:01 +0000 (21:00 +0000)]
richard got the short request for GETDC right (hooray!)  win9x _and_ nt
now work.
(This used to be commit 27ef1789267c7af70071ac9b1d216b4dd745578a)

24 years agoFix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy Allison [Mon, 21 Feb 2000 18:47:21 +0000 (18:47 +0000)]
Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
(This used to be commit 89aa4d8ca9cc9e8e6dd4566076c0cace8b82d838)

24 years agomore rewrite ...
Jean-François Micouleau [Mon, 21 Feb 2000 01:58:13 +0000 (01:58 +0000)]
more rewrite ...

comitting before starting on new functions.

J.F.
(This used to be commit f9c20801114f72b587a6e8c3177cbab13dbdcc28)

24 years agoFix for reporting file system attributes correctly.
Jeremy Allison [Fri, 18 Feb 2000 03:54:26 +0000 (03:54 +0000)]
Fix for reporting file system attributes correctly.
Jeremy.
(This used to be commit 801ed2389b97f921aa855513696d304c542fda04)

24 years agoFixes for Eastern Europe code page.
Jeremy Allison [Fri, 18 Feb 2000 03:11:22 +0000 (03:11 +0000)]
Fixes for Eastern Europe code page.
Jeremy.
(This used to be commit 0ec82d661a27a02322e5c8da20a18f33bfb24a3e)

24 years agoDon't assume that the (files_struct *) passed to fd_attempt_close()
Tim Potter [Thu, 17 Feb 2000 23:22:26 +0000 (23:22 +0000)]
Don't assume that the (files_struct *) passed to fd_attempt_close()
will be non-NULL.
(This used to be commit 02f845e54351ec57ee873a8ed887285552c6ecab)

24 years agoUpdated docs for tdb_traverse.
Tim Potter [Thu, 17 Feb 2000 00:16:40 +0000 (00:16 +0000)]
Updated docs for tdb_traverse.
(This used to be commit 8cbc7dfa031cb66d1f011705b6bd76d56c68cae5)

24 years agoMore checks for passing NULL tdb contexts to tdb functions.
Tim Potter [Wed, 16 Feb 2000 22:57:57 +0000 (22:57 +0000)]
More checks for passing NULL tdb contexts to tdb functions.
(This used to be commit 7faa70d254549e60520de1ed1112d41fe9a4d77c)

24 years agoAdded support for SO_REUSEPORT for systems that have it.
Jeremy Allison [Wed, 16 Feb 2000 22:48:19 +0000 (22:48 +0000)]
Added support for SO_REUSEPORT for systems that have it.
Jeremy.
(This used to be commit 377515cf9624720362c0b76969b9381d9972a13f)

24 years agoMake proto.
Jeremy Allison [Wed, 16 Feb 2000 17:52:25 +0000 (17:52 +0000)]
Make proto.
(This used to be commit a12ebc50be4384750b10bf0c391adc967cb096ff)

24 years agotdb_traverse() now takes three arguments.
Tim Potter [Wed, 16 Feb 2000 04:56:11 +0000 (04:56 +0000)]
tdb_traverse() now takes three arguments.
(This used to be commit 2d3e2f8877fb8eb21b4ccf4d7a56f1c625c71780)

24 years agoAdded "source environment" parameter from Nicolas Williams <Nicolas.Williams@wdr...
Jeremy Allison [Wed, 16 Feb 2000 02:35:53 +0000 (02:35 +0000)]
Added "source environment" parameter from Nicolas Williams <Nicolas.Williams@wdr.com>.
Jeremy.
(This used to be commit f29847cbeeb0109f1fa61e9851e8cb0689b5228d)

24 years agoAdded replacement functions sys_popen and sys_pclose. These are based
Jeremy Allison [Tue, 15 Feb 2000 19:36:47 +0000 (19:36 +0000)]
Added replacement functions sys_popen and sys_pclose. These are based
on the glibc source code and are safer than the traditional popen as
they don't use a shell to exec the requested command. Now we have
these functions they can be tightened up (environment etc.) as required
to make a safe popen. It should now be safe to add the environement
variable loading code to loadparm.c
Jeremy.
(This used to be commit b52e92b09d4ca3b66e534f520468dee27065d048)

24 years agofix the reply of rpc_alter_context
Jean-François Micouleau [Tue, 15 Feb 2000 18:07:45 +0000 (18:07 +0000)]
fix the reply of rpc_alter_context
OpenPrinterEx is now decoding correctly the query
most of the EnumXXX use the new_buffer struct.
check the (un)marshalling return code.

conclusion: still a long way to go. all the client code has to be
rewritten, and I still wonder how to implement correctly the notify stuff.
(This used to be commit 3d6d3863751787b08d40268c83221add1487a5c9)

24 years agoReturn "Invalid tdb context" instead of crashing when tdb_error called
Tim Potter [Tue, 15 Feb 2000 06:13:38 +0000 (06:13 +0000)]
Return "Invalid tdb context" instead of crashing when tdb_error called
with NULL tdb context.
(This used to be commit ba9f24c0964054f22cd8f0de32cfeacb88b4800c)

24 years agoNot enough args to DEBUG statement.
Tim Potter [Tue, 15 Feb 2000 05:06:53 +0000 (05:06 +0000)]
Not enough args to DEBUG statement.
(This used to be commit 156f438bce607236b2d91c28f3dbe8559e048738)

24 years agoOoops. Fixed stupid typo with missing ! in cli error code.
Jeremy Allison [Mon, 14 Feb 2000 21:52:35 +0000 (21:52 +0000)]
Ooops. Fixed stupid typo with missing ! in cli error code.
Jeremy.
(This used to be commit 0babc4baea62aa40e8698ab88b3a95d514c001b6)

24 years agodamn, masktest now needs the mangle code from smbd
Andrew Tridgell [Thu, 10 Feb 2000 13:45:52 +0000 (13:45 +0000)]
damn, masktest now needs the mangle code from smbd

not very clean
(This used to be commit 6c09c0fd9e00036f6da9d29801e885ed3b559c42)

24 years agothe beginnings of a fnmatch() based wildcard matching routine
Andrew Tridgell [Thu, 10 Feb 2000 13:43:59 +0000 (13:43 +0000)]
the beginnings of a fnmatch() based wildcard matching routine
(This used to be commit ef256de9d9a204cf91fe8b636d07400cd0648d1e)

24 years agofile ntdom.c was initially added on branch SAMBA_TNG.
Tim Potter [Wed, 9 Feb 2000 23:47:02 +0000 (23:47 +0000)]
file ntdom.c was initially added on branch SAMBA_TNG.
(This used to be commit 1f7964f29b9bcc92517e10c4f47c56fb2de5c9ab)

24 years agoFixed wildcard match bug with '****' with smbclient. Found by Andrew (damn him! :-).
Jeremy Allison [Wed, 9 Feb 2000 15:50:44 +0000 (15:50 +0000)]
Fixed wildcard match bug with '****' with smbclient. Found by Andrew (damn him! :-).
Jeremy.
(This used to be commit c8ca70f99ee2eae5e29ddf0dd4bc231fbcd188f2)

24 years agoCorrect for for core dump in smbpasswd with cli_errstr().
Jeremy Allison [Wed, 9 Feb 2000 15:43:09 +0000 (15:43 +0000)]
Correct for for core dump in smbpasswd with cli_errstr().
Jeremy.<F4>plit the test for NetBIOS name being *SMBSERVER.
(This used to be commit 34b0e2acb050e384c132ddfb50ec84157fb430c6)

24 years agoDefensive programming for cli_error().
Jeremy Allison [Wed, 9 Feb 2000 14:45:22 +0000 (14:45 +0000)]
Defensive programming for cli_error().
Jeremy.
(This used to be commit 94ed74d5b09d6f28b47b2855c4e4a1dc5c2108d3)

24 years agoupdate masktest for new make_nmb_name() syntax
Andrew Tridgell [Wed, 9 Feb 2000 14:17:12 +0000 (14:17 +0000)]
update masktest for new make_nmb_name() syntax
(This used to be commit 3609e835d4f938190f43b958403978c892b4bc9b)

24 years agoadded masktest to head branch, in preparation for another assault on
Andrew Tridgell [Wed, 9 Feb 2000 14:10:08 +0000 (14:10 +0000)]
added masktest to head branch, in preparation for another assault on
the wildcard handling code
(This used to be commit 3f77690dade57f4ae9da7196b0aa7a3a43afcc46)

24 years agoMoved over lib/util_sec (with added fixes) as the HEAD source
Jeremy Allison [Tue, 8 Feb 2000 11:32:43 +0000 (11:32 +0000)]
Moved over lib/util_sec (with added fixes) as the HEAD source
seems to have drifted a little.
Jeremy.
(This used to be commit ebcdb4afee04cc3b94e60b1de86c2b534d4e233e)

24 years agoHum, I should remove my gloves when I'm in front of an xterm :)
Jean-François Micouleau [Mon, 7 Feb 2000 18:06:54 +0000 (18:06 +0000)]
Hum, I should remove my gloves when I'm in front of an xterm :)

fixed a stupid bug in unistr2_to_ascii that I introduced

fixed getprinterdata()
(This used to be commit 2f544a807714024c0fe2ddc26e11c9ddcb47e81f)

24 years agomake proto ...
Jean-François Micouleau [Mon, 7 Feb 2000 16:28:41 +0000 (16:28 +0000)]
make proto ...

and the Makefile.in file

J.F.
(This used to be commit aa22586aac02c28aaa5f96e1a03a83fc138c840e)

24 years agospoolss include definitions
Jean-François Micouleau [Mon, 7 Feb 2000 16:27:03 +0000 (16:27 +0000)]
spoolss include definitions

J.F.
(This used to be commit 853a1a3027dde7608027dc78f6e15789d5fc9152)

24 years agospoolss definitions.
Jean-François Micouleau [Mon, 7 Feb 2000 16:25:15 +0000 (16:25 +0000)]
spoolss definitions.

also added some prs_struct functions, 'cause I'm handling buffers as
prs_struct.

J.F.
(This used to be commit 81e375bbbe0fb022a44a2aaaa3729a9518b7a854)

24 years agoJeremy can you check lib/util_unistr.c for codepages support ?
Jean-François Micouleau [Mon, 7 Feb 2000 16:22:16 +0000 (16:22 +0000)]
Jeremy can you check lib/util_unistr.c for codepages support ?
I added 2 UNICODE <-> ASCII functions which _don't_ honor codepage
support.

J.F.
(This used to be commit b81dc7b7f832cae2e66076398a134fbb6c1f78ca)

24 years agoFirst commit of the spoolss code to the HEAD branch.
Jean-François Micouleau [Mon, 7 Feb 2000 16:17:59 +0000 (16:17 +0000)]
First commit of the spoolss code to the HEAD branch.

still needs a lot of cleaning/debuging.

J.F.
(This used to be commit bd9d4cdde9193c120c6f4e8cf72f87cd67a9387e)

24 years agoAdded check for SGI IRIX brokenness with semaphores when using gcc.
Jeremy Allison [Mon, 7 Feb 2000 14:27:04 +0000 (14:27 +0000)]
Added check for SGI IRIX brokenness with semaphores when using gcc.
Code from Don Badrak <dbadrak@census.gov>
Jeremy.
(This used to be commit 773d6e504b1ac97f0d8136002ace2c0c0771a163)

24 years agoFix some more compile warnings.
Tim Potter [Mon, 7 Feb 2000 00:41:58 +0000 (00:41 +0000)]
Fix some more compile warnings.
(This used to be commit 507624dbc0a1a9e1df72a6b8de45038e86a9e5b1)

24 years agoFixed compile warning in locking.c:traverse_fn()
Tim Potter [Mon, 7 Feb 2000 00:24:04 +0000 (00:24 +0000)]
Fixed compile warning in locking.c:traverse_fn()
(This used to be commit eefc8972217e5a700b90f13ab040a0919f184d23)

24 years agoAfter 3AM, it's getting hard for Luke :-)
Jean-François Micouleau [Fri, 4 Feb 2000 15:19:28 +0000 (15:19 +0000)]
After 3AM, it's getting hard for Luke :-)
(This used to be commit 61c970b10adc37412722a6ee54b166d41ed0a071)

24 years agoFix some compile warnings.
Tim Potter [Fri, 4 Feb 2000 05:18:06 +0000 (05:18 +0000)]
Fix some compile warnings.
(This used to be commit ccbd936211d4bfc8687cef78405ae58127289d13)

24 years agoHopefully these changes will actually stick.
Tim Potter [Fri, 4 Feb 2000 05:08:16 +0000 (05:08 +0000)]
Hopefully these changes will actually stick.
(This used to be commit a2782097db258a164bf43d814e8832a27d0eb3f1)