summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).Günther Deschner1-2/+2
Does automated migration from account_policy.tdb v1 and v2 and offers a pdbedit-Migration interface. Jerry, please feel free to revert that if you have other plans. Guenther (This used to be commit 75af83dfcd8ef365b4b1180453060ae5176389f5)
2007-10-10r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries().Günther Deschner1-1/+1
This allows the ldap-backend to search much more effeciently. Machines will be searched in the ldap_machine_suffix and users in the ldap_users_suffix. (Note that we already use the ldap_group_suffix in ldapsam_setsamgrent for quite some time). Using the specific ldap-bases becomes notably important in large domains: On my testmachine "net rpc trustdom list" has to search through 40k accounts just to list 3 interdomain-trust-accounts, similiar effects show up the non-user query_dispinfo-calls, etc. Also renamed all_machines to only_machines in load_sampwd_entries() since that reflects better what is really meant. Guenther (This used to be commit 6394257cc721ca739bda0e320375f04506913533)
2007-10-10r4830: Fix for problem noticed by Guy Harris <gharris@apple.com>, returnJeremy Allison1-2/+4
correct DOS/NT error code on transact named pipe on closed pipe handle. Jeremy. (This used to be commit 599c281464fa96725c3ee6dd3c5ee03ea81314ea)
2007-10-10r4736: small set of merges from rtunk to minimize the diffsGerald Carter1-0/+4
(This used to be commit 4b351f2fcc365a7b7f8c22b5139c299aa54c9458)
2007-10-10r4704: Fix encoding while receiving of a message which was actually sent ↵Alexander Bokovoy1-4/+4
using STR_ASCII. Patch from Grigory Batalov <bga@altlinux.org> (This used to be commit dddd5726462c13374788713ad5ddcbdf9ee7b439)
2007-10-10r4539: patch from Rob -- adding real printcap name cache function to speed ↵Gerald Carter3-46/+42
up printcap reloads (This used to be commit 1cad5250932b963c2eb9b775221b13db386d601b)
2007-10-10r4337: Produce a slightly different error message is lanman authentication isAndrew Bartlett1-3/+8
disabled, rather than simply unavailable. Andrew Bartlett (This used to be commit 1c70583a19c9f741a41d08c0b994fccb66eeb0bf)
2007-10-10r4330: Fix for bug found by Rob Foehl <rwf@loonybin.net>. Remember toJeremy Allison1-0/+2
add in the bcc length for readX on named pipes. Jeremy. (This used to be commit 1168395e6a543c51f684280b00fb8c9b8bbc6ec0)
2007-10-10r4301: One more *alloc -> SMB_MALLOC (not compiled by default).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 235a0c1698db48583a6860a3a9fca9f261544365)
2007-10-10r4295: Don't include header len in data write debug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 473babfecac87a7e1068246bddc171a464be59e5)
2007-10-10r4293: Fix inspired by debug trace from Rob Foehl <rwf@loonybin.net> - catch ↵Jeremy Allison1-2/+20
sendfile errors correctly and return the correct values we want the caller to return (-1 meaning none in correct cases). Jeremy. (This used to be commit 139c1c3488237d710ceda394c028b8dc9007bff1)
2007-10-10r4212: Ensure we only look at the bottom bit of large_readx.Jeremy Allison1-1/+3
Set the 14 word version of write if size > 0xffff as well as 64-bit offset. Jeremy. (This used to be commit 94779ccb39560bf5eecab77d70f1fa04bfcf1456)
2007-10-10r4190: When changing length calculations, get them right......Jeremy Allison2-3/+4
Jeremy. (This used to be commit 63cfa904ad186bb9d793584d319bd4a7107cc8b9)
2007-10-10r4186: Fix client & server to allow 127k READX calls.Jeremy Allison2-2/+4
Jeremy. (This used to be commit 831cb21a874601e4536c2cf76c5351e1d0defcb5)
2007-10-10r4143: Make strict locking an enum. Auto means use oplock optimization.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0dd4adeae2042d0ea64398a78b3f48eb0150c133)
2007-10-10r4108: As check_self is *always* False in every invokation, remove theJeremy Allison1-11/+10
logic for it. We still pass Samba4 RAW-LOCK test. Jeremy. (This used to be commit 596f23051363f8cc8896119b3eca0663a61a38c3)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison25-162/+179
allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
2007-10-10r4083: consolidate printer searches to use find_service rather than for loopsGerald Carter1-35/+17
(This used to be commit 12440744ba36445186042c8c254785766cce5385)
2007-10-10r4043: BUG 2091: don't remove statically defined printers in ↵Gerald Carter1-4/+12
remove_stale_printers() (This used to be commit c24a3c49ce20797c0f9172e503e34770d00842ec)
2007-10-10r4019: better error logging in register_message_flags() from RobGerald Carter1-2/+3
(This used to be commit 5fc0f838e7ec8b29d7987caafe9ffbb8724a3176)
2007-10-10r4018: * move claim_connection from the netbios session requestGerald Carter3-3/+7
reply code to the negprot reply code to cope with client connections on port 445. Fixes the spurious "register_message_flags: tdb fetch failed" errors. * don't run the backgroup LPQ daemon when we are running in interactive mode. (This used to be commit 88747a7da351261185222e78e9c8d470ff53a246)
2007-10-10r4016: Fix for bug found by Steve French client code (cifsfs) onJeremy Allison1-0/+9
POSIX ACL set. You need to *get* a permset_t pointer from the entry before any of the permset code will accept it as a valid value Jeremy. (This used to be commit 7e78059948612fa9f5d179a1e3f5f59e7ad5e456)
2007-10-10r4007: Fix bug #2088 - ensure inherit permissions is only applied on a new file,Jeremy Allison7-16/+16
not an existing one. Jeremy. (This used to be commit fbbdb72cf1adfe567112556626f26b031747f440)
2007-10-10r3954: bring Samba3 into line with the Samba4 password change codeAndrew Tridgell1-18/+11
(This used to be commit 04a6573f894800b9d939d9b4be48790437352804)
2007-10-10r3951: Fix for bugid #2081 reported by John Janosik <jpjanosi@us.ibm.com> - ↵Jeremy Allison1-1/+3
ensure SE_DESC_DACL_PROTECTED is set if "map acl inherit = no". Jeremy. (This used to be commit 934c41b474c8959310389378bfa7d3332bd5ec79)
2007-10-10r3946: Fix for bugid #2085 reported by Jason Mader <jason@ncac.gwu.edu>. Use ↵Jeremy Allison5-5/+5
consistent enum type for Protocol extern. Jeremy. (This used to be commit 65dfae7ea45d4c9452b2a08efa09b01d870142f3)
2007-10-10r3944: Fix the problem we get on Linux where sendfile fails, but we've ↵Jeremy Allison1-15/+67
already sent the header using send(). As our implementation of sendfile can't return EINTR (it restarts in that case) use an errno of EINTR to signal the linux sendfile fail after header case. When that happens send the rest of the data and then turn off sendfile. Sendfile should be safe to enable on all systems now (even though it may not help in all performance cases). Jeremy. (This used to be commit 78236382f7ffe08d7924907be49493779521837f)
2007-10-10r3936: Ensure LARGE_READX response must fit within reply buffer.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 5541001cf98aa9afb8f98ebeb91561348d3f5d74)
2007-10-10r3934: Correctly check for the top length bit in LARGE_READX.Jeremy Allison1-0/+5
Jeremy. (This used to be commit f9effa2af90245c0fe090d730c86a2a60d8570dc)
2007-10-10r3895: Fix for bug #2045. May also fix other timestamp bugs with ExcelJeremy Allison2-7/+27
(Volker please test). Setting a last write timestamp from Windows overrides any subsequent write timestamp changes and must be immediately seen by and findfirst/findnexts. This is a racy solution, but should work most of the time. This may also fix #1061, not sure. Jeremy. (This used to be commit 47bab92c0b062f3fefbb4fd4a09852e1c829a7f9)
2007-10-10r3889: Only set mtime from pending_modtime if it's not already zero...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 984c3506351ba97f74813d678424858508c4197a)
2007-10-10r3877: Final (I hope :-) fix for #2050 from Lars Müller for select maxfd's.Jeremy Allison1-5/+4
Jeremy. (This used to be commit 65fc39fc388244923d1e36076b5a4116aa434be5)
2007-10-10r3859: Ensure if num_acls is set to 0xFFFF this field is ignored.Jeremy Allison2-55/+68
Use def_acl everywhere instead of dir_acl. Jeremy. (This used to be commit d28611c960f87830aa8449725951984aa155b089)
2007-10-10r3853: Fix an uninitialized variable warning. Jeremy, there are some of these inVolker Lendecke1-0/+2
charcnv.c. Volker (This used to be commit 650d52648dbf67f71d7619ffb8bf32d93a15ae9c)
2007-10-10r3848: Fix for bug 2057. Only partially applied the patch, the second part ↵Volker Lendecke1-0/+7
seems not necessary. I'm using gcc 3.4.1, this does not detect the possibly uninitialized variable. Does anybody know how to get 3.4.1 to warn me? Volker (This used to be commit 8b6f8f93a0f30be0184e6044a499c1ef8f7b247e)
2007-10-10r3824: Fix crash in api_RNetShareEnum. ServicePtrs[] may contain invalidVolker Lendecke1-0/+4
entries. Happened after rev3708 removed non-existing cups printers. Volker (This used to be commit 60998d9d2f6272e383304da2b1d568a4b65f8787)
2007-10-10r3823: Fix bug reported by Tom Dickson <tdickson@inostor.com> withJeremy Allison1-1/+2
follow symlinks = no reporting an incorrect error when it should be access denied. Jeremy. (This used to be commit 5a103f4abff0503740822c8ed75d9102ee51e8f0)
2007-10-10r3817: Fix from Lars Müller <lmuelle@suse.de> for bug #2050, calculateJeremy Allison1-2/+8
max_fd for select correctly. Jeremy. (This used to be commit eb0b1f757d814e01980cd9c5fc4918791ce1e54d)
2007-10-10r3816: Added fn to remove an ACL from a file. Now need client code to test this.Jeremy Allison1-2/+128
How do the share mask/modes fit into this code... Need to think about this. Jeremy. (This used to be commit 1aa1c2f489f5b92c3696e7b9123061d91babc34e)
2007-10-10r3814: At least use a proper constant name (aRONLY :-) not a number.Jeremy Allison1-2/+2
That way we can at least remember why we did this :-). Jeremy. (This used to be commit d84f5f8cc10f89d5fbd6cfb694bccfbd1c3d8a3f)
2007-10-10r3811: Believe it or not, but this patch seems to be necessary. If someone ↵Volker Lendecke1-2/+11
sets a folder icon in the start menu and saves the profile on a samba server, after logging in again this setting is gone. Why is this? The folder for which the icon is set must have the read only flag set. If it is not set, the desktop.ini file (the file containing the icon reference) inside that folder is ignored. lp_profile_acls is a hack for such a situation, so overload this parameter with another profile-related hack. Volker (This used to be commit b8d888000eb7456c7620e9a783d6f1b3ba4c8985)
2007-10-10r3794: Added set posix acl functionality into the UNIX extensions code.Jeremy Allison2-6/+273
One part missing - delete file acl (to be added asap). No client code yet, also needs testing with valgrind. Jeremy. (This used to be commit 6101ec2247c182fde6ea3e7e1f64a92b353ec4e8)
2007-10-10r3714: Getfacl now seems to work on files and directories. Next do setfaclJeremy Allison1-0/+1
and port to Samba4. Jeremy. (This used to be commit 4d52bf7c8b3147dd4f0d3081fbf9a1f5ebd246a1)
2007-10-10r3713: Implementation of get posix acls in UNIX extensions. Passes valgrind.Jeremy Allison1-3/+194
Need to add printout functions in client and set posix acl in server. SteveF - take a look at this for the cifsfs client ! Once this is working and tested the next step is to write this up for the UNIX extensions spec. documents. Jeremy. (This used to be commit 1bd3f133442a472b4718b94a636f2fec89a2e0dc)
2007-10-10r3708: BUG 1838: patch from Gavrie Philipson <gavrie@disksites.com> to ↵Gerald Carter1-1/+2
remove stale printers when reloading after a sighup (This used to be commit bcb9105c5488a97944d2dfee8681d662e9c9b818)
2007-10-10r3705: Nobody has commented, so I'll take this as an ack...Volker Lendecke1-23/+22
abartlet, I'd like to ask you to take a severe look at this! We have solved the problem to find the global groups a user is in twice: Once in auth_util.c and another time for the corresponding samr call. The attached patch unifies these and sends them through the passdb backend (new function pdb_enum_group_memberships). Thus it gives pdb_ldap.c the chance to further optimize the corresponding call if the samba and posix accounts are unified by issuing a specialized ldap query. The parameter to activate this ldapsam behaviour is ldapsam:trusted = yes Volker (This used to be commit b94838aff1a009f8d8c2c3efd48756a5b8f3f989)
2007-10-10r3693: Correctly detect errno for no acl/ea support.Jeremy Allison1-14/+6
Jeremy (This used to be commit 089a76f611187e2ba4c3363b657905d04576109e)
2007-10-10r3682: fix seg fault in lanman printing code caused by uninitialized variableGerald Carter1-0/+6
(This used to be commit c52e663c4a32b975796383834b2c04796daf8f29)
2007-10-10r3674: Stefan Esser <s.esser@e-matters.de> pointed out that the max dataJeremy Allison2-68/+63
value is only valid on the initial trans/trans2/nttrans request, so if there are secondary requests we can't read it from them. Read it from the initial request and pass as a parameter for those functions that need it. Jeremy. (This used to be commit e007845e67e0604321fb36b216a98e4fca1c98e1)
2007-10-10r3673: Do not fail on setting file attributes with acl support enabled.Günther Deschner1-3/+1
Rolling back r3496 (close #2015). Guenther (This used to be commit e88ac807847bd016f9c921f01f788708b1564b5c)