kai/samba.git
21 years agofix for CR 601. Only call addprinter command when the port, driver, comment, or...
Gerald Carter [Mon, 11 Nov 2002 22:05:32 +0000 (22:05 +0000)]
fix for CR 601.  Only call addprinter command when the port, driver, comment, or location field changed
(This used to be commit 62a19247d31b1e5b81767880182b40ba396b261a)

21 years agoImprove DEBUG output somewhat more
Jelmer Vernooij [Mon, 11 Nov 2002 18:54:13 +0000 (18:54 +0000)]
Improve DEBUG output somewhat more
(This used to be commit 2cc36ce0ee8383aa8a20a8dc5a3218693dc46817)

21 years agoAdd more debug info
Jelmer Vernooij [Mon, 11 Nov 2002 18:42:13 +0000 (18:42 +0000)]
Add more debug info
(This used to be commit 065ed9783236cf1e8254655a9a1d4de937b35018)

21 years agoAdd getdata and getdataex commands
Jim McDonough [Mon, 11 Nov 2002 15:43:09 +0000 (15:43 +0000)]
Add getdata and getdataex commands
(This used to be commit 1bdd6397516b9f514c04099cf521fe81adad905b)

21 years agoFix typo
Jelmer Vernooij [Mon, 11 Nov 2002 13:49:39 +0000 (13:49 +0000)]
Fix typo
(This used to be commit ad5cb338a1e5e60116757a1c8f2fb844ad062401)

21 years agoSync with HEAD.
Tim Potter [Mon, 11 Nov 2002 05:48:12 +0000 (05:48 +0000)]
Sync with HEAD.
(This used to be commit 130c1d0765502be839f87a8d0f4e47f5a3461c97)

21 years agoFirst cut of fix for changenotify on a print server handle. Use the connections tdb
Jeremy Allison [Sun, 10 Nov 2002 22:24:00 +0000 (22:24 +0000)]
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 06b04380078ad840768a2c5a803f02669f54bc82)

21 years agoPrint the number of returned rows, not the number of fields
Jelmer Vernooij [Sun, 10 Nov 2002 16:30:23 +0000 (16:30 +0000)]
Print the number of returned rows, not the number of fields
(This used to be commit cf74ddc2fcb1e7286441edb432d8906bb722a3d4)

21 years agoSync with HEAD
Jelmer Vernooij [Sun, 10 Nov 2002 12:10:39 +0000 (12:10 +0000)]
Sync with HEAD
(This used to be commit b6359c585a563f9694d8afacd43329dece6af500)

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Sun, 10 Nov 2002 12:07:55 +0000 (12:07 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 37ca4bbf0c7895e3a17544e3ac6d316034424f3d)

21 years agoAdd example for MySQL
Jelmer Vernooij [Sun, 10 Nov 2002 12:07:54 +0000 (12:07 +0000)]
Add example for MySQL
(This used to be commit de136d294fce59bdc4d0a65d35071c2837ef92a5)

21 years agoRemove testsmbc.c from source/ in 3.0 as well. It's already in examples/
Jelmer Vernooij [Sun, 10 Nov 2002 11:42:51 +0000 (11:42 +0000)]
Remove testsmbc.c from source/ in 3.0 as well. It's already in examples/
(This used to be commit c1b3cffb3f2087cfb4848ebca72e482c79ac0b6f)

21 years agosync with head
Simo Sorce [Sun, 10 Nov 2002 04:34:03 +0000 (04:34 +0000)]
sync with head
was:
consolidate alla error mapping functions in one file
(This used to be commit 2c9e8b79d94e3276e9eb9bd676af0a68ee3908ff)

21 years agoconsolidate error mapping functions into a single file
Simo Sorce [Sun, 10 Nov 2002 04:16:59 +0000 (04:16 +0000)]
consolidate error mapping functions into a single file
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)

21 years agoAfter the lord mayors parade......
Jeremy Allison [Sun, 10 Nov 2002 03:07:19 +0000 (03:07 +0000)]
After the lord mayors parade......
Janitor for tridge :-).
Jeremy.
(This used to be commit 76cdfbd5107fff0c38f5fc339f1c27b33fec3a91)

