1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

2411 Commits

Author SHA1 Message Date
Andrew Tridgell
ba15d622d3 r3241: don't skip the read completely for a zero-length read, as it could give a lock conflict
(This used to be commit 7ce6139f984c72a6347c7a64d95d5278bcf3e868)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
e9820e1b6e r3240: - update the rules for what error codes should be given on the
different type of unlink an seach mismatches

- wildcard directory listings that have attribute
  FILE_ATTRIBUTE_DIRECTORY and match "." or ".." should be failed.

- don't set the write_time on SMBclose unless it is non-zero

- added much better support for setfileinfo and setpathinfo in pvfs

- better (and more efficient) handling of .. and . components in filenames
(This used to be commit 9305b07af395a158cb9f0c1c9486f7122c79d357)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
84bbf02e95 r3239: reads of more than UINT16_MAX bytes should return 0 bytes
(This used to be commit 16c7dd641707b6b8b3159290ca9fa08053a10692)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
0b6c611b11 r3238: rename null_mtime() to the more accurate name "null_time()", and
expose it for use by the posix backend
(This used to be commit 687633b5d68c8f883a4d9cdd92c660dabc5d7cfa)
2007-10-10 13:04:44 -05:00
Andrew Tridgell
fef66179dd r3237: - allow for readx calls larger than 64k
- combine setattre and standard levels in setfileinfo, as they use the
  same structure
(This used to be commit e9aa1f789955533aca4fe43d5d74ffa1e8d1300b)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
3511e5e806 r3236: test a few more combinations in RAW-UNLINK
(This used to be commit 5b239ad57be93fabd50760b12878e32df53e939d)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
1f7fbaf493 r3235: try readx beyond 64k in RAW-READ
(This used to be commit e07c557eca19c0dc17473090bde45c27953aaf65)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
ea43c2a3ed r3234: in SMBreadx, if the client asks for exactly 65535 bytes then don't try
to align the buffer, as that would make the read reply not fit
(This used to be commit 70be45de05993d386ceaf54325d1c3023008eaed)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
d5fd12648e r3227: added a per-share option "case insensitive filesystem", that tells the
backend that the underlying filesystem is case insensitive, so it can
bypass the directory search if the name is not found.
(This used to be commit d84ade90ce7e03ec749d6ae8dcdcb41de85d836e)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
bf3f9757e5 r3224: add the LOCAL-* tests to test_posix.sh
(This used to be commit b2bdde6d14e61f8ad9e7cbb28efb97ce1bc1ec67)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
1915f1ca43 r3223: continue the effort on LIBREPLACE to try to get the ldb tools to
compile on platforms like solaris without having to link to the whole
of the Samba4 lib directory.
(This used to be commit f6862bfc1cbc9278914b4b73365f63d3da0a08dd)
2007-10-10 13:04:43 -05:00
Volker Lendecke
101a407dd7 r3219: Hi, Andrew B.!
Not sure which Samba3 you mean, but *my* one bails out with
INVALID_PARAMETER...

Volker
(This used to be commit d91659b0370a6bd5eebd5730d304b5a2cf496594)
2007-10-10 13:04:42 -05:00
Volker Lendecke
5a75c3b060 r3218: Fix the build
(This used to be commit 478ba629158e8ce5e15467105b1013ba60f04ec1)
2007-10-10 13:04:42 -05:00
Tim Potter
8ade4d9785 r3217: Start of a spoolss_GetPrinter test.
(This used to be commit 994fe92febe38f06d69f43b01c80e8350e902986)
2007-10-10 13:04:42 -05:00
Tim Potter
974d048493 r3216: Add tests for OpenPrinterEx and ClosePrinter.
(This used to be commit b7ff5f0deded4bcf6695dac0683fd9d271d9c255)
2007-10-10 13:04:42 -05:00
Tim Potter
d8be728100 r3215: access_required -> access_mask for OpenPrinterEx
(This used to be commit 6a9e18528ca29c7f9bf093a6890e0c0e2a1c0f68)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
1444d2148d r3214: Load the config file (required for ncacn_np:)
(This used to be commit 636d209814d5b837af76acf88fa8ad5b449a0fdd)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
00f43d5eeb r3213: Make credentials in a binding dialog optional
Small fixes in gepdump
(This used to be commit a9473750f65d331c52acde58485aca66b16d1f75)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
90732ae549 r3212: Never put a hostname in a ncalrpc binding string
(This used to be commit 4808b2a2f749b2e4615620aa328d2d37e78e95ab)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
883fdf1a17 r3211: Add a graphical endpoint mapper view tool
(This used to be commit 71dfc27b8efb3057c4b7383feca0ba35ab5768a4)
2007-10-10 13:04:41 -05:00
Andrew Tridgell
98f9d5cdf6 r3210: split lib/replace.o into a separate build subsystem LIBREPLACE, and
make the ldb tools depend on it. This should help the build of the ldb
tools on platforms without strnlen() or strndup()
(This used to be commit e6ddb9d8f3a218b22b0176a2525b5daaca7170e4)
2007-10-10 13:04:41 -05:00
Jelmer Vernooij
17781196bf r3209: - Create directory for ncalrpc with correct mode
- Support binding strings like :

