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

1161 Commits

Author SHA1 Message Date
Gerald Carter
26a2fa97e4 r16100: Patch from Michael Wood <mwood@icts.uct.ac.za>: s/then/than/ for correct grammar 2007-10-10 14:08:59 -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 Bartlett
36aa839080 r16073: On an incoming wildcard search, it is critical that the size be
correct, or we try and do a memcmp on the trailing '\0'.

This happens because we now use memcmp for the prefix matching.

I just wish I had a test other than a particular invocation of the OSX
client.  (I've tried and failed so far)

Andrew Bartlett
2007-10-10 14:08:57 -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
Andrew Tridgell
8a7047c102 r15834: fixed a memory leak in the session code 2007-10-10 14:08:30 -05:00
Stefan Metzmacher
1a9bfa2ac9 r15820: this line was just for testing
metze
2007-10-10 14:08:28 -05:00
Stefan Metzmacher
4a307d7185 r15815: add SMB2 Lock client code
metze
2007-10-10 14:08:27 -05:00
Stefan Metzmacher
8f1850ef65 r15814: add SMB2 Lock interface structure
metze
2007-10-10 14:08:27 -05:00
Andrew Tridgell
1a57b16715 r15794: fixed a problem with DOS status codes - found by kukks (thanks!) 2007-10-10 14:08:21 -05:00
Stefan Metzmacher
4e8c9bbd76 r15775: add some privilege related WERROR codes
metze
2007-10-10 14:08:17 -05:00
Stefan Metzmacher
c7e8e79d75 r15770: when there's a dynamic body, we need to send the first byte even if the
dynamic size if 0

metze
2007-10-10 14:08:16 -05:00
Stefan Metzmacher
8aebd7adc9 r15756: handle RAW_OPEN_SMB2
metze
2007-10-10 14:08:14 -05:00
Stefan Metzmacher
92c19b1ba4 r15744: convert_string_talloc() handles src_len == 0 as error
but it's valid in this case

metze
2007-10-10 14:08:12 -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
Stefan Metzmacher
2c9db94291 r15661: add NT_STATUS_OBJECTID_NOT_FOUND
metze
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
3cab02f6f5 r15656: for NT IOCTL's we need to control the max_data field for some calls
metze
2007-10-10 14:08:04 -05:00
Stefan Metzmacher
47dc1ed253 r15643: add some FSCTL_ codes
metze
2007-10-10 14:07:26 -05:00
Stefan Metzmacher
358d03143f r15640: - NT IOCTL calls also have an 'in' data_blob
- fix the receive code of NT IOCTL's we only need the NTTRANS data payload
  not the SMB payload here

metze
2007-10-10 14:07:25 -05:00
Stefan Metzmacher
d0a7408280 r15638: add a usefull macro to get a pointer the smb_handle union
of smb_open, as it's not nicely alligned for all levels,

If someone has an idea for a better solution where we can access
it via op->generic.out.file.* please let me know:-)

metze
2007-10-10 14:07:25 -05:00
Jelmer Vernooij
aa6d66fda6 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
2007-10-10 14:05:58 -05:00
Stefan Metzmacher
7829100e1e r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
2007-10-10 14:05:54 -05:00
Stefan Metzmacher
8322fc70ad r15505: - add 'generic' alias to smb_seek and smb_flush
- add struct ntvfs_handle pointer to smb_file, this will
  later be used by the ntvfs backends

metze
2007-10-10 14:05:43 -05:00
Jelmer Vernooij
849818dcde r15457: Get rid of more usages of uint_t 2007-10-10 14:05:37 -05:00
Andrew Bartlett
8abe7ba619 r15416: Point out that this doesn't work, but for servers this old, I just
don't care...

Andrew Bartlett
2007-10-10 14:05:35 -05:00
Andrew Bartlett
3a4ddc8f59 r15415: Use Jelmer's new credentials 'wrong password' code to give the user 3
attempts for the password, when talking to a remote CIFS server.

Andrew Bartlett
2007-10-10 14:05:34 -05:00
Andrew Bartlett
09b2f30dfa r15400: Move the TLS code behind the socket interface.
This reduces caller complexity, because the TLS code is now called
just like any other socket.  (A new socket context is returned by the
tls_init_server and tls_init_client routines).

When TLS is not available, the original socket is returned.

Andrew Bartlett
2007-10-10 14:05:32 -05:00
Tim Potter
74bd8170fc r15397: Fix typo. 2007-10-10 14:05:32 -05:00
Tim Potter
e906781cbd r15395: Fix build by adding another copy of the Python detection m4 fragment.
This stuff should be common somewhere.
2007-10-10 14:05:32 -05:00
Tim Potter
11150b3140 r15391: Wrap up the nbt_name_query() function as a bit of an experiment. It
seemed to work quite well and this technique might be good for
generating an interface to use for automated testing.

Tested by doing a nbt lookup against smbd.
2007-10-10 14:05:32 -05:00
Jelmer Vernooij
9e9bfd04c6 r15387: Fix installation of dcerpc headers, remove more instances of uint_t 2007-10-10 14:05:31 -05:00
Jelmer Vernooij
f919fd6655 r15384: Improve naming of socket library, disable Requires(.private)? fields in pkg-config files for now as
they break external projects.
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
0fafa2e595 r15379: Fix shared library build's unresolved dependencies 2007-10-10 14:05:29 -05:00
Jelmer Vernooij
c95ad11307 r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with -lsocket on SUN
boxes.
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
0d99397007 r15365: Fix error in my previous commit, caught by metze. 2007-10-10 14:05:27 -05:00
Jelmer Vernooij
12ba42de58 r15358: Fix some compiler warnings / type safety. Found by tcc 2007-10-10 14:05:25 -05:00
Andrew Bartlett
a312812b92 r15356: Remove unused 'flags' argument from socket_send() and friends.
This is in preperation for making TLS a socket library.

Andrew Bartlett
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
ccb86ab159 r15352: Remove reference to just-removed subsystem 2007-10-10 14:05:24 -05:00
Jelmer Vernooij
087188cfc4 r15350: Remove empty subsystem, don't install .a files of subsystems 2007-10-10 14:05:24 -05:00
Jelmer Vernooij
7113a16309 r15344: Fix shared library build 2007-10-10 14:05:21 -05:00
Jelmer Vernooij
8985093d3f r15338: Fix build of most things with shared libs enabled. 2007-10-10 14:05:18 -05:00
Jelmer Vernooij
4ec89bce87 r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB 2007-10-10 14:05:18 -05:00
Jelmer Vernooij
c19c2b51d3 r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
f0afe9e2ff r15313: Fix some dependencies in dso mode 2007-10-10 14:05:09 -05:00
Jelmer Vernooij
0654739166 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
6646384aaf r15298: Fix the build using a few hacks in the build system.
Recursive dependencies are now forbidden (the build system
will bail out if there are any).

I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
2007-10-10 14:05:04 -05:00