21 years agoFix for scalable printing noticed by tpot. Don't loop infinately
Jeremy Allison [Sun, 10 Nov 2002 03:00:43 +0000 (03:00 +0000)]
Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.
(This used to be commit 7e7b40e0fe1302ae416247c70d8d76bd82ec3474)

21 years agoFix for scalable printing noticed by tpot. Don't loop infinately
Jeremy Allison [Sun, 10 Nov 2002 03:00:28 +0000 (03:00 +0000)]
Fix for scalable printing noticed by tpot. Don't loop infinately
when holding a mutex.... :-).
Jeremy.
(This used to be commit c206643baaae64cef38f2f74e46337d35a489ca9)

21 years agomake sure we don't try to decode any null password buffers during a
Andrew Tridgell [Sun, 10 Nov 2002 02:16:43 +0000 (02:16 +0000)]
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)

21 years agomake sure that if kerberos fails we can fall back on NTLMSSP for SASL
Andrew Tridgell [Sun, 10 Nov 2002 00:35:04 +0000 (00:35 +0000)]
make sure that if kerberos fails we can fall back on NTLMSSP for SASL
(This used to be commit 69dba08c40c9739137b4f01d38be5228edc6dd6e)

21 years agoBack out some of my sync changes
Jelmer Vernooij [Sat, 9 Nov 2002 23:28:40 +0000 (23:28 +0000)]
Back out some of my sync changes
(This used to be commit b1ad91101d10d1fa635cfbb1684f8b598280cee0)

21 years agoMerge append_log fix from HEAD
Andrew Bartlett [Sat, 9 Nov 2002 23:18:25 +0000 (23:18 +0000)]
Merge append_log fix from HEAD
(This used to be commit 2e338654170cecf5cc46b75958242a4732e1cd3f)

21 years agoKill append_log from smbmount (thanks vance for reminding me).
Andrew Bartlett [Sat, 9 Nov 2002 23:17:01 +0000 (23:17 +0000)]
Kill append_log from smbmount (thanks vance for reminding me).

Andrew Bartlett
(This used to be commit 7501b2a51835bae005d2ac015c3a428eaadce032)

21 years agoAdd net help join text, from Steve Langasek.
Jim McDonough [Sat, 9 Nov 2002 18:01:27 +0000 (18:01 +0000)]
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 307d942ccdff01e471e7fe3fa66d5cc21cecf64d)

21 years agoAdd net help join text, from Steve Langasek.
Jim McDonough [Sat, 9 Nov 2002 17:59:24 +0000 (17:59 +0000)]
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)

21 years agoLast sync with HEAD
Jelmer Vernooij [Sat, 9 Nov 2002 17:08:58 +0000 (17:08 +0000)]
Last sync with HEAD
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)

21 years agoSync with HEAD
Jelmer Vernooij [Sat, 9 Nov 2002 16:57:45 +0000 (16:57 +0000)]
Sync with HEAD
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)

21 years agoStart sync with HEAD
Jelmer Vernooij [Sat, 9 Nov 2002 16:12:35 +0000 (16:12 +0000)]
Start sync with HEAD
(This used to be commit eac350e09f5cdcf1b6ec1a3b7cde2c9aa3268143)

21 years agodeldriver fix
Gerald Carter [Sat, 9 Nov 2002 14:49:26 +0000 (14:49 +0000)]
deldriver fix
(This used to be commit 78ff2cc34aedaf82d965a71e0c9dfdeb86a90fdd)

21 years agodeldriver fix
Gerald Carter [Sat, 9 Nov 2002 14:48:27 +0000 (14:48 +0000)]
deldriver fix
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)

21 years agore-enable ffpcn on print server handle
Gerald Carter [Sat, 9 Nov 2002 05:42:37 +0000 (05:42 +0000)]
re-enable ffpcn on print server handle
(This used to be commit 47a0c68fa9e98ab761e609d889894db1de9520db)

