1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

8965 Commits

Author SHA1 Message Date
Gerald Carter
cc9b6ef9ca defunct winbindd fix from APP_HEAD
(This used to be commit 488e985caa0b0e3e2a6665eb2515a2c99745d861)
2002-11-08 23:46:45 +00:00
Andrew Bartlett
c501ac2bfa Compleatly remove support for logfile truncation. All logs are opened for
append writes.

(blessed by jra)

Andrew Bartlett
(This used to be commit 81633064dd196c40541ecece8def51745f514646)
2002-11-08 23:05:34 +00:00
Andrew Bartlett
48b32cd865 Make smbpasswd use the group mapping, and fix spelling in ldapsam.
This gets user mangler for doamins working again.

Andrew Bartlett
(This used to be commit 205209f77f154a2a5d5f7a255194d7953860a4db)
2002-11-08 22:15:34 +00:00
Andrew Bartlett
aa208a58e2 Make it easier to track things down here - add some debugs on failure.
(This used to be commit 62ee7b7dc08e7be261211de8f85b8e9be4df7b54)
2002-11-08 22:14:31 +00:00
Andrew Bartlett
d03b002d12 Make smbpasswd tell people to use 'net join', not 'net rpc join' now we have
the automagic detection.
(This used to be commit a066bed5a4855dac955bf0bd7630939220314cfe)
2002-11-08 22:13:34 +00:00
Jim McDonough
66a1f9b1fe Add enumdataex command
(This used to be commit 6d1d2849a7b2f99d927ba168ed2d01a879b09e69)
2002-11-08 21:39:53 +00:00
Jim McDonough
9429b7d8ab Implement enumdata command
(This used to be commit a22fdf26fef0cd58c84ca13891a762e3fdc6af8b)
2002-11-08 20:51:04 +00:00
Jim McDonough
eedcd7239b Add enumkey command (EnumPrinterKey api)
(This used to be commit a2e17d4344f996b64cd9c4f01b6b15c069fde41b)
2002-11-08 19:06:34 +00:00
Gerald Carter
4703553378 patches from Urban
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)
2002-11-08 18:44:57 +00:00
Tim Potter
5565aa9972 Don't set global_machine_password_needs_changing if
lp_machine_password_timeout() is set to zero.
(This used to be commit 0fa87a68fea8b12242f644605aab7c2f81c1a4df)
2002-11-08 01:34:58 +00:00
Jeremy Allison
e1adcd154a Fix crash bug with overwriting memory.
Jeremy.
(This used to be commit 9b08b4e4c24290e5d90a7cc2dc442cb82e73df28)
2002-11-07 22:45:11 +00:00
Jelmer Vernooij
4d70634685 Make append_log work again
(This used to be commit 2fd496b49f76e3b593fb60fb2523a044a3814125)
2002-11-07 21:39:51 +00:00
Jelmer Vernooij
10c82cf480 Back out lp_modules() check - this one got in by accident when I added poptSetOtherOptions
(This used to be commit d7388b3e1e33a3514007e0e0b508469cb1ebed64)
2002-11-07 20:17:46 +00:00
Jelmer Vernooij
0cd37de198 Fix small typo
(This used to be commit 3c39bd9db09c59f149d77e371ed078cd7ec2d1b4)
2002-11-07 19:45:55 +00:00
Jim McDonough
e4a5ae5259 What is wrong with you, Jim? Check in the final version, not an interim one...
(This used to be commit 1fd6d34526e577b8a5463e3abcfb8fc3682e6473)
2002-11-07 15:43:04 +00:00
Jim McDonough
f35fa86993 Fix the build.
Build farm! Build farm!  Please check the build farm!

