Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 0308f24ad209a28799b36d041be2dc2be2b2dac8)
|
|
(This used to be commit d0365f20c242bcfc4f5d8286c6c5654e310a9d45)
|
|
Jeremy.
(This used to be commit 77737b498d0c1c3efb23891465623f44c03d1801)
|
|
to be unsigned int (DWORD) not unsigned int (WORD).
(This used to be commit e1e9c29c4095405d7031cfd618e06dd841075aad)
|
|
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)
|