21 years agore-enable ffpcn on print server handle
Gerald Carter [Sat, 9 Nov 2002 05:41:27 +0000 (05:41 +0000)]
re-enable ffpcn on print server handle
(This used to be commit e87829b4942237de542d21051092fee069a9c73d)

21 years agoremove accidental debug code..
Gerald Carter [Sat, 9 Nov 2002 04:37:07 +0000 (04:37 +0000)]
remove accidental debug code..
(This used to be commit d422a51b3a076b6398f7b755d16319d9e7c48c75)

21 years agoremove accidental debug code.
Gerald Carter [Sat, 9 Nov 2002 04:36:43 +0000 (04:36 +0000)]
remove accidental debug code.
(This used to be commit 9bba2199e3127c8a7bcb3143d962a6660c125d88)

21 years agoFix bug found by tpot with given password server.
Jeremy Allison [Sat, 9 Nov 2002 03:57:28 +0000 (03:57 +0000)]
Fix bug found by tpot with given password server.
Jeremy.
(This used to be commit 90ac8184a0ae1f702d39f947ef5267765f3d2f88)

21 years agoFix bug found by tpot with given password server.
Jeremy Allison [Sat, 9 Nov 2002 03:48:39 +0000 (03:48 +0000)]
Fix bug found by tpot with given password server.
Jeremy.
(This used to be commit d46b4cb563850c77ee23b95df35a7f752a235d35)

21 years agoAdd chainlock_read functions to get a read lock. Used in *massively*
Jeremy Allison [Sat, 9 Nov 2002 03:37:01 +0000 (03:37 +0000)]
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)

21 years agoAdd chainlock_read functions to get a read lock. Used in *massively*
Jeremy Allison [Sat, 9 Nov 2002 03:36:47 +0000 (03:36 +0000)]
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 d4b795e6a451d9abaa4a928cf5d34e12b2babc2d)

21 years agoMerge fix for uninitialised IP variable from HEAD
Andrew Bartlett [Sat, 9 Nov 2002 03:27:42 +0000 (03:27 +0000)]
Merge fix for uninitialised IP variable from HEAD
(This used to be commit e3310ac832f78f08d6ec6421222a651efe8767a6)

21 years agoFix bug where not specifying '-S PDC' in 'net join' would cause it to attempt
Andrew Bartlett [Sat, 9 Nov 2002 02:36:47 +0000 (02:36 +0000)]
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)

21 years agoRewrite all the packing stuff so that it converts 'f' strings to CP850
Martin Pool [Sat, 9 Nov 2002 01:47:54 +0000 (01:47 +0000)]
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)

21 years agofix for defunct winbindd from APP_HEAD
Gerald Carter [Fri, 8 Nov 2002 23:47:51 +0000 (23:47 +0000)]
fix for defunct winbindd from APP_HEAD
(This used to be commit 856678d69fac9849c689c485fc727fca300eb152)

21 years agodefunct winbindd fix from APP_HEAD
Gerald Carter [Fri, 8 Nov 2002 23:46:45 +0000 (23:46 +0000)]
defunct winbindd fix from APP_HEAD
(This used to be commit 488e985caa0b0e3e2a6665eb2515a2c99745d861)

21 years agoMerge from HEAD:
Andrew Bartlett [Fri, 8 Nov 2002 23:08:59 +0000 (23:08 +0000)]
Merge from HEAD:

 - change auth_sam to use the initialisation flags to determine if
 the password attributes are set

 - add const to secrets.c, cliconnect.c

 - passdb:  fix spelling in pdb_ldap, add group mapping back to smbpasswd

 - SAMR: add debugs to show what fails for group enum.

Andrew Bartlett
(This used to be commit 4e74d00b3634abf52aa24bfaa6dbe88202aa57a1)

21 years agoCompleatly remove support for logfile truncation. All logs are opened for
Andrew Bartlett [Fri, 8 Nov 2002 23:05:34 +0000 (23:05 +0000)]
Compleatly remove support for logfile truncation.  All logs are opened for
append writes.

(blessed by jra)

Andrew Bartlett
(This used to be commit 81633064dd196c40541ecece8def51745f514646)

