1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00

9773 Commits

Author SHA1 Message Date
Gerald Carter
0cd43ecb80 fix tdb_append() prototype
(This used to be commit df6e4559922bb55b53f587ca917110a045e222d7)
2003-01-11 02:30:34 +00:00
Gerald Carter
47873e781d [merge] make sure to updatre print queue cache during timeout_processing() to send notify events; CR 1491
(This used to be commit 142c5029c701e7a82074e301278846c02843f46f)
2003-01-11 02:29:23 +00:00
Jeremy Allison
dd510e0547 Added new message_send_pid() code that uses tdb append to reduce locking
contention on the messaging tdb.
Jeremy.
(This used to be commit ee0ceeff99f32146bebd4b49d346abdaa20aa10c)
2003-01-11 00:17:41 +00:00
Jeremy Allison
82b41dca9d Added new message_send_pid() code that uses tdb append to reduce locking
contention on the messaging tdb.
Jeremy.
(This used to be commit 5b8cf0810a7297f239b35c93ec50d20f1eed793b)
2003-01-11 00:17:37 +00:00
Jeremy Allison
01fca9e10e Added tdb_append() call. Efficiently adds to an entry. Used by new messaging
code. Also added torture tests for it.
Jeremy.
(This used to be commit 724cefabb03a3db8b5d3691974241d3109593c27)
2003-01-11 00:07:44 +00:00
Jeremy Allison
8e7dfa50b0 Added tdb_append() call. Efficiently adds to an entry. Used by new messaging
code. Also added torture tests for it.
Jeremy.
(This used to be commit b515525a060a388c6ae0a03006a882c9be2e42b6)
2003-01-11 00:07:40 +00:00
Jeremy Allison
fe6bb1e9ed First part of efficiency fixes for message sending to pid's (cutting down
the amount of time we hold tdb locks). Gulp down all messages at once rather
than reading/re-writing one at a time. NOTE: All dispatch routines *must*
be able to cope with incoming message on *odd* byte boundaries (all current
handlers do).
Jeremy.
(This used to be commit 04243e39cf4e11dd20e6035f553722a9720f00ae)
2003-01-10 20:17:06 +00:00
Jeremy Allison
6dea813728 First part of efficiency fixes for message sending to pid's (cutting down
the amount of time we hold tdb locks). Gulp down all messages at once rather
than reading/re-writing one at a time. NOTE: All dispatch routines *must*
be able to cope with incoming message on *odd* byte boundaries (all current
handlers do).
Jeremy.
(This used to be commit b752c0340f96669b2b2573cf7d3d10f99580b070)
2003-01-10 20:17:02 +00:00
Jeremy Allison
d2377ad556 Fix lpq_cache time check (missed from yesterday).
Jeremy.
(This used to be commit 21c8acd25ac93f7ea5b77ef6005e3789a71ca50f)
2003-01-10 19:59:18 +00:00
Jeremy Allison
545087c060 Don't delete jobs subitted after the lpq time.
Jeremy.
(This used to be commit 6cb9f6ccb1fab3ff597f52c931561d52de09e84a)
2003-01-10 01:21:59 +00:00
Gerald Carter
6df2dc56ff a 0 length printer data value is not a memory allocation error; fix CR601
(This used to be commit 3442c270f1bc67890f4e2de3386fcfdec610170d)
2003-01-09 19:51:28 +00:00
Gerald Carter
d221b11bc6 a 0 length printer data value is not a memory allocation error; fix CR601
(This used to be commit 47c1709425e0c8c1e57d95dd4441b1424a5b914c)
2003-01-09 19:49:14 +00:00
Martin Pool
3419ef3fb6 tdb_chainlock_with_timeout: Add TODO: If we time out waiting for a
lock, it might be nice to use F_GETLK to get the pid of the process
currently holding the lock and print that as part of the debugging
message.

I'd like to have this in appliance_head, but the code is too different
so I won't worry for now.
(This used to be commit 575908cb06a653225a2fa79ecd025af0e3dafc05)
2003-01-09 07:23:23 +00:00
Tim Potter
c4b4386996 Remove read_with_timeout() and replaced its only caller (the passwd chat
stuff) with a call to read_socket_with_timeout() which does the same thing.

