summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2001-08-05Some fixes about malloc/Realloc and mem leakSimo Sorce3-6/+15
thanks to andreas moroder (This used to be commit b29a549cdd85d42a1697041ab04f0ae4eddd23ca)
2001-08-01Oops. Typo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d862be4b680fc495d920fa802854032e668a2073)
2001-08-01Pidfile check can be read-only. Removed old ifdef in password.cJeremy Allison1-6/+6
Jeremy. (This used to be commit d82efc61ef16533c5652a5d4a9863f8317cb4ea2)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-26Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison1-6/+152
Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-25need to push smb_search strings in client charsetAndrew Tridgell1-5/+5
(This used to be commit df00e5dceae91f6ffca77704c4517b91fd796d32)
2001-07-25got rid of INFO: msgs at debug level 1Andrew Tridgell1-2/+2
(This used to be commit e6773b08a4a1a54dca4a2e2ec5d4e9c43383b072)
2001-07-25ucs2 is always a multiple of 2 bytesAndrew Tridgell1-0/+6
this gets rid of a bunch of iconv warnings (This used to be commit 2ec59f731df6489756c5606ed63de90fb2a9241f)
2001-07-24Convert other parameters (read list, write list, valid users...) to the ↵Simo Sorce1-21/+33
P_LIST format. changed functions to use list instead of strings addedd lp_list_substitute function (This used to be commit 7257d07563ba21bd88733d5d2b4ec4829fab2507)
2001-07-23Fix case insensitive password change code.Jeremy Allison1-0/+13
Fixed crash bug with un-zeroed talloced memory. Jeremy. (This used to be commit eea1c30df246e081e672d7132345d0fd35ad9841)
2001-07-22changed the iconv interface to go via ucs2 for all conversions. ThisAndrew Tridgell2-73/+186
fixes some problems wih some character sets and allows for using internal charsets in conjunction with ionv charsets this makes us slower but more correct. speed will come later. (This used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
2001-07-22switch from UCS2 to UCS-2LEAndrew Tridgell2-18/+3
(This used to be commit e236a3e29e4af24b20ec6af357ce67abf82b4528)
2001-07-20^$&%&*$&)% readline uses \n characters instead of letting the terminal wrapTim Potter1-13/+34
the screen. This mucks up expect something severe. )-: Don't use readline if the CLI_NO_READLINE environment variable is set. (This used to be commit f0b7593ef54f8f093018ee2a8325e6f4422a4bbd)
2001-07-20It looks like the rpc client code in libsmb hasn't been converted to theTim Potter1-0/+10
new internal string stuff. The main problem is that some unicode strings are null terminated and some aren't. There's no rhyme or reason to it - some pipes have 99% of the strings terminated and some have 99% unterminated. To avoid having to actually know the termination policy, I propose a set of functions that take a UNISTR2* and use the length contained there. Added rpcstr_pull_unistr2_string() function to convert a unicode string of dubious termination to a fstring. (This used to be commit e5b62b4961769e45bc377be6180ca61ef5f6c22e)
2001-07-18removed some unnecessary codeAndrew Tridgell1-10/+0
(This used to be commit 1436c9f424abbac2752e952172ddbdf15ec73f91)
2001-07-10much better handling of broken DNS serversAndrew Tridgell1-16/+2
we no longer lookup our own name when we create a socket in open_socket_in(). That makes things work much better with the broken DNS server at VA (This used to be commit a83d506e5cd6cef23298211b2fe4e0e25c9e5f48)
2001-07-08added sec_initial_uid() function so we can ask if a file is owned byAndrew Tridgell1-0/+8
the initial uid (This used to be commit 9449544428c9c3153f9e757c57bccda382fa2882)
2001-07-08fixed the auto-initialisation of the iconv descriptorsAndrew Tridgell1-11/+11
(This used to be commit 66632782c583356550446638a832cc46a99f9f62)
2001-07-07Add backend encryption support for NTLMv2.Andrew Bartlett4-6/+387
The leg-work for this was done by the folks at samba-tng.org, I'm just bringing it accross to HEAD. The MD5 implementation is seperatly derived, and does not have the copyright problems that the one in TNG has. Also add const to a few places where it makes sence. Andrew Bartlett (This used to be commit 8df8e841445dfe09fc7a06bb55d12adc3fecb345)
2001-07-06fixed strrchr_mAndrew Tridgell1-4/+3
(This used to be commit f4359b5f7ff891d7fcb5772b589756376ae5d412)
2001-07-06Wrapped dlerror() in the same way as the other dlxxx() calls.Jeremy Allison1-0/+9
Jeremy. (This used to be commit ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d)
2001-07-06formatting fixesAndrew Tridgell1-7/+7
(This used to be commit 67ca6cd8eb20621d3f5926e19822b479ac80cb9c)
2001-07-06check for initialisation in convert_string()Andrew Tridgell1-0/+6
otherwise initial load in smb.conf can fail (This used to be commit e9c53606de237f91712bb9d2a9fdf84b80bce38d)
2001-07-06fixed a silly bug in the internal UTF8 implementationAndrew Tridgell1-1/+14
(This used to be commit 95a9a1814f1a1ac07c316cc920c7493a86d5a09b)
2001-07-06got rid of insanely verbose debug messages on startupAndrew Tridgell1-1/+1
(This used to be commit c3a21fc0f21b3f493031cb0c9a6a990528b276d9)
2001-07-06fixed inetd operation as non-rootAndrew Tridgell1-4/+0
(This used to be commit 9a9da44455fc35cb9b1625ffefd12a9c5fe48d6b)
2001-07-06added some comments and removed an unnecessary checkAndrew Tridgell1-3/+2
(This used to be commit 25c4b3f19315bdef57041da79c12271b72015701)
2001-07-05use alpha_strcpy on DNS namesAndrew Tridgell1-0/+6
(This used to be commit f6f9e95dd9254c6aad19d4fa1ff891bfa33070b6)
2001-07-05optimised the 7 bit case for utf8 conversionAndrew Tridgell1-4/+4
(This used to be commit 0c61e54f152eca6b7607fcce9ea512bc60a19060)
2001-07-05make sure we reset the shift state on error for charsets like SJISAndrew Tridgell1-1/+10
(This used to be commit 42648a7aada48220fdfaf6acfe95b9614122f1da)
2001-07-04unicode string length is twice longer ;-)Jean-François Micouleau1-1/+1
(This used to be commit d39d8429d1cb8a976022ae92a1ce551f7d876aff)
2001-07-04added builtin support for UTF8Andrew Tridgell1-1/+115
(This used to be commit 76d83e7f704cf016308dccaad9bc42d57db97686)
2001-07-04more portability fixesAndrew Tridgell2-4/+4
(This used to be commit bf818268516cfbebcdeacbb0528395e9bbb8e442)
2001-07-04portability fixesAndrew Tridgell1-4/+9
(This used to be commit 7a5c24c219d8b19f2c3cd11fdde3ebcede0646a2)
2001-07-04got rid of __FUNCTION__ debugAndrew Tridgell1-2/+2
(This used to be commit 815ca752744c2ae93390445f4bb6532d396bbc59)
2001-07-04fixed uninitialised variableAndrew Tridgell1-1/+1
(This used to be commit a03992f19b268ca212ada5869c6fc93da5ac3c35)
2001-07-04missed a couple of strchr callsAndrew Tridgell1-1/+1
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell12-48/+48
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell13-5123/+947
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03Fixed warnings and made const-safe so it has the correct prototype.Jeremy Allison1-12/+12
Jeremy. (This used to be commit e0f6863a1155db5206c103c29dc597d7c297ec11)
2001-07-03fixed socketpair_tcp for OpenBSDAndrew Tridgell1-4/+9
(This used to be commit d99ce6a5e3455ed38ca3c1ac676b5048edf8c706)
2001-07-03- sorry, forgot to check a pointerSimo Sorce1-3/+5
(This used to be commit 4e0299d4c091bc4a63740f12588675507601e8cd)
2001-07-02Made talloc_realloc() semantics match realloc(). JF was complaining :-).Jeremy Allison1-0/+8
realloc(NULL) == malloc. realloc(p,0) == free() - a no-op in talloc. Jeremy. (This used to be commit 1ab31e5db53bc839d2785cce4d3c739c8004bbf6)
2001-07-01"netbios aliases" and "interfaces" options change from P_STRING to P_LISTSimo Sorce1-5/+5
(This used to be commit db36ed1d80fcbee16d0a0b5f226e56961f3bf1ec)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison1-0/+28
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
2001-06-29Replaced memcpy() with memmove() to make safe_strcpy() safe for overlappingTim Potter1-1/+1
source and destination. (This used to be commit 30411d4004ce7062e73506d228ef402b99226eee)
2001-06-27Syncup between 2.2 and HEAD.Jeremy Allison1-17/+16
Jeremy. (This used to be commit 39d4131a4571c9c7a96bdc2f6cd6be80a6c330af)
2001-06-27on sco2 socketpair_tcp needs a bindAndrew Tridgell1-0/+9
(This used to be commit d8e5409ebb883844d9a1abc9840af1809957a444)
2001-06-27handle EISCONN in socketpair_tcpAndrew Tridgell1-1/+2
this should get the auto-tests working on IRIX (This used to be commit 87f90d48d857828a6ed12bdc58d0d881be45dfce)
2001-06-25Ensure numeric group or user names don't get misinterpreted.Jeremy Allison1-4/+8
Jeremy. (This used to be commit e88da9dcc79801028127bcbe328af001b58e653a)