Jeremy Allison
d1ac0e95e4
Added preliminary user list code from HP. Needs to be made dynamic
...
and backended with a tdb database so the list can be shared between
multiple smbds. ToDO.
Jermey.
(This used to be commit 171222ce22595743a052e5c3d4428ce916d7c345)
2000-03-21 18:33:08 +00:00
Jeremy Allison
0958f44f17
Fix from christoph.pfisterer@rwg.de for large directory listing to OS/2
...
server.
Jeremy.
(This used to be commit ce1c36541255b51ae429e530c0ebf016009ab84e)
2000-03-20 21:42:15 +00:00
Jeremy Allison
e601c0259e
Fixes to add "paranoid" option to popen. Checks some basic things.
...
Jeremy
(This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
2000-03-16 20:55:37 +00:00
Herb Lewis
a36d737c88
removed extra arguements from make_nmb_name calls
...
(This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)
2000-03-16 17:58:08 +00:00
Jean-François Micouleau
4d43977130
fix a bug in enumprinterdrivers
...
J.F.
(This used to be commit a8d04c26da601cb97e66c27c7ad21dd672fcec2d)
2000-03-16 16:23:38 +00:00
Herb Lewis
1362d33a23
use parameters to minimize changes in samba for irix release version
...
(This used to be commit 2b0d05d81c485707e3e6727a38d5782ec6d9ce7e)
2000-03-16 06:44:27 +00:00
Herb Lewis
5b9130fc32
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)
2000-03-16 06:40:07 +00:00
Jeremy Allison
321091ad20
Fix from NAKAJI Hiroyuki for a trailing '\n\ in asctime.
...
Jeremy.
(This used to be commit 87df97c9365a185e4ea6bac7b832b8cf38144624)
2000-03-15 18:00:30 +00:00
Jeremy Allison
08607c3e0c
Fixed parsing issue with HP printer defs reported by HP.
...
Jeremy.
(This used to be commit 035272e6bcc8c43bf4521e4a20b0c35b0901e904)
2000-03-14 22:04:35 +00:00
Tim Potter
191566780e
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)
2000-03-13 23:20:01 +00:00
Jeremy Allison
01d88573ea
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)
2000-03-13 20:05:18 +00:00
Jean-François Micouleau
c5fbb293a8
oops ! forgot smb.h in last commit
...
added info level 1 parsing code for addprinter(ex)
J.F.
(This used to be commit 4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409)
2000-03-13 19:34:04 +00:00
Shirish Kalele
7d2a8cd4c6
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)
2000-03-13 18:18:36 +00:00
Shirish Kalele
3e07f63b7c
Cleaned up call_trans2getdfsreferral for when MS_DFS is not defined.
...
(This used to be commit 2b99318341a3f3a3ac138fe96ad271726bf1552c)
2000-03-13 17:38:13 +00:00
Jean-François Micouleau
bf5f8bcf70
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)
2000-03-13 15:53:02 +00:00
Jean-François Micouleau
6e11f21378
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)
2000-03-13 11:21:03 +00:00
Jean-François Micouleau
79bfb14318
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)
2000-03-13 11:09:20 +00:00
Jean-François Micouleau
530a01c2cb
moved #endif to end of function to compile when dfs is disabled.
...
J.F.
(This used to be commit b534fb03b1ef39e5362c29a05cca53782cd157f7)
2000-03-13 11:05:59 +00:00
Tim Potter
3848759a5e
Added standard shell command thing using '!' as first character.
...
(This used to be commit 829e645f62ffa16041c0cc126174d6fe8f63a2f0)
2000-03-13 01:35:09 +00:00
Jeremy Allison
741dfefd56
Fix stupid logic bug in detecting start-of-pdu in writeX on pipe.
...
Found by JF.
Jeremy.
(This used to be commit 8315583694249278c57948406c1f48e2128f2b08)
2000-03-11 01:28:57 +00:00
Jeremy Allison
7b97d056a1
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)
2000-03-11 01:02:45 +00:00
Shirish Kalele
d50abdee22
Cleaned up unused variables, returns from non-void functions etc.
...
(This used to be commit 6ce72c37429c3fc0629fdbd5f5656f07970a8e4a)
2000-03-10 23:13:11 +00:00
Shirish Kalele
f2d86add38
Cleaning warnings from configure.developer
...
(This used to be commit c48579a4fc6c17126712f3a9a9c5212063a6a24d)
2000-03-10 23:05:53 +00:00
Shirish Kalele
0307b23a31
Cleaning up the warnings from configure.developer.
...
Found that Jeremy had already made some of the changes.
(This used to be commit ca02d9f8219265f80fe11236c8c146db1dbb1ae2)
2000-03-10 22:53:36 +00:00
Jeremy Allison
d56e3425a1
Fix for names with spaces and some I18N filename issues from
...
V. Fyodorov <V.Fyodorov@VAZ.RU>.
Jeremy.
(This used to be commit 4673aa1a4b133338715059174813b8e29d093972)
2000-03-10 22:25:02 +00:00
Jeremy Allison
5e22394654
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)
2000-03-10 19:50:03 +00:00
Luke Leighton
83ee9372fc
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)
2000-03-10 18:10:10 +00:00
Jean-François Micouleau
e0ebb76a74
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)
2000-03-10 17:12:24 +00:00
Jean-François Micouleau
115d98e639
removed unused variable
...
J.F.
(This used to be commit e2557ae5515ce30d0341ef7785cc4380266d4c94)
2000-03-10 17:06:12 +00:00
Jean-François Micouleau
32811abdf1
restore the spoolss pipe as Jeremy replaced srv_pipe with the one from
...
SAMBA_2_0 :-)
J.F.
(This used to be commit 34a3781961a5c41aba9929ec49aacc3bfa14270f)
2000-03-10 17:03:04 +00:00
Luke Leighton
adee6e06f7
indent went wrong. grr.
...
(This used to be commit 525338e80766fe3dbcc4a64db8e957ae63c5e9d6)
2000-03-10 00:24:40 +00:00
Luke Leighton
25ac9656a3
computer too slow to compile with debug info (100mins), but i need all the
...
warnings.
(This used to be commit 3f1d5f7c41a69d1249978c84c84ee4c80abf6cdd)
2000-03-09 22:22:38 +00:00
Jeremy Allison
7f7c2e2590
Not used. Functionality folded back into rpc_server/srv_pipe.c (where it
...
originally came from).
Jeremy.
(This used to be commit b9bc7e8cb6255f2973f680678f93978f17489938)
2000-03-09 21:46:04 +00:00
Jeremy Allison
6bb92a6d38
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)
2000-03-09 21:45:16 +00:00
Jeremy Allison
18465ec2cd
Fixups for Win2K security descriptors from the 2.0.x branch.
...
Jeremy.
(This used to be commit d22d4482b5e170f352dbfde5b37fc4d4e0eb0a49)
2000-03-09 20:00:23 +00:00
Shirish Kalele
4e6e454c3a
Corrected DEBUG messages.
...
(This used to be commit a2d62cd30a25e745c4df7ecd6675babc853238f4)
2000-03-09 18:58:10 +00:00
Shirish Kalele
952799d9af
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)
2000-03-08 22:14:30 +00:00
Luke Leighton
3958c39106
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)
2000-03-07 21:55:42 +00:00
Jean-François Micouleau
fd69e4a13a
Enumprinters level 1: reply *exactly* like an NT server
...
BTW, found a little memleak in it.
J.F.
(This used to be commit 9c37b5df2de9bf8fa6f5536fd75f9c8faf338a52)
2000-03-07 18:10:20 +00:00
Jean-François Micouleau
0f987d77be
fixed enumprinterdata.
...
J.F.
(This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)
2000-03-07 09:06:03 +00:00
Jean-François Micouleau
78d7ba5ca0
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)
2000-03-06 11:13:40 +00:00
Jeremy Allison
5eae8c7b02
Tidied up fchown code, error reporting.
...
Jeremy.
(This used to be commit 8e3239440dee6c6f50d26b70f7db46bef2a87a2d)
2000-03-02 03:04:26 +00:00
Jeremy Allison
ea1c3cc23d
Correctly full buffer smbpasswd i/o streams.
...
Jeremy.
(This used to be commit 7b222ed713d47241822323970214326b6a8e67ac)
2000-03-02 02:58:48 +00:00
Jeremy Allison
4569595519
Update last changed time for new password entry.
...
Jeremy.
(This used to be commit a8ccf1d9532cdf623342c968f51f1d89f89d728a)
2000-03-02 02:50:05 +00:00
Jeremy Allison
d82ea9d32b
Fixed bugs with -x smbpasswd entry. Thanks to Bruce Tenison <btenison@dibbs.net>.
...
Jeremy.
(This used to be commit c7695c66774225248978ac9ca2615762a0d449aa)
2000-03-02 02:45:02 +00:00
Jeremy Allison
99be80bd80
Off by one error in detecting Win2k unicode bug.
...
Jeremy.
(This used to be commit 4971e8b44ac38806f6fc0b3bd22d3ccafd1f5d4e)
2000-03-01 23:37:33 +00:00
Jeremy Allison
27921069a7
Added new codepage from Ded Marazm <DedMarazm@mail.lv> - MSDOS baltic rim.
...
Jeremy.
(This used to be commit b8b98d50588a68a8001f4f7eeb09d0d19e232d13)
2000-03-01 20:41:26 +00:00
Jeremy Allison
50444a0b5f
Fixed smbpasswd crash bugs found by Giulio.
...
Jeremy.
(This used to be commit 54440428e5dbf5c1e673e881d3a9364e64ad2ad7)
2000-03-01 18:58:50 +00:00
Jeremy Allison
7260655708
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)
2000-03-01 02:42:06 +00:00
Tim Potter
9fd3d3963e
Check for null tdb context in tdb_exists()
...
(This used to be commit bbacdb834f9c8f8c34368664def42dabe78d90c9)
2000-03-01 01:10:25 +00:00