Luke Leighton
a65dead017
security descs in spoolss. needs parse_sec.c nttrans.c broken.
...
(This used to be commit f9f2a04fdb
)
2000-05-27 01:26:34 +00:00
Luke Leighton
5c6a7861bf
cifs parser.
...
(This used to be commit 96fd33b898
)
2000-05-27 01:21:27 +00:00
Andrew Tridgell
a0e1930489
fixed bugs in fdpass tests
...
(This used to be commit ee4f6335ad
)
2000-05-27 00:29:10 +00:00
Andrew Tridgell
fae1164304
move srandom to after connect so random stuff in clientgen doesn't
...
change seed
(This used to be commit d9322d01e0
)
2000-05-27 00:28:02 +00:00
Shirish Kalele
f3c44fba11
Fixed memory leak in RPC parsing code.
...
Problem in prs_set_buffer_size() was Realloc returns a NULL when newsize is zero (equivalent to a free()). We were returning a failure here without resetting the buffer_size or the data_p pointer in the prs_struct. And we weren't checking for a failure from prs_set_buffer_size(). So realloc's to zero size were not reflected in the prs_struct: memory leak.
(This used to be commit 590d9ece84
)
2000-05-26 22:37:08 +00:00
Jeremy Allison
9646e6e1ba
Compile time warning fixes and a time_t -> uint32 conversion fix.
...
Jeremy.
(This used to be commit 80a0079b2f
)
2000-05-26 20:54:46 +00:00
Tim Potter
3808642beb
Fixed last remaining instance of MS_DFS to WITH_MSDFS.
...
(This used to be commit d4e2e59566
)
2000-05-26 18:44:40 +00:00
Shirish Kalele
8a86541e28
Changed MS_DFS to WITH_MSDFS throughout.
...
Fixed trans2 calls on IPC$ to let dfs referral calls through.
(This used to be commit e0965a80bd
)
2000-05-26 17:10:40 +00:00
Jeremy Allison
9c4079d8c3
Fixed misunderstanding found during CIFS conference. Overlapping lock
...
ranges (not just included lock ranges) should be handled correctly.
UNIT test still needed.
Jeremy.
(This used to be commit 07872298e3
)
2000-05-25 20:05:50 +00:00
Andrew Tridgell
d29f8af77b
minor fixes
...
(This used to be commit 4d00314ec5
)
2000-05-24 21:11:34 +00:00
Luke Leighton
0fca9817b1
2nd evil simultaneous read-write test. forks. one writer. others
...
are readers. writes between 1 and 20 bytes. reads as much as possible.
compares. repeat until end of buffer (fixed size: 131072 bytes) reached.
(This used to be commit 26f51a7abb
)
2000-05-24 07:29:45 +00:00
Andrew Tridgell
89a532aa2c
removed lp_revalidate()
...
(This used to be commit fba5886a05
)
2000-05-24 07:21:22 +00:00
Andrew Tridgell
aedd865601
new prototypes
...
(This used to be commit d38092d5a6
)
2000-05-24 07:20:27 +00:00
Andrew Tridgell
d87a20e8c5
we don't do "revalidate = yes" any more
...
(This used to be commit 289d3cac38
)
2000-05-24 07:18:34 +00:00
Andrew Tridgell
9514925481
added -u hide_unlock_fails option
...
(This used to be commit fc8c460a61
)
2000-05-24 07:15:54 +00:00
Andrew Tridgell
9eee36f61d
added tdb_pack() and tdb_unpack()
...
(This used to be commit 6c15495b30
)
2000-05-24 06:36:58 +00:00
Andrew Tridgell
7f2b42abec
got rid of lp_revalidate()
...
(This used to be commit 8dea95e62c
)
2000-05-24 06:36:10 +00:00
Andrew Tridgell
722c86a38f
a fairly big change in spoolss.
...
got rid of the forms, drivers and printers files in the nt drivers
directory and instead use a single tdb
note that this is _not_ all finished.
(This used to be commit 537cd6dff0
)
2000-05-24 06:34:47 +00:00
Andrew Tridgell
68239f38fd
a fairly big change in spoolss.
...
got rid of the forms, drivers and printers files in the nt drivers
directory and instead use a single tdb
note that this is _not_ all finished.
(This used to be commit 4fef181af3
)
2000-05-24 06:20:42 +00:00
Andrew Tridgell
a95efec534
a fairly big change in spoolss.
...
got rid of the forms, drivers and printers files in the nt drivers
directory and instead use a single tdb
note that this is _not_ all finished.
(This used to be commit 06763d1ec2
)
2000-05-24 06:10:21 +00:00
Andrew Tridgell
aabf523caf
use \\ in front of filenames
...
(This used to be commit a92f8c8620
)
2000-05-24 06:01:05 +00:00
Andrew Tridgell
c29b72cd4f
use lp_workgroup()
...
use \\ in front of filenames
get short name via a separate trans2 level 260 call
(This used to be commit 5fd4dbf72e
)
2000-05-24 05:56:34 +00:00
Andrew Tridgell
7fd62a26f7
use lp_workgroup()
...
use \\ in front of filenames
(This used to be commit 9c64f47c16
)
2000-05-24 05:47:08 +00:00
Luke Leighton
fb66b3b6e6
torture test:
...
same cli_state:
open file rw/denynone, open *same* file r/denynone.
write to file (fd1) read from file (fd2). compare. repeat.
two cli_states:
open file rw/denynone (cli1), open *same* file r/denynone (cli2).
write to file (fd1) read from file (fd2). compare. repeat.
(This used to be commit 0a993f3783
)
2000-05-24 05:40:03 +00:00
Jeremy Allison
295b2d31a5
Did a proper fix for the file access on IPC$. Denied all pipe opens on
...
trans2 open calls as we don't have the pipe open response coded up yet.
Jeremy.
(This used to be commit 8142e27c9c
)
2000-05-23 17:57:51 +00:00
Jeremy Allison
3cbaf59726
Fixed bug where file access was allowed on IPC$ share.
...
Return correct error codes on invalid share name.
Jeremy.
(This used to be commit 420d6bc480
)
2000-05-23 01:27:19 +00:00
Tim Potter
6c52c1a5c7
Added -W workgroup command line option.
...
Added call to codepage_initialise().
(This used to be commit fcb8e2fbe2
)
2000-05-22 23:38:56 +00:00
Jeremy Allison
69519df0f6
Modify NT driver heirarchy to fix HP bug with duplicate printer driver
...
filenames :-).
Jeremy.
(This used to be commit adb6ad812a
)
2000-05-22 20:04:50 +00:00
Andrew Tridgell
943340a5a3
more aparser stuff - we now handle everything but the idl headers in srvsvc.idl
...
(This used to be commit 5f1e8422d0
)
2000-05-22 09:09:37 +00:00
Shirish Kalele
74d677ec59
Added the NETDFS pipe to allow remote administration of the msdfs symlinks
...
on the samba server.
(This used to be commit 15e7d8f6c5
)
2000-05-18 18:43:53 +00:00
Jeremy Allison
7b49e6ac6c
Changed name of case_sensitive in mask_match to avaid gcc "shadow global"
...
warning.
Jeremy.
(This used to be commit 36629d2a93
)
2000-05-17 20:54:56 +00:00
Jeremy Allison
819c154498
Fixed bug I introduced last night (sorry). Now truncate incoming prs_struct
...
buffer size to exact size of incoming data to prevent read overruns into slop
space.
Jeremy.
(This used to be commit aa1a4f46da
)
2000-05-17 19:17:16 +00:00
Andrew Tridgell
ec6c547390
error check in vluke.c
...
more conversion from idl to .struct of srvsvc
(This used to be commit 83b787f57e
)
2000-05-17 08:08:09 +00:00
Andrew Tridgell
0fc755d97a
started converting matty's srvsvc.idl to a .struct file
...
(This used to be commit 85a341002c
)
2000-05-17 07:12:10 +00:00
Andrew Tridgell
6738591a22
added primitive define macros
...
started converting matty's srvsvc.idl to a .struct file
(This used to be commit cf8d4c42e2
)
2000-05-17 07:10:50 +00:00
Andrew Tridgell
ba2f726efd
- added typedefs
...
- added parse error checking
- made parser more flexible
(This used to be commit ab0beaf357
)
2000-05-17 06:53:21 +00:00
Jeremy Allison
c560164030
Fixed bug where mallocd size of prs_struct could be larger than
...
incoming packet. Ensure new alloced memory is zeroed before use.
Jeremy.
(This used to be commit 1c3193aa1c
)
2000-05-17 03:12:56 +00:00
Andrew Tridgell
0f75bfc2ec
minor parse updates
...
(This used to be commit 2e0a39204a
)
2000-05-17 02:16:44 +00:00
Jeremy Allison
a71519cf0c
Cutover from 2.2.x - missed in merge.
...
Jeremy.
(This used to be commit 87c4d46abe
)
2000-05-17 02:08:55 +00:00
Jeremy Allison
91b736d258
Synced up srv_samr with HP changes. Added error checking to original code
...
- what a concept :-). All this code will be replaced with TNG stuff anyway,
so not a big deal....
Jeremy.
(This used to be commit b090cff4b5
)
2000-05-16 19:45:26 +00:00
Andrew Tridgell
8114e7f188
a useful script, just go "./build foo.struct" and you get a full
...
vluke program for all structures in the foo.strct file
(This used to be commit 77ceb6a3c1
)
2000-05-16 15:04:43 +00:00
Andrew Tridgell
9b86339869
the vluke program now takes a structure name on the command line
...
(This used to be commit 6a3e7ba4f0
)
2000-05-16 15:03:48 +00:00
Andrew Tridgell
058ecd89b4
take the sructure name to run through vluke on the command line
...
(This used to be commit 03fbe1b151
)
2000-05-16 14:02:31 +00:00
Andrew Tridgell
128026c9a2
added the ".trailer" type, to mark where a packet turns into a trailer
...
this now gives us enough to parse complete function calls, including
the return values
(This used to be commit ca8f1e92ad
)
2000-05-16 12:43:53 +00:00
Andrew Tridgell
f3a3a05ade
another awk parser update
...
we can now handle arrays of structures, pointers to structures,
pointers in unions etc
(This used to be commit 1df80cd1e8
)
2000-05-16 11:55:06 +00:00
Shirish Kalele
466338b165
Removed extra unistr_to_dos prototype from msdfs/msdfs.c
...
(This used to be commit a70c7b9aef
)
2000-05-16 01:23:12 +00:00
Shirish Kalele
651946153e
The new msdfs implementation that uses symlinks to point to other
...
servers. Very intuitive.
Removed the dfs map parsing code and tdb maintenance code (files
msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading
calls (param/loadparm.c smbd/server.c).
Added code to display msdfs format symlinks as directories in a
transact2_findfirst/findnext. (smbd/trans2.c)
Modified msdfs/msdfs.c to use the msdfs symlinks to
create dfs referrals.
Changed msdfs/README to reflect new operability.
(This used to be commit 6803d2574f
)
2000-05-16 01:13:16 +00:00
Jeremy Allison
210f11d0e3
Check error returns.
...
Jeremy.
(This used to be commit 919d49b58a
)
2000-05-15 21:38:03 +00:00
Jeremy Allison
ad9a3a16e0
Added Shirish's reg changes to HEAD. Sync up with 2.2.0 backport.
...
Also added prs_xx error return checks to new code in rpc_parse/parse_reg.c
Jeremy.
(This used to be commit a148cb9962
)
2000-05-15 20:53:08 +00:00
Jeremy Allison
4fb2e2c72f
Added fix for Win2k ACL query code from Shirish. I need this back ported
...
to 2.2.0.
Jeremy.
(This used to be commit 74851a481e
)
2000-05-15 20:08:26 +00:00