1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

7982 Commits

Author SHA1 Message Date
Tim Potter
6a053fa770 Fixed bodgy printf arguments in debug statment.
Who would have guessed it - we now use floating point maths in Samba.
-
Jeremy Allison
62b80d5c65 Ensure we attempt to lock at least once. Only sleep if time param set.
Jeremy.
-
Jeremy Allison
8aa9860ea2 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.
-
Andrew Tridgell
9338964720 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!
-
Andrew Bartlett
f81882fc95 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
-
Jeremy Allison
bcf38961a7 Add "Creator Group" - was in 2.2.x and I'm syncing up the two.
Jeremy.
-
Andrew Bartlett
54e69ed20a Fix typo in copyright -
Andrew Bartlett
764b99a390 I don't need my name on this twice :-) -
Andrew Bartlett
c7a883df28 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
-
Jeremy Allison
d08cbcbc5d Remove a stub function I forgot to fill in.
Jeremy.
-
Andrew Tridgell
1a8f3ba3ab if we know that the SID is local then don't try via winbindd -
Andrew Tridgell
df9e345366 fixed mapping of SIDs for local users -
Andrew Tridgell
1aaa2091d5 fixed 2 reconnection bugs in the ADS backend support -
John Terpstra
8e2f4bb35b Sorry, forgot to commit this last night. -
Andrew Tridgell
ed80311b41 get the test for disconnection the right way around! -
Jim McDonough
19546bdd55 Yet another build fix for popt. I gotta get me one of these picky systems... -
Jim McDonough
96e4282dca Missing comma from systems that have ACLs. -
Jim McDonough
4490ad340c Aack. Don't change too much. vfs.c still won't build, but this should fix some other build stuff I screwed up. -
John Terpstra
e3e0a5aca9 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
-
John Terpstra
e508b07fe7 Fix up location of libsmbclient.so so it always goes to /usr/lib. -
John Terpstra
917a5f2cdb It builds the RPMS, now for the testing... -
John Terpstra
675a78d09a Cleaning things up for test deployment. -
John Terpstra
a4be3b7b93 Added wins entry. -
John Terpstra
b07aa46d83 Hack, hack, where is my sledge hammer? -
Jeremy Allison
45bf5f6c05 Removed unused var.
Jeremy.
-
Jeremy Allison
87e6b08964 Ensure, if we're a PDC or BDC, that the SID stored for the domain name
and the machine name are identical.
Jeremy.
-
John Terpstra
153091597c Still hacking at it. -
Tim Potter
dfd51bc8d0 Merge of enumprinters vs getprinter naming patch from 2.2 -
Jeremy Allison
7d59445b69 Added POSIX ACL layer into the vfs.
Jeremy.
-
Tim Potter
a41750f86a Added tdbbackup. -
Tim Potter
33dd07d1fc Removed bogus calles to D() debugging function. Perhaps these should
be replaced by DEBUG() calls?
-
Andrew Tridgell
967cb3ed0c 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
-
Jeremy Allison
d85133e269 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.
-
Jim McDonough
00d3a064f1 Another program converted to popt...smbstatus this time. -
John Terpstra
cb38843ac7 More temp. changes. - Bear with me, this will soon be resolved. -
John Terpstra
0fe968378a Transient change - not final - don;t want to lose this between systems and testers.
NOTE: This is not useable for now.
-
Andrew Tridgell
965e23537c only try an ordinary file in lock6 -
Andrew Tridgell
3396a671c5 put in the ADS DNS hack, but commented out -
Andrew Tridgell
3e69ea6846 expanded the lock6 test a bit to try lsarpc as well
this allows us to check that we refuse locking on pipes
-
Andrew Tridgell
568e1d7b43 added a LOCK6 test for weird lockingX lock type bits
warning! this test reboots w2k or wxp
-
Andrew Tridgell
72cb43b912 make sure we give an error for unknown lockingX locktype bits -
Andrew Tridgell
136b9752fc added cli_locktype() for testing different lockingX lock types -
Andrew Tridgell
6edb5bea5f a bit more portability for tdbbackup -
Andrew Tridgell
ec71c1a66f failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTED -
Andrew Tridgell
0ae4ba18e5 added -E and -Z options, and allow for the 2 servers to have different
usernames/passwords
-
Andrew Tridgell
e02d736470 this attempts to handle the rather bizarre lock cache semantics in
w2k. It isn't entirely accurate, but its close
-
Andrew Tridgell
56662a75f5 better handling of a zero timeout in cli_lock -
John Terpstra
9c4011d651 Update to build 3.0.0 alphas -
John Terpstra
d61f381044 Initscript from 2.2.4 tree. -
Andrew Tridgell
9cc1dadfb0 make tdbbackup more portable -