1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-24 04:23:53 +03:00
Commit Graph

20 Commits

Author SHA1 Message Date
Jeremy Allison
3d09c15d8f r4917: Merge some of Derrell.Lipman@UnwiredUniverse.com obvious fixes.
Added text explaining units in pdbedit time fields.
Jeremy.
2007-10-10 10:55:07 -05:00
Tim Potter
588de0d4a8 r2834: Netapps can return NT_STATUS_ACCESS_DENIED when trying to return the
security descriptor for a file.  Return an error in this case instead
of panicing trying to unpack a zero length buffer.  Found by Brett
Funderburg.
2007-10-10 10:52:54 -05:00
Volker Lendecke
e5dbf2441c According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker
-
Herb Lewis
a6a39c61e8 get rid of some sompiler warnings on IRIX -
Jeremy Allison
45953d59f7 Fix from Tom.Lackemann@falconstor.com to correctly set the flags based
on the security entries sent.
Jeremy.
-
Jeremy Allison
a823fee5b4 Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.
-
Jeremy Allison
09a218a9f6 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
-
Tim Potter
6a58c9bd06 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Simo Sorce
48fc6a6cd5 move to SAFE_FREE() -
Tim Potter
974790e45e Renamed formal parameter fd to fnum because we're talking about SMB file
handles, not unix ones.
-
Jeremy Allison
0ae0d024f5 Fixup smbcacls. Don't return memory already freed, don't free memory allocated
with talloc.
Jeremy.
-
Andrew Tridgell
c986a3c51e - fixed some compiler warnings
- fixed slprintf and vsprintf macros
-
Andrew Tridgell
bfcc6f8827 merging from 2.2 to head -
Jeremy Allison
0cd37c831d Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
-
Andrew Tridgell
4a620f7037 make sure we don't free non-allocated data -
Jeremy Allison
0a40bc83e1 Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged
in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open
problem.
Jeremy.
-
Andrew Tridgell
52b27d75e1 removed SACL support (as it doesn't work with w2k if you ask for
SACLs)
-
Andrew Tridgell
f9f14a4293 changed an error message -
Andrew Tridgell
6cea1647fc getting/setting acls now works. The SIDs are still numeric, the next
step is to support usernames etc
-
Andrew Tridgell
e21994ff9d - added client support for nttrans calls
- added a cli_ function for querying a security descriptor on a remote file
-