Jeremy Allison
f0080e5a39
Getting back to a compilable state (not there yet but close).
...
Added patches for random -> sys_random.
Added set_effective_xxx patches for AFS code.
Memory allocation changes in spoolss code.
Jeremy.
(This used to be commit c2099cfb033c2cdb6035f4f7f50ce21b98e1584d)
2000-06-01 17:01:34 +00:00
Jeremy Allison
1365442684
More stuff I cvan't afford to lose. I'm realizing how dependent I am
...
on this bloody CVS link....
Jeremy.
(This used to be commit 864e7bde0e804edbb2425b9c4c7ff271553f8169)
2000-06-01 02:44:17 +00:00
Jeremy Allison
cc22d7ea29
Changes I really don't want to lose whilst CVS is playing up.
...
Dynamic changes to spoolss code.
Jeremy.
(This used to be commit 0a5e7a8f31c26fe80db5398a441a1969a8882845)
2000-06-01 02:35:30 +00:00
Jeremy Allison
e743e2b707
Changed interface to set_nt_acl slightly.
...
Jeremy.
(This used to be commit 4534eae405f952d4b93e445571fc487e66a7541b)
2000-05-31 17:56:47 +00:00
Jeremy Allison
6c96a55ef5
Working UNIX -> NT ACL mapper.
...
Jeremy.
(This used to be commit f09c53f6b15e96ab1d306c044cbdcd086006c977)
2000-05-31 17:56:08 +00:00
Jeremy Allison
a811ade9aa
Fixed interface between new ACLS and nttrans code.
...
Jeremy.
(This used to be commit 400263245b4e5344b496c5de52a659f040206798)
2000-05-31 17:51:28 +00:00
Jeremy Allison
2a4ce0f0b9
The functionality in this file has been moved into smbd/unix_acls.c in order
...
to make the acl functionality regular (we can have smbd/posix_acls etc).
Jeremy.
(This used to be commit 9adb9399df27c5c1d7fec04f80d49e5476200738)
2000-05-31 17:47:39 +00:00
Luke Leighton
e67aa6b43c
space in front of lp_preexec() causing make proto to not detect this fn.
...
(This used to be commit 3a1ebfa080fa5b26c9d0e7573cbd4bd4c239f182)
2000-05-31 05:42:16 +00:00
Luke Leighton
d500cbb206
messing about.
...
(This used to be commit 9c6f2d75d848a280f25f2377130953ecd824b7b1)
2000-05-31 05:39:54 +00:00
Andrew Tridgell
23d705672e
if the tdb stored driver isn't formatted right then return a default
...
driver
(This used to be commit 48bf12d23ee39ccc7c19363012abd48f43dfac11)
2000-05-29 01:28:33 +00:00
Matthew Chapman
badb7fc0d2
Fixed LsaQueryInformationPolicy level 3 to return primary domain info.
...
Domain SID is saved in secrets.tdb upon joining domain.
Added "Authenticated Users" and "SYSTEM" well-known SIDs (under
NT Authority).
(This used to be commit 7710b4f48d3e8532df5e37f99a779758f750efdb)
2000-05-29 01:23:48 +00:00
Andrew Tridgell
5b5f41d8e0
fixed some more crashes
...
this introduces some memory leaks that I need to fix later
(This used to be commit 2170d72d508ab8fb63a1da3024395f8fd6011cfa)
2000-05-29 01:09:14 +00:00
Andrew Tridgell
6c9f6b22cb
don't return a passwd struct for usernames that don't
...
belong to us
(This used to be commit 2740a80e30cbf512d51ba76684905a904c2fddf7)
2000-05-29 01:08:18 +00:00
Luke Leighton
a6e52f2b2e
make proto
...
(This used to be commit 62271c30f415cad71aea9edfd578f0b7ab42fb42)
2000-05-29 00:20:21 +00:00
Luke Leighton
1f69f80dd6
more templates.
...
(This used to be commit 4d50d3526249276e1d2eb039cb57011e7cdae867)
2000-05-29 00:15:44 +00:00
Luke Leighton
140523dc46
lp_server_role() + use in srv_reg.
...
(This used to be commit 82e47e268ca33dd7e692c5e6d0571428307b5287)
2000-05-28 23:34:34 +00:00
Andrew Tridgell
325cf05312
updated proto.h
...
(This used to be commit 9f02ed6ccf17c60386d19592fa2585987c768153)
2000-05-28 23:07:50 +00:00
Andrew Tridgell
85295c5c09
init_unistr takes a const 2nd arg
...
(ps: I hate const)
(This used to be commit 7030b7f06a8784469562562aa346d0c2918734d5)
2000-05-28 23:07:26 +00:00
Andrew Tridgell
82db6b6d9f
don't build cli_reg in rpc client library until we merge that from tng
...
(This used to be commit 0cc59cc2c63bceeda0bc6f44dc65f10f81ebda8d)
2000-05-28 23:06:43 +00:00
Andrew Tridgell
38b32fb97f
don't free a driver structure from the stack!
...
(This used to be commit d241f1dcaf612881a428dd578b97383d02a4d3c3)
2000-05-28 23:00:23 +00:00
Andrew Tridgell
0c396eef79
fixed return error code that had 0xC with not enough zeros
...
(This used to be commit d859de2870d6524f4ff58a059469fe65c1b37940)
2000-05-28 22:59:13 +00:00
Andrew Tridgell
2d066492d5
fixed a couple of bugs in the driver return code
...
(This used to be commit 8695cb0023597fd118241a431eeeddc559484465)
2000-05-28 22:50:30 +00:00
Luke Leighton
4a0635cd6d
#ifdef not #if
...
(This used to be commit f0229102fe337213cd53fcb0a3d7e2ba786470b9)
2000-05-28 21:21:07 +00:00
Luke Leighton
b38aa95bc9
moved notif_y_table struct to spoolss_nt.c only used there.
...
#ifdef'd driver-code out with define RELIES_ON_SMBD_SPECIFIC_CODE because
spoolssd doesn't link with smbd/*.c (find_service("print$") is not
possible).
(This used to be commit 726c359d1d9f1fc8227ca920c888d2f040170e0b)
2000-05-28 21:01:14 +00:00
Luke Leighton
62707533f7
debug output to /tmp.
...
(This used to be commit f9077e50cba5c7c3e6cf7739888120d8cc757c7c)
2000-05-28 20:11:04 +00:00
Luke Leighton
ccf0ac0eba
more SMBtrans, SMBnttrans stuff.
...
(This used to be commit d8d15b275592e3a4e60ac502f4672672534e1fc7)
2000-05-28 20:05:30 +00:00
Luke Leighton
7babec53c7
SMBulogoffX
...
(This used to be commit c919f803434a138f48eb26f122fc09425eb24d58)
2000-05-27 19:49:07 +00:00
Luke Leighton
782c05f9c9
optional (0of or 1of) with "[+]" semantics.
...
(This used to be commit 55a3e4b5922eff4110970a2ed2372c431ac70918)
2000-05-27 11:08:05 +00:00
Luke Leighton
469764b97f
SMBntcreateX
...
(This used to be commit 7e3fe77ab25cf0bde7950e0702b7e25a82b33b18)
2000-05-27 10:34:21 +00:00
Luke Leighton
d7d030f71e
SMBnttrans. modified io_uint8s to return address of actual data instead
...
of a copy, on unmarshalling. removed fstring, made it io_string,
did same thing. io_string() and io_wstring() should be wrapped in
a STRING typedef which is bit-switched on FLG2:Unicode.
(This used to be commit 7db13bd53807f65a16442d2765a9d2f7ab792b4f)
2000-05-27 10:18:36 +00:00
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 9422719ab4c35e4ce3199b62dd632433bf391283)
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 9805e17cd0ce427c329a8b5a8318d5f75227e283)
2000-05-27 09:19:57 +00:00
Luke Leighton
2f3dbeff6f
SMBtrans response.
...
(This used to be commit cff62bb10aa8d897bf48119f959d426d9052bc23)
2000-05-27 09:19:02 +00:00
Luke Leighton
76c1e150af
SMBtrans and SMBtrans2, some of it.
...
(This used to be commit 42c7f3797f50598150448be162ec0ee556287505)
2000-05-27 08:21:59 +00:00
Andrew Tridgell
9fb4575047
fixed return from nt_printing_init()
...
(This used to be commit 7e13ba75444eb82b257a7a3578aa30ae2f52fe1a)
2000-05-27 07:27:21 +00:00
Luke Leighton
1f220f5022
SMBlockingX
...
(This used to be commit 9f9a9a69b6660eaa14ff3954c78f8e08ae3b0b87)
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 3f976e713924a2fa47194ae3edfa3f1592e4cf1c)
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 11010f946af4d60d88bed450692e43c6a7860ab7)
2000-05-27 03:37:05 +00:00
Luke Leighton
afab6492e1
uninitialised variable "list"
...
(This used to be commit bf33b10a43a42c3ec5dbfdc713869c4aeb452aef)
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 038dab9053c51938538f693db405ccabb0af9010)
2000-05-27 02:49:23 +00:00
Luke Leighton
b673d5f797
dummy trash in secdesc.
...
(This used to be commit 56c2dbbf813e1dc120d199b173fd462c658572a0)
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 1e3c0ab29d178fe58add32672301ac497d43a3fe)
2000-05-27 02:15:08 +00:00
Luke Leighton
682cccd8af
unistr_to_dos not unistr_to_ascii
...
(This used to be commit f46c4fe876a0cabe7044ca30c17e6c217d618635)
2000-05-27 02:05:15 +00:00
Luke Leighton
54695647ef
fixed nttrans.c
...
(This used to be commit 06cd46b0ec10b32af54edd8256d2fdbec45e1371)
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 f9f2a04fdb7b2af1cfe5bf26ec6f0d955ea948b9)
2000-05-27 01:26:34 +00:00
Luke Leighton
5c6a7861bf
cifs parser.
...
(This used to be commit 96fd33b8982d4d7ff1eef6f2ef836381d443b143)
2000-05-27 01:21:27 +00:00
Andrew Tridgell
a0e1930489
fixed bugs in fdpass tests
...
(This used to be commit ee4f6335adb2a781eea7e1f6b520d79ea1197427)
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 d9322d01e0ac09852924eb6059ecf116e75ee398)
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 590d9ece8449b1feecfe1aa13e61bcd8fea4e5bf)
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 80a0079b2f993159ef35b02ba5c70ce9d8096879)
2000-05-26 20:54:46 +00:00