summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert other parameters (read list, write list, valid users...) to the ↵Simo Sorce2001-07-241-21/+33
| | | | | | | P_LIST format. changed functions to use list instead of strings addedd lp_list_substitute function
* Fix case insensitive password change code.Jeremy Allison2001-07-231-0/+13
| | | | | Fixed crash bug with un-zeroed talloced memory. Jeremy.
* changed the iconv interface to go via ucs2 for all conversions. ThisAndrew Tridgell2001-07-222-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.
* switch from UCS2 to UCS-2LEAndrew Tridgell2001-07-222-18/+3
|
* ^$&%&*$&)% readline uses \n characters instead of letting the terminal wrapTim Potter2001-07-201-13/+34
| | | | | | the screen. This mucks up expect something severe. )-: Don't use readline if the CLI_NO_READLINE environment variable is set.
* It looks like the rpc client code in libsmb hasn't been converted to theTim Potter2001-07-201-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.
* removed some unnecessary codeAndrew Tridgell2001-07-181-10/+0
|
* much better handling of broken DNS serversAndrew Tridgell2001-07-101-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
* added sec_initial_uid() function so we can ask if a file is owned byAndrew Tridgell2001-07-081-0/+8
| | | | the initial uid
* fixed the auto-initialisation of the iconv descriptorsAndrew Tridgell2001-07-081-11/+11
|
* Add backend encryption support for NTLMv2.Andrew Bartlett2001-07-074-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
* fixed strrchr_mAndrew Tridgell2001-07-061-4/+3
|
* Wrapped dlerror() in the same way as the other dlxxx() calls.Jeremy Allison2001-07-061-0/+9
| | | | Jeremy.
* formatting fixesAndrew Tridgell2001-07-061-7/+7
|
* check for initialisation in convert_string()Andrew Tridgell2001-07-061-0/+6
| | | | otherwise initial load in smb.conf can fail
* 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