summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-02BIG patch...Andrew Bartlett138-1215/+1225
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)
2003-01-01Document the size constraints on a write request.Richard Sharpe1-2/+5
(This used to be commit 5d6c1810330b38e48355078b7a5d53e7b5076f74)
2003-01-01Move our password change code along a little - use NTSTATUS, and implmenetAndrew Bartlett3-50/+89
minimum password age and min password length for all password changes. Andrew Bartlett (This used to be commit 028f808c032becfa4618924cb301a4af2708fa96)
2002-12-31fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>Simo Sorce1-1/+1
(This used to be commit 63a669475b0ea319da12a87ee4635b1d071ff29f)
2002-12-31ignore tdbsam2_parse_info.hSimo Sorce1-0/+1
(This used to be commit 1a1c746c9fde965d2ad3f8fb9c1b0263754745e8)
2002-12-30Catching up with old patches. Add define for VERITAS quota support.Jeremy Allison2-0/+10
Check return in ldap. Jeremy. (This used to be commit e789edbb287319f52f49f2999917a610565144d9)
2002-12-30fix also net rpc shutdownSimo Sorce1-10/+1
sorry (This used to be commit 1eff36ff2fd20ff1844800acefb31972ad865527)
2002-12-30the shutdown call does not have a 16 bit flags, but 2 byte representing booleansSimo Sorce5-32/+31
this commit change the structure and code to reflect this some test revelead I'm right. some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation (This used to be commit c5892b656dedd0367adc33d9606311d1dde99a58)
2002-12-30Port the fix to cli_setup_write to handle offsets greater than 32-bits fromRichard Sharpe1-2/+12
Samba 2.2.x ... (This used to be commit 4201038588bab8674b73371a5eac70a412c5dd6c)
2002-12-30Add a new VFS module, that just fiddles the file permissions. Still need toAndrew Bartlett2-1/+478
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up). The idea here is that Samba reports an NT ACL to Windows clients, which use that ACL in downloaded profiles. If the user doesn't have write permissions on the directories being downloaded, then it cant put the subfolders in (yes, NT will set perms so that it can't access the dir as the user the created it) and the profile download fails. The current solution it to give the user unix write perms to the folders, but this is rather dangerous - sombody could trojen the profile. This should avoid that mess. I'll test this out properly next week, but it works in vfstest (thanks idra!). Andrew Bartlett (This used to be commit 1ad782282a3eb4f89c489a77ad8404099d41d0f9)
2002-12-29Add msdfs proxy functionality to HEAD.Shirish Kalele6-41/+166
(This used to be commit 9df93b1ffc9ce98302540cc3d2cbd66787abc4fd)
2002-12-28Revert by Simo's request. HEAD and 3.0 should be in sync forJeremy Allison1-10/+2
this except for the modules load. Jeremy. (This used to be commit c7c3afbd0de8bd8797f91d350368a2419fcede0e)
2002-12-28some more work on gums.Simo Sorce3-36/+533
- Building a tdbsam2 backend to see what I got right and what not about the proposed API - Corrections to API based on tdbsam2 work (This used to be commit 54f11b7de84233209b7db2d01d876f9c6c6340d6)
2002-12-28Patch for coredump with missing arg from "Bradley W. Langhorst" ↵Jeremy Allison1-1/+8
<brad@langhorst.com> Jeremy. (This used to be commit 5914c38a54fcfdb007352b152dc2206708d59af6)
2002-12-27For some reason, the configure tests for sendfile support in FreeBSDRichard Sharpe2-741/+740
were broken. This works for 4.3 and 4.6.2. (This used to be commit 91e2d21bd1401ca874c59f4d93f8b429c38b642d)
2002-12-24Update linkJelmer Vernooij1-3/+3
(This used to be commit 03d8d0285e86bd4ee35f6efec835171eb28502da)
2002-12-24Put in actual statusJelmer Vernooij1-9/+17
(This used to be commit 36722b02b0fb494151bc1ab28ba28b09b298e38e)
2002-12-24Add note about storing mysql passwords in smb.confJelmer Vernooij2-3/+9
(This used to be commit a2de27a6846e3e05778fa7f0af0dbc76e82b52b3)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison14-30/+29
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-23the 'padding' field in the query domain info reply is not a paddingAndrew Tridgell1-2/+8
field at all. It seems to be an optional 12 byte structure of some kind. mkaplan found a situation where the structure was not present at all (depending on ptr_0) (This used to be commit d7f18c60f73a3acb00ec9b1f9c605cc8c9d690a7)
2002-12-22talloc_init_named -> talloc_init.Jeremy Allison9-18/+18
Jeremy. (This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison40-84/+179
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-20Fixed bug in debug statement when tconX fails.Tim Potter1-1/+1
(This used to be commit a2159610b9d38cc7cfa7cb877ccee816cd2206b8)
2002-12-19Protect nmbd against malformed reply packets. Some reports on the lists showingJeremy Allison1-1/+10
these. Jeremy. (This used to be commit 65d5bf65c439aee1450e330a9f2bd829d9b2c2d0)
2002-12-19merge from 2.2 fix for smbclient large filesHerb Lewis2-19/+27
(This used to be commit 723c4caf64c56b78052c52fec78c7143ec19e944)
2002-12-19merge from 2.2Herb Lewis1-0/+2
actually print args for %g and %e (This used to be commit 47a0ba53fdf52fb4d269b1ff95491e73e47423be)
2002-12-17app_head merge for get_friendly_nt_err()Gerald Carter1-2/+2
(This used to be commit 3ceff08eb75ecd70dcf10d033c7451d87b659c0b)
2002-12-17fix make proto to work with SGI smakeHerb Lewis1-4/+9
(This used to be commit 773e5af6eb61fc38f8e45ea0a2afd6922cc71fd5)
2002-12-17* fix memory leak when constructing an driver_level_6 structureGerald Carter1-1/+7
and no dependent files (working on smbd memory leak). No CR# yet. (This used to be commit f017fa7c478f87165b7b6aa83059fe6fad29ac15)
2002-12-17Start adding code to allow the in memory version of the registry treeRichard Sharpe1-23/+168
structure to be manipulated. Keys can be partially deleted now. (This used to be commit 9181ba0c682c3f37bbbaab96928c39757491d225)
2002-12-17it's getting comic ...Simo Sorce2-1/+60
yet another missing piece :-O (This used to be commit eb595efa7e6c260092478564e5fb3fdefcc120d8)
2002-12-16Uhmm a bad day to commit changes :-((Simo Sorce1-0/+2
(This used to be commit 5320d54b901b92a3a8cdf9a407651713826c6c9f)
2002-12-16merge smbtar fixes from 2.2Herb Lewis1-6/+8
(This used to be commit f3b994326ea4bfc9a74acb2901c733c35900af53)
2002-12-16oh god, I will forgot my name one of these days :-/Simo Sorce1-0/+78
(This used to be commit 0b2591cc4001dd5430591f1871b76c1a6d133b43)
2002-12-16forgont genstruct.pl is needed to build new include files for genparseSimo Sorce1-0/+298
sorry (This used to be commit 4029dae9064e10a02006e9d0a5d8cf93e22eaed5)
2002-12-16Add win32 utility to query driver capabilities to publishJim McDonough2-0/+250
(This used to be commit c09c1e090525aeccb9ee7762a44aba286c4d71f9)
2002-12-16fix usage messageGerald Carter1-2/+3
(This used to be commit e68c7e0ebc053b97abf9c8a8213f305679ef000d)
2002-12-16updates to the gumsSimo Sorce7-107/+1633
introduce genparser will be used by tdbsam2 (This used to be commit 831d3d1ec751f23481f26b31d22b09f3d9c0709a)
2002-12-16We now read in the whole of the registry, including security bits.Richard Sharpe1-13/+21
Still have to make sure that the datastructure is correct, though. Then on to writing it out and editing/changing keys, values and sec_descriptors (This used to be commit 8686b551cd0158a72c1ba4dfea6af5d0d7049210)
2002-12-15Fix fnum leak under error condition in cacl_dump.Tim Potter1-6/+13
(This used to be commit ab337572b82a0b40b56f055cdbb2f5864ef10c87)
2002-12-15All the code for reading in the registy is done, but I have a malloc'dRichard Sharpe1-21/+83
area overrun somewhere :-( (This used to be commit 330012a4d787c8b4a2eb6a4b77f53110815e073e)
2002-12-15Almost finished processing the registry encoded SEC DESC ...Richard Sharpe1-1/+102
Soon to move onto writing these things out. (This used to be commit eb2f1c826b28647fc99b46e203fe90147f7f3d05)
2002-12-14More code to read in and create security descriptor entries ...Richard Sharpe1-28/+121
(This used to be commit 3564565d33e0e3a691e5014e39ab2e5156112a08)
2002-12-14Ensure talloc pool query messages are reserved.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 3520195523c629c4d936db6b0112bd4bd4426ad7)
2002-12-14The name pointer in the talloc context must not be a talloced entry asJeremy Allison1-2/+13
calling talloc_destroy_pool(as we do sometimes) will destroy it. Jeremy. (This used to be commit 63f344e27be5aaf2204899fea7d53a7302001108)
2002-12-13Store printer guid in the dsspooler registry key so we don't have toJim McDonough2-106/+187
query the directory server every time someone asks (This used to be commit f0fc4e30f6284565de404a20450a587cd3fe00a5)
2002-12-13Fix for old DOS client when veto files is set to /.*/Jeremy Allison1-1/+1
Jeremy. (This used to be commit 636ab292db8816663c507dd8dbf85078392af5f8)
2002-12-13More printer publishing code.Jim McDonough4-13/+86
- Add published attribute to info2, needed for win clients to work properly - Return proper info on getprinter 7 This means you can now look at the sharing tab of a printer and get correct info about whether it is published or not, and change it. (This used to be commit adda04379ee46f105436262663652f3f576fa3cf)
2002-12-13Begin to handle Security descriptors for keys.Richard Sharpe1-0/+95
(This used to be commit eca76f2f6609c9decd5cb9dcf7ab9b75c2a805a6)
2002-12-13Guy Harris points out that the level and ptr fields in aTim Potter1-0/+4
SPOOL_USER_CTR look like they should be transposed. We don't make use of the user level information (what is it used for??) so I haven't changed any code, just added a comment. (This used to be commit bbb0b2ee40acfeb8cd91a55feb1db0c1e2d9ced5)