Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit e408bf329163e45e60ebd1aef648f79aaeef1c13)
|
|
(This used to be commit 71b09408efc7f4e01b028f65b3b945296a369d9c)
|
|
(This used to be commit 2636b2231cfa6cdfc22181225e2b409bbbb75f7c)
|
|
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
|
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
|
|
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
|
|
been pushed into a macro, things do not work so well. Move the increment out
of the array index.
(This used to be commit 39136827d135c91e42ec2b36f420262b1b18093c)
|
|
(This used to be commit 6b218da6453032339f2451a434d14894050dd1b5)
|
|
big endian and little endian systems.
(This used to be commit f50051120f93b5f95f72dcb3df201979e6302f5b)
|
|
(This used to be commit 8f45315b913a9574dfeedaadf5560d143b38ca05)
|
|
(This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)
|
|
You must make two passes over NTUSER.DAT, one for the OWNER SID and one for
GROUP SID.
I have not tested this yet ... that is, I have not tried to use this on
a Win2K etc server.
(This used to be commit 7eb89ba467a66190775943834683a42b693d2e3b)
|
|
SecDescs in the NTUSER.DAT ...
(This used to be commit dbc608ba7e591175cd02f4adfdcfecd1350526a5)
|
|
(This used to be commit 59735a5aac88b076320874f06056d50947396fb3)
|
|
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)
|
|
This is an early, messy version of the code, but it illustrates what can
be done. It currently only prints the Owner SID, Group SID, and Perms and
SID from each ACE.
Once more work is done, it could actually walk the SEC DESCs and ACEs and
change the SIDS ...
(This used to be commit 322151509c255aa288627ae239661154ab0c83d5)
|