summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed a silly bug in the internal UTF8 implementationAndrew Tridgell2001-07-061-1/+14
|
* got rid of insanely verbose debug messages on startupAndrew Tridgell2001-07-061-1/+1
|
* fixed inetd operation as non-rootAndrew Tridgell2001-07-061-4/+0
|
* added some comments and removed an unnecessary checkAndrew Tridgell2001-07-061-3/+2
|
* use alpha_strcpy on DNS namesAndrew Tridgell2001-07-051-0/+6
|
* optimised the 7 bit case for utf8 conversionAndrew Tridgell2001-07-051-4/+4
|
* make sure we reset the shift state on error for charsets like SJISAndrew Tridgell2001-07-051-1/+10
|
* unicode string length is twice longer ;-)Jean-François Micouleau2001-07-041-1/+1
|
* added builtin support for UTF8Andrew Tridgell2001-07-041-1/+115
|
* more portability fixesAndrew Tridgell2001-07-042-4/+4
|
* portability fixesAndrew Tridgell2001-07-041-4/+9
|
* got rid of __FUNCTION__ debugAndrew Tridgell2001-07-041-2/+2
|
* fixed uninitialised variableAndrew Tridgell2001-07-041-1/+1
|
* missed a couple of strchr callsAndrew Tridgell2001-07-041-1/+1
|
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-0412-48/+48
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-0413-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.
* Fixed warnings and made const-safe so it has the correct prototype.Jeremy Allison2001-07-031-12/+12
| | | | Jeremy.
* fixed socketpair_tcp for OpenBSDAndrew Tridgell2001-07-031-4/+9
|
* - sorry, forgot to check a pointerSimo Sorce2001-07-031-3/+5
|
* Made talloc_realloc() semantics match realloc(). JF was complaining :-).Jeremy Allison2001-07-021-0/+8
| | | | | realloc(NULL) == malloc. realloc(p,0) == free() - a no-op in talloc. Jeremy.
* "netbios aliases" and "interfaces" options change from P_STRING to P_LISTSimo Sorce2001-07-011-5/+5
|
* Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2001-06-291-0/+28
| | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy.
* Replaced memcpy() with memmove() to make safe_strcpy() safe for overlappingTim Potter2001-06-291-1/+1
| | | | source and destination.
* Syncup between 2.2 and HEAD.Jeremy Allison2001-06-271-17/+16
| | | | Jeremy.
* on sco2 socketpair_tcp needs a bindAndrew Tridgell2001-06-271-0/+9
|
* handle EISCONN in socketpair_tcpAndrew Tridgell2001-06-271-1/+2
| | | | this should get the auto-tests working on IRIX
* Ensure numeric group or user names don't get misinterpreted.Jeremy Allison2001-06-251-4/+8
| | | | Jeremy.
* make sure we have BOOL in autoconf usage of util_sec.cAndrew Tridgell2001-06-251-0/+1
|
* - make the regresison test mode code build in by default. This shouldAndrew Tridgell2001-06-252-30/+53
| | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something
* fix compiler warningsSimo Sorce2001-06-231-3/+0
|
* Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison2001-06-232-6/+14
| | | | | fix for the problem. Jeremy.
* Fix for race condition found by Herb where we can end up with a NULL dbf.Jeremy Allison2001-06-221-8/+0
| | | | Jeremy.
* added the ability to test smbd safely as an ordinary user. The way it works isAndrew Tridgell2001-06-222-0/+85
| | | | | | | | | | | | | | | | | | | | | | | that libsmb/ creates a local tcp socket then launches smbd as a subprocess attached to that socket. smbd thinks it is being launched from inetd. to use it do the following: - compile with -DSMB_REGRESSION_TEST - run like this (also works with smbtorture etc) export SMBD_TEST=1 export LIBSMB_PROG=bin/smbd smbclient //server/share -Uuser%pass obviously you need to setup a smb.conf etc. Using --prefix to configure is useful. The aim of all this stuff is to add a decent set of regression tests to the build farm, so we know if smbd actually runs correctly on all the platforms, not just builds. We can run smbtorture, masktest, locktest etc, plus a bunch of smbclient scripts and any new tests we write. This doesn't help much with nmbd (at least not yet) but its a good start.
* Spelling fix.Tim Potter2001-06-221-1/+1
|
* the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell2001-06-221-7/+1
| | | | no way of telling if the call really failed
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-214-210/+75
| | | | | | | | | but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour
* initial support for paramter type P_LISTSimo Sorce2001-06-201-43/+23
| | | | | | it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign)
* Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison2001-06-181-219/+0
| | | | | | generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy.
* Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitiveTim Potter2001-06-182-69/+8
| | | | | and the use of this function only increased timeouts when Samba queries a broken DNS server.
* Fix from TAKAHASHI Motonobu <monyo@samba.gr.jp> for multibyte conversionJeremy Allison2001-06-121-30/+16
| | | | | problems. Jeremy.
* lib/util_getent.c: removed debug code.Jeremy Allison2001-06-121-5/+2
| | | | | | | smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris. Needs testing. lib/sysacls.c: Typo fix. Jeremy.
* Found & fixed memory bug. num+1 * sizeof(x) != (num+1)*sizeof(x)........Jeremy Allison2001-06-111-16/+47
| | | | Jeremy.
* Fixed typo in Solaris and UnixWare ACLs.Jeremy Allison2001-06-091-1/+1
| | | | Jeremy.
* *Wonderful* patch from Andrew Bartlett that will help ensure tdb's areJeremy Allison2001-06-091-45/+19
| | | | | cleaned on clients abending connections. Thanks Andrew ! Jeremy.
* Herb's IRIX fix for deleting default ACLs.Jeremy Allison2001-06-081-0/+5
| | | | Jeremy.
* AIX has no default acls.Jeremy Allison2001-06-081-0/+6
| | | | Jeremy.
* Added sys_acl_delete_def_file for UnixWare and Solaris fromJeremy Allison2001-06-081-19/+56
| | | | | Michael Davidson <michael_davidson@pacbell.net>. Jeremy.
* Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.Jeremy Allison2001-06-081-7/+19
| | | | | | Will add changes for other supported ACL systems shortly (Herb, I may need help with the IRIX one). Jeremy.
* Changes to use new genrand code that got missed while I was in Japan.Jeremy Allison2001-06-061-21/+0
| | | | Jeremy.
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
|