21 years agoMake smbpasswd use the group mapping, and fix spelling in ldapsam.
Andrew Bartlett [Fri, 8 Nov 2002 22:15:34 +0000 (22:15 +0000)]
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)

21 years agoMake it easier to track things down here - add some debugs on failure.
Andrew Bartlett [Fri, 8 Nov 2002 22:14:31 +0000 (22:14 +0000)]
Make it easier to track things down here - add some debugs on failure.
(This used to be commit 62ee7b7dc08e7be261211de8f85b8e9be4df7b54)

21 years agoMake smbpasswd tell people to use 'net join', not 'net rpc join' now we have
Andrew Bartlett [Fri, 8 Nov 2002 22:13:34 +0000 (22:13 +0000)]
Make smbpasswd tell people to use 'net join', not 'net rpc join' now we have
the automagic detection.
(This used to be commit a066bed5a4855dac955bf0bd7630939220314cfe)

21 years agoAdd enumdataex command
Jim McDonough [Fri, 8 Nov 2002 21:40:31 +0000 (21:40 +0000)]
Add enumdataex command
(This used to be commit 932a5012731b133d49d1c2d6b28f15e4480ddf53)

21 years agoAdd enumdataex command
Jim McDonough [Fri, 8 Nov 2002 21:39:53 +0000 (21:39 +0000)]
Add enumdataex command
(This used to be commit 6d1d2849a7b2f99d927ba168ed2d01a879b09e69)

21 years agoRemove Faxing.txt no longer exits.
John Terpstra [Fri, 8 Nov 2002 20:53:02 +0000 (20:53 +0000)]
Remove Faxing.txt no longer exits.
(This used to be commit baf87ed796d2e2141930a75555d6c3a3fe3130a5)

21 years agoImplement enumdata command
Jim McDonough [Fri, 8 Nov 2002 20:51:04 +0000 (20:51 +0000)]
Implement enumdata command
(This used to be commit a22fdf26fef0cd58c84ca13891a762e3fdc6af8b)

21 years agoImplement enumdata command
Jim McDonough [Fri, 8 Nov 2002 20:50:06 +0000 (20:50 +0000)]
Implement enumdata command
(This used to be commit 33ffe07e053082f5edfd65b43f431a8d09d4ae0e)

21 years agoSync with HEAD to get enumprinterkey api.
Jim McDonough [Fri, 8 Nov 2002 20:36:31 +0000 (20:36 +0000)]
Sync with HEAD to get enumprinterkey api.
(This used to be commit f6e21ba4c724f77586ef428f82126d209b0a9607)

21 years agoAdd enumkey command (EnumPrinterKey api)
Jim McDonough [Fri, 8 Nov 2002 19:07:36 +0000 (19:07 +0000)]
Add enumkey command (EnumPrinterKey api)
(This used to be commit 5bccbbeb59b1574c9c8132ef3e1a090ff539f6e1)

21 years agoAdd enumkey command (EnumPrinterKey api)
Jim McDonough [Fri, 8 Nov 2002 19:06:34 +0000 (19:06 +0000)]
Add enumkey command (EnumPrinterKey api)
(This used to be commit a2e17d4344f996b64cd9c4f01b6b15c069fde41b)

21 years agopatches from Urban
Gerald Carter [Fri, 8 Nov 2002 18:45:38 +0000 (18:45 +0000)]
patches from Urban
(This used to be commit 850b185a6e33fa924fa59cdd6316c9160ba65270)

21 years agopatches from Urban
Gerald Carter [Fri, 8 Nov 2002 18:44:57 +0000 (18:44 +0000)]
patches from Urban
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)

21 years agoDon't set global_machine_password_needs_changing if
Tim Potter [Fri, 8 Nov 2002 01:38:45 +0000 (01:38 +0000)]
Don't set global_machine_password_needs_changing if
lp_machine_password_timeout() is set to zero.
(This used to be commit 3692919aee186498848715505047a1cde83758b7)

21 years agoDon't set global_machine_password_needs_changing if
Tim Potter [Fri, 8 Nov 2002 01:34:58 +0000 (01:34 +0000)]
Don't set global_machine_password_needs_changing if
lp_machine_password_timeout() is set to zero.
(This used to be commit 0fa87a68fea8b12242f644605aab7c2f81c1a4df)

