1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

8571 Commits

Author SHA1 Message Date
Jeremy Allison
8b4bafc76f We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
Jeremy.
(This used to be commit 660dafcbb2d1029831212a32d995891626a0344c)
2002-09-18 00:30:00 +00:00
Jeremy Allison
8b46126a07 Never, *ever* hold a mutex lock in the message database where there may
be traversals being attempted. Yes, this was from bitter experience (and
an out of control server :-). Also allow callers to break out of a tdb_chainlock
with sigalarm if desired.
Jeremy.
(This used to be commit a7781f91d8c1177210bffc199cd2f3b7ff993eaf)
2002-09-17 23:45:21 +00:00
Jeremy Allison
fe92e9caed Reverted my earlier change. It was incorrect. We must be protected by
pidfile before doing secrets_init().
Jeremy.
(This used to be commit f8a0e6ad8b25d405ff2bcb492974d2f0bef81036)
2002-09-17 20:53:21 +00:00
Jeremy Allison
fa184ea169 Only create the pidfile once we're ready to receive requests.
This allows external programs to correctly synchronise with us.
Jeremy.
(This used to be commit ffb7632d05191342ecfc5f78fbfd7beacfe257ad)
2002-09-17 20:47:59 +00:00
Jeremy Allison
9bab1d0c1a Actually use sendfile if selected.
Jeremy.
(This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)
2002-09-17 19:48:19 +00:00
Andrew Tridgell
b33681fc0b Add clock skew handling to our kerberos code. This allows us to cope with
the DC being out of sync with the local machine.
(This used to be commit 0d28d769472ea3b98ae4c8757093dfd4499f6dd1)
2002-09-17 12:12:50 +00:00
Andrew Tridgell
3fefef7a72 disable stat cache when case sensitive
(This used to be commit 3401c3616b3dcb99053f89d88f8e351c986c9096)
2002-09-17 12:09:46 +00:00
Andrew Tridgell
9faf941652 more const cleanups
(This used to be commit dfa85f9c48aa3c8d93775df6b6ad2dec9a1692d7)
2002-09-17 12:08:55 +00:00
Andrew Tridgell
fffd0eb142 another const cleanup
(This used to be commit 443d5ebafad46a9a62527642628aff8e5d9dc10c)
2002-09-17 12:07:47 +00:00
Tim Potter
bd875704bf Added --with-ldap (default=yes) option. We should now be able to
compile a non-ADS, non-LDAP version of Samba on a machine with
Kerberos and LDAP libraries installed.

