1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

2651 Commits

Author SHA1 Message Date
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
Andrew Tridgell
3cf018b517 r3180: - basic support for SEC_RIGHT_MAXIMUM_ALLOWED in pvfs
- RAW-CONTEXT test now passes
(This used to be commit 0dae9fef09ec8bce19c39a0caf36e0882e507bc4)
2007-10-10 13:04:37 -05:00
Andrew Tridgell
8af9b5e42e r3179: - fixed error return on utime failure
- formatting fix
(This used to be commit 8ca4d7c51e5c76aa28f600d49437a45a8a0d31a9)
2007-10-10 13:04:37 -05:00
Andrew Tridgell
e90ab07050 r3178: honor the write_time on pvfs_close()
(This used to be commit 4e28c45bafa453eaa94716a5b77d830b81efe6cf)
2007-10-10 13:04:36 -05:00
Andrew Tridgell
2a5eb0ceba r3177: check for open files on rename
(This used to be commit c334182095c53b09fcb65a40053b518acb6ec38b)
2007-10-10 13:04:36 -05:00
Andrew Tridgell
1e7e580020 r3176: added a script to run all the filesystem torture tests that are
expected to pass. This allows easy testing for regressions when I
change core routines in the posix backend.
(This used to be commit 867cae746671916c95d18ac4baf8d9604e437202)
2007-10-10 13:04:36 -05:00
Andrew Bartlett
7397361dae r3175: Add winbind back into includes.h (spotted by tpot)
Andrew Bartlett
(This used to be commit 2b0f04167d6512c7eaa44f8234f0be63c55f9582)
2007-10-10 13:04:36 -05:00
Andrew Tridgell
c1c696460b r3174: added pvfs_is_open() to allow us to check for open files on unlink. We
now pass BASE-UNLINK.
(This used to be commit f23a2f8538bda8f6790e86c93ee22436388b2975)
2007-10-10 13:04:36 -05:00
Andrew Tridgell
def9a12bcc r3173: make the RAW-QFILEINFO test cope better with null strings from the server
(This used to be commit a10fca41de7e19e610bf9fd0a854b7b35d652561)
2007-10-10 13:04:36 -05:00
Andrew Tridgell
06d9380114 r3172: much better qfileinfo implementation in pvfs. We now pass RAW-QFILEINFO
(This used to be commit 65c2c81b8cf6aeeccdc53d8145c2595f230bd531)
2007-10-10 13:04:36 -05:00
Andrew Tridgell
7bcf3ce8f6 r3171: in qfileinfo getattre and standard have identical structures, so
simplify code by making them aliases
(This used to be commit 91a1dc121cba77a3400935c199897cde50396cdd)
2007-10-10 13:04:35 -05:00