21 years agoFix crash bug with overwriting memory.
Jeremy Allison [Thu, 7 Nov 2002 22:45:11 +0000 (22:45 +0000)]
Fix crash bug with overwriting memory.
Jeremy.
(This used to be commit 9b08b4e4c24290e5d90a7cc2dc442cb82e73df28)

21 years agoFix crash bug with overwriting malloced memory.
Jeremy Allison [Thu, 7 Nov 2002 22:43:54 +0000 (22:43 +0000)]
Fix crash bug with overwriting malloced memory.
Jeremy.
(This used to be commit 3228730c8311ec6507227f8936318b1d965c1228)

21 years agoMake append_log work again
Jelmer Vernooij [Thu, 7 Nov 2002 21:39:51 +0000 (21:39 +0000)]
Make append_log work again
(This used to be commit 2fd496b49f76e3b593fb60fb2523a044a3814125)

21 years agoBack out lp_modules() check - this one got in by accident when I added poptSetOtherOp...
Jelmer Vernooij [Thu, 7 Nov 2002 20:17:46 +0000 (20:17 +0000)]
Back out lp_modules() check - this one got in by accident when I added poptSetOtherOptions
(This used to be commit d7388b3e1e33a3514007e0e0b508469cb1ebed64)

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Thu, 7 Nov 2002 19:45:56 +0000 (19:45 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit aafa32d6809e1bc60a8186140f2f3cf2bf6bff16)

21 years agoFix small typo
Jelmer Vernooij [Thu, 7 Nov 2002 19:45:55 +0000 (19:45 +0000)]
Fix small typo
(This used to be commit 3c39bd9db09c59f149d77e371ed078cd7ec2d1b4)

21 years agoMerge Jim's new rpc client code to 3.0.
Jeremy Allison [Thu, 7 Nov 2002 18:54:02 +0000 (18:54 +0000)]
Merge Jim's new rpc client code to 3.0.
Jeremy.
(This used to be commit 121c456d4347bbefd9b2ce0141e3f53a21f37066)

21 years agoWhat is wrong with you, Jim? Check in the final version, not an interim one...
Jim McDonough [Thu, 7 Nov 2002 15:43:04 +0000 (15:43 +0000)]
What is wrong with you, Jim?  Check in the final version, not an interim one...
(This used to be commit 1fd6d34526e577b8a5463e3abcfb8fc3682e6473)

21 years agoFix the build.
Jim McDonough [Thu, 7 Nov 2002 15:32:48 +0000 (15:32 +0000)]
Fix the build.

Build farm!  Build farm!  Please check the build farm!

...or at least run make torture.
(This used to be commit 36545ee9a78146fa03d27fed6c7184d5fdadb2ab)

21 years agoFix the build.
Jim McDonough [Thu, 7 Nov 2002 15:29:09 +0000 (15:29 +0000)]
Fix the build.

Build farm! Build farm!  Please check the build farm!

...or at least run make torture.
(This used to be commit 163ac344012d4520000f2ca91da50a379c7f288d)

21 years agoStop using hardcoded smbtrans subcommands
Jim McDonough [Thu, 7 Nov 2002 14:46:24 +0000 (14:46 +0000)]
Stop using hardcoded smbtrans subcommands
(This used to be commit 117077b172acbdf0e059feb0d598e99cec481291)

21 years agoDefine smbtrans subcommands so we can stop hardcoding them
Jim McDonough [Thu, 7 Nov 2002 14:45:46 +0000 (14:45 +0000)]
Define smbtrans subcommands so we can stop hardcoding them
(This used to be commit 645c2d5c30a79d4aa28f477dbf0fc44d319fd35d)

21 years agoAllow multiple fragment RPC's to be sent.
Jim McDonough [Thu, 7 Nov 2002 14:40:25 +0000 (14:40 +0000)]
Allow multiple fragment RPC's to be sent.
(This used to be commit d423e6424bc3c61281ad30cd1c66540b522b5d3e)

