Age | Commit message (Collapse) | Author | Files | Lines |
|
Andrew Bartlett
(This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
|
|
This patch makes Samba compile cleanly with -Wwrite-strings.
- That is, all string literals are marked as 'const'. These strings are
always read only, this just marks them as such for passing to other functions.
What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables). The rest
is just adding a lot of 'const'.
As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).
Andrew Bartlett
(This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
|
|
Jeremy.
(This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)
|
|
dir listings. Added regression test in smbtorture (in HEAD) also.
Jeremy.
(This used to be commit 3c9d24d7c3bad2beb641880a97f0eda5cd3e4ec7)
|
|
Jeremy.
(This used to be commit e9392c4a2e1e1ce44fcd1a1105477c17a3410f14)
|
|
Jeremy.
(This used to be commit 4e836c4ce2b51e42ab4f29c6c916fe6a73a58654)
|
|
Jeremy.
(This used to be commit 4eeef6ef530acf1cc4e08e24af902c15af57ece7)
|
|
(This used to be commit 2307869798c99f75d2624bb3c144e780e358a3c9)
|
|
(This used to be commit 28d325227c9b7ab48a47df006204319b21f7e7f7)
|
|
Jeremy.
(This used to be commit 95d22f18d7a2bb06804a6a336b243face4b496a1)
|
|
(This used to be commit 6d52aa1fc892b48d72a790800ee00d6d7bdc4844)
|
|
(This used to be commit ba4d6c76aabd3d1fd8dc1e2335baf50c58d636a7)
|
|
randomised filenames
- fixed several mangling bugs that the test suite pointed out
(This used to be commit 858fa7efc34f6e7cdf8500900aed3f7943c91348)
|
|
(This used to be commit fd8b3009eb3f3debc7a1dcf6a46437d87a341519)
|
|
(This used to be commit 30febde783bcacc111f559473dc15baee66db350)
|
|
Jeremy.
(This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)
|
|
Jeremy.
(This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)
|
|
Jeremy.
(This used to be commit ba6c3d65a53278b5a4c49d437373cfe613a2f80f)
|
|
cases for rename and unlink. Had to add desired_access into the share mode record.
Jeremy.
(This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)
|
|
Jeremy.
(This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
|
|
just shows capabilities at the moment
(This used to be commit 76fe90343c4ca76ad58c7b31a1e3235926fd6c75)
|
|
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
|
|
(This used to be commit 965e23537c284dd312c714c111ec172d9a33b019)
|
|
this allows us to check that we refuse locking on pipes
(This used to be commit 3e69ea6846e455d6ebb15e4481d4f98fd038c8a2)
|
|
warning! this test reboots w2k or wxp
(This used to be commit 568e1d7b4389e5a49aa1d52eb4c74bc53dbc125f)
|
|
(This used to be commit 9c44ad4e42892be8fc99998fd53c3027353c0d1b)
|
|
Jeremy.
(This used to be commit bda1c31da68aa75aba780727e9aeaad17207668d)
|
|
values so we can see what's going on.
Jeremy.
(This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
|
|
(This used to be commit d3c593b1208085f6c44e1707165ebee2b1cb4113)
|
|
(This used to be commit c644ca6a663b615416cd809be4921688f85e84cf)
|
|
Added a rename torture test to illustrate the problem.
Jeremy.
(This used to be commit 509ac24525a0d1aaecc819a99590425a164aaf44)
|
|
(This used to be commit 46b89bc9979229abc6e9f2f8c585a22dd4f22902)
|
|
(This used to be commit 64c0a5c4a0d879ce8f9517717a0cd54a75c20619)
|
|
(This used to be commit f9e3b91f58df30440c8b90007997e012101235e3)
|
|
we currently fail this test
(This used to be commit 8095375623cc19f7aad497bf39d5370d032ebdbf)
|
|
(This used to be commit 81fb8845e5c9a321f113258a737ce5c6e799e505)
|
|
(This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)
|
|
- show client count in progress
(This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
|
|
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
|
|
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
|
|
(This used to be commit 1906903f063de526045be68d19cf39de3c029c6f)
|
|
This new table is rather different to the old one (see diff posted to the
list for a sorted list of differences) and needs a *lot* of testing.
It does however seem to line up much better with what NT is using, as
exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches
win2k where it didn't before.
I can't see any critical errors we now get wrong, and I know that the auth
errors are correct as per my on-the-wire observations.
This table was produced (and I hope to comment this better later) by
using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the
'name_to_ntstatus' auth module on the HEAD PDC. This module returned
the username as the error, and the NT box was forced to give me a dos
error becouse thats all I negotiated on that connection. Hence the map.
Andrew Bartlett
(This used to be commit a855dfb2e0b899d03087860e5462c2aed3ca4cad)
|
|
(This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
|
|
'squashed' or the session setup succeeded. (How the latter occurs I don't know).
(This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
|
|
Win2k kills off connections that have issued a negprot but havn't yet issued
a session setup when a second connection appears from the same host.
(This used to be commit d47e61eb468218cae631e78edbd5d02982c78ab0)
|
|
(This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)
|
|
(This used to be commit 27143900e76033026ecd5a7b4525c0150f3a535d)
|
|
format table for inclusion back into Samba).
Andrew Bartlett
(This used to be commit 95abb2473bb4f93df163a0e8af79d5292e1389b3)
|
|
and replaced with two functions:
void zero_ip(struct in_adder *ip);
BOOL is_zero_ip(struct in_addr ip);
(This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
|
|
samba domain.
The PDC must be running a special authenticaion module that spits out NT errors
based on username.
Andrew Bartlett
(This used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)
|