summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-01-07Remove unused variable.Tim Potter2-2/+0
(This used to be commit 4bc82624f6f2d3745a1528c56b9dcf04613a6a1d)
2003-01-06Fix memory leaks in pdb_ code.Jeremy Allison1-1/+13
Jeremy. (This used to be commit ddf741c7178e33914dea6031f1a32800af402630)
2003-01-06add $(LDFLAGS) to libsmbclientGerald Carter1-1/+1
(This used to be commit 0f8ba688d427febecfd94e02f1779f4a699a0df2)
2003-01-06Fix from "Ken Cross" <kcross@nssolutions.com> for enumeratingJeremy Allison1-1/+3
groups. Jeremy. (This used to be commit cde517cedf3521b815faf2bdaf7940a611a28650)
2003-01-06Fix a segfault when we don't correctly load a VFS module (don't keep it inAndrew Bartlett2-3/+9
the loaded list on error). Also change some of the error returns, becouse NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client. As for which error, my logic is that a share without a valid VFS module is not a valid share, and therefore should return the same error as a non-existant share. Andrew Bartlett (This used to be commit 41178afdbd2b3de94cf272ce32764a1947e73ea8)
2003-01-05Clear up the auth_sam password checking code (the core of our password checkingAndrew Bartlett1-33/+58
routines). In particular, we now better support the NT# in LM feild, and the LMv2 password scheme. (LMv2 is basicly NTLMv2 capped at 24 bytes, slightly more secure, and in the LM feild for compatiblity). Thanks to the Samba-TNG team and Luke Leighton for various descriptions of this algorithm, and to MS for a solution that seems to actually make sense for once :-). Andrew Bartlett (This used to be commit 5c2e34b5b6a2241b8d2fd68458eb73bb65ade6fd)
2003-01-05Even when I can't manage to do QA, at least the build farm will catch some ofAndrew Bartlett1-1/+1
the silly stuff. (fixes password changes from RAP based clients like smbpasswd) Andrew Bartlett (This used to be commit 066e4f9a4bdd432b3b2b7830c0ac1421f6086df4)
2003-01-03Fix problem with "hide unreadable". stat file opens are baaack :-).Jeremy Allison5-586/+544
Jeremy. (This used to be commit 6e0cfec16594ade6e6c499f521781348fee25040)
2003-01-03patch to include support for daemontools from Michael HandlerGerald Carter7-18/+89
(This used to be commit 4c48c475a28450ad4fd8dcc8263e841c0c39a80e)
2003-01-03make sure we create the PIDDIR and LOCKDIR from installdirsGerald Carter1-1/+1
(This used to be commit 63d057fc7880d2522202451288087306e8fa3806)
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)