summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2002-10-01syncing up with HEAD. Seems to be a lot of differences creeping inGerald Carter4-9/+32
(i ignored the new SAMBA stuff, but the rest of this looks like it should have been merged already). (This used to be commit 3de09e5cf1f667e410ee8b9516a956860ce7290f)
2002-10-01Updates from Samba HEAD:Andrew Bartlett1-6/+6
- Fix segfaults in the 'net ads' commands when no password is provided - Readd --with-ldapsam for 2.2 compatability. This conditionally compiles the old options, but the actual code is available on all ldap systems. - Fix shadow passwords (as per work with vl) - Fix sending plaintext passwords to unicode servers (again vl) - Add a bit of const to secrets.c functions - Fix some spelling and grammer by vance. - Document the -r option in smbgroupedit. There are more changes in HEAD, I'm only merging the changes I've been involved with. Andrew Bartlett (This used to be commit 83973c389355a5cc9ca74af467dfd8b5dabd2c8f)
2002-10-01Fix Solaris sendfile detection. Add small fixes to sendfile code.Jeremy Allison1-3/+2
Jeremy. (This used to be commit 7ba5636897ea57669c62d22bb399bcfe5e3a9907)
2002-09-30Added Solaris sendfile patch + configure tests from Pierre Belanger ↵Jeremy Allison1-3/+84
<belanger@yahoo.com>. Jeremy. (This used to be commit 9c17faefa5cb0ed450578ae5bbcca44e3058bc9b)
2002-09-30Don't zero out numwritten before using.... Found by Pierre Belanger ↵Jeremy Allison1-2/+2
belanger@pobox.com Jeremy. (This used to be commit 495e6e3287152a7ec218a38b3133f7ae16d5a8d1)
2002-09-26sync with HEADGerald Carter1-2/+12
(This used to be commit ee9cbf58071adb627a49a94c6340aaba330486b5)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter19-220/+290
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-09-25This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User2-0/+621
used to be commit 9a5541595f78f2cbba16030552c6e780f6fddcf6)
2002-09-25Kill of Get_Pwnam_Modify and smb_getpwnam(). The latter assumes some thingsAndrew Bartlett1-57/+0
that just don't apply any more - now that we always keep username and domain seperate. Also, the policy it was trying to permit is now implemented by the auth code. Andrew Bartlett (This used to be commit 760c0740cad948665db4a1d462fbbd99332713ef)
2002-09-25Merge of "profile acls" code.Jeremy Allison1-2/+7
Jeremy. (This used to be commit cfd1bf250b417f3ba3ad21ff681ab282311bb7eb)
2002-09-21Merge back Richard's FreeBSD sendfile fixes.Jeremy Allison1-5/+5
Jeremy. (This used to be commit f4845b0213aec58e0f489eba5653aa7b3855610f)
2002-09-18HPUX sendfile is now detected correctly.Jeremy Allison1-1/+2
Jeremy. (This used to be commit 91e41ebe97c143f413e2a5614b20f3db4642490f)
2002-09-17Never, *ever* hold a mutex lock in the message database where there mayJeremy Allison2-72/+2
be traversals being attempted. Yes, this was from bitter experience (and an out of control server :-). Also allow callers to break out of a tdb_chainlock with sigalarm if desired. Jeremy. (This used to be commit a7781f91d8c1177210bffc199cd2f3b7ff993eaf)
2002-09-17Actually use sendfile if selected.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
2002-09-17Attempt to make broken Linux sendfile work.... Still in progress.Jeremy Allison1-7/+17
Jeremy. (This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)
2002-09-15Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOSJelmer Vernooij1-0/+5
(Double checked) (This used to be commit dc3c14fc2b661a62a1876149e96af6de07a2c4a6)
2002-09-14Use HAVE_SENDFILE64, not SENDFILE64.Jeremy Allison1-2/+5
Jeremy. (This used to be commit 7e2f9769c9a7ee5d11267a8a8864371fc0aa8f50)
2002-09-14Added fix for broken Linux (no sendfile64). When offset + count > 2GBJeremy Allison1-0/+57
then return ENOSYS and let the upper layer handle it. Jeremy (This used to be commit 872dfd87cda585c33c3823b06580cb301567a9b9)
2002-09-12Fixed up FreeBSD sendfile code - only Solaris left then I can add theJeremy Allison1-22/+55
configure tests... Jeremy. (This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)
2002-09-12HPUX takes offset, not pointer to offset.Jeremy Allison1-2/+2
Jeremy. (This used to be commit d7024e8cb94a20cba789deb2c5b70221f6cca4fd)
2002-09-12Fixup sendfile to match HPUX semantics with signal interrups. This wasJeremy Allison1-12/+52
fiddly.... :-(. Jeremy. (This used to be commit 2b33a500a8ad13acdd7e4f593aba65229dc8dd96)
2002-09-12First cut at portable sendfile code. Only used in readX at the momentJeremy Allison1-0/+158
and doesn't actually call sendfile. Needs to be vectored through the VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux). Linux doesn't actually work (2.4.19 kernel) at the moment because it doesn't have a 64-bit clean sendfile. Jeremy. (This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)
2002-09-11added gencache implementation from mimir - thanks!Andrew Tridgell1-0/+319
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)
2002-09-09lowercase global_myname in %L substitutionHerb Lewis1-2/+7
(This used to be commit 43a39e85b67c026a5edd93bcd58b76ae67315975)
2002-09-07configure.in:Simo Sorce1-0/+13
reflect the new example/VFS/ directory organization lib/substitue.c: added helper functions needed by recycle bin (This used to be commit 29b4b9a2b5a0347d227b1a30e3f34bf40afa6de4)
2002-09-06As per the 'OK' at CIFS2002, only use the readline headers (and this crasyAndrew Bartlett1-0/+18
#ifdef mess...) in readline.c, we don't need or use them in the rest of Samba. (This OK was of course conditional on 'if you break it, you better fix it...') Andrew Bartlett (This used to be commit 55ee289f587f107fa03c5f889491fdaab101df2d)
2002-09-06patch from metze: add a 'vfs' debug classAndrew Bartlett1-0/+1
(This used to be commit 601b56e04fddd9ddfb9be5b0a625d6d279df7f4c)
2002-09-04Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison1-3/+22
sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. (This used to be commit aca333719695b278843c59e1c6eb07d6655fd59c)
2002-09-02Fix typo - Thanks KaiJelmer Vernooij1-1/+1
(This used to be commit 8fb4534212e49d2f64f45cbeb481b9f4a69f3158)
2002-09-01wrong way to handle things, bug found by kaiSimo Sorce1-8/+6
(This used to be commit 58f912da47d18a6a548c50dc9d4298c6bec7ea0d)
2002-08-31Add a bit of 'const' and move a lot of our 'repeditive' DEBUG() statements toAndrew Bartlett2-53/+49
'DEBUGADD', so we don't repeat headers. (Makes them much easier to read). (Based on patch by kai) Andrew Bartlett (This used to be commit 9deada345c5f89f338530c4de62835cc1eeb3d0e)
2002-08-30based on function prototype, the args were switched - this gave an errorHerb Lewis1-1/+1
on the IRIX compiler. could whoever put the FIXME message take a look and see if it is still broken. (This used to be commit 29a8f2121114cafca07797cadaeb26c9d0055b24)
2002-08-29Move samr_make_sam_obj_sd to lib/util_seaccess.c. samtest now compiles andJelmer Vernooij1-0/+41
links successfully! (This used to be commit 0ea4bcb6b772a0d95d20f7c1a2a0c08a0ba9e466)
2002-08-29Make debuglevel a string for use with debug classesJelmer Vernooij1-2/+2
(This used to be commit fc29385029bf000dc70d23154e39970ee76e4d30)
2002-08-28Put in intermediate version of new SAM system. It's not stable yet, codeJelmer Vernooij2-0/+7
might be ugly, etc - please don't blame me for anything but instead try to fix the code :-). Compiling of the new sam system can be enabled with the configure option --with-sam Removing passdb/passgrp.c as it's unused fix typo in utils/testparm.c (This used to be commit 4b7de5ee236c043e6169f137992baf09a95c6f2c)
2002-08-28Make constJelmer Vernooij1-1/+1
(This used to be commit b1ab3bec8dc7c5d0873b7a4b4c6fab2d7591c9b3)
2002-08-28Some debugs for panic_action.Tim Potter1-1/+11
(This used to be commit 8f065f788b3af333c7c61236e33b6571b62b0c0d)
2002-08-27add a trivial seeking function to xfile (tseek) that does not do SEEK_CURSimo Sorce1-0/+34
and add commands reget and reput to smbclient that continues a transfer that has been onterrupted. thanks to josef Zlomek that did the original patch. (This used to be commit b275547c9ecc13bede5bd21a392fa1d695a3926d)
2002-08-26Updates!Andrew Bartlett2-6/+7
- Don't print an uninitialised buffer in service.c - Change some charcnv.c functions to take smb_ucs2_t ** instead of void ** - Update NTLMv2 code to use dynamic buffers - Update experimental SMB signing code - still more work to do - Move sys_getgrouplist() to SAFE_FREE() and do a DEBUG() on initgroups() failure. Andrew Bartlett (This used to be commit de1964f7fa855022258a84556b266100b917444b)
2002-08-26Try to support non-root-mode systems without getgrouplist().Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit 17096315a0f30f946ddecb79708604a111c37011)
2002-08-25Clarify function commentsAndrew Bartlett1-0/+2
(This used to be commit a613dde7edab62c4439d256932b9f9b4ae2ec4e0)
2002-08-25Patch from mimir to back out idra's attempted DOS mitigation patch.Andrew Bartlett1-2/+2
(It broke port 139 name exchange) I've been thinking about this, and doing is properly is actually rather difficult - but I'll try and get somthing in there. (My worry is what smb_read_error should be set to, and how that interacts with the rest of samba). Andrew Bartlett (This used to be commit 3e682867bbb13dae265cb9a8acea8b7cc87d82a6)
2002-08-23We never checked if the smb packet len is != 0Simo Sorce1-2/+2
Should fix a supposed DoS too. (This used to be commit f76e5b2677beb161c2f9c0d3dd78e707655e942f)
2002-08-23We need to return the value here...Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 8fbc964f2f40de80851cf89f7bed0ddc5d01b074)
2002-08-22added smb_xstrndup()Andrew Tridgell1-0/+11
(This used to be commit 26fc20187d405702c50d1e7a38d3a94c84932bed)
2002-08-22added a useful unistr2 display functionAndrew Tridgell1-0/+10
(This used to be commit f4581133649b5208d8f91c4995ef60579e04b6f6)
2002-08-22Spelling fixes.Tim Potter1-2/+2
(This used to be commit 24fa84bda49a3a77fbc092652a0b6b132f06ff7c)
2002-08-22fix a few segfaultsGerald Carter1-6/+6
(This used to be commit ccb02f7cfcec4a555cf7304816c739f4bf7b46f0)
2002-08-21Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatibleJelmer Vernooij1-1/+1
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)
2002-08-21Fix debug level initialization for net.cVolker Lendecke1-1/+1
Volker (This used to be commit 5af5326f1311a49d3c8316e1dcc27037b831065a)