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

642 Commits

Author SHA1 Message Date
Andrew Tridgell
90f044e63b r19199: split out the xattr NTACL code into a separate part of the posix
backend, allowing other ACL backends to be added. The xattr backend is
still the default backend
2007-10-10 14:20:52 -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
024ca6a91c r18581: also check for SEC_STD_DELETE, and split out the check into a separate
static function
2007-10-10 14:18:51 -05:00
Andrew Tridgell
ceffc34f3e r18580: map the PVFS_FLAG_READONLY bit in the posix backend onto
NT_STATUS_ACCESS_DENIED in the access mask checks
2007-10-10 14:18:51 -05:00
Steve French
64062d16a2 r18570: Fix up function names in cifs unix/posix extensions backend. Enable tiny quick test for torture for them 2007-10-10 14:18:48 -05:00
Andrew Tridgell
6784058923 r18568: this warning is not needed now that it is the job of the unixuid ntvfs
module to handle euid
2007-10-10 14:18:48 -05:00
Steve French
57f5695717 r18564: update for cifs unix/posix extensions stub version to build and beginnings of smbtorture test for it 2007-10-10 14:18:47 -05:00
Andrew Tridgell
31bbf865a0 r18370: allow system inotify to be disabled 2007-10-10 14:18:20 -05:00
Andrew Tridgell
e191f84f24 r18342: a bit more explanation of these strange values 2007-10-10 14:18:13 -05:00
Andrew Tridgell
9d688eb9cb r18341: ooh this gets subtle - this needed for xfs on linux 2007-10-10 14:18:12 -05:00
Andrew Tridgell
8cce9740ed r18319: fixed the directory search resume code on IRIX
The problem was twofold:

  1) irix returns 64 bit numbers in telldir(). The protocol uses a 32
     bit resume key. We now cope with this properly using the code in
     pvfs_list_seek_ofs().

  2) irix returns 0xFFFFFFFF from telldir() for the last entry in the
     directory. When added to DIR_OFFSET_BASE this became
     DIR_OFFSET_DOTDOT which meant an infinite loop!
2007-10-10 14:18:08 -05:00
Simo Sorce
53463ca796 r18314: Handle the case where a dir has the sticky bit set and the OS gives back
EPERM when trying to access user xattrs. Just pretend no attributes are set.

Simo.
2007-10-10 14:18:06 -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
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Andrew Tridgell
2d813d1e6d r18137: more LIBREPLACE deps 2007-10-10 14:17:38 -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
58e7fa0375 r17776: these macros are also defined in libcli/raw/trans2.h
metze
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
eda302ffa5 r17753: fix compiler warnings and make the code simpler
metze
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
a4e19d6cc4 r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze
2007-10-10 14:16:37 -05:00
Andrew Tridgell
1775381afa r17656: some systems (like older solaris) don't return ENOTEMPTY on rmdir()
with non-empty directory
2007-10-10 14:16:20 -05:00
Andrew Bartlett
73d6651f3c r17520: If the blkid library fails, I don't see any reason to return more of
an error than if we don't have it.  We might not be on a volume that
can store/return such a GUID.

(Try to fix one of the build farm failures).

Andrew Bartlett
2007-10-10 14:15:32 -05:00
Stefan Metzmacher
c83501335f r17362: session_info and smbpid are available from the ntvfs_handle
so we don't need them on the pvfs_file struct.

also we don't need to check is the handle has the correct session
as this is job of the frontend server

metze
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
7cf6eae23b r17359: http://www.cs.wisc.edu/~cao/cs739/draft-leach-cifs-v1-spec-01.txt
says that with the 0xffff fid all files only for the given pid
should be flushed

Does samba3 handle this correct?

metze
2007-10-10 14:15:18 -05:00
Simo Sorce
a89cc346b9 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
2007-10-10 14:10:18 -05:00
Stefan Metzmacher
7daf432d58 r17088: add ntvfs mapping function for notify
metze
2007-10-10 14:10:12 -05:00
Stefan Metzmacher
41acbc6645 r17087: - make pvfs_notify_next_send static
- fix double free:
  a talloc_reference(a,b) when a is a child of b
  doesn't prevent talloc_free(b) from destroiying a and b.

metze
2007-10-10 14:10:12 -05:00
Stefan Metzmacher
bcf09a769e r17008: on SMB2 Create the delete_on_close flag isn't ignored for
existing opened files as it is for SMB.

metze
2007-10-10 14:10:07 -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
04f0d3d031 r16950: remove the smb mid from the ntvfs layer and keep a list of pending
requests on the smbsrv_connection, to be able to match then on
ntcancel

metze
2007-10-10 14:10:02 -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
5338699d0c r16890: implement DCERPC over SMB2 in the IPC backend
metze
2007-10-10 14:09:57 -05:00
Stefan Metzmacher
90b0ae53e4 r16889: implement SMB2 Ioctl in the frontend
metze
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
4f1afda488 r16876: implement SMB2 Find in the posix ntvfs backend
metze
2007-10-10 14:09:56 -05:00
Stefan Metzmacher
1bb60b5be4 r16868: init some uninitialized values
(found by valgrind)

metze
2007-10-10 14:09:54 -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
9c3992a279 r16730: that is correct...
metze
2007-10-10 14:09:41 -05:00
Stefan Metzmacher
9b036d788c r16724: fix typo...
metze
2007-10-10 14:09:40 -05:00
Stefan Metzmacher
e1945feda0 r16706: for RAW_SFILEINFO_SETATTR attrib == 0 means set it to FILE_ATTRIB_NORMAL
and attrib == FILE_ATTRIB_NORMAL means no change...

but for RAW_SFILEINFO_BASIC_INFORMATION attrib == 0 means no change

metze
2007-10-10 14:09:39 -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
1bce493cbc r16468: implement SMB2_ALL_INFORMATION in the posix backend
metze
2007-10-10 14:09:30 -05:00
Andrew Bartlett
b1e0d4747b r16051: Move the XATTR compatability code into a new file, so I can use it for
the getntacl utility.

Andrew Bartlett
2007-10-10 14:08:53 -05:00
Stefan Metzmacher
505d55de69 r16024: OpenBSD doesn't have ENOTSUP so use ENOSYS
metze
2007-10-10 14:08:51 -05:00
Stefan Metzmacher
88b7d42064 r16013: hopefully fix the configure check for darwin
metze
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
d53562f126 r16009: fix the build
metze
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
2ce4a2da29 r16008: make debugging easier, and use the os name in the function name
(I'll add a bsd wrapping later)

metze
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
d4af8da7c9 r16006: only (f)getxattr returns ssize_t
metze
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
8f8480e453 r16005: add support for XATTR's on MacOS
Thanks to Bjoern Jacke for his help.

metze
2007-10-10 14:08:49 -05:00
Stefan Metzmacher
62c64f1ddc r16004: - move #ifdef outof the real functions
- hopefully all build-farm hosts have ENOTSUP...

metze
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
f38b042ded r15970: add a more verbose comment to tridge's fix for bigendian hosts.
tridge: I'm fine with this fix

metze
2007-10-10 14:08:45 -05:00
Andrew Tridgell
50246e6282 r15880: the ntvfs_handle changes broke rpc on big-endian boxes, as the
uint16_t fnum was being byte order converted twice in the ipc server.

Metze, can you have a look at this? This change does make rpc work
again, but perhaps you might like to approach it differently
2007-10-10 14:08:37 -05:00