Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | move the global_machine_password_needs_changing where we need it. | Simo Sorce | 2001-07-17 | 1 | -0/+2 | |
| | ||||||
* | Test if machine password has expired. | Simo Sorce | 2001-07-16 | 1 | -0/+6 | |
| | | | | This test was lost somehow... | |||||
* | Toomas Soome's fix for joining a domain the old way. | Jeremy Allison | 2001-07-11 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | added winbind_exclude_domain() so smbd can tell the winbind client | Andrew Tridgell | 2001-07-10 | 1 | -0/+5 | |
| | | | | | code not to do lookups for a particular domain. This allows winbind to operate on a Samba PDC | |||||
* | This removes unused paramaters from various authtication functions, and should | Andrew Bartlett | 2001-07-08 | 3 | -24/+17 | |
| | | | | | | | | | not change behaviour. This should make my later diffs smaller, where I actualy start cleaning up this mess... Andrew Bartlett | |||||
* | fixed some unicode and LANMAN2 bugs in trans2 find first/next | Andrew Tridgell | 2001-07-07 | 1 | -39/+3 | |
| | ||||||
* | You can't dump_data() a function pointer... | Andrew Bartlett | 2001-07-07 | 1 | -1/+1 | |
| | | | | Andrew Bartlett | |||||
* | Wrapped dlerror() in the same way as the other dlxxx() calls. | Jeremy Allison | 2001-07-06 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | fixed bug where we looked at the first byte of a password to determine | Andrew Tridgell | 2001-07-06 | 1 | -12/+2 | |
| | | | | | | | | | | | | | | if the password is blank. That ain't valid with encrypted passwords! Jeremy, this changes the semantics of session setup. We no longer automatically set guest=True when the client happens to choose their username == the guest username. Instead we rely on the map_to_guest code. I'm pretty sure this is now the right thing, but please look at it carefully before putting it in 2.2 This is the bug that was causing the build farm to sometimes fail. Basically we failed every 256 attempts - ie. when the first byte of the encrypted password happened to be 0 | |||||
* | Fix race where wrong action (created or opened) could be returned. | Jeremy Allison | 2001-07-05 | 1 | -0/+8 | |
| | | | | Jeremy. | |||||
* | Fix for rabbit-pellet mode. Chris please test this. Thanks for Dave CB | Jeremy Allison | 2001-07-05 | 1 | -0/+6 | |
| | | | | | for help on this. Jeremy. | |||||
* | this fixes the failure of MS office on VFAT partitions on Linux | Andrew Tridgell | 2001-07-05 | 1 | -30/+29 | |
| | | | | | | | | The problem is that ftruncate can't expand on VFAT, but it can on ext2. That means our autoconf test is useless. I have recoded it to use the alternative to ftruncate when then sys_ftruncate fails. Jeremy, do you want this for 2.2.1? | |||||
* | fixed a bug in the parameters SMBctemp uses in open_file_shared() | Andrew Tridgell | 2001-07-05 | 1 | -8/+7 | |
| | ||||||
* | use alpha_strcpy on the domain as it comes off the wire | Andrew Tridgell | 2001-07-05 | 1 | -8/+3 | |
| | ||||||
* | allow to use usrmgr/svrmgr tools in win95 | Jean-François Micouleau | 2001-07-04 | 1 | -5/+7 | |
| | | | | pretty cool | |||||
* | strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵ | Andrew Tridgell | 2001-07-04 | 16 | -49/+49 | |
| | | | | can't redefine them. damn. | |||||
* | The big character set handling changeover! | Andrew Tridgell | 2001-07-04 | 25 | -573/+186 | |
| | | | | | | | 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. | |||||
* | check for bad usernames early in session setup | Andrew Tridgell | 2001-07-04 | 1 | -0/+6 | |
| | ||||||
* | Ensure we correctly round down to 2 second boundary if dos filetime | Jeremy Allison | 2001-07-04 | 2 | -9/+46 | |
| | | | | | set for a share. Jeremy. | |||||
* | Remove the exit_server() calls that stop nmbd linking. | Jeremy Allison | 2001-07-03 | 1 | -3/+5 | |
| | | | | Jeremy. | |||||
* | Fixed incorrect debug parameters for lock_pid. | Jeremy Allison | 2001-07-03 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Very minor cleanup. I was looking for another problem and found some bits | Christopher R. Hertel | 2001-07-02 | 1 | -2/+2 | |
| | | | | | | of code that were unclear. Chris -)----- | |||||
* | Fixed the nastiest locking bug to track down.... smb_pids are sent in the | Jeremy Allison | 2001-07-02 | 3 | -16/+36 | |
| | | | | | lockingX calls - use that instead of smb_pid in the packet. Jeremy. | |||||
* | - fix bug in reply_nt- fix bug in reply_nt1 | Simo Sorce | 2001-07-01 | 1 | -4/+4 | |
| | ||||||
* | Fixed the first locking error (test #8 found by locktest code from | Jeremy Allison | 2001-06-30 | 2 | -11/+11 | |
| | | | | | Clarion locktest. Jeremy. | |||||
* | Ensured all the system calls in msdfs.c go through the vfs layer. | Jeremy Allison | 2001-06-29 | 3 | -126/+145 | |
| | | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. | |||||
* | Win9x weirdness. When setting the named pipe handle state on a Unicode | Tim Potter | 2001-06-29 | 1 | -2/+10 | |
| | | | | | server, Win9x only sends \PIPE instead of \PIPE\. Looks suspiciously like an off-by one bug in the Win9x dce/rpc pipe code. | |||||
* | Always use DOMAIN\user first that this is the more specific case. | Jeremy Allison | 2001-06-26 | 1 | -12/+17 | |
| | | | | Jeremy. | |||||
* | Remove warning about trapdoor systems for non-root mode. | Andrew Bartlett | 2001-06-26 | 1 | -0/+4 | |
| | | | | Andrew Bartlett | |||||
* | Fixed stupid typo that would stop trusted domains working. | Jeremy Allison | 2001-06-25 | 1 | -4/+3 | |
| | | | | Jeremy. | |||||
* | fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵ | Andrew Tridgell | 2001-06-25 | 5 | -16/+16 | |
| | | | | instead of a define | |||||
* | - make the regresison test mode code build in by default. This should | Andrew Tridgell | 2001-06-25 | 1 | -11/+1 | |
| | | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something | |||||
* | Log debug before and after netbios names copied so we know if they've been | Jeremy Allison | 2001-06-23 | 1 | -0/+3 | |
| | | | | | changed. Jeremy. | |||||
* | Added other_safe_chars to alpha_strcpy(). Needs testing but is a better | Jeremy Allison | 2001-06-23 | 2 | -4/+4 | |
| | | | | | fix for the problem. Jeremy. | |||||
* | Better fix for client name vulnarability. | Jeremy Allison | 2001-06-23 | 1 | -0/+2 | |
| | | | | Jeremy. | |||||
* | Fixed logic bug in timeout processing spotted by Ying Chen ↵ | Jeremy Allison | 2001-06-22 | 1 | -1/+1 | |
| | | | | | | <ying@almaden.ibm.com>. Jeremy. | |||||
* | added the ability to test smbd safely as an ordinary user. The way it works is | Andrew Tridgell | 2001-06-22 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | Andrew - please look this over. I've fixed a long standing (maybe 4-5 | Jeremy Allison | 2001-06-22 | 2 | -137/+164 | |
| | | | | | | | | | years old) bug when chainging a sessionsetup_and_X and tcon together. The wrong username was being entered into the tdb, even though the correct user was used for accessing files. This is related to the fact that authorise_login() is not used for sessionsetup, but only for tcon auths. Jeremy. | |||||
* | next_token() was supposed to be a reentrant replacement for strtok(), | Andrew Tridgell | 2001-06-21 | 1 | -3/+6 | |
| | | | | | | | | | 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 | |||||
* | Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does | Andrew Tridgell | 2001-06-21 | 2 | -26/+30 | |
| | | | | | | | | send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths | |||||
* | Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>, | Jeremy Allison | 2001-06-21 | 2 | -8/+7 | |
| | | | | | | Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True), but always use dos_to_unix(xx,False) to prevent overwriting. Jeremy. | |||||
* | Fixed W2K SP2 joining a Samba PDC hosted domain. | Jeremy Allison | 2001-06-20 | 1 | -1/+1 | |
| | | | | Jermey. | |||||
* | added a close-share smbcontrol message that forcibly closes a share in smbd ↵ | Andrew Tridgell | 2001-06-20 | 3 | -0/+41 | |
| | | | | (to allow unmount) | |||||
* | Extra debug in open.c, fix for bad debug message in reply.c | Jeremy Allison | 2001-06-19 | 2 | -3/+3 | |
| | | | | Jeremy. | |||||
* | Set support for info levels... | Jeremy Allison | 2001-06-19 | 1 | -20/+14 | |
| | | | | Jeremy. | |||||
* | Best-effort so far implementation of new W2K info levels. | Jeremy Allison | 2001-06-18 | 1 | -0/+148 | |
| | | | | | An-embrace-and-extending we will go... Jeremy. | |||||
* | Be sure to not use strlen with NULL pointer. | Simo Sorce | 2001-06-15 | 1 | -1/+2 | |
| | ||||||
* | Fixed some return code checks for cli_initialise() from False to NULL. | Tim Potter | 2001-06-14 | 1 | -1/+1 | |
| | | | | Spotted by Joe Doran <joed@interlude.eu.org> | |||||
* | Removed commented out msdfs code that was being called anyway. | Tim Potter | 2001-06-12 | 1 | -2/+0 | |
| | ||||||
* | lib/util_getent.c: removed debug code. | Jeremy Allison | 2001-06-12 | 1 | -4/+49 | |
| | | | | | | | smbd/posix_acls.c: Attempt to fix the "lose default acl" problem in Solaris. Needs testing. lib/sysacls.c: Typo fix. Jeremy. |