summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-01-03Fixed some simple typos, including one that would have resulted in aChristopher R. Hertel1-2/+2
DEBUG() message printing the wrong value. (This used to be commit 42a4e5b851aa7c9fd9dca5a6f8f42e5d91246c76)
2003-01-02pstring/fstring missmatches found by Andrew Bartlett.Jeremy Allison1-5/+5
Jeremy. (This used to be commit 585a73b810389129f380cfab1b1b52700b350055)
2003-01-02WITH_SENDFILE #ifdef merged from SAMBA_2_2Gerald Carter1-1/+1
(This used to be commit 5023aec5ada4a0d84878440ed67411b6a6b97ca2)
2003-01-02We already have one function to move unistr2 -> multibyte-static, so weAndrew Bartlett3-44/+25
don't need a second just for pdb. Also, remove magic 'is lp_guest_account' test - the magic RID should be up to the passdb backend to set. Andrew Bartlett (This used to be commit f71c8338d35a2e8c73c3d8006ea6858cb522c715)
2003-01-02Becouse these functions return a size_t, they can't return negitive numbers.Andrew Bartlett2-4/+4
So a < 0 check is pointless, instead check against -1, which will be cast to unsigned. Andrew Bartlett (This used to be commit c7e5797a95804d5779cdfc93795adcdf2fe82a59)
2003-01-02debugparse is a seperate utility, no need to include it in the main ubiqxAndrew Bartlett1-1/+1
objects. Andrew Bartlett (This used to be commit 23abf75adef2f400414dfafa1248f5f886ae27c0)
2003-01-02Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids inAndrew Bartlett7-7/+18
compiler-based argument checking. (This used to be commit 16fe928e68623a878b125910ff83df500a29d0ce)
2003-01-02Call me parinoid, but I don't like the idea that we could ever have dbf pointAndrew Bartlett1-2/+4
to a closed file. Swap the assign and the close around. Andrew Bartlett (This used to be commit ceb2a7984910533187d3345440c24b605306e3cb)
2003-01-02Add a dash of static.Andrew Bartlett1-3/+3
(This used to be commit 6d201c9616c5c30234c0d0d6cd9e2ca60bf736c5)
2003-01-02One more const. Andrew, you seem to have krb5 :-)Volker Lendecke1-1/+1
Volker (This used to be commit f5494f5ef6a14020bd31541b1f87d48111f60ad8)
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 Kalele3-24/+59
(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-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-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)