21 years agoStop using hardcoded transact commands
Jim McDonough [Thu, 7 Nov 2002 14:39:49 +0000 (14:39 +0000)]
Stop using hardcoded transact commands
(This used to be commit ec0d94b4dd8409e6bf114d013f23a52f0fc11a69)

21 years agoAdd smbtrans subcommands so we can stop hardcoding them
Jim McDonough [Thu, 7 Nov 2002 14:38:53 +0000 (14:38 +0000)]
Add smbtrans subcommands so we can stop hardcoding them
(This used to be commit 759bcd881dd259d5ad43715f6979c5282b094d52)

21 years agoPerform my janitorial duties.
Tim Potter [Thu, 7 Nov 2002 07:24:10 +0000 (07:24 +0000)]
Perform my janitorial duties.
(This used to be commit 3810f13682617d043d3cffaafe8a7cb7125c4ecd)

21 years agoRemove lp_security() checks for winbindd as this is how we act as a PDC.
Tim Potter [Thu, 7 Nov 2002 07:23:37 +0000 (07:23 +0000)]
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)

21 years agoKeeping 3.0 in sync....
Jeremy Allison [Thu, 7 Nov 2002 07:20:33 +0000 (07:20 +0000)]
Keeping 3.0 in sync....
Jeremy.
(This used to be commit 6d98ac2634d17f7f8fb17c43923ddd2b1e723d86)

21 years agoJeremy the janitor again... keeping 3.0 in sync with tridge's changes this
Jeremy Allison [Thu, 7 Nov 2002 07:19:10 +0000 (07:19 +0000)]
Jeremy the janitor again... keeping 3.0 in sync with tridge's changes this
time.
Jeremy.
(This used to be commit 3803324d3d49f81ef0a82c4a9fedae70d32cb409)

21 years agoKeep branches in sync.....
Jeremy Allison [Thu, 7 Nov 2002 07:17:09 +0000 (07:17 +0000)]
Keep branches in sync.....
Jeremy.
(This used to be commit faf92207e71980aaaad8b5487f5c2d6a60f7ddd1)

21 years agoKeeping branches in sync....
Jeremy Allison [Thu, 7 Nov 2002 07:14:14 +0000 (07:14 +0000)]
Keeping branches in sync....
Jeremy.
(This used to be commit ceb01b5ab1eed6e89d66687681ff3325a21e6b88)

21 years agoKeeping branches in sync....
Jeremy Allison [Thu, 7 Nov 2002 07:13:29 +0000 (07:13 +0000)]
Keeping branches in sync....
Jeremy.
(This used to be commit eb937761c4047bd98990ca33e56b668465e2c228)

21 years agoBeing tpot's janitor again.... checking in things only checked into HEAD.
Jeremy Allison [Thu, 7 Nov 2002 07:08:04 +0000 (07:08 +0000)]
Being tpot's janitor again.... checking in things only checked into HEAD.
We are meant to be keeping 3.0 up to date...
Jeremy.
(This used to be commit a4c8c8f3b767f0cd4c1fa977efe8bfcd3de980d0)

21 years agofixed some formatting errors and improved some debug statements in
Andrew Tridgell [Thu, 7 Nov 2002 04:53:18 +0000 (04:53 +0000)]
fixed some formatting errors and improved some debug statements in
'net rpc vampire'
(This used to be commit 1526b3b19e0be5926977d3eb1e642330bfeba5a2)

21 years agowhen doing a 'net rpc vampire' a pdb_init_sam_pw() is used to create a
Andrew Tridgell [Thu, 7 Nov 2002 04:52:04 +0000 (04:52 +0000)]
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)

21 years agoMerge of scalable printing code fix... Needs testing.
Jeremy Allison [Thu, 7 Nov 2002 02:38:42 +0000 (02:38 +0000)]
Merge ... 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)

21 years agoMerge of scalable printing code fix... Needs testing.
Jeremy Allison [Thu, 7 Nov 2002 02:15:35 +0000 (02:15 +0000)]
Merge ... scalable printing code fix... Needs testing.
Jeremy.
(This used to be commit d030df76439c72825d68410211e62090438cef54)