...or at least run make torture.
(This used to be commit 163ac344012d4520000f2ca91da50a379c7f288d)
2002-11-07 15:29:09 +00:00
Jim McDonough
2b37e87bb9 Allow multiple fragment RPC's to be sent.
(This used to be commit d423e6424bc3c61281ad30cd1c66540b522b5d3e)
2002-11-07 14:40:25 +00:00
Jim McDonough
9df2283b0c Stop using hardcoded transact commands
(This used to be commit ec0d94b4dd8409e6bf114d013f23a52f0fc11a69)
2002-11-07 14:39:49 +00:00
Jim McDonough
42357a3244 Add smbtrans subcommands so we can stop hardcoding them
(This used to be commit 759bcd881dd259d5ad43715f6979c5282b094d52)
2002-11-07 14:38:53 +00:00
Tim Potter
fdfed5abe8 Remove lp_security() checks for winbindd as this is how we act as a PDC.
Keep the rest of the cleanups though.
(This used to be commit f0a1177acf82fceb174df1852d87a6e16d63fd63)
2002-11-07 07:23:37 +00:00
Jeremy Allison
d1e10b7971 Keeping branches in sync....
Jeremy.
(This used to be commit ceb01b5ab1eed6e89d66687681ff3325a21e6b88)
2002-11-07 07:14:14 +00:00
Andrew Tridgell
faae0a81c3 fixed some formatting errors and improved some debug statements in
'net rpc vampire'
(This used to be commit 1526b3b19e0be5926977d3eb1e642330bfeba5a2)
2002-11-07 04:53:18 +00:00
Andrew Tridgell
720ca2c477 when doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
sam account object, then pdb_update_sam_account() can be used to
update an account. This code path could lead to the methods element of
the account being used when uninitialised (leading to a segv)

Easiest fix is to always make that that when creating a sam_account
object we initialise the methods to null, so that the passdb code
knows that it needs to be filled in.
(This used to be commit fb79fa5a31c2fa8ebdcddbc49b1d9c1aa3059691)
2002-11-07 04:52:04 +00:00
Jeremy Allison
47955b2f6c Merge of scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
2002-11-07 02:38:42 +00:00
Tim Potter
bcf0c11e3d Call winbindd_param_init() earlier on in the piece so we don't get stuck in
the holding pattern when started up when security = user or security = ads.

