Jean-Pierre André
9fc3730a9b
Fixed displaying "UserMapping" as a file name
...
Fix the capitalization of the user mapping file name to be filled with
the output of secaudit with option -u.
2015-04-17 10:21:02 +02:00
Jean-Pierre André
274b89cec9
Avoided truncation in a debug message in secaudit
...
When compiled for Windows 64-bit, pointers have to be displayed as
"long long" instead of "long" which is 32-bit
2015-04-17 09:03:08 +02:00
Jean-Pierre André
19d71c6c9e
Fixed apparent const violation in secaudit.c for Windows (cosmetic)
...
The prototype for SetFileSecurityW() does not exhibit a const attribute
for the second attribute, thus triggering a compiler warning.
This warning can be silenced by copying the argument.
2014-06-23 10:53:23 +02:00
Jean-Pierre André
276c6ec661
Showed Windows ownership in secaudit with verbose option
...
The Windows ownership can now be displayed without using the "very
verbose" option, and when used on Windows the login name is displayed.
2014-06-23 10:41:39 +02:00
Jean-Pierre André
7154606369
Decoded more "well-known" and generic SIDs in secaudit
...
More SIDs found in common situations are displayed with their meaning.
2014-05-22 09:25:11 +02:00
Jean-Pierre André
c9b0c415fd
Decoded the GENERIC_ALL flag in secaudit
...
The GENERIC_ALL flags was not decoded and could lead to displaying no
access to some directories.
2014-05-22 09:01:37 +02:00
Jean-Pierre André
5e18e97d0b
Silenced warnings by gcc >= 4.8 about aliasing
...
Added intermediate variables to avoid warnings by gcc >= 4.8
2013-09-09 15:34:14 +02:00
Jean-Pierre André
6caa1b0bda
Added directions for getting a user mapping proposal through secaudit
...
The definition of the user mapping needed to interoperate permissions
with Windows is too complex for most users. Even the "usermap" utility
is too complex. This patch adds explanations for using the "-u" option
of secaudit to get a user mapping proposal
2013-02-09 11:06:39 +01:00
Erik Larsson
7506d8b80b
Rename legacy MS_* flags for ntfs_mount with NTFS_MNT_* flags.
...
The MS_* flags originated from system constants. However the flags
passed to ntfs_mount were really unrelated to the system constants and
many new MS_* flags had to be introduced as different features were
added to the library. Those flags had no counterparts in any system
APIs, so using the same naming scheme is inappropriate.
Instead, let's namespace these flags similarly to what has already been
done in ntfsprogs/libntfs earlier. This avoids any possible conflicts
with system constants.
The values of the flags themselves are kept the same as earlier, so
backward compatibility is retained.
2012-11-07 16:29:48 +01:00
Jean-Pierre André
2223b8796c
Added an option to secaudit for getting a user mapping proposal
...
Get a user mapping proposal by designating a file created on Windows
by the user to be mapped to the current one on Linux.
This is expected to be easier to use than "usermap".
2012-09-12 09:31:35 +02:00
Jean-Pierre André
f61aaf012c
Made secaudit to be runnable on OpenIndiana
...
A few differences in dynamic linking.
2012-08-20 14:22:10 +02:00
Jean-Pierre André
3103a6c383
Extended Windows-type ACL inheritance, as needed by Windows 8
...
Windows 8 uses "Authenticated user" principals which needs to be replaced
by the actual owner when inheriting
2012-08-20 12:36:45 +02:00
Jean-Pierre André
4b651b9340
Processed ACLs with no mentioned rights for owner (used by Windows8)
...
Windows 8 uses ACL patterns in which the owner has only implicit rights
(pattern not used by previous Windows versions)
2012-08-20 12:28:15 +02:00
Jean-Pierre André
7a93d1790a
Added processing of SACLs to secaudit on Windows (nickgarvey)
...
This patch adds the processing of SACLs to secaudit on Windows, but
requested the required privileges.
2012-06-18 12:57:40 +02:00
Jean-Pierre André
debeb762c1
secaudit : minor : fixed a false memory leak detection
2011-11-10 21:34:39 +01:00
Jean-Pierre André
2fb7a43638
secaudit : prefixed owner and group SID in ACL display
2011-11-10 21:33:06 +01:00
Jean-Pierre André
5cd49257b0
Removed unneeded variables as warned by gcc 4.6
2011-07-05 12:17:29 +02:00
Jean-Pierre André
b492b313f9
Fixed a false detection of bad memory release in secaudit
2011-04-08 18:15:43 +02:00
Jean-Pierre André
f219d2e07e
Fixed inconsistent interface to ntfs_initialize_file_security()
...
The "flags" argument of ntfs_initialize_file_security() is intended to
feed the one to ntfs_mount(). Having the same type for both may avoid
future problems.
2011-03-23 09:20:10 +01:00
Jean-Pierre André
351aec3f7a
Enabled renaming of system extended attributes
2010-10-26 08:59:52 +02:00
Jean-Pierre André
2e86428fc0
redefined a default user mapping (a few changes in mount options)
2010-05-25 10:05:10 +02:00
Jean-Pierre André
3e48b337d8
fixed conditional code for self-test in secaudit
2010-04-19 11:08:54 +02:00
jpandre
eaf0ecaa8d
Fixed compilation of secaudit on OpenSolaris
2010-01-16 18:27:17 +00:00
jpandre
b8a83add46
Ported secaudit to opensolaris
2009-12-19 13:26:56 +00:00
jpandre
9cad01c628
Fixed the return code for the restore function of secaudit
2009-12-16 11:44:44 +00:00
jpandre
b32bbcf48a
Worked around "const" possibly redefined in config.h
2009-12-10 08:46:30 +00:00
jpandre
a9fdd65cd4
Replace <attr/xattr.h> by <sys/xattr.h> from glibc
2009-12-10 08:45:02 +00:00
jpandre
ad25d7a0ac
Applied patches for Mac OS X (Erik Larsson)
2009-11-18 16:37:15 +00:00
jpandre
ad69474a5a
Allowed security descriptors up to 64K in secaudit
2009-11-03 14:27:57 +00:00
jpandre
12bfcc5f93
Removed obsolete debugging code
2009-11-03 14:25:00 +00:00
szaka
c49ae0afb0
add secaudit and usermap utilities
2009-10-04 01:50:28 +00:00