summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
* sync with SAMBA_2_2 for rc4Gerald Carter2002-10-151-1/+1
|
* updating whatsnew and merging from SAMBA_2_2Gerald Carter2002-10-151-4/+2
|
* sync with SAMBA_2_2 for 2.2.6rc3Gerald Carter2002-10-111-0/+12
|
* sync with SAMBA_2_2 for 2.2.6rc1Gerald Carter2002-10-0913-286/+696
|
* another sync with SAMBA_2_2. Regenerated docs after vl new strip-links.plGerald Carter2002-08-282-4/+10
| | | | change
* syncing up for 2.2.6pre2Gerald Carter2002-08-276-94/+231
|
* merging for 2.2.6pre1Gerald Carter2002-07-279-51/+58
|
* more syncs with SAMBA_2_2Gerald Carter2002-06-181-12/+41
|
* beginning to sync up for 2.2.5 release....Gerald Carter2002-06-1723-2200/+1507
|
* This commit was manufactured by cvs2svn to create branchcvs2svn Import User2002-06-132-0/+1448
|\ | | | | 'SAMBA_2_2_RELEASE'.
| * Merge in mangle fixes from 2.2.Jeremy Allison2002-06-136-369/+371
| | | | | | | | Jeremy.
| * Ensure when allowing fchown with write access and dos filemodes thatJeremy Allison2002-06-071-7/+7
| | | | | | | | | | we leave the gid alone. Jeremy.
| * Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett2002-06-073-6/+5
| | | | | | | | | | | | | | | | | | initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" <metze@metzemix.de> This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett
| * Allow sd_len to be zero on NT_TRANSACT_CREATE but not for set sd (helpsJeremy Allison2002-06-071-4/+7
| | | | | | | | | | Novell client). Jeremy.
| * Overly complex but neccessary fix for kernel oplock problems. The issueJeremy Allison2002-06-063-21/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is that there are some times when we should return an EINTR from a select, some times when we should not. As we can take a signal at any time, we have to eat EINTR's in some selects. This means we need to check for kernel oplock breaks more often in the main loop, as well as add the queuing mechanism needed for the changenotify code (due to the mistake in understanding POSIX semantics w.r.t. setting a signal mask in a signal handler). This code now passes all my tests. However, (and IMHO and I know tridge disagrees) - the correct way to fix this is to run with RT signals blocked and explicitly unblock them just before the main select, block them after and then process them all in one place. Just my 2cents :-). Jeremy.
| * Remove blocksignals call as it's never going to bloody work right...Jeremy Allison2002-06-051-1/+0
| | | | | | | | Jeremy.
| * Fix for Linux kernel bug where signal mask set within a signal handlerJeremy Allison2002-06-051-33/+67
| | | | | | | | | | | | is being ignored on sighandler exit. This means we have to have a small array of fd's, not a single one. Jeremy.
| * Move session gathering routine back into session.c so it can be called eitherJim McDonough2002-06-032-53/+53
| | | | | | | | in RAP or RPC environment.
| * Removed some unused variables - tidy up some formating, add struct toJeremy Allison2002-05-312-193/+190
| | | | | | | | | | client state to implement smb signing - this is a test at present. Jeremy.
| * Add support for NTLMv2 (tested!) with NTLMSSP.Andrew Bartlett2002-05-261-17/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was the NTLMv2 uses extra data in order to make reply/lookup more difficult. That extra data includes the hostname, and the domain. This matches Win2k (sort of) by sending this information. Win2k connects with LMCompatibilityLevel=5 without a problem. We can change the negotiation bits if we want, this should allow us to make NTLMv2 the default for other clients as well. Some of the extra #defines were found in the squid source. Andrew Bartlett
| * Clean up a few unused functions, add a bit of static etc.Andrew Bartlett2002-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Importantly: The removal of the silly 'delete user script' behaviour when secuity=domain. I have left the name the same - as it still does the (previously documented, but not in smb.conf(5)) sane behaviour of deleting users on request. When we decide what to do with the 'add user' functionality, we might rename it. Andrew Bartlett
| * Remove the password length paramater from cli_full_connection - it reallyAndrew Bartlett2002-05-241-1/+1
| | | | | | | | | | | | | | | | didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett
| * If we don't do the select don't do the recvfrom.Jeremy Allison2002-05-241-0/+1
| | | | | | | | Jeremy.
| * Fixed silly typo that causes receive_local_message to loop - caused byJeremy Allison2002-05-241-1/+1
| | | | | | | | | | my removal of the goto. Oops ! Jeremy.
| * Merge of bugfixes from 2.2.Jeremy Allison2002-05-222-6/+8
| | | | | | | | Jeremy.
| * Fix for strangeness in Linux 2.0.x select return.Jeremy Allison2002-05-221-0/+14
| | | | | | | | Jeremy.
| * Remove horrid goto.Jeremy Allison2002-05-221-10/+5
| | | | | | | | Jeremy.
| * Cleanups!Andrew Bartlett2002-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | Make some code static, add some const to the PAM code, and make the plaintext password code actually function - particulary without the requirement to modify the 'struct passwd' (which it assumed was made up of fstrings) This kills some particularly ugly code in lib/util_pw.c Andrew Bartlett
| * Merge of receive_local_message fix from 2.2.5.Jeremy Allison2002-05-224-51/+35
| | | | | | | | Jeremy.
| * Tricky fix. If we were waiting for an oplock break response message fromJeremy Allison2002-05-211-0/+11
| | | | | | | | | | | | | | | | another smbd and an incoming SIGUSR1 message arrived we'd break out of the wait early - as we have to use sys_select() to wait for an oplock response message, not sys_select_intr() (which ignores EINTR errors) because of the real time signal kernel interface. Jeremy.
| * Stop smbd looping when hide unreadable is true and .. is unreadable.Jeremy Allison2002-05-201-65/+72
| | | | | | | | Jeremy.
| * Merge from 2.2.Jeremy Allison2002-05-202-2/+3
| | | | | | | | Jeremy.
| * Spelling fix.Tim Potter2002-05-191-1/+1
| |
| * A few things in this commit:Andrew Bartlett2002-05-183-26/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup some of the code in net_rpc_join re const warnings and fstrings. Passdb: Make the %u and %U substituions in passdb work. This is done by declaring these paramters to be 'const' and doing the substitution manually. I'm told this is us going full circle, but I can't really see a better way. Finally these things actually seem to work properly... Make the lanman code use the pdb's recorded values for homedir etc rather than the values from lp_*() Add code to set the plaintext password in the passdb, where it can decide how to store/set it. For use with a future 'ldap password change' option, or somthing like that... Add pdb_unix, so as to remove the 'not in passdb' special cases from the local_lookup_*() code. Quite small, as it uses the new 'struct passwd -> SAM_ACCOUNT' code that is now in just one place. (also used by pdb_smbpasswd) Other: Fix up the adding of [homes] at session setup time to actually pass the right string, that is the unix homedir, not the UNC path. Fix up [homes] so that for winbind users is picks the correct name. (bad interactions with the default domain code previously) Change the rpc_server/srv_lsa_nt.c code to match NT when for the SATUS_NONE_MAPPED reply: This was only being triggered on no queries, now it is on the 'no mappings' (ie all mappings failed). Checked against Win2k. Policy Question: Should SID -> unix_user.234/unix_group.364 be considered a mapping or not? Currently it isn't. Andrew Bartlett
| * Make --with-ldapsam 'go away'. This is now a standard, stable, featureAndrew Bartlett2002-05-171-3/+6
| | | | | | | | | | and there is no real reason for it to depend on more than the abilty to compile the code.
| * Check paramters for NULL.Andrew Bartlett2002-05-171-0/+4
| |
| * This removes --with-ssl from Samba.Andrew Bartlett2002-05-174-317/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option was badly maintained, useless and confused our users and distirbutors. (its SSL, therfore it must be good...) No windows client uses this protocol without help from an SSL tunnel. I can't see any reason why setting up a unix-side SSL wrapper would be any more difficult than the > 10 config options this mess added to samba in any case. On the Samba client end, I think the LIBSMB_PROG hack should be sufficient to start stunnel on the unix side. We might extend this to take %i and %p (IP and port) if there is demand. Andrew Bartlett
| * Get the sco boxes compiling again - use the sys_ intefaces for all the dl*Andrew Bartlett2002-05-172-2/+2
| | | | | | | | funcitons.
| * Fix bug where creating a file and setting a security descriptor atomicallyJeremy Allison2002-05-161-47/+68
| | | | | | | | | | | | that only contains an "everyone" DACL doesn't apply this to user and group entries also. Jeremy.
| * Removed lp_strip_dot code - ensured that mangling code treats names endingJeremy Allison2002-05-143-32/+45
| | | | | | | | | | | | in '.' as invalid long filenames (special treatment for '.' and '..' which are valid - yes Andrew I did this without strlen :-) :-). Jeremy.
| * Fix bug where setting end of file length to 8 was hitting erroneousJeremy Allison2002-05-131-0/+4
| | | | | | | | | | | | check for OS/2 EA set. This caused Macromedia movie files to not export correctly onto a Samba share. Originally spotted by Michel Stoop stoop@ncg.nl. Jeremy.
| * Sync'ing SAMBA_2_2 with HEAD.Shirish Kalele2002-05-091-8/+15
| |
| * Fix build farm bug.Jeremy Allison2002-04-291-1/+1
| | | | | | | | Jeremy.
| * Added 2.2.x mangle fix to old mangle code in HEAD.Jeremy Allison2002-04-291-2/+1
| | | | | | | | Jeremy.
| * smbd/fileio.c: debug changes so read/write/seek calls can be logged for ↵Jeremy Allison2002-04-241-382/+393
| | | | | | | | | | | | | | name, pos, size easily. Might help with access problem. Jeremy.
| * move to the FNV1 hash alghorithm seem goodSimo Sorce2002-04-242-4/+15
| | | | | | | | | | | | the test revealed 15 collision with 1 Million long file names :-) Simo.
| * patch from Alexander Bokovoy needed for dlopen on bsd systemsAndrew Tridgell2002-04-241-2/+11
| |
| * made a couple of variables staticAndrew Tridgell2002-04-241-3/+4
| |
* | Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-3029-2797/+2920
| | | | | | | | Jeremy.
* | This commit was manufactured by cvs2svn to create branchcvs2svn Import User2002-04-241-0/+203
|\ \ | | | | | | 'SAMBA_2_2_RELEASE'.