1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

7980 Commits

Author SHA1 Message Date
Jeremy Allison
5e3b923124 include/smb_macros.h: Don't round up an allocation if the size is zero.
"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 8aa9860ea2)
2002-03-13 20:28:19 +00:00
Andrew Tridgell
2001b83faa detect SIZELIMIT_EXCEEDED in ldap queries and truncate
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 9338964720)
2002-03-13 06:43:52 +00:00
Andrew Bartlett
9802310b2a Ensure we never use "" as a domain name (Win9X apparently does this for 'net use' duirng login).
Picked up from a post to a TNG list by Volker.

Andrew Bartlett
(This used to be commit f81882fc95)
2002-03-13 01:51:01 +00:00
Jeremy Allison
dac047366a Add "Creator Group" - was in 2.2.x and I'm syncing up the two.
Jeremy.
(This used to be commit bcf38961a7)
2002-03-13 01:29:30 +00:00
Andrew Bartlett
0ecd78fb8c Fix typo in copyright
(This used to be commit 54e69ed20a)
2002-03-13 01:26:59 +00:00
Andrew Bartlett
54bad4881f I don't need my name on this twice :-)
(This used to be commit 764b99a390)
2002-03-13 01:25:36 +00:00
Andrew Bartlett
7451e73ae2 Move the directory creation process outside the 'installbin.sh' script, and
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 c7a883df28)
2002-03-13 01:21:02 +00:00
Jeremy Allison
b0ace3183f Remove a stub function I forgot to fill in.
Jeremy.
(This used to be commit d08cbcbc5d)
2002-03-13 00:47:26 +00:00
Andrew Tridgell
8fe1df84e1 if we know that the SID is local then don't try via winbindd
(This used to be commit 1a8f3ba3ab)
2002-03-13 00:30:26 +00:00
Andrew Tridgell
85d7e70d1f fixed mapping of SIDs for local users
(This used to be commit df9e345366)
2002-03-13 00:19:40 +00:00
Andrew Tridgell
08a0230855 fixed 2 reconnection bugs in the ADS backend support
(This used to be commit 1aaa2091d5)
2002-03-12 20:17:34 +00:00
John Terpstra
fc3d0ca2cd Sorry, forgot to commit this last night.
(This used to be commit 8e2f4bb35b)
2002-03-12 19:29:16 +00:00
Andrew Tridgell
f36deb7b21 get the test for disconnection the right way around!
(This used to be commit ed80311b41)
2002-03-12 18:47:27 +00:00
Jim McDonough
34dd544343 Yet another build fix for popt. I gotta get me one of these picky systems...
(This used to be commit 19546bdd55)
2002-03-12 17:30:09 +00:00
Jim McDonough
b9377e811e Missing comma from systems that have ACLs.
(This used to be commit 96e4282dca)
2002-03-12 16:32:25 +00:00
Jim McDonough
fb361dc503 Aack. Don't change too much. vfs.c still won't build, but this should fix some other build stuff I screwed up.
(This used to be commit 4490ad340c)
2002-03-12 15:21:04 +00:00
John Terpstra
cbad04053f Update samba.pam from 2.2.4pre branch.
Fixups for incorrect man page location by installman.sh
	- Note: FHS standard for man pages if /usr/share/man/XX
		where XX is the language mneumonic
