Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
minimum password age and min password length for all password changes.
Andrew Bartlett
(This used to be commit 028f808c032becfa4618924cb301a4af2708fa96)
|
|
(This used to be commit 63a669475b0ea319da12a87ee4635b1d071ff29f)
|
|
(This used to be commit 9df93b1ffc9ce98302540cc3d2cbd66787abc4fd)
|
|
named. Ensure we can query them.
Jeremy.
(This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
|
|
Jeremy.
(This used to be commit 636ab292db8816663c507dd8dbf85078392af5f8)
|
|
Jeremy.
(This used to be commit ac856fbb96e5ed21992972805b27cc8c3f9377df)
|
|
Jeremy.
(This used to be commit ff3a8d37289216a2cb808406044a7abef1e564d0)
|
|
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
(This used to be commit 15f0bad1fc72ff44cd195d34fd530c25a739f42d)
|
|
(This used to be commit 2a9d183cf6ae8333dc7d9d9445c17dce005c1d24)
|
|
from the first call.
Jeremy.
(This used to be commit 2fe7504a08b692ec791c853e7a260a06142b7595)
|
|
password changes.
jerry
(This used to be commit 974822526f90aee9b43e75fc7fd5d48fe91add99)
|
|
<prlw1@newn.cam.ac.uk>.
Jeremy.
(This used to be commit 51c2cf3a9ccf0bf89520588530e04b965ae509f7)
|
|
Jeremy.
(This used to be commit 9cfa245bba2a116b7364ea22feaf6f63b362f5d7)
|
|
Jeremy.
(This used to be commit 4a9c995e50b24e6ee6ec58c46da32100a8197724)
|
|
Jeremy.
(This used to be commit d41858b9e6a21f6e01305c33d107d16f2b587d37)
|
|
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit fc7d3faed798e7496f2991ec7d795c3b1a3758f5)
|
|
check.
Andrew Bartlett
(This used to be commit 323088259f19f59008160d56fbcb9df6a6cd0d98)
|
|
Andrew Bartlett
(This used to be commit b072bb9c8469799734507bcdffd4be29211e2610)
|
|
cache code.
This uses gencache, mimir's new caching code that stores at text-based cache
of various data.
Mimir has done a *lot* of work on this patch, and it is finally time to
get it in CVS.
Andrew Bartlett
(This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
|
|
this follows the method used for remote_machine and also fixes the
problem of anonymous connections clobbering the string
(This used to be commit 9ead4fc3c3f8b83f03c762a4dab77a64aabccbf9)
|
|
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
(This used to be commit 801b87e0f7c92553dc52b44d669a1795e2b9429f)
|
|
some basic usages like 'include = smb.conf.%U'
This changes fixes things again, by checking for reload after we setup
current_user in tconx.
(This used to be commit d664e6b4d20d545b31910666d9cea7384fd40a73)
|
|
(This used to be commit 0e87408eb0e2786589e23cf4435a0d3223cf55cc)
|
|
exist (e.g. in SuSE 8.1) (by metze)
(This used to be commit 5f16343e0d7c8120a7a5786097b8920a5b7d047b)
|
|
(This used to be commit 77afa4f1679c22cde88ecc5bc7ed37951c822221)
|
|
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
|
|
append writes.
(blessed by jra)
Andrew Bartlett
(This used to be commit 81633064dd196c40541ecece8def51745f514646)
|
|
(This used to be commit 2fd496b49f76e3b593fb60fb2523a044a3814125)
|
|
(This used to be commit ec0d94b4dd8409e6bf114d013f23a52f0fc11a69)
|
|
than the version in APPLIANCE so watch out for boogs.
(This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
|
|
Jeremy.
(This used to be commit 44db20f9f63d72c2e6e1f4ffedf72d75563369fb)
|
|
Jeremy.
(This used to be commit 075987f1db4de5e21ebf205a16a847ce0b2a926e)
|
|
printer driver stuff.
(This used to be commit cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)
|
|
(This used to be commit b69d5fffd97890f80df6675fb71bc230aacc8234)
|
|
(This used to be commit aeb94bb0d7ad84b52a5f729a3e83f4fb00005771)
|
|
(This used to be commit 162431a88ccb0811ae9873ce4ceda11d2f1de8b7)
|
|
Removed -o and -a options - these have been broken since 2.2 without complaints from users
(This used to be commit c8589a567b96dacc0b6c88c91b34f8211532bbfa)
|
|
Jeremy.
(This used to be commit d05b147fb3f32031a202cf61703dc2fd969f4617)
|
|
Andrew Bartlett
(This used to be commit 5c4967c70dfab78733ef21e3a5eaf252a5958613)
|
|
Jeremy.
(This used to be commit 78df2c916ae3940f0124912f99b1e0ca3914fff5)
|
|
This is not 100% the same as what SuSE shipped in their Samba, there is
a crash bug fix, a race condition fix, and a few logic changes I'd like to
discuss with Andreas. Added Andreas to (C) notices for posix_acls.c
Jeremy.
(This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
|
|
Jeremy.
(This used to be commit ff537f10a0c0b6b1d9055eb776d1e8a9864e8363)
|
|
removed the following parameters
* postscript
* printer driver
* printer driver location
* printer driver file
also removed the get_a_printer_driver_9x_compatible() function
(This used to be commit e7dd8cf903144393b1362719d75430a2ee7e5f27)
|
|
Currently this calls back to mapping.c, but we have the framework
to get the information into LDAP and the passdb.tdb (should we? I
think so..).
This has received moderate testing with net rpc vampire and
usrmgr. I found the add_groupmem segfault in add_aliasmem as
well, but that will be another checkin.
Volker
(This used to be commit f30095852fea19421ac8e25dfe9c5cd4b2206f84)
|
|
characters used in the prefix for 8.3 names in the hash2
algorithm. The longer the prefix the more readable the 8.3 names will
be, but the weaker the hash.
this was added because of someone complaining that the new hashing
algorithm was unreadable but the old one was broken :)
(This used to be commit 3ca3cc838e5b957c7244b21947daddc4ee4c3099)
|
|
that app-head does.
Jeremy.
(This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
|
|
Jeremy.
(This used to be commit e5fbfbcc9dc995b23eb0b46c6f59b03cfe9c02b5)
|
|
finding this.
(This used to be commit 4ba8608020123a52432e5afaa914e290e4ce8cbf)
|
|
The actual design change is relitivly small however:
It all goes back to jerry's 'BOOL store', added to many of the elements in a
SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into
ldap. This was a great win for admins, and this patch follows in the same way.
This patch extends the concept - we don't store values back into LDAP unless
they have been changed. So if we read a value, but don't update it, or we
read a value, find it's not there and use a default, we will not update
ldap with that value. This reduced clutter in our LDAP DB, and makes it
easier to change defaults later on.
Metze's particular problem was that when we 'write back' an unchanged value,
we would clear any muliple values in that feild. Now he can still have his
mulitivalued 'uid' feild, without Samba changing it for *every* other
operation.
This also applies to many other attributes, and helps to eliminate a nasty
race condition. (Time between get and set)
This patch is big, and needs more testing, but metze has tested usrmgr, and
I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly
flawed ;-).
The same system will be introduced into the SAM code shortly, but this fixes
bugs that people were coming across in production uses of Samba 3.0/HEAD, hence
it's inclusion here.
Andrew Bartlett
(This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
|