Passwd chat still works but I couldn't figure out the right arguments to
passwd chat to get it to work right but data was definitely getting
through.
(This used to be commit 88eb9e9486bca55a38e40ae53aed35ee338a68d7)
2003-01-09 06:58:07 +00:00
Herb Lewis
195ec103d6 Moved smbd process counting functions from smbd/server.c to smbd/process.c
so that bin/vfstest can link.  merge from head
(This used to be commit 9151cd7d64a1ee1277cbcfb3e7ed61c32c1037cf)
2003-01-09 06:26:04 +00:00
Tim Potter
baa1276eb0 Remove dead function.
(This used to be commit 6ed4d80baa5ff529bb0a06d7e52528b307ca4a0c)
2003-01-09 05:50:15 +00:00
Tim Potter
642fad95ef Moved smbd process counting functions from smbd/server.c to smbd/process.c
so that bin/vfstest can link.
(This used to be commit 812ce0368c69922612ac001560a111016d0e568e)
2003-01-09 05:49:51 +00:00
Martin Pool
413e58e9a7 Correct misleading comment: winbindd_lookupname gets the SID for a
name, not vice versa.
(This used to be commit be835d01e10a75aecfb1b166bc6e0ea796c60cce)
2003-01-09 01:16:12 +00:00
Jeremy Allison
619fcbdb68 Ensure we return disk full by default on short writes.
Jeremy.
(This used to be commit 6a2b7fd82c868d517301f8566cd86e9e4b31546f)
2003-01-08 23:49:37 +00:00
Jeremy Allison
a2cce2f075 Ensure we return disk full by default on short writes.
Jeremy.
(This used to be commit 2a974bc284b9d193c24972d073b966eb9b3b3ad0)
2003-01-08 23:49:21 +00:00
Jeremy Allison
38aee23f80 Ensure we don't get an invalid number for total smbd's if the tdb update
fails.
Jeremy.
(This used to be commit e0482594724ebba801bbc39a90a73fafa54f8b9e)
2003-01-08 21:42:53 +00:00
Jeremy Allison
65195b4d54 Ensure we don't get an invalid number for total smbd's if the tdb update
fails.
Jeremy.
(This used to be commit 99e69fd74d5a2e7396e7f24924d72374d5cb32c2)
2003-01-08 21:42:43 +00:00
Herb Lewis
83ce5fd3a3 reran autoconf
(This used to be commit 947042007d541563958b054e66bc60e97984d122)
2003-01-08 18:33:16 +00:00
Richard Sharpe
dd22328000 Some fixes to editreg. Clientgen should not be touched, and an update to configure that Herb needs.
(This used to be commit 490ff93bbfe38d92746693d5f9902f985de6bc12)
2003-01-08 17:59:52 +00:00
Jeremy Allison
82ecfb9747 Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy.
(This used to be commit 48774e77ac8e43682f216dea970f8860cecb3818)
2003-01-08 07:02:21 +00:00
Jeremy Allison
8df73edd8e Fix erroneous free of SAM_ACCOUNT (make clearer when allocated
memory is being returned).
Jeremy
(This used to be commit b0d547b7396beff861bb116051ed06b7b9749005)
2003-01-08 07:02:18 +00:00
Tim Potter
6e87ae0db3 Removed pointless null statement in signal handler.
(This used to be commit db24489eb4304f1fb0e47a5b6bd77ff3871b757e)
2003-01-08 04:14:12 +00:00
Tim Potter
4315edcdca Display an error message when the server cannot be resolved when running at
debug level 0.
(This used to be commit 451286febd251d25b8beeae9b41a09102240c219)
2003-01-08 02:54:42 +00:00
Herb Lewis
9f49bff0e3 cannot assign to const
(This used to be commit 01757e8b510e5475c76423ffe5e3c16b2aca134e)
2003-01-08 02:18:49 +00:00
Jeremy Allison
7f4177aa9e Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
(This used to be commit 1cff725e37d04e25d2cd5523683b35c82d5040fa)
2003-01-08 02:09:18 +00:00
Jeremy Allison
f420f75508 Fix open problem with changing attributes on an existing file - based
on work by  <steve@griffin.sio2.nl>.
Jeremy.
(This used to be commit 465d86d95fbdeda423d1f4b06cee46c119a31447)
2003-01-08 02:09:14 +00:00
Volker Lendecke
d034ba5ce1 Fix memory leak. Thanks, Herb!
Volker
(This used to be commit 434e496289ac21e516b22d91c4f52c0a6674214f)
2003-01-07 20:55:43 +00:00
Volker Lendecke
173856a77d Fix memory leak. Thanks, Herb!
Volker
(This used to be commit 8915d59a5939b78a177dcd3e075a122e68e8c64a)
2003-01-07 20:54:31 +00:00
Herb Lewis
3cbb089782 this makes it compile, but I'm not sure if it is correct. Are we really
testing a pointer value to be equal to 0x19 ???
(This used to be commit 15b2b91f4b77a62163c0f79592111d4809317b9f)
2003-01-07 17:55:14 +00:00
Herb Lewis
3981c303a3 cannot make assignments to const values.
(This used to be commit e3b1e64d9f23347a5ecefeb15329b6ec8971a55e)
2003-01-07 17:43:37 +00:00
Herb Lewis
26c01d3f7b add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process"
(This used to be commit cfe2d01b7de846229e87c151059d80756929d129)
2003-01-07 17:33:30 +00:00
Volker Lendecke
b59dc9ee58 Merge from HEAD.
Volker
(This used to be commit 7977a025ae698fb91694e3809985b14e35693e92)
2003-01-07 10:39:23 +00:00
Volker Lendecke
7b4bf92955 Create a machine account correctly if the unix account exists.
With this, my test for W2kSP3 join after pdbedit -a -m works fine.