(This used to be commit e3e0a5aca9)
2002-03-12 06:52:35 +00:00
John Terpstra
89d998547d Fix up location of libsmbclient.so so it always goes to /usr/lib.
(This used to be commit e508b07fe7)
2002-03-12 06:48:48 +00:00
John Terpstra
8859f627a2 It builds the RPMS, now for the testing...
(This used to be commit 917a5f2cdb)
2002-03-12 06:18:00 +00:00
John Terpstra
4ccc894a37 Cleaning things up for test deployment.
(This used to be commit 675a78d09a)
2002-03-12 05:28:09 +00:00
John Terpstra
9ec285c568 Added wins entry.
(This used to be commit a4be3b7b93)
2002-03-12 04:18:51 +00:00
John Terpstra
82bd0604d0 Hack, hack, where is my sledge hammer?
(This used to be commit b07aa46d83)
2002-03-12 04:17:48 +00:00
Jeremy Allison
8cb4e34b3a Removed unused var.
Jeremy.
(This used to be commit 45bf5f6c05)
2002-03-12 02:33:31 +00:00
Jeremy Allison
0235736212 Ensure, if we're a PDC or BDC, that the SID stored for the domain name
and the machine name are identical.
Jeremy.
(This used to be commit 87e6b08964)
2002-03-12 02:26:33 +00:00
John Terpstra
879c18397c Still hacking at it.
(This used to be commit 153091597c)
2002-03-12 01:01:04 +00:00
Tim Potter
92e59edc41 Merge of enumprinters vs getprinter naming patch from 2.2
(This used to be commit dfd51bc8d0)
2002-03-12 00:16:03 +00:00
Jeremy Allison
3bb219161a Added POSIX ACL layer into the vfs.
Jeremy.
(This used to be commit 7d59445b69)
2002-03-12 00:08:08 +00:00
Tim Potter
6a5adf3051 Added tdbbackup.
(This used to be commit a41750f86a)
2002-03-12 00:05:22 +00:00
Tim Potter
40976c3bc6 Removed bogus calles to D() debugging function. Perhaps these should
be replaced by DEBUG() calls?
(This used to be commit 33dd07d1fc)
2002-03-11 23:59:20 +00:00
Andrew Tridgell
87bba35a62 always make winbindd try for the PDC first before trying for a BDC
this prevents propogation delays in the SAM between the PDC and BDCs
(This used to be commit 967cb3ed0c)
2002-03-11 22:25:14 +00:00
Jeremy Allison
db4c62d7ed Implemented default ACL patch (set inherit acls = true on a per share basis).
Based on code donated by Olaf Frczyk <olaf@cbk.poznan.pl>. Further commit
will change to sending via vfs interface.
Jeremy.
(This used to be commit d85133e269)
2002-03-11 21:57:12 +00:00
Jim McDonough
3bc38669ef Another program converted to popt...smbstatus this time.
(This used to be commit 00d3a064f1)
2002-03-11 21:37:01 +00:00
John Terpstra
c82ff4c942 More temp. changes. - Bear with me, this will soon be resolved.
(This used to be commit cb38843ac7)
2002-03-11 21:35:38 +00:00
John Terpstra
54f52525c2 Transient change - not final - don;t want to lose this between systems and testers.
NOTE: This is not useable for now.
(This used to be commit 0fe968378a)
2002-03-11 19:37:01 +00:00
Andrew Tridgell
59100a45a0 only try an ordinary file in lock6
(This used to be commit 965e23537c)
2002-03-11 15:56:59 +00:00
Andrew Tridgell
bd3a6e6cc9 put in the ADS DNS hack, but commented out
(This used to be commit 3396a671c5)
2002-03-11 04:06:30 +00:00
Andrew Tridgell
9bdb6e2b22 expanded the lock6 test a bit to try lsarpc as well
this allows us to check that we refuse locking on pipes
(This used to be commit 3e69ea6846)
2002-03-11 01:57:39 +00:00
Andrew Tridgell
2fb07df753 added a LOCK6 test for weird lockingX lock type bits
warning! this test reboots w2k or wxp
(This used to be commit 568e1d7b43)
2002-03-11 01:37:08 +00:00
Andrew Tridgell
57970fd4e2 make sure we give an error for unknown lockingX locktype bits
(This used to be commit 72cb43b912)
2002-03-11 01:34:14 +00:00
Andrew Tridgell
cc24c353bb added cli_locktype() for testing different lockingX lock types
(This used to be commit 136b9752fc)
2002-03-11 01:33:06 +00:00
Andrew Tridgell
ec4f138436 a bit more portability for tdbbackup
(This used to be commit 6edb5bea5f)
2002-03-11 00:01:54 +00:00
Andrew Tridgell
0843c37abd failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTED
(This used to be commit ec71c1a66f)
2002-03-10 23:18:44 +00:00
Andrew Tridgell
e450ba6639 added -E and -Z options, and allow for the 2 servers to have different
usernames/passwords
(This used to be commit 0ae4ba18e5)
2002-03-10 23:17:47 +00:00
Andrew Tridgell
be389e25dd this attempts to handle the rather bizarre lock cache semantics in
w2k. It isn't entirely accurate, but its close
(This used to be commit e02d736470)
2002-03-10 23:17:07 +00:00
Andrew Tridgell
69b395d2c1 better handling of a zero timeout in cli_lock
(This used to be commit 56662a75f5)
2002-03-10 23:16:15 +00:00
John Terpstra
59361453d9 Update to build 3.0.0 alphas
(This used to be commit 9c4011d651)
2002-03-10 21:49:04 +00:00
John Terpstra
590bace59d Initscript from 2.2.4 tree.
(This used to be commit d61f381044)
2002-03-10 21:41:56 +00:00
Andrew Tridgell
96300f6008 make tdbbackup more portable
(This used to be commit 9cc1dadfb0)
2002-03-10 08:30:15 +00:00
Andrew Tridgell
1975b3e4a2 forgotten file, oops
(This used to be commit 98196e79b7)
2002-03-10 06:56:59 +00:00
Samba Release Account
1b285c23c9 preparing for release of 3.0-alpha16
(This used to be commit 77fe6a9148)
2002-03-10 04:45:18 +00:00