1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

9186 Commits

Author SHA1 Message Date
Gerald Carter
b0f9f11f5f fix for CR 601. Only call addprinter command when the port, driver, comment, or location field changed
(This used to be commit c6d45216f6d3573fb2342f4d3aa3a50415924674)
2002-11-11 22:05:05 +00:00
Jelmer Vernooij
52b0efec1a More improvement of DEBUG output
(This used to be commit 21530f06b2b89d159657646fe15e16a3fcfdb668)
2002-11-11 18:53:23 +00:00
Jelmer Vernooij
624a4fc009 Add extra debug info
(This used to be commit 79207d56929de2acc15a761b23c8b33369c298ee)
2002-11-11 18:41:28 +00:00
Jim McDonough
3eb60559d8 Add getdata and getdataex commands
(This used to be commit 101727335fffd4011659bfa9f7f8ab24b641fc4e)
2002-11-11 15:41:04 +00:00
Simo Sorce
4d8d3ce321 union is better to avoid problems with pointers
(This used to be commit 1645567db3e85151c139115fdc1238149ccf33a2)
2002-11-11 09:01:24 +00:00
Jeremy Allison
7f94064e4a First cut of fix for changenotify on a print server handle. Use the connections tdb
with an snum of -1 and a special printername.
Jeremy.
(This used to be commit 940b04ddfa87acc939911e3fe76496e3c4675632)
2002-11-10 22:24:10 +00:00
Jelmer Vernooij
9d7cd66431 Print the number of returned rows, not the number of fields
(This used to be commit f4110a0f80a4f62d548b6d6cae81692476ef85ba)
2002-11-10 16:29:50 +00:00
Jelmer Vernooij
fc89832192 Add $(POPT_LIB_OBJ) to PROTO_OBJ
(This used to be commit ba34be7033bced52eabf4e0b367a32a5196ef127)
2002-11-10 16:01:04 +00:00
Simo Sorce
10968f47cf consolidate error mapping functions into a single file
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)
2002-11-10 04:16:59 +00:00
Jeremy Allison
f4fb10c622 Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.
(This used to be commit c206643baaae64cef38f2f74e46337d35a489ca9)
2002-11-10 03:00:28 +00:00
Andrew Tridgell
0026d5fb68 make sure we don't try to decode any null password buffers during a
SAM sync. This copes with both unset passwords from NT4 DCs and the
null passwords you get from w2k domains.
(This used to be commit 20c1cd86aca8040c1fe7497b84bb546526676e48)
2002-11-10 02:16:43 +00:00
Andrew Tridgell
a46d452926 make sure that if kerberos fails we can fall back on NTLMSSP for SASL
(This used to be commit 69dba08c40c9739137b4f01d38be5228edc6dd6e)
2002-11-10 00:35:04 +00:00
Andrew Bartlett
a0dd6128bf Kill append_log from smbmount (thanks vance for reminding me).
Andrew Bartlett
(This used to be commit 7501b2a51835bae005d2ac015c3a428eaadce032)
2002-11-09 23:17:01 +00:00
Jim McDonough
bf89d62259 Add net help join text, from Steve Langasek.
Also update the other commands to his correct example of [<method>], since
it is optional.

Thanks, Steve.
(This used to be commit 9fc12e6cb23aa34b2542252b2a05d8a17b8172ce)
2002-11-09 17:59:24 +00:00
Gerald Carter
4be3750d8e deldriver fix
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)
2002-11-09 14:48:27 +00:00
Gerald Carter
b3f55b37a0 re-enable ffpcn on print server handle
(This used to be commit e87829b4942237de542d21051092fee069a9c73d)
2002-11-09 05:41:27 +00:00
Gerald Carter
5d81628512 remove accidental debug code..
(This used to be commit d422a51b3a076b6398f7b755d16319d9e7c48c75)
2002-11-09 04:37:07 +00:00
Jeremy Allison
5a21d8021a Fix bug found by tpot with given password server.
Jeremy.
(This used to be commit 90ac8184a0ae1f702d39f947ef5267765f3d2f88)
2002-11-09 03:57:28 +00:00
Jeremy Allison
02c58f3fb9 Add chainlock_read functions to get a read lock. Used in *massively*
contended tdb's (and I've got one :-).
Jeremy.
(This used to be commit 064fa201ab73f476a168c40c2b227507e7342ec4)
2002-11-09 03:37:01 +00:00
Andrew Bartlett
8ce292d96f Fix bug where not specifying '-S PDC' in 'net join' would cause it to attempt
to contact a random IP address.

Andrew Bartlett
(This used to be commit e6837a85605f258da1fa9ac7ad329bc62392f29a)
2002-11-09 02:36:47 +00:00
Martin Pool
5fabbb0573 Rewrite all the packing stuff so that it converts 'f' strings to CP850
on encoding.  (Tough luck if your Samba codepage is not 850.)  It's
much cleaner and possibly more efficient now too: just build one big
list of strings, then zip it up at the end.

Still need to do this for unpacking.
(This used to be commit 2480d385db0527b71cc5cd23c4fab4655df84485)
2002-11-09 01:47:54 +00:00
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