summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-03-13include/smb_macros.h: Don't round up an allocation if the size is zero.Jeremy Allison5-10/+44
"One of these locks is not like the others... One of these locks is not quite the same" :-). When is a zero timeout lock not zero ? When it's being processed by Windows 2000 of course.. This code change, ugly though it is - completely fixes the foxpro/access multi-user file system database problems that people have been having. I used a *wonderful* test program donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me to completely reproduce this problem, and to finally determine the correct fix. This also explains why Windows 2000 is *so slow* when responding to the smbtorture lock tests. I *love* it when all these things come together and finally make sense :-). Jeremy. (This used to be commit 8aa9860ea2ea7f5aed4b6aa12794fffdfa81b0d0)
2002-03-13detect SIZELIMIT_EXCEEDED in ldap queries and truncateAndrew Tridgell1-0/+4
the problem is, how the heck do we properly handle these? Jerry? It seems that the Win2000 ADS server only returns a max of 1000 records! (This used to be commit 93389647203395da0e894c2e57348081e755884a)
2002-03-13Ensure we never use "" as a domain name (Win9X apparently does this for 'net ↵Andrew Bartlett1-1/+6
use' duirng login). Picked up from a post to a TNG list by Volker. Andrew Bartlett (This used to be commit f81882fc9510aadd7d1db77753b307800ab50f9b)
2002-03-13Add "Creator Group" - was in 2.2.x and I'm syncing up the two.Jeremy Allison1-0/+2
Jeremy. (This used to be commit bcf38961a7786c5cf1eb7568b87c19712c3ea9cc)
2002-03-13Fix typo in copyrightAndrew Bartlett1-1/+1
(This used to be commit 54e69ed20adc74fdfe007a9642dcb3a55c02d856)
2002-03-13I don't need my name on this twice :-)Andrew Bartlett1-1/+0
(This used to be commit 764b99a3906d6299650f984860a586f37b18326d)
2002-03-13Move the directory creation process outside the 'installbin.sh' script, andAndrew Bartlett3-14/+22
into its own. The 'installdirs' makefile entry didn't do anything on my laptop, so it has been replaced with the section from installbin.sh. This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when making the directories. Finally, link pam_winbind with .po objects only, not a mix of .o and .po (as per Don Mccall's request). Andrew Bartlett (This used to be commit c7a883df28da9dd6fb88198df22c4d78bf8acd8b)
2002-03-13Remove a stub function I forgot to fill in.Jeremy Allison1-6/+0
Jeremy. (This used to be commit d08cbcbc5d4fc3ec9554145de6b0b0a64dfbb8d1)
2002-03-13if we know that the SID is local then don't try via winbinddAndrew Tridgell1-0/+5
(This used to be commit 1a8f3ba3ab7717c481e3fb4f1ea8938461160d09)
2002-03-13fixed mapping of SIDs for local usersAndrew Tridgell1-1/+1
(This used to be commit df9e345366078ccaa94df7c2f2e33b292605e88a)
2002-03-12fixed 2 reconnection bugs in the ADS backend supportAndrew Tridgell1-7/+11
(This used to be commit 1aaa2091d54e7e50cf75927d658e57776792d6ae)
2002-03-12get the test for disconnection the right way around!Andrew Tridgell1-3/+3
(This used to be commit ed80311b41f9869084d1e510cd8fd4213c3a1c19)
2002-03-12Yet another build fix for popt. I gotta get me one of these picky systems...Jim McDonough1-1/+1
(This used to be commit 19546bdd5541785dc8430f8ffa2afcdb42015b96)
2002-03-12Missing comma from systems that have ACLs.Jim McDonough1-1/+1
(This used to be commit 96e4282dca757e8621d23a54fb7203c93d2d41fc)
2002-03-12Aack. Don't change too much. vfs.c still won't build, but this should fix ↵Jim McDonough1-9/+9
some other build stuff I screwed up. (This used to be commit 4490ad340cff1ea2a5b519150ad5c49bcea23766)
2002-03-12Fix up location of libsmbclient.so so it always goes to /usr/lib.John Terpstra1-1/+1
(This used to be commit e508b07fe766c679d6fc2a940bec72b9b2a61b01)
2002-03-12Added wins entry.John Terpstra1-0/+2
(This used to be commit a4be3b7b93ac95d16c01519a57fd9c57b20ffcae)
2002-03-12Removed unused var.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 45bf5f6c050bbe69209a5c80141ef8e54354f5ea)
2002-03-12Ensure, if we're a PDC or BDC, that the SID stored for the domain nameJeremy Allison1-10/+70
and the machine name are identical. Jeremy. (This used to be commit 87e6b08964d13d6613342c9be21871a2e776e2e6)
2002-03-12Merge of enumprinters vs getprinter naming patch from 2.2Tim Potter2-20/+38
(This used to be commit dfd51bc8d0714473880bf50369f7994304c1d83f)
2002-03-12Added POSIX ACL layer into the vfs.Jeremy Allison6-68/+228
Jeremy. (This used to be commit 7d59445b6962547a8938928a9371651a09e26516)
2002-03-12Added tdbbackup.Tim Potter1-0/+1
(This used to be commit a41750f86af2840e207be310d2036fad7bfb7cf3)
2002-03-11Removed bogus calles to D() debugging function. Perhaps these shouldTim Potter1-16/+1
be replaced by DEBUG() calls? (This used to be commit 33dd07d1fc6946e53d3bdaad025adfc20abfab77)
2002-03-11always make winbindd try for the PDC first before trying for a BDCAndrew Tridgell1-5/+7
this prevents propogation delays in the SAM between the PDC and BDCs (This used to be commit 967cb3ed0c3190f3e95a227e4d998a7312b5990b)
2002-03-11Implemented default ACL patch (set inherit acls = true on a per share basis).Jeremy Allison4-9/+40
Based on code donated by Olaf Fr±czyk <olaf@cbk.poznan.pl>. Further commit will change to sending via vfs interface. Jeremy. (This used to be commit d85133e2697eb22f1573c78447b57791ae63dd6b)
2002-03-11Another program converted to popt...smbstatus this time.Jim McDonough2-37/+30
(This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)
2002-03-11only try an ordinary file in lock6Andrew Tridgell1-2/+2
(This used to be commit 965e23537c284dd312c714c111ec172d9a33b019)
2002-03-11put in the ADS DNS hack, but commented outAndrew Tridgell1-0/+11
(This used to be commit 3396a671c59e6afe70a22ce64e4a9381b1d6fef8)
2002-03-11expanded the lock6 test a bit to try lsarpc as wellAndrew Tridgell1-11/+17
this allows us to check that we refuse locking on pipes (This used to be commit 3e69ea6846e455d6ebb15e4481d4f98fd038c8a2)
2002-03-11added a LOCK6 test for weird lockingX lock type bitsAndrew Tridgell1-1/+40
warning! this test reboots w2k or wxp (This used to be commit 568e1d7b4389e5a49aa1d52eb4c74bc53dbc125f)
2002-03-11make sure we give an error for unknown lockingX locktype bitsAndrew Tridgell1-0/+7
(This used to be commit 72cb43b912a4c1831f9d7b2fd23ce51aebb09c8f)
2002-03-11added cli_locktype() for testing different lockingX lock typesAndrew Tridgell1-0/+54
(This used to be commit 136b9752fc9da86f0ad0e1f46dc389b752975aea)
2002-03-11a bit more portability for tdbbackupAndrew Tridgell1-1/+2
(This used to be commit 6edb5bea5f6dcbabe29f772c7ad7bcaaf2a72d53)
2002-03-10failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTEDAndrew Tridgell1-0/+6
(This used to be commit ec71c1a66f9fd4b9cb4cad5a9b5b17e20de7aeb1)
2002-03-10added -E and -Z options, and allow for the 2 servers to have differentAndrew Tridgell1-33/+63
usernames/passwords (This used to be commit 0ae4ba18e578d35206628fa29203c8becbbdc5cd)
2002-03-10this attempts to handle the rather bizarre lock cache semantics inAndrew Tridgell2-1/+15
w2k. It isn't entirely accurate, but its close (This used to be commit e02d7364707c4939efa4ff0ddf9b6d4f48e5d411)
2002-03-10better handling of a zero timeout in cli_lockAndrew Tridgell1-2/+6
(This used to be commit 56662a75f58d35cec1a5b2d6c9a4315d95a22420)
2002-03-10make tdbbackup more portableAndrew Tridgell1-4/+17
(This used to be commit 9cc1dadfb09c2352ed188d668b02ccffaa009895)
2002-03-10forgotten file, oopsAndrew Tridgell1-0/+175
(This used to be commit 98196e79b733e029341578b382bdfabf3f9a0bdc)
2002-03-10preparing for release of 3.0-alpha16Samba Release Account1-1/+1
(This used to be commit 77fe6a914888f09f96b4468ea5d1bc1953fe63c5)
2002-03-10Fix typo.Martin Pool1-1/+1
(This used to be commit 58c1b11439ef58313895a23a2e9a0ec735903eb6)
2002-03-10yipee! Finally put in the patch from Alexey KotovichAndrew Tridgell5-78/+438
<a.kotovich@sam-solutions.net> that adds the security decsriptor code for ADS workstation accounts thanks for your patience Cat, and thanks to Andrew Bartlett for extensive reviews and suggestions about this code. (This used to be commit 6891393b5db868246fe52ff62b3dc6aa5ca6f726)
2002-03-10try to use our workstation account password for ADS leaveAndrew Tridgell1-4/+11
(This used to be commit 2a42e91397d7871d326abed0e99af297e71dd77e)
2002-03-10add a note about the meaning of global_sam_sidAndrew Tridgell1-0/+3
(This used to be commit 3db97530b62ac12d334d0244ea52db8750cebf2e)
2002-03-10remove an unused variableAndrew Tridgell1-1/+1
(This used to be commit 9c44ad4e42892be8fc99998fd53c3027353c0d1b)
2002-03-10prevent bogus compiler complaints about comments in commentsAndrew Tridgell1-2/+2
(This used to be commit 73b3487daf4d7c65aac2c8ec150539791d19e1f5)
2002-03-10return the correct SID and domain name for the samr enum_domain andAndrew Tridgell1-8/+30
lookup_domain calls. We were incorrectly returning the PDCs domain nameand SID when we are a domain member. We should only do that when we are the DC (This used to be commit f56d689497eaa670cbfb214486ba88d5972129db)
2002-03-10rewrote the machine sid storage code to store the SID in secrets.tdbAndrew Tridgell1-208/+63
rather than MACHINE.SID. We try to load MACHINE.SID only if we can't fetch the SID from secrets.tdb This also fixes the value of global_sam_sid for the DC/non-DC case (This used to be commit bcd018f07c2e2c0aabdb4574d199d7f5f199a264)
2002-03-10make sure we use consistent keys in secrets.tdb by uppercasing domainAndrew Tridgell1-0/+4
names (This used to be commit 4cb7b6954b96e6964743e65413e122f7b4d39052)
2002-03-09removed bogus prepend_domain() call which was screwing up getpwuid()Andrew Tridgell1-10/+2
with the new default domain code (This used to be commit 0f75b6bd5b42f745f17e2e6624d5d541a30ee897)