1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00
Commit Graph

345 Commits

Author SHA1 Message Date
Jelmer Vernooij
c7eae1c784 r26264: pass name resolve order explicitly, use torture context for settings in dssync tests. 2007-12-21 05:47:39 +01:00
Jelmer Vernooij
5b29ef7c03 r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly. 2007-12-21 05:47:15 +01:00
Stefan Metzmacher
9b151e6cea r25924: fix bug in UNIX_INFO2 push code found make make valgrindtest
metze
2007-12-21 05:45:04 +01:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
37425495f3 r25301: Merge my includes.h cleanups. 2007-10-10 15:07:09 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
0bcb21ed74 r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier. 2007-10-10 15:05:28 -05:00
Jelmer Vernooij
925abf74fa r24994: Fix some C++ warnings. 2007-10-10 15:05:26 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Bartlett
3a8192c742 r23754: Make sure to check the status return before we de-reference the
returned elements.

Andrew Bartlett
2007-10-10 14:59:10 -05:00
Andrew Tridgell
a9c23729f2 r23519: added libcli code for fetching shadow copy information 2007-10-10 14:53:23 -05:00
Andrew Tridgell
590c6c21db r23138: added a raw interface for SMBecho operations 2007-10-10 14:52:55 -05:00
Andrew Tridgell
75d537d3a5 r23057: only call the async recv function for the first pending receive, not
all pending receives, when the transport dies. This is because the
async callback most commonly shuts down the connection (it's the only
reasonable thing to do when it's dead), and that frees the whole
context. That means that if we loop more than once, we'll end up using
freed memory.
2007-10-10 14:52:45 -05:00
Stefan Metzmacher
258555975d r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading
  and name in SMB2-LOCK-RW-EXCLUSIV
- add SMB2-LOCK-NONE and SMB2-LOCK-SHARED

metze
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
e1cc933c00 r22790: fix initialization for chained requests
metze
2007-10-10 14:52:17 -05:00
James Peach
eef672bfff r21949: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
2007-10-10 14:49:39 -05:00
James Peach
7f56da2d1f r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
QueryPath and FindFirst calls. Add a new torture test to verify the
server side.
2007-10-10 14:49:16 -05:00
James Peach
73cea4e0c6 r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. Add
convenience API to create an anonymous credential. Don't clobber
cmdline_credentials in the UNIX-WHOAMI test.
2007-10-10 14:49:07 -05:00
Andrew Tridgell
fa3c9b29ae r21206: - a couple more nttrans places were a memcpy() should be used
- changed the setup array in nttrans to be a uint8 array, instead of a
  uint16 array. This makes it clearer that it is the job of the caller
  to do any byte swapping within that data
2007-10-10 14:44:45 -05:00
Volker Lendecke
f2d364ebe6 r21183: Commit the big/little endian fix for nttrans setup[] handling.
Please check!

For code symmetry reasons, trans2 might also see this fix, but this is left to
the interested reader :-)

Volker
2007-10-10 14:44:43 -05:00
Jelmer Vernooij
0f34c67fff r20963: remove unused functions, run LOCAL-TDR by default 2007-10-10 14:44:04 -05:00
Andrew Tridgell
b3e2d49087 r20650: revert a bunch of code I didn't mean to commit yet 2007-10-10 14:37:26 -05:00
Andrew Tridgell
5870830b99 r20647: add cluster code 2007-10-10 14:37:24 -05:00
Andrew Tridgell
e5dbbe177c r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers
2007-10-10 14:29:01 -05:00
Andrew Tridgell
1e34e4d5a1 r18835: expand IO limits on SMB2. Samba4 now tops out at 16.7MB IOs. 2007-10-10 14:19:16 -05:00
Andrew Tridgell
eba6c84eff r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
fe209e360e r18211: wct is not a size, so don't use size_t
this should fix a pile of printf format warnings
2007-10-10 14:17:50 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
49b96ac44a r17020: pass the real error to the failing requests
metze
2007-10-10 14:10:08 -05:00
Stefan Metzmacher
de50e0ccdd r16980: - make struct smb_notify a union and add levels RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2
- parse SMB2 Notify reponse

metze
2007-10-10 14:10:06 -05:00
Stefan Metzmacher
d41a83d559 r16918: the SMB2 Ioctls are sometimes called with a wildcard handle
the operation doesn't need a valid file handle in that case

metze
2007-10-10 14:10:00 -05:00
Stefan Metzmacher
58bed7322c r16875: implement SMB2 Find in the frontend
metze
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
283bec8295 r16871: zero padding bytes
(found by valgrind)

metze
2007-10-10 14:09:55 -05:00
Stefan Metzmacher
78c201db8a r16834: split the level's of smb_search_first/smb_search_next and the levels
of smb_search_data

metze
2007-10-10 14:09:49 -05:00
Stefan Metzmacher
b3bdd4afde r16708: the packet format of SMB2 SessionSetup has changed,
there're 8 more unknown bytes...

Note:
 - vista-CTP also support this as a server,
   but uses the old format as client
 - but vista-beta2 only uses and accept the new format

metze
2007-10-10 14:09:40 -05:00
Stefan Metzmacher
f97a21b970 r16699: the layout of SMB2 Read and Write is identical...
so we know that the 9th bytes is just uninitialized padding

metze
2007-10-10 14:09:39 -05:00
Stefan Metzmacher
79e51f033e r16667: - use ndr_pull_struct_blob() to make the RAW_FILEINFO_SEC_DESC pull code
simpler
- use ndr_push_struct_blob() for RAW_SFILEINFO_SEC_DESC

metze
2007-10-10 14:09:37 -05:00
Volker Lendecke
b76a3d4f59 r16091: Without this patch Samba3 will not accept this, and simply setting the "92" to
"100" will give funny permissions...

Volker
2007-10-10 14:08:59 -05:00
Andrew Tridgell
61c6100617 r15854: more talloc_set_destructor() typesafe fixes 2007-10-10 14:08:32 -05:00
Andrew Tridgell
7ea51fb624 r15835: fixed locking in the client library 2007-10-10 14:08:31 -05:00
Stefan Metzmacher
8f1850ef65 r15814: add SMB2 Lock interface structure
metze
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
8aebd7adc9 r15756: handle RAW_OPEN_SMB2
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
9180635317 r15741: move smb2 request structures into the main smb request structs
as new levels

metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
b9ba2b8c5a r15740: add TODO, that we should check if the server supports
large offsets, before sending large offset requests

metze
2007-10-10 14:08:11 -05:00
Stefan Metzmacher
1f50b2e053 r15737: fix a typos and comment
metze
2007-10-10 14:08:10 -05:00
Stefan Metzmacher
95bf41b4d4 r15718: - split the SMBflush with the 0xFFFF wildcard fnum into a different level
metze
2007-10-10 14:08:09 -05:00
Stefan Metzmacher
0d983fa46f r15688: windows sends 4 as max_setup count on NT IOCTL
metze
2007-10-10 14:08:06 -05:00