Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Convert other parameters (read list, write list, valid users...) to the ↵ | Simo Sorce | 2001-07-24 | 1 | -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 Allison | 2001-07-23 | 1 | -0/+13 | |
| | | | | | Fixed crash bug with un-zeroed talloced memory. Jeremy. | |||||
* | changed the iconv interface to go via ucs2 for all conversions. This | Andrew Tridgell | 2001-07-22 | 2 | -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-2LE | Andrew Tridgell | 2001-07-22 | 2 | -18/+3 | |
| | ||||||
* | ^$&%&*$&)% readline uses \n characters instead of letting the terminal wrap | Tim Potter | 2001-07-20 | 1 | -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 the | Tim Potter | 2001-07-20 | 1 | -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 code | Andrew Tridgell | 2001-07-18 | 1 | -10/+0 | |
| | ||||||
* | much better handling of broken DNS servers | Andrew Tridgell | 2001-07-10 | 1 | -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 by | Andrew Tridgell | 2001-07-08 | 1 | -0/+8 | |
| | | | | the initial uid | |||||
* | fixed the auto-initialisation of the iconv descriptors | Andrew Tridgell | 2001-07-08 | 1 | -11/+11 | |
| | ||||||
* | Add backend encryption support for NTLMv2. | Andrew Bartlett | 2001-07-07 | 4 | -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_m | Andrew Tridgell | 2001-07-06 | 1 | -4/+3 | |
| | ||||||
* | Wrapped dlerror() in the same way as the other dlxxx() calls. | Jeremy Allison | 2001-07-06 | 1 | -0/+9 | |
| | | | | Jeremy. | |||||
* | formatting fixes | Andrew Tridgell | 2001-07-06 | 1 | -7/+7 | |
| | ||||||
* | check for initialisation in convert_string() | Andrew Tridgell | 2001-07-06 | 1 | -0/+6 | |
| | | | | otherwise initial load in smb.conf can fail | |||||
* | fixed a silly bug in the internal UTF8 implementation | Andrew Tridgell | 2001-07-06 | 1 | -1/+14 | |
| | ||||||
* | got rid of insanely verbose debug messages on startup | Andrew Tridgell | 2001-07-06 | 1 | -1/+1 | |
| | ||||||
* | fixed inetd operation as non-root | Andrew Tridgell | 2001-07-06 | 1 | -4/+0 | |
| | ||||||
* | added some comments and removed an unnecessary check | Andrew Tridgell | 2001-07-06 | 1 | -3/+2 | |
| | ||||||
* | use alpha_strcpy on DNS names | Andrew Tridgell | 2001-07-05 | 1 | -0/+6 | |
| | ||||||
* | optimised the 7 bit case for utf8 conversion | Andrew Tridgell | 2001-07-05 | 1 | -4/+4 | |
| | ||||||
* | make sure we reset the shift state on error for charsets like SJIS | Andrew Tridgell | 2001-07-05 | 1 | -1/+10 | |
| | ||||||
* | unicode string length is twice longer ;-) | Jean-François Micouleau | 2001-07-04 | 1 | -1/+1 | |
| | ||||||
* | added builtin support for UTF8 | Andrew Tridgell | 2001-07-04 | 1 | -1/+115 | |
| | ||||||
* | more portability fixes | Andrew Tridgell | 2001-07-04 | 2 | -4/+4 | |
| | ||||||
* | portability fixes | Andrew Tridgell | 2001-07-04 | 1 | -4/+9 | |
| | ||||||
* | got rid of __FUNCTION__ debug | Andrew Tridgell | 2001-07-04 | 1 | -2/+2 | |
| | ||||||
* | fixed uninitialised variable | Andrew Tridgell | 2001-07-04 | 1 | -1/+1 | |
| | ||||||
* | missed a couple of strchr calls | Andrew Tridgell | 2001-07-04 | 1 | -1/+1 | |
| | ||||||
* | strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵ | Andrew Tridgell | 2001-07-04 | 12 | -48/+48 | |
| | | | | can't redefine them. damn. | |||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 13 | -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 Allison | 2001-07-03 | 1 | -12/+12 | |
| | | | | Jeremy. | |||||
* | fixed socketpair_tcp for OpenBSD | Andrew Tridgell | 2001-07-03 | 1 | -4/+9 | |
| | ||||||
* | - sorry, forgot to check a pointer | Simo Sorce | 2001-07-03 | 1 | -3/+5 | |
| | ||||||
* | Made talloc_realloc() semantics match realloc(). JF was complaining :-). | Jeremy Allison | 2001-07-02 | 1 | -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_LIST | Simo Sorce | 2001-07-01 | 1 | -5/+5 | |
| | ||||||
* | Ensured all the system calls in msdfs.c go through the vfs layer. | Jeremy Allison | 2001-06-29 | 1 | -0/+28 | |
| | | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. | |||||
* | Replaced memcpy() with memmove() to make safe_strcpy() safe for overlapping | Tim Potter | 2001-06-29 | 1 | -1/+1 | |
| | | | | source and destination. | |||||
* | Syncup between 2.2 and HEAD. | Jeremy Allison | 2001-06-27 | 1 | -17/+16 | |
| | | | | Jeremy. | |||||
* | on sco2 socketpair_tcp needs a bind | Andrew Tridgell | 2001-06-27 | 1 | -0/+9 | |
| | ||||||
* | handle EISCONN in socketpair_tcp | Andrew Tridgell | 2001-06-27 | 1 | -1/+2 | |
| | | | | this should get the auto-tests working on IRIX | |||||
* | Ensure numeric group or user names don't get misinterpreted. | Jeremy Allison | 2001-06-25 | 1 | -4/+8 | |
| | | | | Jeremy. | |||||
* | make sure we have BOOL in autoconf usage of util_sec.c | Andrew Tridgell | 2001-06-25 | 1 | -0/+1 | |
| | ||||||
* | - make the regresison test mode code build in by default. This should | Andrew Tridgell | 2001-06-25 | 2 | -30/+53 | |
| | | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something | |||||
* | fix compiler warnings | Simo Sorce | 2001-06-23 | 1 | -3/+0 | |
| | ||||||
* | Added other_safe_chars to alpha_strcpy(). Needs testing but is a better | Jeremy Allison | 2001-06-23 | 2 | -6/+14 | |
| | | | | | fix for the problem. Jeremy. | |||||
* | Fix for race condition found by Herb where we can end up with a NULL dbf. | Jeremy Allison | 2001-06-22 | 1 | -8/+0 | |
| | | | | Jeremy. | |||||
* | added the ability to test smbd safely as an ordinary user. The way it works is | Andrew Tridgell | 2001-06-22 | 2 | -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 Potter | 2001-06-22 | 1 | -1/+1 | |
| | ||||||
* | the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵ | Andrew Tridgell | 2001-06-22 | 1 | -7/+1 | |
| | | | | no way of telling if the call really failed |