summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r7217: Only allow schannel connections if a successful Auth2 has been doneVolker Lendecke2005-06-032-0/+9
| | | | | | | | | before. Things tested: Domain join and subsequent interactive and network logon to NT4, W2kSP and XPSP2 workstations and a NT4 domain trusting us. Right now I've got problems with my W2k3 domain trusts. So this needs testing, although I'm really confident that this does not break. Volker
* r7210: Fix my own mistakes up, sorry.Jeremy Allison2005-06-033-5/+5
| | | | Jeremy.
* r7202: lock mtab when updating it during umount.cifs, also delete only one ↵Steve French2005-06-031-17/+63
| | | | matching entry at a time
* r7200: Don't use memset, use SET_STAT_INVALID (has the same effect).Jeremy Allison2005-06-026-11/+12
| | | | Jeremy.
* r7197: fix build failure when running 'make torture' withoutGerald Carter2005-06-021-4/+4
| | | | first running 'make all' first
* r7191: Squeezing out more unnecessary memset's gets us up 20% over older ↵Jeremy Allison2005-06-021-28/+45
| | | | | | | code :-). Getting medieval on our ass about memset.... Jeremy.
* r7190: I *love* valgrind/cachegrind.....Jeremy Allison2005-06-021-10/+9
| | | | | | By removing unneeded memsets in qfilepathinfo I just improved our netbench performance by *********15%**********. Check it out :-). Jeremy.
* r7175: fix incorrect commentDerrell Lipman2005-06-011-1/+4
|
* r7172: This is the proper fix for setting file times from libsmbclient. We nowDerrell Lipman2005-06-014-86/+244
| | | | | try setpathinfo, and if that doesn't work (e.g. on win98), revert to the previous slower method.
* r7168: Updating file times from libsmbclient was not working for win98. ↵Derrell Lipman2005-06-012-37/+68
| | | | | | | | | | | | | | Although the function that was being used to set attributes is a core protocol function (SMBsetatr = 0x09), it does not appear to work on win98. As a temporary measure, when file times are to be set, this version opens the file and uses SMBsetattrE = 0x22 instead. (The other advantage of this function over the original one is that it supports setting access time as well as modification time.) The next step, the proper solution if it can be made to work, is to write functions that use TRANS2_SET_PATH_INFO instead.
* r7157: Ensure we abort a directory listing if we see the sameJeremy Allison2005-06-011-0/+7
| | | | | name twice between packets. Jeremy.
* r7151: Fix for bug #2698. If a unicode to unix charset conversion fails (due ↵Jeremy Allison2005-05-311-10/+40
| | | | | | | | | | | | to buggy iconv?) we can be left with a filename that doesn't exist on the remote machine. If we then do a findnext with this file the server gets confused and restarts from the beginning of the directory, causing directory listing loops. Fix this by keeping a copy of the "raw" filename data and length and using this as the argument to findnext. This won't fix the incorrect iconv conversion into the finfo struct but at least it ensures that directory listings always terminate. Tested against NTFS and FAT directories. Jeremy.
* r7148: Fix #2736: winbind race condition with detecting idle clientsJim McDonough2005-05-311-6/+12
| | | | | | | winbind idle connection closing logic is getting invoked under high loads for clients which may already have commands in the pipe. This race condition causes clients to fail with NSS_STATUS_UNAVAIL sometimes. We now retry several times hoping (still not guaranteed, though) it will work.
* r7145: reuse the WINBIND_REQUIRED_MEMBERSHIP constant. Günther Deschner2005-05-311-12/+14
| | | | | | | This is just cosmetic but prevents people from thinking that the pam_winbind "require_membership_of"-option is not yet implemented :) Guenther
* r7143: removing unused fileGerald Carter2005-05-311-0/+0
|
* r7142: removing 'ldap filter' smb.conf optionGerald Carter2005-05-312-8/+4
|
* r7140: removing aparser directory since it is obselete in light of pidlGerald Carter2005-05-3156-4009/+0
|
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2005-05-3139-4911/+1327
| | | | version to 3.0.20pre1
* r7130: remove 'winbind enable local accounts' code from the 3.0 treeGerald Carter2005-05-3112-1928/+6
|
* r7126: fixing paranoid malloc checker failuresGerald Carter2005-05-313-6/+5
|
* r7041: compile fixes....long day I guessGerald Carter2005-05-271-2/+3
|
* r7039: Ensure we always call read_socket_with_timeout() whenJeremy Allison2005-05-271-1/+6
| | | | | | | | timeout > 0. Better solution after much helpful input from derrell@samba.org. We may eventually change the read_socket_with_timeout() interface to count down the timeout value. Jeremy.
* r7038: * upgrade version of nt*tdb files. Have to fixGerald Carter2005-05-271-10/+145
| | | | | | | some issues in the printer security descriptors. Ensure that each printer sd has an oaner and group SID (BUILTIN\Administrators) and that we utilize more than the generic bits assigned in <= 3.0.14a.
* r7034: Revert change in util_sock.c from derrell until this isJeremy Allison2005-05-271-58/+13
| | | | | discussed more on samba-technical. Jeremy.
* r7033: Call a spade a spade :-).Jeremy Allison2005-05-272-91/+85
| | | | Jeremy.
* r7031: Added encrypt/decrypt function for LSA secrets and trustedJeremy Allison2005-05-272-1/+30
| | | | | domain passwords on the wire. Jeremy.
* r7025: 1 if not all data is available at the time we go to read a packet, retryDerrell Lipman2005-05-272-23/+75
| | | | | | the read using a timeout to ensure that all data for the packet is received. 2 some minor changes to meet coding standards 3 eliminate some compiler warnings
* r7024: reverting mistaken commitGerald Carter2005-05-274-29/+8
|
* r7020: fixing printer ace values and getting rid of false compiler warning ↵Gerald Carter2005-05-277-14/+34
| | | | about unitialized variable
* r6995: * fixing segfault when writing out registry values of zero lengthGerald Carter2005-05-264-13/+47
| | | | | * add RegSaveKey() client function * add 'net rpc registry save' subcommand
* r6994: Fix for bugid #2729 - it turns out resume keys are *mandatory* forJeremy Allison2005-05-261-5/+11
| | | | | | | a search when listing a W2K and above server from a FATxx filesystem only. Thanks to Steve Langasek <vorlon@debian.org> for giving me the essential info that allowed me to reproduce and thus fix this. Jeremy.
* r6992: syncing printer permissions changes from trunkGerald Carter2005-05-261-7/+7
|
* r6979: Tidyups.Jeremy Allison2005-05-251-8/+2
| | | | Jeremy.
* r6977: Fix bug #2735 (not mangling control characters) plusJeremy Allison2005-05-253-0/+15
| | | | | | ensure we don't create files with control characters either. Jeremy.
* r6965: Remove some dead code from util_unistr.c.Jeremy Allison2005-05-252-66/+36
| | | | | | Start of fix for #2735 - we are not mangling some names we should. More fixes to follow. Jeremy.
* r6959: Meant to fix this before commiting, just to be consistent.Deryck Hodge2005-05-241-1/+1
| | | | deryck
* r6958: Properly display quotes in SWAT. Thanks to JayDeryck Hodge2005-05-241-2/+22
| | | | | | Fenlason <fenlason@redhat.com> for spotting this issue. deryck
* r6953: Many compilers in the build farm don't like static variables ↵Volker Lendecke2005-05-241-3/+3
| | | | | | | | | | | initialized with strlen(..). Jerry, I think this needs another fix. I just want to make the build farm happy. Not merging to trunk, this needs further looking at. Volker
* r6949: Back-port Volker's cache fix, plus my change.Jeremy Allison2005-05-241-0/+38
| | | | Jeremy.
* r6946: Allow mapping of POSIX ACLs to NT perms to differentiate between ↵Jeremy Allison2005-05-232-6/+22
| | | | | | | directories and files. Needed for Volker's coming changes. Jeremy.
* r6943: missed in last syncGerald Carter2005-05-231-1/+3
|
* r6942: * merging the registry changes back to the 3.0 treeGerald Carter2005-05-2324-1273/+4145
| | | | * removing the testprns tool
* r6940: fixing debug messagesGerald Carter2005-05-231-3/+3
|
* r6925: merge rev 6920 from 4_0:Stefan Metzmacher2005-05-201-1/+6
| | | | | | display the SVN revision in svk build of tree's directly mirrored from samba.org metze
* r6900: Fix bug 2725. Thanks, John, for finding it.Volker Lendecke2005-05-191-1/+3
| | | | Volker
* r6895: Add "acl check permissions" to turn on/off the new behaviour ofJeremy Allison2005-05-184-16/+28
| | | | | | | | checking for write access in a directory before delete. Also controls checking for write access before labeling a file read-only if DOS attributes are not being stored in EA's. Docuementation to follow. Jeremy.
* r6890: Refactor printing interface to take offset into job. Fixes bugJeremy Allison2005-05-185-15/+57
| | | | | | where large print jobs can have out-of-order offsets. Bug found by Arcady Chernyak <Arcady.Chernyak@efi.com> Jeremy.
* r6880: Fix bug 2070 after positive feedback from Leon Vernikov. Thanks!Volker Lendecke2005-05-181-8/+16
| | | | Volker
* r6849: Merge revision 6845 from Samba 4Volker Lendecke2005-05-171-8/+11
|
* r6841: Attempt to fix buf #2681. With "strict allocate = yes" we now zeroJeremy Allison2005-05-172-0/+71
| | | | | | fill when a file is extended. Should catch disk full errors on write from MS-Office. Jeremy.