Andrew Tridgell
5f7c40f6d0
getting and setting security descriptors on printers now works
...
this needed some fixes in tdb_unpack(). Tim, you'll need to update
(This used to be commit 9422719ab4
)
2000-05-27 09:53:11 +00:00
Luke Leighton
712a30ed51
prs_give_memory in wrong place, also poss. was losing mem.
...
(This used to be commit 9805e17cd0
)
2000-05-27 09:19:57 +00:00
Luke Leighton
2f3dbeff6f
SMBtrans response.
...
(This used to be commit cff62bb10a
)
2000-05-27 09:19:02 +00:00
Luke Leighton
76c1e150af
SMBtrans and SMBtrans2, some of it.
...
(This used to be commit 42c7f3797f
)
2000-05-27 08:21:59 +00:00
Andrew Tridgell
9fb4575047
fixed return from nt_printing_init()
...
(This used to be commit 7e13ba7544
)
2000-05-27 07:27:21 +00:00
Luke Leighton
1f220f5022
SMBlockingX
...
(This used to be commit 9f9a9a69b6
)
2000-05-27 06:02:14 +00:00
Luke Leighton
6ec1ae35b4
hack to get setprinter working, level2, null sec desc.
...
(This used to be commit 3f976e7139
)
2000-05-27 04:51:02 +00:00
Andrew Tridgell
b6ecd4fbe2
fixed call of firstkey/nextkey to traverse driver database
...
(This used to be commit 11010f946a
)
2000-05-27 03:37:05 +00:00
Luke Leighton
afab6492e1
uninitialised variable "list"
...
(This used to be commit bf33b10a43
)
2000-05-27 03:12:06 +00:00
Luke Leighton
9d1bc48232
TIMESTAMPS ARE IRRITATING AS HELL WHEN DEBUGGING! NGGGH!!
...
switched default to False, i expect someone to revert this very soon [for
security reasons],
but for now am doing this so i don't get exasperated by seeing stupid
timestamps splitting up debug output.
(This used to be commit 038dab9053
)
2000-05-27 02:49:23 +00:00
Luke Leighton
b673d5f797
dummy trash in secdesc.
...
(This used to be commit 56c2dbbf81
)
2000-05-27 02:27:44 +00:00
Luke Leighton
e01fb48737
bug-fix from tim (insure). dummy fn call for andrew to fill in.
...
(This used to be commit 1e3c0ab29d
)
2000-05-27 02:15:08 +00:00
Luke Leighton
682cccd8af
unistr_to_dos not unistr_to_ascii
...
(This used to be commit f46c4fe876
)
2000-05-27 02:05:15 +00:00
Luke Leighton
54695647ef
fixed nttrans.c
...
(This used to be commit 06cd46b0ec
)
2000-05-27 01:56:26 +00:00
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