21 years agoSync up python stuff from HEAD.
Tim Potter [Thu, 7 Nov 2002 01:12:24 +0000 (01:12 +0000)]
Sync up python stuff from HEAD.
(This used to be commit 92c76e16fa40adc6148b9c11b3e377f35c464975)

21 years agoCall winbindd_param_init() earlier on in the piece so we don't get stuck in
Tim Potter [Thu, 7 Nov 2002 01:06:38 +0000 (01:06 +0000)]
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)

21 years agoFor a BUFFER5, don't parse the buffer if the buffer length is zero.
Tim Potter [Wed, 6 Nov 2002 23:43:21 +0000 (23:43 +0000)]
For a BUFFER5, don't parse the buffer if the buffer length is zero.
(This used to be commit 28871bb6969ca70aabcc622410dd1fc5addcceca)

21 years agoClient side functions for enumprinterkey.
Tim Potter [Wed, 6 Nov 2002 23:38:39 +0000 (23:38 +0000)]
Client side functions for enumprinterkey.
(This used to be commit f56ce473b6964302ba51fc9796ee919738731065)

21 years agoAdded enumprinterkey function.
Tim Potter [Wed, 6 Nov 2002 23:36:07 +0000 (23:36 +0000)]
Added enumprinterkey function.

Stub for deleteprinterkey.
(This used to be commit 64e04380f7ad9b471a681638dfde93e0c65f9fa3)

21 years agoMoved function to parse a list of unicode strings into util file.
Tim Potter [Wed, 6 Nov 2002 23:34:12 +0000 (23:34 +0000)]
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)

21 years agoAdd group management support (patch from metze)
Jelmer Vernooij [Wed, 6 Nov 2002 22:10:16 +0000 (22:10 +0000)]
Add group management support (patch from metze)
(This used to be commit 090a2015eb9aa4ec68d80e972ae192d19afd536e)

21 years agoFix compiler warnings.
Tim Potter [Wed, 6 Nov 2002 20:13:02 +0000 (20:13 +0000)]
Fix compiler warnings.
(This used to be commit 3a68613e934e25f2ccfbf5afa5e26b5f47b40a53)

21 years agoAdapt to latest pdb API changes - only thing left is group support
Jelmer Vernooij [Wed, 6 Nov 2002 12:26:21 +0000 (12:26 +0000)]
Adapt to latest pdb API changes - only thing left is group support
(This used to be commit 99a2e7fde1fd4e589035c273f40419ef322e097d)

21 years agopdb_get_unknown? -> pdb_get_unknown_?
Jelmer Vernooij [Wed, 6 Nov 2002 11:21:47 +0000 (11:21 +0000)]
pdb_get_unknown? -> pdb_get_unknown_?
(This used to be commit c13ed6c866fed43e5f83e083c377a1cd7d505061)

21 years agoRemove pdb_sql.o.. this one got in by accident
Jelmer Vernooij [Wed, 6 Nov 2002 11:17:53 +0000 (11:17 +0000)]
Remove pdb_sql.o.. this one got in by accident
(This used to be commit 44c894531b09856a9a485912b05f08c59caa6a00)

21 years agoMerge of get_dc_list() api change from HEAD.
Tim Potter [Wed, 6 Nov 2002 05:14:15 +0000 (05:14 +0000)]
Merge of get_dc_list() api change from HEAD.
(This used to be commit 6ba7847ce2756fde94e530fd0bf2a055f3e27373)

21 years agopytdbpack_unpack: Clean up, and correct the handling of '$'.
Martin Pool [Wed, 6 Nov 2002 01:59:57 +0000 (01:59 +0000)]
pytdbpack_unpack: Clean up, and correct the handling of '$'.
(This used to be commit dd73568f97ad51c93f096001058fd31fa14e88ae)

21 years agoAdd another test case for repeated-unpack ('$')
Martin Pool [Wed, 6 Nov 2002 01:50:31 +0000 (01:50 +0000)]
Add another test case for repeated-unpack ('$')
(This used to be commit 2a492c4854d4c6469d8c7d21aa187fef6303b641)