Volker
(This used to be commit c9d0c5254c7d4ddb343f405652c609a0128e60f9)
2003-01-07 10:38:33 +00:00
Christopher R. Hertel
6693cade73 Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
(This used to be commit 02986f3e3a8b0411f7cfbfe11015602fe685a440)
2003-01-07 04:33:43 +00:00
Christopher R. Hertel
e8a70338d9 Added code to the handling of the -M option to ensure that we default to
port 139 for that option.  The NetBIOS Messenger Service doesn't run on
a non-NBT port.
(This used to be commit a10195b7112b0a7cca3ddb5be2566364c59fefb7)
2003-01-07 04:26:37 +00:00
Tim Potter
6d5724f93b Rename a local variable to avoid a warning.
(This used to be commit 232116d2db9f24d64b3fa7a6e11191599590107a)
2003-01-07 03:39:22 +00:00
Tim Potter
186bb579f5 'index' is the name of a libc function. Rename to 'ndx' to avoid compiler
warnings.
(This used to be commit 431ac28b5b7ea688ec342b5834c25eca059e7a16)
2003-01-07 03:36:39 +00:00
Tim Potter
33e019a0c5 Remove unused variable.
(This used to be commit 4bc82624f6f2d3745a1528c56b9dcf04613a6a1d)
2003-01-07 03:31:52 +00:00
Jeremy Allison
ebf35917bc Fix memory leaks in pdb_ code.
Jeremy.
(This used to be commit 44ab8dc55e3c37a0fc01529084bcacfc84c1dcee)
2003-01-06 21:48:46 +00:00
Jeremy Allison
be0ff9d809 Fix memory leaks in pdb_ code.
Jeremy.
(This used to be commit ddf741c7178e33914dea6031f1a32800af402630)
2003-01-06 21:48:43 +00:00
Gerald Carter
641b30dd35 add $(LDFLAGS) to libsmbclient
(This used to be commit 0f8ba688d427febecfd94e02f1779f4a699a0df2)
2003-01-06 18:00:18 +00:00
Gerald Carter
52457e1093 removed idpool from schema file (experimental) to remove the dependency
on nis.schema.

add $(LDFLAGS) to libsmbclient build
(This used to be commit cd16064784a5e5fd9d2a67d4dfba605f7d8046ac)
2003-01-06 17:57:52 +00:00
Andrew Bartlett
0ba7c143b3 Merge from HEAD - handle VFS module load failures, change some error returns to
avoid sending NT_STATUS_UNSUCCESSFUL.

Andrew Bartlett
(This used to be commit 7b95151ddcb1e4abd592e72d509ec24c5d160511)
2003-01-06 07:40:39 +00:00
Jeremy Allison
64452be9ba Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
(This used to be commit c3a779fc0d9be38f6aa2569c36916a76e1a04359)
2003-01-06 07:29:38 +00:00
Jeremy Allison
cd02d53f0d Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating
groups.
Jeremy.
(This used to be commit cde517cedf3521b815faf2bdaf7940a611a28650)
2003-01-06 07:29:34 +00:00