This shouldn't break anything - let's keep an eye on the build
farm just in case.
(This used to be commit b9460e79a13ab74a5fc05a9db1b5cf4d402fb197)
2002-09-17 06:11:51 +00:00
Tim Potter
1d641866aa Rerun configure.
(This used to be commit c7d4bfde737c5aeda14b72e48197bb2a9a02bbd8)
2002-09-17 05:38:44 +00:00
Tim Potter
ccfe2b8485 Added --with-ads option, defaults to yes. If you run ./configure
--with-ads=no or ./configure --without-ads Samba will build without
linking to the various kerberos libraries.
(This used to be commit edb6172abf0f07fead8ed3aaaebe0411d757aa64)
2002-09-17 05:38:12 +00:00
Tim Potter
83b997118e Rerun autoconf.
(This used to be commit 041f47230b865294e657f47e6aba2fa83a15bf31)
2002-09-17 01:19:04 +00:00
Tim Potter
91ba6aa8a8 Default to "python" for --with-python option. This saves having to run
--with-python=python which looks a bit silly.
(This used to be commit 130e05de073268cbabed0e2f80f0011e5f72dc02)
2002-09-17 01:14:54 +00:00
Jeremy Allison
e8ea0aadbb Added FreeBSD sendfile configure tests. Richard please test...
Jeremy.
(This used to be commit 6425f169779ce65509b77cf6d5634de24894a965)
2002-09-17 01:10:47 +00:00
Jeremy Allison
f74086ccf0 Attempt to make broken Linux sendfile work.... Still in progress.
Jeremy.
(This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)
2002-09-17 01:00:03 +00:00
Jeremy Allison
ad5ab5f583 Added autoconf detection for sendfile for Linux. lib/sendfile.c code
still needs more work. Don't add --with-sendfile-support yet...
Jeremy.
(This used to be commit c6ece53ac2a7a6115ca1160cf02247d7cc0bbb95)
2002-09-17 00:45:39 +00:00
John Terpstra
52e22d7384 Update to add DEVELOPER option to more parameters.
(This used to be commit bd9dbf5c79bf2bfecdf008fe93eba87ea9993a3c)
2002-09-16 12:53:11 +00:00
John Terpstra
9521538c9f Committing changes before I lose them. Work still in progress.
(This used to be commit 89842d94bb2b2bb386716c7db96cc0acda80b76e)
2002-09-16 11:50:28 +00:00
John Terpstra
954c1ca506 Applied new display mode FLAGS for SWAT.
(This used to be commit 8a1c136494de47bae74627b07edea6f72eab37cf)
2002-09-16 07:49:42 +00:00
John Terpstra
1dceadfadd Changed Major/Minor version info reported to Server Manager to 4.9.
Added new SWAT Flags for Advanced and Developer modes.
(This used to be commit 0250e2c52c7d7aa25308b6c20b8e2a51184cb598)
2002-09-16 07:48:39 +00:00
Tim Potter
3cc83a8739 Don't display debugs of the nt user token twice.
(This used to be commit 2011a38f3bd1e51aa1ca0219a9e46da12426cbc3)
2002-09-15 23:42:59 +00:00
Tim Potter
f3008f5463 Merge of 'other_sids' patch from appliance.
(This used to be commit 7decd4b3a9e6900ab35f7bf5b266361f308aa58d)
2002-09-15 23:40:55 +00:00
Jelmer Vernooij
479e82b8d8 Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOS
(Double checked)
(This used to be commit dc3c14fc2b661a62a1876149e96af6de07a2c4a6)
2002-09-15 17:49:53 +00:00
Jelmer Vernooij
77f97113d0 Make current_sam_methods a const - Patch by Kai Krger
(This used to be commit bd7245dc6fcff805fcb69f6bd1f4852dadf5aa84)
2002-09-15 16:35:44 +00:00
Jeremy Allison
3f02393bfd Use HAVE_SENDFILE64, not SENDFILE64.
Jeremy.
(This used to be commit 7e2f9769c9a7ee5d11267a8a8864371fc0aa8f50)
2002-09-14 01:38:55 +00:00
Jeremy Allison
febd3f929b Added fix for broken Linux (no sendfile64). When offset + count > 2GB
then return ENOSYS and let the upper layer handle it.
Jeremy
(This used to be commit 872dfd87cda585c33c3823b06580cb301567a9b9)
2002-09-14 00:34:46 +00:00
Simo Sorce
10297d8cd3 wrong alignment size calculation
spot by Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
(This used to be commit eda0e7589f2591edc29e6c1eef44aa21628977be)
2002-09-13 08:53:53 +00:00
Tim Potter
081b70cd8d Updated some comments in the NET_USER_INFO_3 structure for the other_sids
field.
(This used to be commit d153d692a0f8499e1d6dac791a4d119cd9c15e45)
2002-09-13 08:17:02 +00:00
Jeremy Allison
6cf499ecff Fixed up FreeBSD sendfile code - only Solaris left then I can add the
configure tests...
Jeremy.
(This used to be commit 9dad88e1d4d09f61da87dab2633c6e989a9dd77f)
2002-09-12 18:18:35 +00:00
Jeremy Allison
f6fdad1315 Changed profile version number to 7 - added sendfile statistics.
Jeremy.
(This used to be commit 2d080d7579c0a59bcb03608600c6b28243bbe353)
2002-09-12 06:28:13 +00:00
Jeremy Allison
8c5f577c6f HPUX takes offset, not pointer to offset.
Jeremy.
(This used to be commit d7024e8cb94a20cba789deb2c5b70221f6cca4fd)
2002-09-12 06:26:06 +00:00
Jeremy Allison
fdb8c4dfe1 Fixup sendfile to match HPUX semantics with signal interrups. This was
fiddly.... :-(.
Jeremy.
(This used to be commit 2b33a500a8ad13acdd7e4f593aba65229dc8dd96)
2002-09-12 06:24:41 +00:00
Tim Potter
21a738b8d0 Merge undone cleanups.
(This used to be commit d87c1f507d38444e627bce59b6c765d9c9479ac6)
2002-09-12 05:39:55 +00:00
Tim Potter
a9b450cba8 Merge of winbind auth cleanups from appliance.
(This used to be commit 26d486aa740e283f546efc1f2ca40af3452a4f52)
2002-09-12 04:30:23 +00:00
Jeremy Allison
4f613ac61e First cut at portable sendfile code. Only used in readX at the moment
and doesn't actually call sendfile. Needs to be vectored through the
VFS and tested on all supported platforms (Solaris/HPUX/FreeBSD/Linux).
Linux doesn't actually work (2.4.19 kernel) at the moment because it
doesn't have a 64-bit clean sendfile.
Jeremy.
(This used to be commit fd772ca7b16cd86e0d50c7ed8d537c202976a6d2)
2002-09-12 02:12:52 +00:00
Tim Potter
b060593287 Merge of cut&paste fix from appliance.
(This used to be commit f75d61b03a3377f3a791b56fc307dc7e56e4707a)
2002-09-12 01:44:53 +00:00
Tim Potter
bb6d5bfce2 Spelling fix.
(This used to be commit d9fa865e5ce8ba0b7539f9a218fc7dd132eb3d38)
2002-09-12 01:25:50 +00:00
Gerald Carter
88b1f6810b merge from APP_HEAD for GetJob()
(This used to be commit 3524a4a348686ae5144a744696606123e4a66622)
2002-09-11 19:29:02 +00:00
Gerald Carter
c989eaf48d DelPrinterDrvEx() fix from APP_HEAD
(This used to be commit 7841753a03f7fdbd2f7f22e1b184dc1891118283)
2002-09-11 17:35:12 +00:00
Volker Lendecke
66f90f97bf Merge the cli_shutdown change from 2_2. All except one call to
attempt_netbios_... assumed that cli_shutdown was _not_ called on
error anyway...

Volker
(This used to be commit f0c741594f0dad2da16b1d5692dd56a48b4157f1)
2002-09-11 15:18:53 +00:00
Andrew Tridgell
cdca2ad1c4 added gencache implementation from mimir - thanks!
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)
2002-09-11 14:07:21 +00:00
Tim Potter
b3bcdccb1c Implemented getpw{nam,uid} functions.
(This used to be commit 19adbf1faed3d076207ec55e398f15f87d48c9f7)
2002-09-11 04:55:45 +00:00
Tim Potter
735eb8fdd2 Added char *, uid_t and gid_t types to generic conversion routines.
(This used to be commit a938863914cbfec247586c92fd06203fec7febde)
2002-09-11 04:54:20 +00:00
Tim Potter
3600395b37 Fix some dodgy stuff that accidentally was committed.
(This used to be commit d6d0f121d95b79d4acc68354b35fb0fb3e42e1c0)
2002-09-11 04:53:16 +00:00
Tim Potter
18e72f5fac Fix imports for printerdata browser.
(This used to be commit d36fd6651726ffee059f4b39211da66b5b6d7ec1)
2002-09-11 04:50:18 +00:00
Tim Potter
6b694ec39c Put pid number in invalid request size debug.
(This used to be commit e63afabf98350353fac79ffc2ae2ddf88d61260f)
2002-09-11 03:57:19 +00:00
Tim Potter
7c152afe16 Bugfix merge:
>Initialise user_rid value in WINBIND_USERINFO structure returned by
>the rpc version of query_user().  This fixes a caching bug found by
>Gavrie Philipson from disksite.
(This used to be commit 77bde1fa33cc387accda8f38bf654377310f5dbe)
2002-09-11 03:53:41 +00:00
Tim Potter
1d3bef09b6 Ignore *.pyc
(This used to be commit 9d639cd4156e6b8fcb84e20e0b8adaa3fc5dc5ba)
2002-09-11 02:26:47 +00:00
Jeremy Allison
36c50870f1 Formatting tidyups before I look at implementing the sendfile in READX.
Jeremy.
(This used to be commit 640f061ab2c0fa772c0b181a5492aaf94b21fd3e)
2002-09-11 01:44:32 +00:00