ncacn_np:[sign]
ncacn_np:myhost[seal,sign,endpoint]

again
(This used to be commit b53f4cd1697345065c7d979ba63237bf828dc07f)
2007-10-10 13:04:41 -05:00
Andrew Tridgell
dd476f06ac r3208: fixed permissions of ncalrpc directory creation
(This used to be commit adbfd206f4e077ed915a014e89a970470b43e125)
2007-10-10 13:04:41 -05:00
Andrew Tridgell
ee0c87b4c9 r3207: - reformat error msgs in BASE-DIR* tests
- added support for mandatory attributes in old style directory search

- we now pass BASE-DIR1 and BASE-DIR2
(This used to be commit efaa0eaec49e952aa515c3448246d9048a484c26)
2007-10-10 13:04:41 -05:00
Andrew Tridgell
e1c43f243a r3206: - added the reverse map for ERRbaduid to NT_STATUS_INVALID_HANDLE
- force disable spnego in the RAW-CONTEXT test (it breaks the test)
(This used to be commit 3f247ec21c59af92b420a3e550552b5a1f1f08e2)
2007-10-10 13:04:41 -05:00
Jelmer Vernooij
3b252b765d r3205: Create ncalrpc directory if it didn't exist yet
(This used to be commit 1161c33794cdb16a3d09a66258f46e0020c4aeef)
2007-10-10 13:04:41 -05:00
Tim Potter
266e36aa54 r3204: Got unpacking of an array of PrinterInfo union elements working. Phew.
(This used to be commit f490cd719cc02589e73e26fa983aff90708d1926)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
d200f9385f r3203: moved more test functions into torture/basic/*.c
the idea is that torture/torture.c should eventually be just the
harness code, which will make it easier to read
(This used to be commit eca85d26ed744563d1bbb8dd10a819d39fdc495b)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
611e9e601c r3202: return a old DOS error code ERRSRV:ERRbaduid for a bad vuid. This means we now pass the BASE-VUID test.
(This used to be commit 560300c0025940d84c9be41447145f4b441e7105)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
5d1c5d3853 r3201: we now pass the BASE-OPEN test
(This used to be commit 3a150ab57e18ac5180d48c7edff8a5bc288c39c5)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
7fa912e708 r3200: - improved the accuracy of openx emulation. We now nearly pass the openx portion of RAW-OPEN
- fixed directory size reporting to make it consistent. we now pass
  the ntcreatex portion of RAW-OPEN
(This used to be commit 6282e5811b8d4f1c17152d86875ac60d1323779d)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
925cb13fcd r3199: added a couple more test paths to RAW-CHKPATH
(This used to be commit 17f10a39c858a5a6e128f3f827d83687c5ba7d90)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
7780bec7b4 r3198: check for too many .. components in filenames
pvfs now passes RAW-MKDIR
(This used to be commit 41adb385f123b8d4cd3fe2eb03d891b6bdcf2361)
2007-10-10 13:04:40 -05:00
Andrew Tridgell
6b2fc6e2d4 r3197: fixed error code mapping for ENOTDIR
(This used to be commit 2c852539ed089b584b721a31cd411667bb5669c7)
2007-10-10 13:04:40 -05:00
Tim Potter
1ca4b01031 r3196: Grr - add more useless dependencies to get swig wrappers to build.
(This used to be commit cc3f71c4658de6bb8216905d7657f6217dc55ba0)
2007-10-10 13:04:39 -05:00
Andrew Tridgell
53e22ff509 r3195: fill in more of the fsinfo fields, and avoid calling the potentially
expensive sys_fsusage() call unless we really need to
(This used to be commit 57eb14773b1811fbab2c37d1ff815c1ab07b3685)
2007-10-10 13:04:39 -05:00
Andrew Tridgell
a555d2eadc r3194: fixed an uninitialised variable
(This used to be commit 8123cfc59edb7b455c7f6511480f0faeb4c9aba8)
2007-10-10 13:04:39 -05:00
Andrew Tridgell
1be85de588 r3193: improved the initial permissions choice for file create, based upon dos attribute
(This used to be commit f6fb1e3493a2a0734747f769cd1013215d967cde)
2007-10-10 13:04:39 -05:00
Andrew Tridgell
3918ae351d r3192: make sure we don't call pvfs_can_delete() until after we have confirmed that name->exists
it true
(This used to be commit d368d2f4fe23bdc13f6b9bbdc044dd158ab61169)
2007-10-10 13:04:39 -05:00
Andrew Tridgell
9c10d74be7 r3191: use __location__ in RAW-UNLINK test
(This used to be commit fb1929743aae5ca758ee6757aaf772754459f683)
2007-10-10 13:04:38 -05:00
Andrew Bartlett
596d2de763 r3190: When we don't have a PAC, do a lookup in the local ldb instead.
This required reworking the auth_sam code, so that it would export the
'name -> server_info' functionality.  It's a bit ugly from a modular
point of view, but it's what we have to do...

Fix up some of the code to better use the new talloc()

Andrew Bartlett
(This used to be commit 18e08b4497ebabc2f31210254e145458b7c6a198)
2007-10-10 13:04:38 -05:00
Andrew Tridgell
5c95896499 r3189: improved the share_conflict() logic (both in terms of readability and
correctness). pvfs now passes the BASE-RENAME test.
(This used to be commit 4cf3f65a5c19fdad62a0bdef225b2d9002cf8c8b)
2007-10-10 13:04:38 -05:00
Andrew Tridgell
ced8ad3d04 r3188: tidy up the rename test a bit more
(This used to be commit 3f6077591646d70ab544fb44a93333c05338dbfa)
2007-10-10 13:04:38 -05:00
Andrew Bartlett
db9b96d8e5 r3187: This 'optional' part of the ASN.1 in SPNEGO is required by Samba3 (but
not Microsoft).  Unfortunetly it's harder to fix Samba3 than to make
Samba4 cope...

Andrew Bartlett
(This used to be commit bbd52ab2641d5d6fc184235ac838ce4a022174a9)
2007-10-10 13:04:38 -05:00
Andrew Bartlett
e5fc6dd0bb r3186: Use the properties of the new talloc() system to handle the auth
session info and server info structures.

Andrew Bartlett
(This used to be commit 5bdf391b3bc10291739f5640be9a404dbbeda273)
2007-10-10 13:04:38 -05:00
Andrew Bartlett
f7c6a9438d r3185: Machines can login with krb5, so we need to allow them to map to a unix account.
Andrew Bartlett
(This used to be commit fbe932ddd4282c3d8af8a28fdd0cee83d0c8f4f3)
2007-10-10 13:04:38 -05:00
Andrew Tridgell
6b280c1300 r3184: don't setup socket options on unix domain sockets (our smb.conf socket options are really meant for tcp)
(This used to be commit 238febb0088f85933c869052f4f83ff31f164df1)
2007-10-10 13:04:38 -05:00
Andrew Tridgell
75ed4f7cc4 r3183: moved the unlink of the messaging unixdom socket to the messaging destructor
(This used to be commit ab222b236a091d31b1f5f2cba150a11585ab5836)
2007-10-10 13:04:37 -05:00
Andrew Tridgell
35a11f0e61 r3182: separate out the BASE-RENAME test into torture/basic/rename.c
(This used to be commit c5e72b05d73ff0d57a98b6065bab573e2a226747)
2007-10-10 13:04:37 -05:00
Andrew Tridgell
304a9eafd4 r3181: shutdown the secrets db on exit so we don't constantly get talloc leak warnings
(This used to be commit 11713da2efc6d45c5594289efa0b6c0e594e6d2e)
2007-10-10 13:04:37 -05:00