Clean up return value of winbindd_common_init() - what a mess!
(This used to be commit 8a6d37752182e0de7fd04b2c31f90e145dde783b)
2002-11-07 01:06:38 +00:00
Tim Potter
1ae7b1395f For a BUFFER5, don't parse the buffer if the buffer length is zero.
(This used to be commit 28871bb6969ca70aabcc622410dd1fc5addcceca)
2002-11-06 23:43:21 +00:00
Tim Potter
904649b6f0 Client side functions for enumprinterkey.
(This used to be commit f56ce473b6964302ba51fc9796ee919738731065)
2002-11-06 23:38:39 +00:00
Tim Potter
f0718b6b35 Added enumprinterkey function.
Stub for deleteprinterkey.
(This used to be commit 64e04380f7ad9b471a681638dfde93e0c65f9fa3)
2002-11-06 23:36:07 +00:00
Tim Potter
f4766f4900 Moved function to parse a list of unicode strings into util file.
It's now used in parsing printer driver structures and the response
from the enumprinterkey rpc.
(This used to be commit acecee6f2bb92c4992078f4fe2dfae4414f43482)
2002-11-06 23:34:12 +00:00
Jelmer Vernooij
6ae9de8f39 Add group management support (patch from metze)
(This used to be commit 090a2015eb9aa4ec68d80e972ae192d19afd536e)
2002-11-06 22:10:16 +00:00
Tim Potter
075a9fe96f Fix compiler warnings.
(This used to be commit 3a68613e934e25f2ccfbf5afa5e26b5f47b40a53)
2002-11-06 20:13:02 +00:00
Jelmer Vernooij
809c4715da Adapt to latest pdb API changes - only thing left is group support
(This used to be commit 99a2e7fde1fd4e589035c273f40419ef322e097d)
2002-11-06 12:26:21 +00:00
Jelmer Vernooij
5f119d4597 pdb_get_unknown? -> pdb_get_unknown_?
(This used to be commit c13ed6c866fed43e5f83e083c377a1cd7d505061)
2002-11-06 11:21:47 +00:00
Jelmer Vernooij
4d3cdb02e0 Remove pdb_sql.o.. this one got in by accident
(This used to be commit 44c894531b09856a9a485912b05f08c59caa6a00)
2002-11-06 11:17:53 +00:00
Martin Pool
6b0761b327 pytdbpack_unpack: Clean up, and correct the handling of '$'.
(This used to be commit dd73568f97ad51c93f096001058fd31fa14e88ae)
2002-11-06 01:59:57 +00:00
Martin Pool
618db4e739 Add another test case for repeated-unpack ('$')
(This used to be commit 2a492c4854d4c6469d8c7d21aa187fef6303b641)
2002-11-06 01:50:31 +00:00
Tim Potter
ea24bb2da8 Merge of get_dc_list() api change. This was slightly more intrusive
than the version in APPLIANCE so watch out for boogs.
(This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
2002-11-06 01:29:07 +00:00
Tim Potter
62d4ea1bc5 Ignore profiles binary.
(This used to be commit b195b1fa156472c66f919c0441fe5466e7afb414)
2002-11-06 01:18:30 +00:00
Tim Potter
f57d02eed3 Merge of lp_talloc_free() call in init_domain_list() from APPLIANCE.
(This used to be commit 48ed9dce0dab53066d3304baa0f24639a1f1755b)
2002-11-05 23:19:38 +00:00
Jeremy Allison
29546f160c Ensure can_delete returns correct error code.
Jeremy.
(This used to be commit 44db20f9f63d72c2e6e1f4ffedf72d75563369fb)
2002-11-05 22:49:54 +00:00
Jeremy Allison
724ced9bd2 Missed extern declaration.
Jeremy.
(This used to be commit e39e2b4c3488fbd9e9a08dd5629a672d1459e64e)
2002-11-05 21:49:45 +00:00
Jeremy Allison
6c5e0cce56 Fix to correctly return NT_STATUS_DELETE_PENDING.
Jeremy.
(This used to be commit 075987f1db4de5e21ebf205a16a847ce0b2a926e)
2002-11-05 21:46:33 +00:00
Jelmer Vernooij
edea9b659f Small fix from Guenther Deschner <guenther.deschner@suse.de>
(remove junk chars)
(This used to be commit 2e7a904856f616605e341c897d2be0f863c4b53d)
2002-11-05 21:45:16 +00:00
Martin Pool
d7eac6c356 pytdbpack_pack_data: Allow first argument to be any kind of Number,
not just an Integer.  Coerce appropriately.
(This used to be commit 248067931a2a8eeee86ea343bddf96d2bd727dbf)
2002-11-05 21:26:35 +00:00
Martin Pool
17356de921 pytdbpack_pack_data: If the first argument to a 'B' code is not an
Integer, raise an error rather than just returning Null, which breaks
the interpreter.
(This used to be commit db67c5f7e53b231fe217a29a15888e8895ce2229)
2002-11-05 21:22:14 +00:00
Richard Sharpe
31124420b7 A small fix by Andy Thomas. Now that incrementing the Auth index has
been pushed into a macro, things do not work so well. Move the increment out
of the array index.
(This used to be commit 39136827d135c91e42ec2b36f420262b1b18093c)
2002-11-05 20:40:55 +00:00
Jelmer Vernooij
b7b27a9f17 Tell popt this command requires 1 'normal' argument and has two optional 'normal' parameters
(This used to be commit b4f00ceaadc77158870ea2bd9d8a0e0845c89b7a)
2002-11-05 18:30:47 +00:00
Jelmer Vernooij
7dc065f8e1 Don't generate ../examples/pdb/{xml,mysql}/configure
(This used to be commit b0788c3e8e84bec13e2d2cbf733cd37e45c7afda)
2002-11-05 17:18:30 +00:00
Jelmer Vernooij
8e410d6b09 Don't generate ../examples/pdb/mysql/Makefile and ../examples/pdb/xml/Makefile
(This used to be commit e8a77556477a0ec0c83786e0c66c2caaf473ea50)
2002-11-05 17:15:24 +00:00
Jelmer Vernooij
82c714569d Move pdb_xml to source/
(This used to be commit b68106a79e4536fa82d75dd330d07dba51bfeaf4)
2002-11-05 17:08:32 +00:00