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

1143 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
5b3ab728ed r15297: Move create_security_token() to samdb as it requires SAMDB (and the rest of LIBSECURITY doesn't)
Make the ldb password_hash module only depend on some keys manipulation code, not full heimdal
Some other dependency fixes
2007-10-10 14:05:04 -05:00
Simo Sorce
d448389be8 r15288: fix some problems 2007-10-10 14:05:02 -05:00
Simo Sorce
6fff8f871a r15241: Add helper function to set reconnect status defaults 2007-10-10 14:04:23 -05:00
Simo Sorce
e2102999e2 r15238: Add some code to automatically reconnect if we want to. 2007-10-10 14:04:23 -05:00
Andrew Bartlett
e312cddafd r15225: Use talloc_zero() to avoid use of uninitialised values later on.
Andrew Bartlett
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
adc8a019b6 r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
7af59357b9 r15191: Avoid uint_t as it's not standard. 2007-10-10 14:04:15 -05:00
James Peach
7e4ad7e8e5 r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
2007-10-10 14:04:14 -05:00
Simo Sorce
3be3b1130c r15181: Don't try kerberos sign/seal when in SSL 2007-10-10 14:04:13 -05:00
Stefan Metzmacher
f30f9cd328 r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
"readx.read_for_execute = True" case.

metze
2007-10-10 14:04:10 -05:00
Stefan Metzmacher
be7285bdeb r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
desired but SeSecurityPrivilege isn't granted

metze
2007-10-10 14:04:07 -05:00
Andrew Tridgell
2031e07a8a r14974: work around an ibm checker bug 2007-10-10 14:00:49 -05:00
Andrew Tridgell
c2cde823ee r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker) 2007-10-10 14:00:48 -05:00
Andrew Tridgell
b8b9acc600 r14946: added a smbcli_ftruncate() call, useful for torture testing 2007-10-10 14:00:21 -05:00
Andrew Tridgell
517db1b1b0 r14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
torture testing. Used by RAW-NOTIFY.
2007-10-10 14:00:20 -05:00
Stefan Metzmacher
81390dcda5 r14894: - add some 'const'
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions

metze
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
a69f000324 r14891: fix a bug found by the ibm checker
the problem was that we shift with <<= (privilege-1)

and we called the function with privilege=0

add some checks to catch invalid privilege values
and hide the mask representation in privilege.c

metze
2007-10-10 14:00:12 -05:00
Andrew Tridgell
77f32a2735 r14876: added ENOSYS to unix error mapping 2007-10-10 14:00:11 -05:00