Andrew Tridgell
9d055846f2
r3278: - rewrote the client side rpc connection code to use lib/socket/
...
rather than doing everything itself. This greatly simplifies the
code, although I really don't like the socket_recv() interface (it
always allocates memory for you, which means an extra memcpy in this
code)
- fixed several bugs in the socket_ipv4.c code, in particular client
side code used a non-blocking connect but didn't handle EINPROGRESS,
so it had no chance of working. Also fixed the error codes, using
map_nt_error_from_unix()
- cleaned up and expanded map_nt_error_from_unix()
- changed interpret_addr2() to not take a mem_ctx. It makes absolutely
no sense to allocate a fixed size 4 byte structure like this. Dozens
of places in the code were also using interpret_addr2() incorrectly
(precisely because the allocation made no sense)
(This used to be commit 7f2c771b0e
)
2007-10-10 13:04:49 -05:00
Andrew Tridgell
5ae4481161
r3277: don't use the non-portable getaddrinfo() function, instead use
...
interpret_addr() and if someone wants to add support to that function
for ipv6 then they are welcome to.
(This used to be commit 50377db11b
)
2007-10-10 13:04:49 -05:00
Andrew Tridgell
b9ddb09f03
r3276: - allow for more than 256 open old style searches (limit currently set at an arbitrary 5000)
...
- auto-cleanup old searches that the client forgot to close (common with old searches)
- expanded the RAW-SEARCH test to test more than 256 old searches, and
old search rewind (w2k3 fails this - it appears to not support rewind
on old style searches)
(This used to be commit bc83d823b2
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
05ad898f68
r3271: use "struct messaging_context *" instead of "void *" in messaging API
...
(This used to be commit cc93813e4a
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
3b5c992481
r3270: - added another unlink test
...
- removed BASE-TRANS2 from the list of tests to be worked on (its
already in the "passes" list)
(This used to be commit 8ba10229c3
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
86bd884b1e
r3269: fixed return value
...
(This used to be commit bc392d88b1
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
731e64cdcf
r3268: - fixed wildcard handling in new dirlist code
...
- ensure that d_name from readdir is not used after closedir
(This used to be commit 5352613342
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
2970ff9bd9
r3267: make LIBTDB depend on LIBREPLACE. This is needed for building the tdb tools on Solaris.
...
(This used to be commit c5d338d061
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
12a23dd8bd
r3263: - pvfs now passes RAW-SEARCH
...
(This used to be commit e5a0763655
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
ee7fa4812c
r3262: - new pvfs_dirlist code that reopens the directory between search
...
calls. This is needed to allow for "new files appear during a search"
behaviour
- pvfs now passes RAW-SEARCH
(This used to be commit 0d98f7653a
)
2007-10-10 13:04:48 -05:00
Andrew Tridgell
f493f7be97
r3261: added seek to RAW-SEARCH test
...
(This used to be commit 05530bfb99
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
e767d8d1b2
r3260: redid the pvfs_dirlist() interface in preparation for a "keep
...
directory open" implementation, as opposed to the "load the whole
directory" interface used now. This will be needed to pass RAW-SEARCH
(This used to be commit 692623c6c0
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
991588e70c
r3259: expanded the RAW-SEARCH test some more
...
(This used to be commit cc58d249f9
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
1fa9cb1449
r3258: fixed "don't change" attribute for RAW_SFILEINFO_BASIC_INFO
...
(This used to be commit 51f84800d5
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
b3ada7f4f5
r3257: make the RAW-SEARCH test less sensitive to the servers directory ordering
...
(This used to be commit 097823bbde
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
79c9d6db55
r3256: get rid of the unused session_claim() and session_yield() calls
...
(This used to be commit f1c5be396b
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
f9fdeaa8f4
r3255: - fixed 2 uninitialised data errors found with valgrind
...
- fixed offset of setup words in nttrans reply
(This used to be commit 86b5118c2a
)
2007-10-10 13:04:47 -05:00
Andrew Tridgell
4db039c3f3
r3254: - expanded the RAW-IOCTL test
...
- fixed the old ioctl interface to not check handle before failing
- pvs now passes RAW-IOCTL
(This used to be commit 98f6dbdba4
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
7f60959e64
r3253: - added rudimentary support for ntioctl in pvfs
...
- catch the SIGXFSZ signal, which for some completely insane reason is
generated in current Linux systems when you write before the maximum
offset in a file (maximum is 2^41 on my box). Why wasn't errno good
enough for this?
- give the right ntstatus code for large offset write failures
(This used to be commit 367f0c2af4
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
cfc843cf29
r3252: pvfs now passes BASE-TRANS2
...
(This used to be commit a024cef2d0
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
d16b621ca9
r3251: - move the openattr test code into basic/attr.c
...
- cleaned up the RAW-WRITE test so it passes against w2k3, and gives
more useful error messages
(This used to be commit d4042c4364
)
2007-10-10 13:04:46 -05:00
Tim Potter
fe4a608646
r3250: Add idl for printer info level 0.
...
(This used to be commit 68cd0b82e9
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
f1814e5a53
r3249: - change_time is closer to ctime than mtime
...
- pvfs now passes the RAW-CLOSE test
(This used to be commit 98aea91ce6
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
7a11723cfc
r3248: don't stop searches on failed fill_search_info()
...
(This used to be commit 4cdd750b5c
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
220c289ecf
r3247: FILE_ATTRIBUTE_NORMAL is only a null-op for setattr and setattre, not basic_info
...
(This used to be commit 36286e477c
)
2007-10-10 13:04:46 -05:00
Andrew Tridgell
67bd7a7cb9
r3246: new files should get created with FILE_ATTRIBUTE_ARCHIVE
...
(This used to be commit 090574c698
)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
920c0bba82
r3245: use __location__ in RAW-SEARCH
...
(This used to be commit 3d5f7f4ac4
)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
b96fcd9d56
r3244: pvfs now passes the RAW-UNLINK and RAW-READ tests
...
(This used to be commit 230ec4d980
)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
8962ec3a68
r3243: read the high offset count in SMBreadx in the server
...
(This used to be commit 977bc87d18
)
2007-10-10 13:04:45 -05:00
Andrew Tridgell
2b5b463892
r3242: make the RAW-READ test not exercise the 0-0 lock, which is not deterministic
...
(This used to be commit ecd4e315b9
)
2007-10-10 13:04:45 -05:00
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 7ce6139f98
)
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 9305b07af3
)
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 16c7dd6417
)
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 687633b5d6
)
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 e9aa1f7899
)
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 5b239ad57b
)
2007-10-10 13:04:43 -05:00
Andrew Tridgell
1f7fbaf493
r3235: try readx beyond 64k in RAW-READ
...
(This used to be commit e07c557eca
)
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 70be45de05
)
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 d84ade90ce
)
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 b2bdde6d14
)
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 f6862bfc1c
)
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 d91659b037
)
2007-10-10 13:04:42 -05:00
Volker Lendecke
5a75c3b060
r3218: Fix the build
...
(This used to be commit 478ba62915
)
2007-10-10 13:04:42 -05:00
Tim Potter
8ade4d9785
r3217: Start of a spoolss_GetPrinter test.
...
(This used to be commit 994fe92feb
)
2007-10-10 13:04:42 -05:00
Tim Potter
974d048493
r3216: Add tests for OpenPrinterEx and ClosePrinter.
...
(This used to be commit b7ff5f0ded
)
2007-10-10 13:04:42 -05:00
Tim Potter
d8be728100
r3215: access_required -> access_mask for OpenPrinterEx
...
(This used to be commit 6a9e18528c
)
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 636d209814
)
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 a9473750f6
)
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 4808b2a2f7
)
2007-10-10 13:04:42 -05:00
Jelmer Vernooij
883fdf1a17
r3211: Add a graphical endpoint mapper view tool
...
(This used to be commit 71dfc27b8e
)
2007-10-10 13:04:41 -05:00