Age | Commit message (Collapse) | Author | Files | Lines |
|
metze
(This used to be commit 58189b87eade62b717c2c17c679e482786bf2098)
|
|
metze
(This used to be commit 7f545dbbf0186fe552e4c49a3f618862cb4771e7)
|
|
metze
(This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
|
|
The approach I have used is as set out in
https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array
(This used to be commit 92d5fb531db39be655f0cbd2d75b5f675a0a4cfa)
|
|
This also fixes the alignment from 8 to 4 byte bounderies.
metze
(This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
|
|
With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...
metze
(This used to be commit 874924a85a862e38b7d1a6199276e998cf3697d8)
|
|
(This used to be commit 88013ca9775a6ff5e5a393f9d8238dbcd197f26f)
|
|
directly instead.
(This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
|
|
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
|
|
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)
|
|
(This used to be commit a13f64bf54afc22516d1f6a786dfec67389cb754)
|
|
make the build process for openchange users easier.
(This used to be commit 7fccd85cc673c139bc1d57915e0fccd22316998c)
|
|
(This used to be commit 3e3563f2840e7cd795f5fc157003af3c932cb4d1)
|
|
Also fixed extra include in regpatch.
(This used to be commit 0e371cf169e9a607fcbb3e65437ab9413935dd52)
|
|
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
|
|
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
|
|
(This used to be commit c46b7e90e347da76156ddcae4866adb88e9fec21)
|
|
metze
(This used to be commit 91dd223bd432f0461c5c85259b4e48a1b7f83af1)
|
|
If I remember it right and when I look at the git log, then this way to do the
async functions was designed by me.
(This used to be commit 8d44f997c88b97fc40a88eebd50b6df720c0c10f)
|
|
Rather than killing off the nasty 'kludge ACLs' stuff, this patch
extends it, to ensure that LSA secrets and the registry are also
protected.
Andrew Bartlett
(This used to be commit 2f2b110fb870132099bad1d4c16ed8962affb3ce)
|
|
metze
(This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
|
|
metze
(This used to be commit d6fd98a307f83fd492ef73bf6ec281f9f11286f2)
|
|
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit bfe773a620640fa46efe008f38144f5452350825)
|
|
But the keep the default to always send it
when the server supports it too.
metze
(This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)
|
|
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
|
|
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
(This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
|
|
(This used to be commit 3cf3922c806d0e33439073d204b44bf0af3102d5)
|
|
(This used to be commit 4472d7e1e47d4fe6b1c60e28d168cce99b237979)
|
|
(This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
|
|
(This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)
|
|
(This used to be commit f4b31ad76771d674ec85cd155b023eed377e6eb4)
|
|
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
|
|
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
|
|
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
|
|
(This used to be commit 4d6fd9381f7fe4c823b47ebc43d7b272a92edffd)
|
|
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
|
|
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
|
|
(This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
|
|
(This used to be commit bfad9610c472e8d7e3656e19c8dbb6b85727dc13)
|
|
(This used to be commit 0d223ddc39b7438dbce6716f1f00c29579a1f4c4)
|
|
(This used to be commit a7512fb059d5dcb6bf70418622206eec94153693)
|
|
(This used to be commit 66d0502228b31533b5d93731128a681992c22eda)
|
|
this.
(This used to be commit 3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1)
|
|
SMB2. Thanks to Metze for spotting this.
(This used to be commit fbcf3e65b9284e5d1862c98706d7f148a36afe47)
|
|
(This used to be commit 3c1a7c0dcc56ed5595e31a8df023a04ae95bfca5)
|
|
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
new docs
(This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
|
|
We now define a separate info level RAW_SFILEINFO_RENAME_INFORMATION_SMB2
and set that level when handling SMB2 packets. This makes the parsers clearer.
(This used to be commit f6cdf3f1177f63d80be757f007eb15380839b4f5)
|
|
We needed a flag in bufinfo to mark packets as SMB2, as it seems that
SMB2 uses a different format for the RenameInformation buffer than SMB
does
Also handle the fact that SMB2 clients give the full path to the
target file in the rename, not a relative path
(This used to be commit 52d7972d95ddc19d22a4187b4d4428a6c3ed32d5)
|
|
This converts our SMB and SMB2 code to use a common structure "struct
request_bufinfo" for information on the buffer bounds of a packet,
alignment information and string handling. This allows us to use a
common backend for SMB and SMB2 code, while still using all the same
string and blob handling functions.
Up to now we had been passing a NULL req handle into these common
routines from the SMB2 side of the server, which meant that we failed
any operation which did a bounds checked string extraction (such as a
RenameInformation setinfo call, which is what Vista uses for renaming
files)
There is still some more work to be done on this - for example we can
now remove many of the SMB2 specific buffer handling functions that we
had, and use the SMB ones.
(This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
|
|
Adding some defined for various new create options
(This used to be commit d037dc23ced3df6bce98cbf4810fb5f1247336bd)
|