1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-03 17:05:54 +03:00

3854 Commits

Author SHA1 Message Date
Jeremy Allison
eba31e4e80 Back to building. Now to test with insure.
Added some frees needed to stop memory leaks.
Jeremy.
-
Jeremy Allison
c2099cfb03 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.
-
Jeremy Allison
864e7bde0e More stuff I cvan't afford to lose. I'm realizing how dependent I am
on this bloody CVS link....
Jeremy.
-
Jeremy Allison
0a5e7a8f31 Changes I really don't want to lose whilst CVS is playing up.
Dynamic changes to spoolss code.
Jeremy.
-
Jeremy Allison
4534eae405 Changed interface to set_nt_acl slightly.
Jeremy.
-
Jeremy Allison
f09c53f6b1 Working UNIX -> NT ACL mapper.
Jeremy.
-
Jeremy Allison
400263245b Fixed interface between new ACLS and nttrans code.
Jeremy.
-
Jeremy Allison
9adb9399df 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.
-
Luke Leighton
3a1ebfa080 space in front of lp_preexec() causing make proto to not detect this fn. -
Luke Leighton
9c6f2d75d8 messing about. -
Andrew Tridgell
48bf12d23e if the tdb stored driver isn't formatted right then return a default
driver
-
Matthew Chapman
7710b4f48d 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).
-
Andrew Tridgell
2170d72d50 fixed some more crashes
this introduces some memory leaks that I need to fix later
-
Andrew Tridgell
2740a80e30 don't return a passwd struct for usernames that don't
belong to us
-
Luke Leighton
62271c30f4 make proto -
Luke Leighton
4d50d35262 more templates. -
Luke Leighton
82e47e268c lp_server_role() + use in srv_reg. -
Andrew Tridgell
9f02ed6ccf updated proto.h -
Andrew Tridgell
7030b7f06a init_unistr takes a const 2nd arg
(ps: I hate const)
-
Andrew Tridgell
0cc59cc2c6 don't build cli_reg in rpc client library until we merge that from tng -
Andrew Tridgell
d241f1dcaf don't free a driver structure from the stack! -
Andrew Tridgell
d859de2870 fixed return error code that had 0xC with not enough zeros -
Andrew Tridgell
8695cb0023 fixed a couple of bugs in the driver return code -
Luke Leighton
f0229102fe #ifdef not #if -
Luke Leighton
726c359d1d 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).
-
Luke Leighton
f9077e50cb debug output to /tmp. -
Luke Leighton
d8d15b2755 more SMBtrans, SMBnttrans stuff. -
Luke Leighton
c919f80343 SMBulogoffX -
Luke Leighton
55a3e4b592 optional (0of or 1of) with "[+]" semantics. -
Luke Leighton
7e3fe77ab2 SMBntcreateX -
Luke Leighton
7db13bd538 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.
-
Andrew Tridgell
9422719ab4 getting and setting security descriptors on printers now works
this needed some fixes in tdb_unpack(). Tim, you'll need to update
-
Luke Leighton
9805e17cd0 prs_give_memory in wrong place, also poss. was losing mem. -
Luke Leighton
cff62bb10a SMBtrans response. -
Luke Leighton
42c7f3797f SMBtrans and SMBtrans2, some of it. -
Andrew Tridgell
7e13ba7544 fixed return from nt_printing_init() -
Luke Leighton
9f9a9a69b6 SMBlockingX -
Luke Leighton
3f976e7139 hack to get setprinter working, level2, null sec desc. -
Andrew Tridgell
11010f946a fixed call of firstkey/nextkey to traverse driver database -
Luke Leighton
bf33b10a43 uninitialised variable "list" -
Luke Leighton
038dab9053 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.
-
Luke Leighton
56c2dbbf81 dummy trash in secdesc. -
Luke Leighton
1e3c0ab29d bug-fix from tim (insure). dummy fn call for andrew to fill in. -
Luke Leighton
f46c4fe876 unistr_to_dos not unistr_to_ascii -
Luke Leighton
06cd46b0ec fixed nttrans.c -
Luke Leighton
f9f2a04fdb security descs in spoolss. needs parse_sec.c nttrans.c broken. -
Luke Leighton
96fd33b898 cifs parser. -
Andrew Tridgell
ee4f6335ad fixed bugs in fdpass tests -
Andrew Tridgell
d9322d01e0 move srandom to after connect so random stuff in clientgen doesn't
change seed
-
Shirish Kalele
590d9ece84 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.
-