[SCM] Samba Shared Repository - branch v3-6-test created
Karolin Seeger
kseeger at samba.org
Wed Jul 28 01:36:57 MDT 2010
The branch, v3-6-test has been created
at a20ee817b269f575e1c38a7d48d7d0a81ef108b4 (commit)
- Log -----------------------------------------------------------------
commit a20ee817b269f575e1c38a7d48d7d0a81ef108b4
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Jul 28 09:27:43 2010 +0200
WHATSNEW: Update changes.
Thanks to Simo for providing the summary!
Karolin
commit dace013898a450b50606740704c83ba25855e332
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 27 10:59:55 2010 +0200
s3: Remove a typedef (struct file_info)
commit 9168713774c02ba2f71d89379cc239a900ebeafe
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 27 12:27:54 2010 +0200
s3-spoolss: Fixed FILL_DRIVER_STRING leading to wrong results.
commit 90c17828824401c7be065a7bbf706dcafef0fc31
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 26 18:28:15 2010 -0400
s3-spoolss: Avoid segfault, check drivername is actually not NULL.
commit 6cd2f2ff31768a40ca60112964b35bf040b2e6d8
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 26 19:14:03 2010 +0200
s3-spoolss: Fixed a possible segfault in winreg_get_printer.
commit bb0226f10ef86296af273ea0e9692b72d0ead4c2
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jul 26 18:12:13 2010 +0200
s3-spoolss: Correctly set the default values.
commit b95d5563ddff7aec15f4138be731578785dca7ec
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 13:37:44 2010 +0200
s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 924cc43d1b8f8358f7c7aaef16b06437e39cd05b
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:40:24 2010 +0200
s3-spoolss: Move the standard mappings to spoolss.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c3186f22c5d501cc6afed7556579906d27763251
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:39:43 2010 +0200
s3-lib: Make the standard_mapping parameter const.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 1be454538b2e4d242be90e43fab9eb09f0b07a57
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:25:08 2010 +0200
s3-spoolss: Remove the program global current_user_info.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit d8c81423aa52f1810cafeefa186f7dd0590cb0de
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 15:05:00 2010 +0200
s3-spoolss: Remove unused MAGIC_DISPLAY_FREQUENCY
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 8fe6813ca0e6ccbe4fed91425f82443f5cb166a4
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 09:57:41 2010 +0200
s4-torture: Enable tests with keynames including a slash.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit db2a777b0ee1e75fb6d11ad1240d7214a4e1dac4
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 13:37:44 2010 +0200
s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 35e03ef5c22020e047bd05e61be6c46701a07702
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 11:48:12 2010 +0200
s3-printing: Move all tdb upgrade functions to a separate file.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c18913a2c216d9dd092f4efb3dfbad376fc29bb6
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 05:03:32 2010 -0400
s3-smbd: Convert reply_printqueue to use spoolss.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 3f68a39458dddf7cfc67ce78248f3f1bdad18ba6
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 1 17:09:21 2010 +0200
Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."
This reverts commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 96c25cdad5e82a1aed77692796617532f663aca1
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 8 13:03:22 2010 +0200
s3-spoolss: Create winprint print processor key.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit f5a2f8fa2b66d23eb2e99443f6d6bb85b6199b63
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 10:37:48 2010 -0400
s3-printing: Removed unused function print_job_fd().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 21cd59e7a5b319a8800c904d21f0d1e885acc7fb
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 07:35:23 2010 -0400
s3-smbd: Use the right check to test if we can print.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit bdab6b10d25f536fe25c09b3821376e278395abc
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 08:01:13 2010 -0400
s3-printing: Moved printing.c headers to include/printing.h.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 628f9bee05b96b806225f3494c05c3a86acb1a1f
Author: Simo Sorce <ssorce at redhat.com>
Date: Wed May 5 08:56:46 2010 -0400
s3-spoolss: Use WERROR for print_job_delete.
And also check for PJOB_SMBD_SPOOLING in print_job_write.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 95f587a565543678da3beeff46167001b92bea79
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 07:45:25 2010 -0400
s3-printing: Removed unused printfsp.c.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 849cc65654d20e7077621ead2429a82fcac35197
Author: Simo Sorce <ssorce at redhat.com>
Date: Tue May 4 04:28:48 2010 -0400
s3-smbd: Migrated to new spoolss functions for printing.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 660506d359d76700f6f6ae5b7e9c4d05fe505fb6
Author: Simo Sorce <ssorce at redhat.com>
Date: Tue May 4 02:51:12 2010 -0400
s3-printing: Handled case when smbd spools a file on behalf of spoolss.
commit 94ee35f9cc0880c267bee14047d559948eb14ede
Author: Simo Sorce <idra at samba.org>
Date: Sat May 1 17:42:52 2010 -0400
s3-printing: Made print_job_start more robust.
Explicitly return ntstatus errors instead of relying on elusive errno.
Split the function to make it easier to follow.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 4761498c9e40d8b00060d2949bfcff32c6cf7f99
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 11:14:55 2010 +0200
s3-printing: Moved remaining prototypes to nt_printing.h.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 7c629bda2f86271b709292dbc5a9e811e438a902
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 11:07:36 2010 +0200
s3-printing: Remove unused printer registry key functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit ae405eed4fa1857e90f240671c539088be51d562
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 11:02:59 2010 +0200
s3-printing: Removed unused security descriptor functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e2d3c0efa9a972d76279c3f834784525de1439b0
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:55:20 2010 +0200
s3-printing: Removed unused nt_forms.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c918cfdedec5730b0851fd8132986f26b40a3cdc
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:52:11 2010 +0200
s3-printing: Removed unsuded c_setprinter functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit d8ab3e52dc717cbfd82b02c00426e98001acc764
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:49:46 2010 +0200
s3-printing: Removed unused free_a_printer function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 5c1f28374712c1e23d794670a9cd91052e99f34e
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:49:03 2010 +0200
s3-printing: Removed unused mod_a_printer functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 4e45d5f8244fae0e26a6d0592a092f2a9c791666
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 11 10:46:10 2010 +0200
s3-printing: Removed unused get_a_printer functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 38d6274864ebb4d31333946379496d67745cd3c5
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 18:55:20 2010 -0400
s3-smbd: Added code to print via spoolss.
commit 8d44b11c6bf90f4698e472b46d4f47a136b960ba
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 16:46:34 2010 +0200
s3-spoolss: Removed wrong comment.
This doesn't reflect the current implementation.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit f6db3694edc947ca46d52f3627844127525b262c
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 16:41:10 2010 +0200
s3-spoolss: Moved shared printing functions to nt_printing.h
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 395dcbd111fd531324eb3e77940756e448a22024
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 16:44:47 2010 +0200
s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c26bfd228de962b70ba744fd9dc9ca62ecca1470
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 09:42:55 2010 -0400
s3-spoolss: Removed unused set_printer_dataex().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 6d6ce4d1adbcb59231ec81fdc757d14f51a18534
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 10:35:08 2010 +0200
s3-spoolss: Create and update DsSpooler values.
commit 3fe2f6443d3ad623360701fcb09ed8913da6baa3
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 10:14:09 2010 +0200
s3-spoolss: Use a temporary talloc context in update_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c52e019ae10ba01f97851c0d4578a64209633a41
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 29 14:07:10 2010 +0200
s3-spoolss: Use the existing memory context for winreg_get_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit c7ae6cb0464ed505fc0d44bb5095bb897c11d458
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 22:46:22 2010 +0200
s3-spoolss: Don't return the printer devicemode in spoolss_EnumJobs.
Jobs have their own DeviceMode, see print_job_devmode().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 48828ab154160489586fd07e442739db35103fca
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 12:41:23 2010 +0200
s3-spoolss: Fixed the driver unc strings for dependent files.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit a1fe2ed68aef71083dc6a9938440e32e5a0cf63c
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 18:50:44 2010 -0400
s3-spoolss: Use winreg_delete_printer_key to delete printers.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit fdf669d37744487a7671b1d90541dbc21a41aeb6
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 18:33:20 2010 -0400
s3-spoolss: Get rid of get_server_name.
This function was useless the structure is public and used everywhere.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 44bc6714b0c5f40eb73def532b3074a4b19f6df4
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 17:34:24 2010 -0400
s3-printing: Converted printer publishing functions.
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit d17d73f4be6938b942f1eed875c6dd629d8bec88
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 14:46:33 2010 -0400
s3-printing: Convert print_driver_in_use.
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 017a305fede73b3f61517f38dec2bf706e2648df
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 13:51:33 2010 -0400
s3-printing: Convert print_time_access_check.
use spoolss_PrintInfo2 and winreg calls
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit afc4a387628e00376a118fbd9aeeec0694201e6f
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 13:08:32 2010 -0400
s3-spoolss: Use spoolss_PrinterInfo2 in notify code.
commit 78b985ac3e38bbbb42545a722096bf53ee2821eb
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 11:56:00 2010 -0400
s3-spoolss: Convert do_drv_upgrade_printer() to winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 375bdfc7f89d8941c006bc2afb058176d81027e3
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 10:24:46 2010 -0400
s3-spoolss: Removed construct_dev_mode() function.
Replace it with spoolss_create_default_devmode() or
copy_devicemode() where needed.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 0d694e1261975bdc565b673e38001c67f9ca239a
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 26 09:30:10 2010 -0400
s3-spoolss: Use spoolss_PrinterInfo2 in construct_printer_driver_info_level.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 7f6f5806ff4bd97b22b77e011f22402f5583acb5
Author: Simo Sorce <idra at samba.org>
Date: Fri Apr 23 17:58:10 2010 -0400
s3-spoolss: Use spoolss_PrinterInfo2 for job info.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 52b8f1f4710f1e3482031a76fd2191388289967f
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 14 20:48:00 2010 -0400
s3-spoolss: Migrated driver functions to winreg.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e517588a2073986ccd0edd76f9e3c865146bf1f4
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 11:52:19 2010 +0200
s3-spoolss: Set c_setprinter always to 0.
This value is only used for the well known printers list which Samba
doesn't implement.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 90e96d3ee20caf4aa58ea87a3afc5013f31d0ae4
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 22 23:52:33 2010 +0200
s3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit be6dc65b9e1b96872a10d3622b345d6be35872ef
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 11:53:25 2010 +0200
s3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to winreg_update_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit a2c51a88cca77accdcd6660bdbdeccad63b8ee6a
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 22 10:59:27 2010 +0200
s3-spoolss: Migrated spoolss_OpenPrinter to create defaults with winreg_create_printer.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 653364f5a38fb6ec7c6ede38b62b2b15200b9f77
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 7 10:38:54 2010 +0200
s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 665eba334e96ee120f036e693c2a36167deaede2
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 7 10:38:17 2010 +0200
s3-spoolss: Removed unused function convert_printer_info().
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e2c9ad93cb914186b89e2055f1bed3cceee1f768
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 16 11:35:05 2010 +0200
s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 2a5dba555520bf99a9545e1c7296075baf92cbea
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 15:20:42 2010 +0200
s3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 67bdaa561608eca2f8ae500c6c6590630aa79094
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 12:46:22 2010 +0200
s3-spoolss: Migrated spoolss_GetForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit a879bba0acc8682949a2ca38e23f354baa6f96d1
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 11:53:01 2010 +0200
s3-spoolss: Migrated spoolss_SetForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 76f72fe5157cb6dd37f1beaa0ff6473bd67c6b0f
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 15:31:53 2010 +0200
s3-spoolss: Migrated spoolss_DeleteForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit fad361aa8a050e99ac64c3aae6ee292d2a538c80
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 14:48:27 2010 +0200
s3-spoolss: Migrated spoolss_AddForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 2ae1796b090b793397f4082a996b8e430172d365
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 13:04:30 2010 +0200
s3-spoolss: Migrated spoolss_EnumForms to the winreg function.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 142431d09774da4004ed7fae7f0891f7ba62f8f9
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 13:22:57 2010 +0100
s3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit fb5529f6230526701df5506836f93ca9b03e43e8
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:30:32 2010 +0100
s3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit e210230587bc129e7136b436242d7b9ae781d13d
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Mar 17 16:38:52 2010 +0100
s3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit df35b343dbb10ef5b248265e0b23ea0711ecce46
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 14:01:01 2010 +0100
s3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 795618a59284e5ce44ec6de60eccdfafecfbbc99
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:28:09 2010 +0100
s3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 3d7e99e2c3247f1d6303196485f86d2ab05ec8c8
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:20:31 2010 +0100
s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 71be0ec140c6e5cd3315fd20f6c8795fa0aaca63
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 26 11:27:28 2010 +0200
s3-registry: Redirect KEY_CONTROL_PRINTERS to KEY_WINNT_PRINTERS.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 65eb38bc00a723052d8ac371cb2cf7fd68e0954b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 8 11:26:40 2010 +0200
s3-registry: Init all needed registry keys for printing.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 5604a78f0919f77fdf041989e3e2e0f61da80fd9
Author: Simo Sorce <idra at samba.org>
Date: Thu Apr 22 16:53:15 2010 -0400
s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 104c419345a42a9a02ae25df482f449dc41a6380
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 14:40:05 2010 +0100
s4-torture: Disable setting REG_BINARY printer data with size 0.
Signed-off-by: Jim McDonough <jmcd at samba.org>
commit 6446c75f70fcb80c9d66fd7d6d9cfdd01157c385
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 27 02:36:57 2010 -0700
Fix several places where talloc_asprintf returns were unchecked.
Jeremy.
commit 1890a2a1725848b622f1cd7b904b3c41fd318568
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jul 27 09:48:05 2010 +0200
WHATSNEW: Update changes.
Thanks to Jeremy for providing this summary!
Karolin
commit cc43f985d15c128486d945c2c4f1576622ab4374
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 27 00:23:37 2010 -0700
Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, causing duplicates.
Jeremy.
commit cf38e8d8222aa1000bcf1022692011a993984df4
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jul 27 09:02:36 2010 +0200
WHATSNEW: Update changes.
Thanks to Holger for providing!
Karolin
commit 4f01159a3165d7ae3a845956b46b23b03d8f6ef9
Author: Justin Maggard <jmaggard10 at gmail.com>
Date: Tue Jul 27 08:42:04 2010 +0200
s3: Fix bug 7578
Uninitialized variable read in _wbint_SetHWM
commit 75db0f0a63f671912e52edd6f15dc3bb5f929d56
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 23 20:08:58 2010 +0200
s3: Early start of an async nbench
The current nbench implementations have the problem that they fork a child
per simulated client. With hundreds or thousands of clients this can put
quite some load on the client. This test (when finished) will read the
standard dbench client.txt and run completely async from within one
process.
Volker
commit 2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 10:35:15 2010 +0200
s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send
commit 27fb920ee8caade141cf0fd39e75afac7f4b5d0b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 10:08:38 2010 +0200
s3: Factor out parse_streams_blob
commit 7c242cab9533ec240756fe1f18e99aef7d4086c2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:41:25 2010 +0200
s3: Convert cli_qpathinfo_basic to cli_qpathinfo_send
commit f62bde93ce911445c0f3cb952d17d271a6536385
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:27:11 2010 +0200
s3: Convert cli_qpathinfo2 to cli_qpathinfo_send
commit 9a2d08bd3c10b8632c1497cfac3f91bcccbed8a7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:21:17 2010 +0200
s3: Use error status instead of cli_errstr
commit 5030ba5e9473b4d169f69afdcf2de20ce14f82f9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 22:57:47 2010 +0200
s3: Callers of cli_qpathinfo_recv might ignore the output
commit b6c4eb3c5204a5d43af10ba349fedc5f40796607
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jul 23 12:22:23 2010 +0200
s3: Log the correct core path on Linux if core_pattern is set
Contributions from Bill Hymas, IBM
commit 2ef87d8ec00f70aa8714c739525c487e44142853
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 15:04:52 2010 +0200
s3: fix a typo
commit 63d86757b463b89be98f9714deedbfb8c3c77b84
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 09:11:40 2010 +0200
s3: cli_qpathinfo2 expects at least 68 bytes
commit 0ba4404f21c76f139ca6ea287385dc2eb4817c4e
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 08:34:35 2010 +0200
s3: Convert cli_qpathinfo1 to cli_qpathinfo
commit 9851e1989aa87dbd121fb16062d5ec2e969f1b81
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 07:49:58 2010 +0200
s3: Fix a structure mess-up
I wonder why the compiler did not complain -- maybe because
the structs have the same data members? No clue.
commit cc8977b15723667eae995c120c6086f3b97f051d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 26 07:47:39 2010 +0200
s3: Remove some unused struct members
commit 059ad34e0f61459fb5d9e0a845d3ac0d8df1b49d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 26 11:15:14 2010 +1000
lib: added samba-util.pc creation
Thanks to Brad Hards for this patch
commit 334d5bfe30188a42af758db3f6a3551dd074900a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 21:32:13 2010 +0200
s3: Convert cli_get_ea_list_path to cli_qpathinfo_send
commit 5380f67730154d872ad21a3d9908cfc2bb91edbd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 19:42:22 2010 +0200
s3: Factor out parse_ea_blob
commit d5e285abae34339f6eabc54a17049dcc5b56a6b0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:49:20 2010 +0200
s3: Convert cli_posix_stat to cli_qpathinfo_send
commit 786e4cd0980f0562b28ac74612a72faa4e2050cc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:46:01 2010 +0200
s3: Convert cli_posix_getfacl to cli_qpathinfo_send
commit cb9baa7c2c6edafd835bc6e36a385b0d00f5277e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:37:16 2010 +0200
s3: Convert cli_posix_readlink to cli_qpathinfo_send
commit 535774d88068052accedb21b626fd97a79502c0e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 17:26:43 2010 +0200
s3: Add async cli_qpathinfo
commit ce3dfd777f8f2da4cb08f6c91a465e647b84a8f1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 13:19:34 2010 +0200
s3: cli_qpathinfo->cli_qpathinfo1
commit b04eba165e45bafbe813f93b9e133dc489d2fe2e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 19:12:28 2010 +0200
s3: Fix cli_posix_stat
nlink seems to be defined as 8 bytes, not 4
Jeremy, please check!
commit 1528a4ffbe40fe63329e67370f13c0ef6b117b81
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 25 19:11:30 2010 +0200
s3: use dump_data in query FILE_BASIC_UNIX_INFO
Jeremy, please check! To me this is a lot more readable than the decimal
listing of the bytes.
commit 032bf5c62948387a43501509d046b21f7a6f9d85
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 24 13:17:15 2010 +0200
s3: Fix a typo (missing space)
commit 5912206606babc178aa1e3c1a3be853eba808323
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 23 10:54:46 2010 -0700
Fix bug 7583 - Smbclient fails to kerberos connect to a Alfresco JLAN CIFS Server
Correctly calculate the gssapi channel binding checkum.
Jeremy
Signed off by: simo <idra at samba.org>
commit c75106fd3ab3715af190dbbdeda9809a019edaac
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 19:48:39 2010 +0200
s3: not use as-needed by default and auto use if enable-developer is active
as discussed on samba-technical, we don't want people out there to use it
unwittingly by default. However by enabling it when enable-developer is used we
make sure that we don't break the feature.
commit 61cfbf342fb508477bd45ed8378af7ba6f147727
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 16:34:33 2010 -0400
s3-rpc_server: Cleanup the way we free pipe auth data
commit 636de433ac9cb658c35b8fc45933d8dcb98a991e
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 15:43:22 2010 -0400
cleaup: Reformat cli_get_session_key()
merge cli_get_session_key
commit 3b502d899d8924d285e72f8a9fe666865d6f6926
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 16:01:07 2010 -0400
s3-dcerpc: Fix potential memleak
Use a free function for schannel data too for now.
commit a3713d746949788c393ecf2b0d10d105c2220b22
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 13:56:25 2010 -0400
s3-dcerpc: Properly initialize output buffers on nak/fault
commit 26f1218a3678e648c73db3b34732703396ad48b2
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 20:00:12 2010 -0400
s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys
commit 8137f2d7e7e69db66a5191c1a80e0bda52506528
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 19:45:00 2010 -0400
misc: cleanup get_krb5_smb_session_key()
commit e8460b4ebc82659d2cf1ea1588c708fa7069be5c
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 20 19:41:19 2010 -0400
misc: cleanup cli_krb5_get_ticket()
commit 5002b3a90d6002ce51ad1d8a038ea4c7be98ab43
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 16:17:58 2010 -0700
Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL contexts.
Jeremy.
commit 8df0f0e49e1a91fa10edd65582aa43020e6bc101
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 15:12:07 2010 -0700
Fix warning on 64-bit machines.
Jeremy.
commit cce19c51625e2d73a541bbdfcc549f5a63c26abe
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 14:59:31 2010 -0700
Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL context tallocs.
Jeremy.
commit 4ed9437b7e24365b9acd179b6553793db95a4c54
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 13:35:43 2010 -0700
Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce
use of malloc, and data_blob().
Jeremy.
commit dc443ee6e9e97c08bcceaa1cbc155635e73e8118
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 20 21:54:45 2010 +0200
s3: Fix two uninitialized variables
commit 7d17bfcf51880c84a2f2173c941f2955d045f5c5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 11:14:49 2010 -0700
Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit()
as this correctly describes what this function does.
Jeremy.
commit 8a882b645c7913a12776065d239cd97d0628108c
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 11:04:19 2010 -0700
Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, but a TokenInit one.
Move to using spnego_gen_negTokenInit() instead.
Jeremy
commit 668744964db9210d7b106dcaa27ea1152bd635cd
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 09:51:48 2010 -0700
Fixes pointed out by <david.kondrad at legrand.us>. Free memory if not being
returned to caller. Remove unneeded asn1_tag_remaining() calls.
Jeremy.
commit f5def289d3d66e41c0a7ace3145107123e4ea54f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 20 09:34:32 2010 -0700
Fix warning - no return value for a non-void fn.
Jeremy.
commit c58aeaaf311d4b1ec50cd9a606969c5643dd1380
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 18:03:13 2010 +0200
s3: also run the test prog from the explicit external lib bug check
on Linux linking already stops with a broken ld, on FreeBSD8 linking works but
the binary is broken, so we must check both.
this should be the final fix for bug #7561
commit b20e5eb3aab2d0c3b028e769dd126387699a8f7d
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 18:57:12 2010 -0400
dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually represent.
commit 2a8399f7ce676e7e4fa70e8f8f04ba2876350695
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 13:39:59 2010 +0200
s3: check for explicit external lib bug in ld's as-needed code
Second part of fix for bug #7561
Based on test provided by Olaf Flebbe.
commit 09944302a195a3571dde29e3f77134a7542e1077
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 13:35:03 2010 +0200
s3: add configure swtich to manually disable as-needed
first part fix for bug #7561
based on earlier patch from metze
commit fa4dec31cf3bc37ff86fde722b1fa85d1ab1f0c6
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 20 11:13:51 2010 +0200
Revert "s3: Don't use as-needed"
This reverts commit b9835a1f9d8b81e4121a01a190dffaefe67cbe5c.
commit 4581902553b511a5ad4bae3249df9326b4cf95ec
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 16:58:50 2010 -0400
s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_data
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a91727fc7974aeb314bfb6378f078e6727b20344
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:39:01 2010 -0400
s3-auth: Add auth_ntlmssp wrapper for client side
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e958b39042b67acaf2dc90a1f3d9bea51d7cebd8
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:36:33 2010 -0400
s3-auth: Move auth_ntlmssp wrappers in their own file
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a04bbd281c5b94166e23026ea06e98939250028c
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 18:33:38 2010 -0400
s3-auth: Refactor and rename auth_ntlmssp_server_info()
Rename it to auth_ntlmssp_steal_server_info() to make it clear that
the server_info struct is stolen from the auth_ntlmssp_state structure.
Use talloc_move instead of manual steal&clear
Add comments to explain what is going on.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0bb8d133c9a39873828dbe977513edd31e1a7045
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 17:14:26 2010 -0700
Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().
We now have one function to do this in all calling code. More rationalization
to follow.
Jeremy.
commit 8cba4a0c9639c48ec2433a98529bd8352e9d06c9
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 16:45:16 2010 -0700
Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() and
into negprot_spnego() where it belongs (it's not an SPNEGO operation).
Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all
the gen_negTokenXXX calls.
Jeremy.
commit 625a51138916473eacc1447b11ffd93db0832077
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 15:41:45 2010 -0700
Remove parse_negTokenTarg(), as it's actually incorrect. We're processing
negTokenInit's here. Use common code in spnego_parse_negTokenInit().
Jeremy.
commit 962951e63d0bd3588085314b3bd94bac35415347
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 19 14:21:01 2010 -0700
Fix [Bug 7577] SPNEGO auth fails when contacting Win7 system using Microsoft Live Sign-in Assistant
Based on code from <david.kondrad at legrand.us>. Cope with every NegTokenInit ::= SEQUENCE value.
Jeremy.
commit 6763730304627a58139450fd3e03a0ce48e31bb9
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 16:15:01 2010 +0200
s3: Avoid pwrite calls for the 1-byte writes with zero content
When a write cache is empty and we write one 0, there is no point in actually
writing into the write cache, which would trigger a potentially superfluous
write cache flush. We can rely on posix semantics to give us 0's when
subsequent read calls want to read from file areas not written yet.
Jeremy, please check!
commit 944494d350fa0e42aa8a87849fa7168731f3b0a6
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:53:34 2010 -0400
s3-auth: Remove unused variable.
It was a spurious remnant after a rebase.
commit f9f3358348229b14d368316e327cfd2a4cb48c7c
Merge: 7e4de49bfceed18c81abf93703a61d0a22617a24 630a2eb68af0d523a1bb4451bbaa75d2ba47d252
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 19 13:48:31 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 630a2eb68af0d523a1bb4451bbaa75d2ba47d252
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 19 14:26:20 2010 +1000
waf: make the error msg when gen_ndr directory is missing clearer
the next time someone removes gen_ndr/README the fix should be more
obvious.
commit a709e423d2940a7c71099ff11383a5f0ef3b1d7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jul 19 14:20:33 2010 +1000
waf-idl: put the gen_ndr/README file for source3 back
This was removed by 100d37fc4624690423f6a932709b3f9046d05c64, probably
accidentially.
commit 5cefbfef26bf2d5f470f1d8c52d75e9756c0f738
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jul 16 14:52:42 2010 +0200
s3-rpc_server: Added callbacks for init and shutdown of a rpc service.
This adds two callback function for each rpc service. One is for
initialisation and the other for shutdown. rpc_<service>_unregister()
needs to be called to execute the shutdown function.
commit b91e5cf17d09e4e8bf73e78b96f69831a7cb0d0b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jul 15 12:47:19 2010 +0200
s3-rpc_server: Don't register the same rpc commands twice.
commit b742c4952e1df7a898a73330e9c01a8f48a557b4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 12:47:09 2010 +0200
s3-docs: Add more verbose description of "log writeable files on exit".
commit 775f1ed045666f30e2b45512b30ed8e9a0df322a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 12:35:58 2010 +0200
s3-docs: Add more verbose description of "ctdb locktime warn threshold".
commit 4c0f760edfa9ccdfe0340af46c27e388457ae9af
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 19 12:22:05 2010 +0200
s3-docs: Add more verbose description of "username map cache time".
commit a785b4349c9041c81e0fb17060e0c0c4ece99439
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jul 19 11:54:05 2010 +0200
s3-docs: Remove older documentation of smb2 parameters.
Jeremy, these parameters were already documented. My fault.
Sorry for the noise!
Karolin
commit 35b1e00ba330d5f90f121f2af384ff416dd4a62b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:19:07 2010 +0300
s4: Remove trailing whitespaces
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 11a44ce6f885de1c1f78c791cbe85a915934ae8a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:18:49 2010 +0300
ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functions
They are not quite safe to use (requires caller to steal
resulting message in own context) and may lead to holding
memory for too long.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 31aeb841c9823574cb6f13986f4da34d00bb40a1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:18:14 2010 +0300
s4-dsdb: use ldb_msg_normalize() in ldb_msg_difference()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1e20dbd8127bcecda8e4a656d326b391cc5c8e8d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:16:38 2010 +0300
s4-test: Use ldb_msg_normalize() in sqlite3 backend
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 91d9f88d28e58157ca63caeb76ff779321d7bb53
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:13:20 2010 +0300
s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c test
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit d71b20e8dc9d8e8366ffb5147c84586f5d71416e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:03:53 2010 +0300
s4-dsdb: use ldb_msg_normalize() in ldbadd-process_file()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2ad701911e2bd5d4cdc5d5db64449f3cc01df3cd
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:01:49 2010 +0300
s4-dsdb: use ldb_msg_normalize() in source4/lib/ldb/common/ldb.c
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 86cc914717a915808479126a14baa915450b24f6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:59:40 2010 +0300
s4-dsdb: use ldb_msg_normalize() in source4/dsdb/schema/schema_set.c
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e5a9469a88e039b558e13273ae637f874bbb42b3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:55:42 2010 +0300
s4-ldb: Add ldb_msg_normalize() to accept a memory context from client
Previos implementation from ldb_msg_canonicalize()
was moved into this function and now ldb_msg_canonicalize()
is based on ldb_msg_normalize()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 48574ccc3f46a58940a06b524ff3be3c6da6b104
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:47:41 2010 +0300
s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()
Previous implementation was 'leaking' attribute name
string, that is allocated by ldb_msg_add_empty()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 3944c81d08177e7fa360b1925648686c729e2773
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:46:05 2010 +0300
s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8d523d46f5dfcbf5a428fd75b908fe5bd738e62c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:44:13 2010 +0300
s4-ldb: Add separate function to add empty element into ldb_msg
It just adds another element, nothing more.
Caller is responsible to fill-in the added element and
determine how to handle data allocation contexts.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a95fd4ef647ed6d4c81ab862e08e7c42ee2fe0d6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:41:57 2010 +0300
s4-ldb: Write more explanatory comment for ldb_msg_add()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8deae13313b87c0d7efa64e9334c06987ed90ac6
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:40:50 2010 +0300
s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 148b8588bc7864f4771c8dcf21cfdc150b22e701
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:38:09 2010 +0300
s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c test
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fa0db46af16080dd3a540072f7ad664c0b9270ca
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:35:07 2010 +0300
s4-tools: use ldb_msg_difference() in ldbedit - modify_record()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fb1c0796c7c533f468b74d55507e9877b93ead72
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:27:30 2010 +0300
s4-dsdb/schema/schema_set.c: fix trailing spaces and comments spelling
Few comments split on several lines also...
(Sorry Metze, I know you hate reviewing "and this, and that"
type of patches, but those are just cosmetics)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a11d3b4dfbdddb16d3f132ea8fe0175cb7d09444
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 13:26:45 2010 +0300
s4-dsdb: use ldb_msg_difference() in source4/dsdb/schema/schema_set.c
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 65b967a706bb4ee2da1d4211c31c91d31a81e8f1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jul 16 14:23:24 2010 +0300
s4-ldb: Implement ldb_msg_difference() function to accept a memory context from client
Old implementation from ldb_msg_diff() was moved into
this this function but with changed interface
so that a memory context may be passed.
ldb_msg_diff() function is now based on ldb_msg_difference(),
which fixes a hidden leak - internal ldb_msg object
(returned from ldb_msg_canonicalize) wasn't freed
and stays attached to ldb_context for the connection lifetime.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit c09dcb903cdc1a68f71e892501a450df31367a54
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 19:44:22 2010 -0400
s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state.
Remote auth_ntlmssp_end and use TALLOC_FREE in the callers.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 673fcfa3775ac6bdc467dde0bcf6670966cab50c
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 10:22:04 2010 -0400
s3-auth: auth_make ntlmssp_state the parent context
There is no need for a separate mem_ctx member.
Also make the ntlmssp_state a children of auth_ntlmssp_state
Also cleanup auth_ntlmssp_end to free only what is not automatically freed
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e60ed80754f1f51c74bc338cc3a81d12f49d9687
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 18:23:55 2010 -0400
s3-auth: Simplify how we free the auth_context
Turn the freeing function into a destructor and attach it to the
auth_context.
Make all callers TALLOC_FREE() the auth_context instead of calling
the free function.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e4bd6eb72fba92c0b0a3e5e636e5312629758bc1
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 17:47:21 2010 -0400
s3-auth: Cleanup and readability fixes
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit cdcdaaa6dd61475b8c0f37ce140a77271175cc9d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 17:30:14 2010 -0400
s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
All the members are children of ntlmssp_state anyway.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7e4de49bfceed18c81abf93703a61d0a22617a24
Merge: 378e4d5b8d30733f0f28cc2bceb28d9b9b594707 27aece72004a84a6e0b2e00987d8a362e307d1d8
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 18 20:04:42 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 27aece72004a84a6e0b2e00987d8a362e307d1d8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 17:12:30 2010 +0200
s3: Actually use the usecs in aio_fork_suspend
Jeremy, please check!
commit 1946beb679c7de75b142b30d84b5e4bf12c7e6bd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 17:12:11 2010 +0200
s3: Fix an uninitialized variable
commit 55512f479172047ae7f69604c23fffecf66de8c4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 14:40:43 2010 +0200
s3: Work better without the aio sighandler
Refuse async I/O if we can't set up the signal handler
commit b1717ac92edbc08e1f4cd2a38dd9f60be8492469
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 13:39:51 2010 +0200
s3: Fix some nonempty blank lines
commit 7ac58281aeebe4be282ca719ba1da2f821e521a5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 23:16:26 2010 +0200
s3: Remove a direct use of procid_self()
commit 898fd584a4f96ba40c2692550518856671892add
Author: Andreas Schneider <asn at samba.org>
Date: Sun Jul 18 15:04:20 2010 +0200
s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().
This fixes the WINBIND-WBCLIENT test. The test set
old_lm_hash_enc_blob.length to 0 and we don't check the length here. So
the memcpy segfaulted.
commit 0d16a591f4053785f419b27b7bc9694ecdd47fd0
Author: Andreas Schneider <asn at samba.org>
Date: Sun Jul 18 11:28:24 2010 +0200
s3-waf: Fixed the build.
commit b9835a1f9d8b81e4121a01a190dffaefe67cbe5c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 18 11:56:17 2010 +0200
s3: Don't use as-needed
This is just broken. RHEL5 can't deal with it, FreeBSD8 is broken with it, and
who knows what other platforms are broken. I can rather live with a system that
links in a bit too much than a system that does not work at all.
commit bd54969d9bf970e29392856eb351ecf5a129daac
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 21:37:43 2010 +0200
pam_winbind: Fix shadowing a global on FreeBSD
FreeBSD defines a function pam_error()
commit 3c0e10d70c7f3b5f50269166d3c7f44e13157d5a
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 15:43:28 2010 -0400
s3-dcerpc: Fix build and remove unneeded headers
Sorry, botched a rebase.
commit 52f6bfea4b88f36f5744283d8fa64b13f2146696
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 15:22:26 2010 -0400
s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.c
commit 3c3cfb9806458816dc07703dc3e18fe02b21127c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 21:13:11 2010 +0200
Fix a typo
commit 628b57ca37641634a34d9b172c7cd5c35a882d4e
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 17 15:00:24 2010 -0400
s3-dcerpc: Move common cli/srv functions into a common file
commit 3925411de4067cc1c203b27cfb082bc693a13def
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 20:20:14 2010 +0200
s3: Really fix the 64-bit warnings
Hmm. Forgot to git commit this piece, sorry :-(
commit 32fd6e3c252d7c63252c5e8bbf39dcd52865d839
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 17:20:03 2010 +0200
s3: Fix some 64-bit warnings
commit a7e6b2aeb4a5ae3bf575c14bf866544b975d5f0b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 17 17:08:30 2010 +0200
s3: Right now we do not have includes in Makefile.in
Skip the expansion step on non-GNU-make systems
commit b7a1dd69804e19971b23fc4ebff3bb7234abfad7
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 17 21:45:12 2010 +0400
s4 pam_winbind: don't build if pam header are not installed
commit c55f5f2a35a138e130e15eee8206b5f72675b7e8
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 17 20:07:52 2010 +0400
s4 nss_switch: fix build problem on computer without the iniparser
Although the build was ok on my workstation it appears that on build
server it was not because the include path was not correct.
commit dbbfad82862343eed0be86c8ca4fa23bdff5beb5
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jun 5 19:16:20 2010 +0400
s4-waf: add the missing bits for builing nss_winbind and pam_winbind
This is something that was not picked up during the migration to waf
commit e461e29cd9a81d4a74fcd489c2c7b693b49f41d4
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 12 00:07:20 2010 +0400
s4 unittests: add blackblox test for ktpass
commit 5a8c77f97b30ab2c81f7170a12dddb4ab9972414
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 28 21:38:35 2010 +0400
s4: create a simple version of ktpass
This script is intended to be a replacement for the ktutil of Windows.
It's use is for exporting keytab that will be used for kerberized
services.
commit feb21905cb4926baffd95b822c07c22d06260bf5
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 23:25:12 2010 +0200
s3-build: add LIBNDR_XATTR_OBJ.
Guenther
commit 3036822985cf109cfe551f5306cb495a659fd112
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 16 14:39:52 2010 -0700
Fix bug #7570 - New smb2 max parameters are undocumented.
Jeremy.
commit c5e85a4987ca846741efac855aaf313d851d954c
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 23:09:54 2010 +0200
s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.
Guenther
commit 5815119cb0ca56f5155936d99dae5fc9e4a53db8
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 23:00:17 2010 +0200
s3-perfcount: make it possible to compile the example perfcount daemon.
Guenther
commit 3b0c87cf319b562aeb1f5e12135905d6d57e926f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 22:46:58 2010 +0200
s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.
Guenther
commit 1c7d08990469cc41e07e11e3d3d714021753f7e2
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 22:42:11 2010 +0200
s4-smbtorture: rearrange testlist in RPC-BIND.
Guenther
commit 7755e196a15ada80505c3ffd77b41c20e60b69ec
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 22:41:32 2010 +0200
s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.
Guenther
commit 65116adcebe23d3ae42a641515f6001268ed0ef0
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 15:15:48 2010 -0400
s3-dcerpc: Fix ability to receive Big Endian PDUs
commit ec25a000317f863df7af0d97f1fd8948b2f8959d
Author: James Peach <jpeach at samba.org>
Date: Fri Jul 16 11:07:31 2010 -0700
smbtorture shell: Allow any config option to be set.
Not sure what I was thinking by restricting the shell to "torture:"
parametric options. It's really extemely useful to be able to set
arbitrary options.
commit e058de31e81a23692ccb2bef290042a558e0e795
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jul 16 11:05:34 2010 -0700
Make the "map to guest" parameter work correctly with NTLMSSP (spnego
and raw) under SMB2. Still need to investigate fixing this with krb5
auth (does this make sense ?).
Jeremy.
commit 378e4d5b8d30733f0f28cc2bceb28d9b9b594707
Merge: 2f249538ac8f2a54d9c8f8dbf0107db2f33bfe16 6b266b85cf34145ac1f03d8f787b81121e4ec92b
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 16 09:57:03 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 6b266b85cf34145ac1f03d8f787b81121e4ec92b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 16 14:32:42 2010 +1000
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e4c35c5a09dd66c9280caa39130b7e3b941b7e51
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 16 14:32:10 2010 +1000
s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()
This patch changes all Samba4 loadparm functions that take a
loadparm_context or a loadparm_service structure to use a lpcfg_*()
prefix. It then creates lp_*() functions which are wrappers around the
lpcfg_*() functions. This should allow us to mix Samba3 and Samba4
code which uses loadparm calls.
This first patch just makes the manual changes to the core loadparm
code. The tree will not build with just this patch. The next patch
replaces all of the callers, and was generated automatically with a
perl script.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8b1980c22cd68f19ae47dee844963ae74b896e00
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Jul 16 10:02:39 2010 +0200
WHATSNEW: Start 3.6.0pre1 release notes.
Karolin
commit 2f249538ac8f2a54d9c8f8dbf0107db2f33bfe16
Merge: 0ab8e8be62bcbb1f6441f745736fcee7cbd559eb 5f8678f34be57ccbbf9d9c93ee34b1d8f09c75c4
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 20:50:06 2010 -0400
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 5f8678f34be57ccbbf9d9c93ee34b1d8f09c75c4
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 02:37:51 2010 +0200
libcli/netlogon: re-enable debugging.
Now that we do not share binary objects anymore, we can safely enable
debugging here again.
Guenther
This reverts commit 3eb122069b9f81196ac658375fcb828924af3e94.
commit 914fd13eddef5cd917a10da1816565acfaa5fd57
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 02:20:34 2010 +0200
s3-registry: use some prs macros to the only place where they are used.
Guenther
commit 196b4e83424c65f8d56ef17e5fca1dfb11c9cf2b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 02:07:51 2010 +0200
s3-waf: fix the build.
Guenther
commit 7cf4797dd3c13555dee59fdf0c959ac66b7633b1
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 16 01:11:39 2010 +0200
s3-dcerpc: fix c++ warning.
Guenther
commit f4c6c7e7b8714e8ab6b1245ab95e19133956d83e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 17:45:29 2010 -0400
Move the remnants of rpc_parse code under registry/
The registry code is the only last user of this code.
Move everything under registry/ and hope someone will get rid od
it completely from there in the future.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7520d8e9263f43e756d73dfd036cab215fe0d5fb
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 17:27:11 2010 -0400
s3-parse_prs: Remove unuesd functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 53945a2e990df92cdee8b54b3d1c3ade0305e99c
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 16:54:14 2010 -0400
s3-dcerpc: Use a local function to dump pdu regions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 67b6fe3dc39aaf88787471b1ce10f47db74c5b1e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 16:19:04 2010 -0400
s3-misc: Move smb_io_time() to regfio.c
This is the last file using this function and we do not want anyone
else to keep using hand marshalled stuff anyway.
So make it also private to that file.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 100d37fc4624690423f6a932709b3f9046d05c64
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 10:28:59 2010 -0400
s3-dcerpc: Use DATA_BLOB for pipes_struct input data
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8f2bfa88b5846528aa78840979a8ce8babef2cc0
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 15 08:48:51 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_data
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8e9cd4144e0997991c1b54acf4e62213bce9019e
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 23:31:38 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for rpc_out
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3b83211cd8859429541b383bafb657d58f16fe30
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 19:57:01 2010 -0400
s3-dcerpc: Avoid unnecessary memory allocation for dcerpc_ctx_list
Signed-off-by: Günther Deschner <gd at samba.org>
commit ff121c89d365db657128bb53bd63d18c8bfa7155
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 19:39:54 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pdu
Signed-off-by: Günther Deschner <gd at samba.org>
commit b44a91b2206b514ff47b8841d607ffd2cc297c8b
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 18:29:32 2010 -0400
s3-dcerpc: Use DATA_BLOB instead of prs_struct for incoming fragments
Signed-off-by: Günther Deschner <gd at samba.org>
commit cc15396c8a70270d4c85055111e58d71f5c96dd6
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 16:15:13 2010 -0400
s3-dcerpc: Read a pdu in 2 steps, header first the payload
We can't really cope with receiving more data than expected anyway
as there is code that checks if the size of the buffer is consistent with
pkt->frag_length and throws an error if not.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 79c207ed62ef661add5d48ea898b7a415a9c17d9
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 13:56:13 2010 -0400
s3-dceprc: Use IDL defined constants for length calculations
Signed-off-by: Günther Deschner <gd at samba.org>
commit 84c50a248e3a7c02d6cbcbb5ce49a6580700d39a
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 14:01:44 2010 -0400
Reformat and cleanup
Signed-off-by: Günther Deschner <gd at samba.org>
commit bd19c964d54571b1cdb8e4f1ea47a24e790e6e3c
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 12:18:49 2010 -0400
s3-dcerpc: Move common helpers into a common file
Signed-off-by: Günther Deschner <gd at samba.org>
commit ca3bdca52e93ec492f06f18d8428e80bbad375be
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 11:09:04 2010 -0400
s3-dcerpc: Padding is never done on a DCERPC_PKT_BIND_ACK packet.
Empirically verified against Windows.
It never pads the auth credentials on this packet type.
Signed-off-by: Günther Deschner <gd at samba.org>
commit cb3725a9310d88a8d5226025292e25d178d7a4db
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 02:04:04 2010 -0400
dcerpc: remove ncacn_packet_header and related functions
ncacn_packet_header was an artifact and it is not necessary anymore
Signed-off-by: Günther Deschner <gd at samba.org>
commit f9a15d1d94b4ea97f560536c32780b1c7e43c451
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 01:59:10 2010 -0400
s3-dcerpc: Refactor code and stop using ncacn_packet_header
Signed-off-by: Günther Deschner <gd at samba.org>
commit 2452a7a4c1094047f4c67f0901b746e069639f8f
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 23:56:01 2010 -0400
s3-dcerpc: consolidate respones packet creation code
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8cd3912afa51468e14d13b77394a308dd184b775
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 18:01:16 2010 -0400
s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOB
Signed-off-by: Günther Deschner <gd at samba.org>
commit 31b59bbf99835279a0a78858aca2f327150eb5e2
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 15:43:44 2010 -0400
s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOB
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8246214e7ef5374acc0a1f97f4f1203374fba7f8
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 12:03:21 2010 -0400
s3-dcerpc: Remove unused functions and headers
parse_rpc.c is dead, long live parse_rpc.c !
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8ffac961db75aa3e0727e0c8f3e15cb0916f64d7
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 11:53:41 2010 -0400
s3-dcerpc: Stop using hand marshalling in create_next_pdu_noauth()
Signed-off-by: Günther Deschner <gd at samba.org>
commit a678d4e3b4766ce9520152da3d8d3ba299a470f1
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 09:52:56 2010 -0400
s3-dcerpc: Stop using hand marshalling in create_next_pdu_schannel()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 5918a6c751e9dc1a93c4e1851149a270c4216ee1
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 09:26:13 2010 -0400
s3-dcerpc: Stop using hand marshalling in create_next_pdu_ntlmssp()
Signed-off-by: Günther Deschner <gd at samba.org>
commit f0626d14f051c11cdb2356bd730342249feeb0a9
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 10:27:37 2010 -0400
s3-dcerpc: Stop using hand marshalling in rpc_finish_auth3_bind_send()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7d9c62c646d3bc72d19c2d188305680ce0cd8ad0
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 08:49:35 2010 -0400
s3-dcerpc: Do not parse the packet twice.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 282db1f5d28fe923700faef4576aa78d312547c0
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 08:39:03 2010 -0400
s3-dcerpc: Remove unused function
Signed-off-by: Günther Deschner <gd at samba.org>
commit 137743fac2ef917e2e9ba7d85840aa392e3a6946
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 08:29:21 2010 -0400
s3-dcerpc: Do not reparse the header
Instead pass back and use the packet we have already parsed.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 459c8e32fd49766ba7382c4c3da1d0c61d9deadb
Author: Simo Sorce <idra at samba.org>
Date: Tue Jul 13 07:59:12 2010 -0400
s3-dcerpc: Pull the whole packet at once instead of fetching just the header
Signed-off-by: Günther Deschner <gd at samba.org>
commit 602e10f3fdb5f0f94e5f22b639121220d419d47f
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 09:36:39 2010 -0400
s3-dcerpc: Delay parsing rpc header in client code
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8ce15b3a71a29fe27b7146c1b802aa11e7c96433
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 15 16:06:11 2010 -0700
Fix bug - 7551 smbclient does not return proper exit code.
Catch error in cli_push.
Jeremy.
commit 0e212acd32b0378e9d7ea912f0eee5afa230d898
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 16:45:13 2010 +1000
s4:testprogs Operate the blackbox kinit and net tests using the :local config
This :local tells selftest.pl to use the local smb.conf for the test
environment, not the generic client smb.conf
This then makes the rest work properly - otherwise, it may attempt to
connect to the wrong KDC for example.
The only problem is that we can't test the 'net join' with this set,
so this is removed from the test. The member server test environment
checks this anyway.
Andrew Bartlett
commit 8769e75a616a3f4b7cc1a2b5f7ea261262ad75d2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:05:23 2010 +1000
s4:testprogs Show that we no longer delete the old keytab entries
By using a CCACHE obtained while the old password was still valid, we
can tell if the server still accepts incoming Kerberos connections
with the old password.
Andrew Bartlett
commit 299057d8d97cce349af2ff931396fae1f09493a5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:03:11 2010 +1000
s4:provision Handle machine account password changes while keeping keytab
The challenge here is to update the existing record if it already
exists, rather than deleting the old record. This ensures that the
secrets.keytab handling code keeps the previous password in the
keytab.
Andrew Bartlett
commit 3e8dba17030544a389611814e47521ceafa1ae8a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:01:56 2010 +1000
s4:pyldb whitespace fix
commit fcdf619b361b9c30b59f65ba38f69f344b4c95ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 14:00:48 2010 +1000
s4:pyldb Fix memory handling for ldb_message_element
The problem here is that we need to use the array, not the individual
message element as the memory context.
Andrew Bartlett
commit 5d61b477c66dce60d8ea37081f0c7394c77e1867
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jul 15 10:54:08 2010 +1000
s4:testprogs Prove kerberos still works after a password change
Changing the machine account password should not prevent connections
with a current, valid CCACHE. This is because when the password is
changed, the server-side keytab keeps one old password around.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 36b5feceee2ea23d6da757999f238e28ab7de485
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 11 17:27:13 2010 +0400
s4 upgradeprovision: Adapt the list of attribute modified
* isMemberOfPartialAttributeSet is now allowed to be deleted (on schema
objects)
* attributeDisplayNames is now allowed to be added and modified (used on
display specifiers)
* spnMapping is now allowed to be altered on Directory Service objects
* minPwdAge is now modified if the previous value was 0
We issue a clear information about the userControl attribute for
administrator to invite the user to modify himself the value.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit a748402f61b4b3ea0df6666f4ec90f42fb45eaf8
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 10 14:48:40 2010 +0400
s4 ldb modules: relax some tests about attributes that should not be here
For attributes that we know that are harmless and that used to be stored
in the ldb we relax the tests on the existance in a given objectclass.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7478224189598f192065b91d57080f1dd1719a99
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 5 01:00:13 2010 +0400
s4 upgradeprovision: Synchronize the calculated keyversionnumber with the one previously stored
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0a1b1121c48e26c5218e2ccc0c8a8cc724b96624
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 5 23:46:46 2010 +0400
s4 upgradeprovision: do not copy RID Set it's automaticaly created by the RID manager
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2afc2f20b65b28140274828249160f1483090b5e
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 3 16:26:24 2010 +0400
s4 upgradeprovision: add function to backup the provision before updating
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 6c51b3a43298e43332893f52d6951bf475bae6af
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jul 3 16:53:44 2010 +0400
s4 upgradeprovision: fix whitespaces
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 62a32975c86e71eb1c5efeec0a4dee9d1ac20c10
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:54:05 2010 +0400
s4: Add unit test for increment_calculated_keyversion_number
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 93239016443c1ba40ec69c025a91d60c09833c20
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:49:19 2010 +0400
s4 upgradeprovision: introduce a new function to update the field use for calculating msds-keyversionnumber
This function change the version field of the unicodePwd in the
replPropertyMetaData so that the version is equal or
superior to the reference value passed.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f97c90c9cd124314b4a0862e702dd021bd2df9a0
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 20:03:15 2010 +0400
s4 python: Add functions to samdb to manipulate version of replPropertyMetaData attribute
This change contains also helpers for attribute id to attribute oid
conversion and from attribute id to attribute name.
It brings also unit tests
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 6a0856da9cc075acaa7fcb6bad614f8f403df9c7
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jun 16 18:47:18 2010 +0400
s4 dsdb: Use the changereplmetadata control
This control allow to specify the replPropertyMetaData attribute to
be specified on modify request. It can be used for very specific needs
to tweak the content of the replication data.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit d861ebbd8167cf6da6d7565799dbc5267adf6bae
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 19:56:37 2010 +0400
s4 dsdb: create a new control: changereplmetadata
This control is designed to allow replmetadata to be specified
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b67a71f00bb84f14f7568d0afe143843d31a0a45
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 21 10:55:18 2010 +0400
ldb: allow ldb_sequence_number to be called in python
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0496af8341b08ad2b8ceb42892ddde06af279c52
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 4 16:39:17 2010 +0400
s4: Unit test update_machine_account_password through kinit
This patch is for testing the chgdcpass script which is mostly a call to
update_machine_account_password.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7ea70f86ac3a34d84082fed8b5f80ec1b46893bf
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 28 13:49:08 2010 +0400
s4: Add a simple script to change dc password
This script will mostly be used by unit test (blackbox type) to test the
change of the dc password
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fd2eb0dfd092e00408f206e6fe7ff302ccd27a10
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jul 4 16:38:54 2010 +0400
s4 provision: move update_machine_account_password to helpers
This is to allow reuse of this function and also unit tests
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ff93d58b60458678436f2f983803705020537991
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 15 10:36:40 2010 +0200
s3: Fix crashes in the printing code
create_conn_struct did not create the conn->sconn!=NULL assumption we now
depend on. Thanks to Andreas Schneider for testing!
commit 23ad6919a1e5f16d02e22adcf36ea7f039a9eeea
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 08:57:47 2010 -0400
s3-dcerpc: Break memory hierarchy for shared structure
Handles are shared among multiple pipes_struct. We cannot allocate
them on any specific pipes_struct or it will vanish for all others
as soon as that pipes_struct is freed, leaving back dangling
pointers.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 0ab8e8be62bcbb1f6441f745736fcee7cbd559eb
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 14 08:57:47 2010 -0400
s3-dcerpc: Break memory hierarchy for shared structure
Handles are shared among multiple pipes_struct. We cannot allocate
them on any specific pipes_struct or it will vanish for all others
as soon as that pipes_struct is freed, leaving back dangling
pointers.
commit d35e9008a78ed8303dad97296455faf6d0302805
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Jul 14 14:44:46 2010 +0300
s4: Added acl search tests for anonymous connection.
The tests make sure that we comply with dsHeuristics setting and
restrict anonymous access to rootDSE. They will be enabled when the
implementation is pushed. tests are verified against win2k8.
commit e30aa4566646e137c98bd53e4e2fda8c2d458595
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 14 12:35:39 2010 +0200
s3-dcerpc: fix crash bug in error path of process_complete_pdu().
Guenther
commit ee56f74cae1d7387465f966dbe751398eaf01f10
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Jul 14 10:30:40 2010 +0300
Fixed system_session_anon to actually make an anonymous session
It seems that because the flag is false, this always used the supplied credentials
rhather than establish anonymous connection.
commit 0d95cee58f80e46636fa4b826d248c9ce9983c9b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 12 14:26:34 2010 +1000
s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS
This fixes a bug where register_existing_vuid() could be called with a
NULL server_info if the alloction failed.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 1debe30689e75023fab44028ef6942a692e37e95
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 12 14:25:28 2010 +1000
s3:smbd Give the kerberos session key a parent
Nothing will free this, so this prevents a memory leak.
Andrew Bartlett
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 39d1a525d1bb658bd0a666c3f630a669b5399ef1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jul 12 14:21:34 2010 +1000
s3:smbd Fix segfault if register_existing_vuid() fails
The register_existing_vuid() call will handle both the ntlmssp_end and
vuid invalidation internally, so we don't want to do it again.
Andrew Bartlett
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit bfdd85d4a592fcf95d9cea4f63d86330df62ac58
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 14 01:32:02 2010 +0200
s3-selftest: enable RPC-BIND against s3.
Guenther
commit 595c5a2498d0c71731c9d5cee0bfd53746350b9d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 14 01:31:12 2010 +0200
s4-smbtorture: add very simple RPC-BIND testsuite.
Guenther
commit 14cf257969a1cd793dd69214a6d255722a8a5499
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 23:57:07 2010 +0200
s4-smbtorture: rename rpc/bind.c to rpc/multi_bind.c.
Guenther
commit 7dad3251e3a2e672441e8306f5a015dc32019657
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 23:35:25 2010 +0200
s3-libnet: add missing header file, sorry.
Guenther
commit 80b47fcb0a73fb97a1b918173a61c55831239a0a
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 00:14:04 2010 +0200
s3-libnet: better separate headers.
Guenther
commit f85167a161b078b0ffa23598a4a548fb2fd54cbf
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 13 15:37:13 2010 +0200
s3-winbind: Don't cache queries to builtin and own sam domain.
commit 57ebc8af8061e1a81a46300154ac6c4d489b302a
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jul 7 14:27:04 2010 +0200
s3-winbind: Set status before we leave in some msrpc functions.
commit 5bdb8b472ce9c8072d4ffade4075f9ec17ae3819
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jul 13 09:30:35 2010 -0700
Revert "Remove the global char *LastDir."
Volker pointed out I'd missed the "last directory" cache
part of this code. Return us to caching the directory we're
in (reduces sys call load).
Mea maxima culpa.
Jeremy.
This reverts commit 2f30aea3324f32f9b8555e961256fc1280da2871.
commit 53e1586e2a2c32ad57524343de81f9cff5882b48
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 17:07:49 2010 +0200
s3-waf: fix the build.
Guenther
commit 0e31a3af9457ff425efc19f952a4a9d07211e068
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 13 16:45:52 2010 +0200
s3-ldb: fix build warning.
Guenther
commit 0b2d965e4bd7ccc694ddff2342936c5c7d5dd9e5
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Jul 13 17:15:54 2010 +0300
s4: Reorganized dsHeuristics reset so the code can be reused
Moved the setting of dsHeuristics to a method as soon we will have to set other
values as well in different tests
commit 0c93b7dff7600074977bb4504169488b090f1d46
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 17:49:06 2010 -0400
s3-dcerpc: Remove unused functions and headers
Signed-off-by: Günther Deschner <gd at samba.org>
commit bc6a3e0030f262d9182b241d09df403483c1bf03
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 17:35:02 2010 -0400
s3-dcerpc: Use dcerpc_push_ncacn_packet() in api_pipe_alter_context()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3ba93a986faa8cc3c7d6deaa753573ae6c654cea
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 17:07:19 2010 -0400
s3-dcerpc: Use dcerpc_push_dcerpc_auth() for spnego auth continuations.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 70500734f9840eaf77f3077e1e64498692af2323
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 11:48:22 2010 -0400
s3-dceprc: Use dcerpc_push_ncacn_packet() in api_pipe_bind_req()
Signed-off-by: Günther Deschner <gd at samba.org>
commit f6648c500b79b0575ccff7b9057c4006c21acadd
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 11:15:40 2010 -0400
s3-dcerpc: Use a DATA_BLOB in bind processing and avoid one mem copy
Also move dcerpc_push_dcerpc_auth() invocation in api_pipe_bind_req()
to simplify the workflow.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8213bba892c419022efdb3d800647ef3bcf51388
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 10:47:32 2010 -0400
s3-dcerpc: Rearrange api_pipe_bind_req() to do checks before allocating memory
Signed-off-by: Günther Deschner <gd at samba.org>
commit 87605e2030262bc24b59468fe4b5837e8ff584b0
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 12:18:13 2010 -0400
s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address
There is no need to copy the whole structure twice by passing it in by value.
Signed-off-by: Günther Deschner <gd at samba.org>
commit fe9036cf5bd8aa775a0419be8effae257d6f97f2
Author: Simo Sorce <idra at samba.org>
Date: Sun Jul 11 10:37:07 2010 -0400
s3-dcerpc: pass the packet to setup_bind_nack()
Allows to not rely on p->call_id but use the value directly from the request
packet header.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 272704e8c24cff706c5ce38567f7ab35b335cf92
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 18:53:36 2010 -0400
s3-dceprc: Add debug messages
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4ba89230ae03d00f9c6a0882df1361c5369b77a9
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 17:05:58 2010 -0400
s3-dcerpc: Remove unused members
Signed-off-by: Günther Deschner <gd at samba.org>
commit 29a3142be856b010ccebb153afad0bf6499d5b56
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 17:05:24 2010 -0400
s3-dcerpc: Remove unused functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8e235df2de96954af0bd8dc1cc464f6d9d834372
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 19:34:34 2010 -0400
s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requests
Signed-off-by: Günther Deschner <gd at samba.org>
commit e340aa40d19cb03d9c9b5d6e64ac073aeee4b759
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 18:23:49 2010 -0400
dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77fb3649cede61407ba5df008ceaa49d32ef71d7
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 19:35:22 2010 -0400
s3-dceprc: Store opnum in its own variable
Signed-off-by: Günther Deschner <gd at samba.org>
commit a138b3d31ef9952dc59630f478264f74091f613d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 16:28:52 2010 -0400
s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct
Signed-off-by: Günther Deschner <gd at samba.org>
commit d078b54b22061be808c07a40e0e55dd00591cc69
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:46:43 2010 -0400
s3-dcerpc: use dceprc_push_ncacn_packet_header in create_next_pdu_noauth()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 53e9c262712ffe5b1fa60ca53a1e5b407d1ebea8
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:38:03 2010 -0400
s3-dcerpc: Use dcerpc_push_ncacn_packet_header() in create_next_pdu_schannel()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 98913d8f44b48da345e115847efdbefbe5536e5f
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:33:03 2010 -0400
s3-dcerpc: use dcerpc_push_ncacn_packet_header() in create_next_pdu_ntlmssp()
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77699c777e78a1cd8ed8bc9c92cfeebe46997f70
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 15:32:25 2010 -0400
sr-dcerpc: add dcerpc_push_ncacn_packet_header()
Signed-off-by: Günther Deschner <gd at samba.org>
commit aca330a2c5f4a98a050af1a991f7b4eae1a31b0c
Author: Simo Sorce <idra at samba.org>
Date: Fri Jul 9 14:23:59 2010 -0400
s3-dcerpc delay rpc header unmarshalling
Use dcerpc_get_frag_length() to get the whole pdu first
Signed-off-by: Günther Deschner <gd at samba.org>
commit 43064a74a3ee9f7e4a269ceddb7fffb80dea514f
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 20:25:50 2010 -0400
s3-dcerpc: Remove unused headers
Signed-off-by: Günther Deschner <gd at samba.org>
commit cf664b73a4682a09a8e03b69e65aa5f7b18ff13d
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 19:17:13 2010 -0400
s3-dcerpc: Use dcerpc_set_frag_length()
Automatically calculate the fragment length where possible.
Signed-off-by: Günther Deschner <gd at samba.org>
commit ea66d8e4a5cf44924cc59063a023b7fc158629f9
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 22:37:38 2009 +0200
s3-dcerpc: link against ../librpc/rpc/dcerpc_util.c
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 716f9d6847a867744f7456eacf45abacb6eb1963
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 22:37:09 2009 +0200
s4-dcerpc: move some util functions up to main librpc directory.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 229791382989c5005ec8e7c0a6d3b84745d37cbe
Author: Simo Sorce <idra at samba.org>
Date: Sat Jul 10 16:55:37 2010 -0400
s3-dcerpc: Remove unused prototype
Signed-off-by: Günther Deschner <gd at samba.org>
commit 25d487bebfdc771b1e0ab510ecbe4a8601f8fc98
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 18:57:32 2010 -0400
s3-dcerpc: Fix ntlmssp sign/seal.
Header calculation was misplaced.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6555307aa11741171258541da2c13ce25d9e3f55
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 16:27:22 2010 -0400
s3-dceprc: Fix auth_length in auth3 response
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1b51ddd37085e6dcc2fbe5056e902270d1efb076
Author: Simo Sorce <idra at samba.org>
Date: Mon Jul 12 15:09:42 2010 -0400
s3-dcerpc: Fix miscalculation of buffer start address
This was breaking schannel
commit 77a3858f2f25e84e8e23d82097be710195a250d5
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 22 23:44:01 2010 +0200
tsocket: Fix some unreachable code
commit c186f92437a918a256b84be84dcf6de569f0cc20
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 11 17:30:53 2010 +0200
s3: [ug]id_to_unix_... can not fail
Remove some silly failure checks
commit c6a6d884f98aead1f449bc94aee19c3069efca27
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 14:15:08 2010 +0200
README.Coding: fix typos
Thanks to Michael Wood <esiotrot at gmail.com> for the review.
metze
commit 1c2ff4563d0fd7e1d00117eef051f5554daaba14
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 10:06:17 2010 +0200
README.Coding: add examples for good and bad comments
metze
commit 23f810041bdd990a2dfabb5fcb076a269809ce7a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 13:08:07 2010 +0200
s4:provision: remove --policy-guid and --policy-guid-dc cmdline options
metze
commit 800c7af0c9f78ce81d40270bf9a385235869e0d7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 13:26:06 2010 +0200
s4:provision: also use fixed GUID names of the default group policies for domain and domain controllers in tests
metze
commit f16007430a683c0e43e1aca13f59c55dde70dfac
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jul 9 00:09:49 2010 +0400
s4 provision: use correct GUID for default policies
The value of GUID for policy is not random for default policies, it is
described here ("How Core Group Policy Works"):
http://technet.microsoft.com/en-us/library/cc784268%28WS.10%29.aspx
at paragraph System\Policies Container.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e962e7e9562f26b1ea6854b1a34f0237c3abf222
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jul 9 20:29:27 2010 +0400
s4 unittests: remove the provision directory before (re)generating
commit cad04dabbb89b024628ab3ec9bf2772d2fbe5182
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jul 2 23:52:33 2010 +0400
s4 net: Add spn module to list/add/remove spn on objects
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 22dfb16d73667d7adbe28e85d880c44a5e9f9344
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:25:57 2010 +0200
testprogs/blackbox/subunit.sh: initialize failed to 0
This is a short-term workarround for broken scripts,
which use "exit $failed", without initializing failed.
We need a discussion on the mailing list how to handle this
in a nicer way.
This should fix some random failures in the blackbox tests.
metze
commit 80f9ad4074889bd5acec74316c427ec2b3963006
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:09:28 2010 +0200
s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole buffer
We should not send uninitialized bytes to the winbind pipe,
this makes also makes valgrind very unhappy.
metze
commit 751a26214e3d88d2d1bd89787524e7a49c30037f
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:08:57 2010 +0200
s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIES
metze
commit c7a30c6b173cb2720bcb7d5eefe00899f629b91e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:08:31 2010 +0200
s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIES
metze
commit 1ea4215e5681ccef921bbf77bb1af79fc1a82b77
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:06:44 2010 +0200
s4:libnet_GroupList: allocate children strings on the correct talloc parent
Otherwise the _recv() function won't move the children strings to the
callers memory context and let the callers crash.
metze
commit 35c554bef02e9acfe9cbec12d1f4ebc1067bedd4
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:04:43 2010 +0200
s4:libnet_UserList: allocate children strings on the correct talloc parent
Otherwise the _recv() function won't move the children strings to the
callers memory context and let the callers crash.
metze
commit 85f73840b0c64ef8082c8a9665c3cc3caa176c1d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:14:15 2010 +0200
s4:buildtools: add 'make show_waf_options'
metze
commit c48ff4c6a937924f16bc37251c74b753fbe1f5c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jul 10 09:10:52 2010 +0200
s4:buildtools: make it possible to use advanced test options via the make waf wrapper
You can to do thinks like this now:
make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo
metze
commit c0aa55d55033e0dfb0ee0933b137dba38de2fd16
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Thu Jul 8 16:30:12 2010 -0400
s3: Cleanup of the initial SMB2 counters patch.
This reorganizes smbd_smb2_request_dispatch to have a central exit point,
and use the normal profiling macros.
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 1caa8b06f781758943e31c367e70014de1d04380
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 16:27:34 2010 +0200
s4:drepl_notify: hide some bugs from the make test output
It's useless to get messages like this every few seconds:
dreplsrv_notify: Failed to send DsReplicaSync to
edbf4745-2966-49a7-8653-99200f1c9430._msdcs.samba2003.example.com for
CN=Configuration,DC=samba2003,DC=example,DC=com -
NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE
We have a non bug regarding non-linked DN attributes
and changes of the target DN.
metze
commit 02a627e71995dc1b0d75165b0772da332b67ba7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 12:52:11 2010 +0200
s4:drsuapi: don't return all linked attributes at the same time
Windows gives them in chunks, but I don't know the correct
rule to calculate the chunk size.
For now I'll use 1500 as the max size.
Windows isn't happy when it gets ~ 100000 linked attributes in one
response. It corrupts its directory index and later moves some objects
to the LostAndFound folder.
metze
commit 5b5ee73ece4d74747234115de08be19b4a9ae62a
Author: Andreas Schneider <asn at cynapses.org>
Date: Fri Jul 9 15:42:34 2010 +0200
s3-build: Add a gdbtestenv environment for Samba3.
This will open 3 xterms; smbd with gdb, winbind with gdb and a window to
run client commands.
Example: make gdbtestenv SMBD_OPTIONS="-d2"
commit 9e928995f0289fcf56bfa60a7541a829e2d67a38
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 09:24:30 2010 +0200
s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid alloc code
metze
commit de632de6ef10cba5fd2591f1d01ab447dae595c8
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jul 9 09:23:04 2010 +0200
selftest/Samba4: set dreplsrv:periodic_startup_interval = 0
metze
commit 538bb9b3ec2d3250bb97fe6f6f01e6917399fd01
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 16:20:11 2010 +0200
s4:dsdb/repl: expose drsuapi_DsExtendedError to the caller (e.g. the ridalloc client)
metze
commit 49deed5a77af0a774cf186c2332416fbf6bba05b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 16:18:21 2010 +0200
s4:drepl_out_helpers: don't return NT_STATUS_OK, if an extended operation doesn't return success
metze
commit 658a0f9ef84aa16c270d715283f38b9bb9e683c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 15:38:16 2010 +0200
s4:drepl_ridalloc: only ask the rid master for a new rid pool if we need to.
if we are at least half-exhausted then ask for a new pool.
This fixes a bug where we're sending unintialized alloc_pool
variable as exop->fsmo_info to the rid master and get back
DRSUAPI_EXOP_ERR_PARAM_ERROR.
metze
commit afba6204a31908396f4bebb7b5885e48670bda73
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 15:14:59 2010 +0200
s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ridalloc_allocate_rid_pool_fsmo()
metze
commit cd8d8dfe1445879d91d922abef83dbea8f1eed26
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 21:38:28 2010 +0200
s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ridalloc_allocate_rid()
metze
commit 3b8c9276dcfa349013450c18d09bfd1b78e6224e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 15:10:07 2010 +0200
s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ridalloc_create_rid_set_ntds()
metze
commit 12d26d59bddaa7d3469b4e9ecab4146a9ea67180
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:32:33 2010 +0200
s4:dsdb:ridalloc: add ridalloc_ridset_values infrastructure
metze
commit bbed1fdfcdcc0d270bb861bf06b509a1655a13a2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:34:15 2010 +0200
s4:dsdb:ridalloc: use dsdb_module_constrainted_update_uint64() to update rIDAvailablePool
metze
commit ad173331148a9fdd793cc5fa4776bdfd53bb4727
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:06:39 2010 +0200
s4:dsdb:ridalloc.c: fix C++ warning
metze
commit 217177a4df55439cec1d2563ab1af8fbdfe4a991
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:02:42 2010 +0200
s4:dsdb: add dsdb_module_constrainted_update_uint32/64() wrapper functions
metze
commit 65ca5a3542cb1ccb07da0831c61c043f4632ffa8
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 12:01:44 2010 +0200
s4:dsdb: add dsdb_msg_constrainted_update_uint32/64() wrapper functions
metze
commit 1d6f321a918699906cabbe3ee2970bd0a635180b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 11:32:59 2010 +0200
s4:dsdb: add dsdb_module_constrainted_update_int32/64() functions
metze
commit 388e955f28a578e5421182c0aa3afe9da27a6c34
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jul 8 11:32:26 2010 +0200
s4:dsdb: add dsdb_msg_constrainted_update_int32/64() functions
metze
commit 514c59656152742c0c73ce65e0778f000cdd1437
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 22:04:23 2010 +0200
ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DN
Since the parent DN is a duplication of the passed DN parameter.
commit 1c0cb365a895ce670fc32db3380cee7f129ce95b
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jul 7 21:50:23 2010 +0200
s3: Optimize the write cache for sequential writes
In case of the one-byte allocating writes we don't work work optimally because
we start the write cache at the current offset. This patch tries to avoid this
case.
commit 6a0d3665e2a2cd9cbae4096c82418f9b0406161f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jul 8 21:04:13 2010 +0300
s4: fix warning: unused variable âiâ
commit 966641b9fed90a34beae32fff091edb983ca6359
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 18:38:25 2010 -0400
s3-dcerpc: Use dcerpc_pull_dcerpc_auth in api_pipe_bind_auth3()
commit 207600991c2e42309672ab7d3c9731c5c77696d1
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 16:02:08 2010 -0400
s3-dcerpc: Use dcerpc_auth in api_pipe_bind_req()
commit 1796767a36fcd880139eb40176c7bcb34fd4ec90
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 15:18:08 2010 -0400
s3-dcerpc: make dcerpc_pull_dcerpc_auth() public
commit a054832f4fda4a158c1d0bf6fa2646bd5835aa2e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 11:36:03 2010 -0400
s3-dcerpc: make dceprc_push_dcerpc_auth public
commit aca60c29e7f890524ebd3a896a3e4f591b5830f6
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 15:16:32 2010 -0400
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in rpc_finish_spnego_ntlmssp_bind_send()
commit 559113596478a5ac8f5227bc25a3720db56314fe
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 15:04:40 2010 -0400
s3-dcerpc: use dcerpc_push_dcerpc_auth in add_schannel_auth_footer()
commit 1febe9de6b6137d575ac1b1263e7d1f7a29cea1f
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 14:55:20 2010 -0400
s3-dcerpc: use dcerpc_push_dcerpc_auth() in add_ntlmssp_auth_footer()
commit c609e84170486f183ad0a7a13c87c3b7c7bc490d
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 14:00:54 2010 -0400
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_schannel()
commit 91cb2aed54cb7fe1f5e5c6359b0ef505f689b172
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 13:30:50 2010 -0400
s3-dcerpc: use dcerpc_push_ncacn_packet() in create_rpc_bind_auth3()
commit 7e134f179fe43bdc2e6d94262327199367a038a8
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jul 8 15:18:30 2010 -0700
Change one more use of "struct rpc_hdr_info" -> "struct ncacn_packet_header"
Jeremy
commit 6b7e436871ec7cac1d08c830efaab95d8bb3afa3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 14:51:49 2010 +0200
s4:acl LDB module - password attributes - check also the "dBCSPwd" attribute
It's also a possible password change/set attribute candidate.
commit 921308f1e830e0443bb49b6d4eb19ae95357a16e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jul 7 18:01:34 2010 +0200
s4:acl LDB module - move a "mem_ctx" creation to the place where it is actually checked
Memory allocations and their result checks should be as tight as possible.
commit 38896f3362073680da82259485dc1031e08f4d6c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jul 7 19:03:13 2010 +0200
s4:drsuapi RPC server - "result_site_name" - fix variable denomination
commit 32a2bbb44b58a8a3da6a6b70d5d21a21c1b68d10
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 8 09:36:30 2010 +0200
s4:samdb.py - "setpassword" - performs password sets using the "unicodePwd" attribute
This does work per default on each AD-compatible DC. "userPassword" support on
Windows however has to be activated explicitly by the "dSHeuristics".
commit 61be498adbdcefb3d2d79bc26019ede01411178f
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jul 5 23:41:13 2010 +0400
s4 upgradeprovision: For SID > 1000 do not copy them, let the system regenerated a new one
This should avoid colliion with newly added objects that use the same
SID as existing users in the upgraded provision.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 690ed0c5e2c61584daa2acb5dbfb680ecee83e0f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 10:17:44 2010 +0200
s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.
Otherwise a lot of information that is usually generated in the ndr_push remains
in an uninitialized state.
Guenther
commit 309ad2b08f2964c30fd71af027b7c94f5d761e4a
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 8 15:58:12 2010 +0200
s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
Guenther
commit 10c60f237223f805566a66293418bd1cf04a8f5e
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Jul 8 15:38:16 2010 +0300
Added a test to prove by default users can change each other's pass if the old is known
commit 328f3ca103e8cd8d73e591dccce6d4dd0fc30b48
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 8 13:32:48 2010 +0200
s3: Slightly simplify make_server_info_pw
commit b595469bf7d6c1171d694366686d99de031c18b9
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 8 11:46:48 2010 +0200
s3-rpcclient: add another usage display to sign and seal commands.
Guenther
commit b0d69a857c14cec052f8c109fdf47f493c8d35c2
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 8 10:59:16 2010 +0200
Revert "s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS."
This reverts commit 3587bb63e21c3f033a17bb493dceb64b05fe85d6.
commit 41fc0dd0eff225329fa78fad65953256c986742a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jul 8 16:42:39 2010 +1000
s4-net: the net binary depends on the auth subsystem
This helps with the OpenChange build
commit 7571c15af93f638a78d69378ce7c793b0e90dc4e
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 01:48:05 2010 -0400
s3:dcerpc Remove unused structure and functions
commit 7236f8cda93ccfbbbac74b9392bfb5dc93268bcb
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 01:14:16 2010 -0400
s3:dcerpc Use prs_parse_dcerpc_bind
commit 0d9b63663f888bafbc7451845a79dabf9ceadc0f
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 8 01:13:57 2010 -0400
s3:dcerpc Add prs_parse_dcerpc_bind
commit ae526514a936b46112845480646402fdd385d7a2
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 7 17:14:27 2010 -0400
s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXT
commit d57ecf920cfb0c1a03734f120e888d34bd618f2d
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 01:05:55 2009 +0200
s3-dcerpc: use dcerpc_pull_ncacn_packet() for rpc_pipe_bind_step_one_done().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 5351a8919dcf705061242813186dfd29e03e72a0
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 00:35:19 2009 +0200
s3-dcerpc: use dcerpc_push_ncacn_packet() in push_next_frag().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit e8e2fa586b81ddfe45e6751fafcce85842423eed
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 00:34:42 2009 +0200
s3-dcerpc: use dcerpc_pull_ncacn_packet() in cli_pipe_validate_current_pdu().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit dbeaa5efc7ccbf52fd54e18c0cf7683a8fbc2cd4
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 2 00:33:52 2009 +0200
s3-dcerpc: use dcerpc_pull_dcerpc_auth() in cli_pipe_verify_ntlmssp().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 49c529349285a79f13b0e1f261f815c4beb62646
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:39:20 2009 +0200
s3-dcerpc: add dcerpc_pull_dcerpc_auth().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit fe9ce4b60c60273d67b9616f7dcef2020136ddac
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:18:25 2009 +0200
s3-dcerpc: use struct ncacn_packet_header instead of struct rpc_hdr_info.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 77e3fffd09e5548ded472bed25109ddda2d45b30
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:07:03 2009 +0200
s3-dcerpc: add dcerpc_pull_ncacn_packet_header().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 389a6774264b273fa210dcd30669d58a5c0db615
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 1 23:04:23 2009 +0200
dcerpc: add ncacn_packet_header to IDL.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit eeb034e72a0e3ed167ffe3c08162311a7c5d2fdf
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 23:56:42 2009 +0100
s3-dcerpc: use dcerpc_push_dcerpc_auth() for all authenticated binds.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 4b56e6e95b7176921dc1bb28c344975074f4f17d
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 23:50:32 2009 +0100
s3-dcerpc: add dcerpc_push_schannel_bind().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 0f02dda9154aeeda20d7bb3ca88bbaf89174e3ce
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 19:09:29 2009 +0100
s3-dcerpc: add dcerpc_push_dcerpc_auth().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 257f5145b571960fce0e12ce0cd04dbd0ac83f6a
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 20:29:59 2009 +0100
s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 5aabd9af8e2abe0eafcafbba60a10ce9102d77c4
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 24 18:21:18 2009 +0100
s3-dcerpc: use dcerpc_push_ncacn_packet() for create_bind_or_alt_ctx_internal().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit dc6e0cedfcdd7ca0d9b7a13ecbc3e8520ddcc8f0
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 12:45:09 2009 +0100
s3-dcerpc: remove unused smb_io_rpc_hdr_fault.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit d6de820480ce5db4b786a66886a5e255344acd43
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 12:00:40 2009 +0100
s3-dcerpc: use dcerpc_pull_ncacn_packet() for pulling a RPC fault pdu.
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit cb9eddb31248f0c7b0ffcff642154ca4b0230276
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 12:00:12 2009 +0100
s3-dcerpc: add dcerpc_pull_ncacn_packet().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 0cbe0f3c5fab1da968486269d65c02ffa44e54ca
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 11:05:21 2009 +0100
s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_fault_pdu().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 8fdc02aa63d1a93de7e5008db4efb54e197afd17
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 21 00:11:15 2009 +0100
s3-dcerpc: use dcerpc_push_ncacn_packet() for setup_bind_nak().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit 3d9a12dca7e00e133702ea1d8d31e50eceac9039
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 23 11:04:34 2009 +0100
s3-dcerpc: add dcerpc_push_ncacn_packet().
Guenther
Signed-off-by: Simo Sorce <idra at samba.org>
commit f0b918473db75ff389a7d2e3bf4a069b8b30d141
Author: Simo Sorce <idra at samba.org>
Date: Wed Jul 7 23:43:47 2010 -0400
s3:winbindd_samr Do not use static contexts
It is a very bad idea to use a static context within the open function.
Use the memory hierarchy to keep track of a client connection.
commit 90b1a1d29623c6c2abc86e2571b535a7832dd376
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Thu Jul 1 17:51:41 2010 -0400
s3: Add SMB2 performance counters.
A performance counter was added for every base type of SMB2 op.
commit 609b8656910eccbb409b58050c306798be22a078
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 04:06:23 2010 +0300
s4-dsdb/util: Reorder DSDB_FLAG_* checks
On good thing about having more clear function interfaces
(and forcing callers to specify clearly what they want)
is that now I can execute following search:
git grep DSDB_FLAG_NEXT_MODULE | wc -l
This showed that DSDB_FLAG_NEXT_MODULE flag is about 6 times
more frequently used than DSDB_FLAG_OWN_MODULE.
So this should reduce branch prediction by six times
in this part of the code, right :)
commit 0c4bbb7106cc2d49052eb85f995dc991b578d885
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:31:17 2010 +0300
s4-dsdb: Implement module switching in dsdb_module_search_dn()
This allows caller to choose from where to start DN search
commit 62a0f11dcbc0dbc7dbb78442d933c0fccee2282b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:26:03 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/acl.c Use DSDB_FLAG_NEXT_MODULE flag
commit 02f0c6d1ebaee211e1749c14bb351c1eaebf3948
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:25:41 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/linked_attributes.c Use DSDB_FLAG_NEXT_MODULE flag
commit 0d2116a42396546eb0de11cac6794d257e5a224e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:25:28 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/naming_fsmo.c Use DSDB_FLAG_NEXT_MODULE flag
commit b18ab826043c16adf5aafdb89e4a57be90ff8acf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:25:11 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/operational.c Use DSDB_FLAG_NEXT_MODULE flag
commit 7694b1964f0e51c5f312ef16b9f4d07d0c273bb2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:24:59 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/partition_init.c Use DSDB_FLAG_NEXT_MODULE flag
commit b62715964a6060c002f0d6ae4ef42d8e296fc582
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:24:15 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/pdc_fsmo.c Use DSDB_FLAG_NEXT_MODULE flag
commit 2ee14378c3b9e46a71b50a37a18ae0bb2705f131
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:23:58 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c Use DSDB_FLAG_NEXT_MODULE flag
commit d7bcac5a9f39a325d984269f7e8651870dcb82ab
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:23:43 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/ridalloc.c Use DSDB_FLAG_NEXT_MODULE flag
commit dc720739ab8d966c6d7d5064281740b6b35b77bf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:23:21 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/samba_dsdb.c Use DSDB_FLAG_NEXT_MODULE flag
commit 8c7a6a8dc77fa239aca2283583d3fc858cfb8505
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:22:28 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/schema_load.c Use DSDB_FLAG_NEXT_MODULE flag
commit 64c31b7e0ae2085658ad8f5df7791b0343239276
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jul 6 03:22:09 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag
commit 76a084feeec208aff2bbfaa45c134592c1719600
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 17:01:09 2010 +0200
s3-winbindd: Fix child logfile handling which broke with c67cff0372.
Andreas, please check.
Guenther
commit 0da5e153787b461ea9ba5ac5353a0046a5a26e07
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 6 17:02:33 2010 +0200
s3-winbindd: route samr chgpwd ops for own domain over internal samr pipe as well.
Guenther
commit 519d17e451399f09f154dc581a22e74162ff7807
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 12:40:41 2010 +0200
s3-rpc_misc: remove unused UNISTR.
Guenther
commit 7e1fa8d06774de4fa103118006309b2d1d63069b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 12:39:46 2010 +0200
s3-rpc_parse: remove finally unused prs_unistr().
Guenther
commit 8def236f187dbbb804a142124bc5042d0cc89854
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 12:36:33 2010 +0200
s3-libgpo: remove handmarshalled PReg parser from registry CSE.
Guenther
commit 5f92bd863c1f2b8b45aae8155a215366f380a0cc
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 02:45:01 2010 +0200
s3-registry: add preg.idl.
Guenther
commit f706d1a96e0cc80000c6b87c90becfcbfe26d314
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 14:56:14 2010 +0200
s3-rpc_parse: fix c++ buildwarning in prs_init().
Guenther
commit ca460113ea28ca82429845c2b3977989175f8ada
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 01:50:56 2010 +0200
s3-notify: use autogenerated FILE_NOTIFY_INFORMATION marshalling in smbd.
Guenther
commit 6ab9eaf90fa732153dc500087b6f7dcea2a94465
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 01:50:18 2010 +0200
s3-notify: add MS-CIFS 2.2.7.4.2 FILE_NOTIFY_INFORMATION to IDL.
Guenther
commit 2c1279f454124c9921bce7005b3bc8296c9fc4aa
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 13:40:48 2010 +0200
s3-build: some makefile cosmetics.
Guenther
commit 2356496ac6490aa82d37b8d9436d6d40979d2e80
Author: Günther Deschner <gd at samba.org>
Date: Wed Jul 7 13:44:42 2010 +0200
s3-build: add IDL_FILES variable.
Guenther
commit 87df785a68c1c8043b345b71c98764ef36b76179
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 13:21:54 2010 +1000
s4-dsdb: use ldb_operr() in the dsdb code
this replaces "return LDB_ERR_OPERATIONS_ERROR" with "return ldb_operr(ldb)"
in places in the dsdb code where we don't already explicitly set an
error string. This should make is much easier to track down dsdb
module bugs that result in an operations error.
commit fc68558ab937859a91214e8675d53c0afaf3c4e6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 13:20:19 2010 +1000
s4-ldb: added ldb_error() and ldb_operr()
These will be used to help avoid the problem we have with hundreds of
places that do "return LDB_ERR_OPERATIONS_ERROR" without an
explanation. It is very difficult to track down ldb errors which don't
have any explanation.
By replacing "return LDB_ERR_OPERATIONS_ERROR;" with "return ldb_operr(ldb);"
we at least get a file:line message in the ldb error string. It isn't
an ideal error message, but it is much better than just "operations
error"
This change also makes ldb_oom() return the error code
(LDB_ERR_OPERATIONS_ERROR) so you can do:
return ldb_oom(ldb);
instead of:
ldb_oom(ldb);
return LDB_ERR_OPERATIONS_ERROR;
commit 0b6cebd60288b37f28176e24abeb20109dfd70e5
Author: Kai Blin <kai at samba.org>
Date: Fri Jul 2 22:35:28 2010 +0200
s3 build: Fix *netgrent prototype detection on opensolaris
commit 9c3a9824a9165e9d7cf362d4b8c6add8ad0cc983
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 15:36:21 2010 +1000
s4-ldb: added support for simple binds on ldb_ldap backend
this uses the options[] array to pass in bindMech, bindID and
bindSecret. Currently only "simple" is supported.
commit 7f9153f7e8a3a39d23b6b9c1336031f769dce923
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Jul 6 15:35:16 2010 +1000
s4-ldb: added ldb_options_find()
ldb_options_find() allows backends to find options in the options[]
array passed to the connect operation.
This will be used by the ldb_ldap bind code
commit 85504ae6ff72204894ea7a856f0f36b44ad77fe2
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Jun 28 16:06:33 2010 -0700
s4:libcli: Modify S4 client library to check for proper CN alignment
MS-CIFS 2.2.7.4.2 states that FILE_NOTIFY_INFORMATION structures in
change notify replies must be aligned to 4-byte boundaries.
This updates s4 client to check for this restriction and also adds a
torture test which should tickle a server into giving unaligned
structures if it doesn't follow the spec.
commit 00056e73c1cb54f5d6c10e63b70afc2c84e5883e
Author: Chere Zhou <chere.zhou at isilon.com>
Date: Mon Jul 5 17:18:35 2010 -0700
s3:smbd: Align change notify replies on 4-byte boundary
MS-CIFS section 2.2.7.4.2 states this is mandatory. WinXP clients
don't seem to care, but a Win7 client will send an immediate Close()
to the directory handle when receiving an incorrectly aligned
change notify response.
commit 502bddf7676b8061a877e7c83b647a64963c3efe
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jul 6 17:51:00 2010 +0200
s4:new_partition LDB module - fix an uninitalised variable warning
> [ 651/1946] Compiling dsdb/samdb/ldb_modules/new_partition.c
> ../dsdb/samdb/ldb_modules/new_partition.c: In function 'new_partition_add':
> ../dsdb/samdb/ldb_modules/new_partition.c:195: warning: 'down_req' may be used uninitialized in this function
The "down_req" variable isn't used anymore.
commit b03040c5a903e24a8216b9245f2925eb2205cd67
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 17:42:40 2010 +0200
s4:SAMR rpc server - "SetUserInfo" - fix the implementation of the expire flag
It has to consider the "password_expires" flag to known if the "pwdLastSet" has
to be updated or to be resetted.
commit 7f15ca4427ae07520a457fa8f19991f6e350205b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 15:54:21 2010 +0200
s4:SAMR rpc server - "QueryUserInfo" - send back the password expired flag on level 21
Taken from the s3 server code
commit 9c8135785ad7b2bee4a0d37470dc37fed04a6516
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 16:55:50 2010 +0200
s4:dsdb - samdb_result_force_password_change - also when "pwdLastSet" is "-1" we shouldn't force a password change
This value is set by the ADUC console.
commit 293d3eb545b04438a13313b06927469f928d6479
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 6 19:53:37 2010 +0200
s3-selftest: add "make testenv" target to Makefile.
Guenther
commit a679319192a50f8115c830ceabe33010d584e3c9
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jul 6 18:39:26 2010 +0200
s3:pdb_ldap: change LDAP password before samba password hashes
this way we can catch up with password change refuses from ldap password policy
overlays and abort the password change early.
Thanks to Andy Hanton <andyhanton at gmail.com> for the initial patch.
commit 44d8c8dbb721eadface3785cee135b2912ca00e7
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 14:56:50 2010 +0200
s3-winbind: Handle aliases in rpc_lookup_groupmem().
commit 11ae9aff971759f2b4658b294e9f1845500ecd4e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 6 12:50:48 2010 +0200
s3-winbind: Fixed the winbind caching.
commit 66fc77e8863ef126317c1077628989e437827514
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 10:58:46 2010 +0200
s3-winbind: Use same format for all msrpc debug messages.
commit 2794c5ad24170c58d9d491e1f6cec1a58b82ad3f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 10:53:01 2010 +0200
s3-winbind: Fixed debug messages of open_internal_lsa_pipe().
commit 9d23f8fbc5b80b0a2f34bbd1a1beef63cb06d3c1
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 15:33:50 2010 +0200
s3-winbind: Make sure that the policy handles are closed.
commit c5cd35658be8c473893f4aa230b38de667f12154
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jul 6 01:05:39 2010 +0200
s3-winbind: Make sure we close all policy handles in sam.
commit c67cff0372d987d13105b81a7625ff42a3ceac43
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jul 5 19:43:25 2010 +0200
s3-winbind: Create all logfiles in the same directory.
If log file is set in the config file, we should create the log files of
the winbind child processes in the same directory.
commit a56c6883661123ed7eb07f7e6f0e947714d1d575
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 16:55:14 2010 +0200
s3: Fix another aspect of bug 7262 and make paged results work again
commit 4efa1081aadc4de22bc1e8c51c41978464730f95
Author: Sumit Bose <sbose at redhat.com>
Date: Tue Jul 6 14:55:32 2010 -0400
s4:rpc_server/lsa/dcesrv_lsa.c - fix typo
Signed-off-by: Günther Deschner <gd at samba.org>
commit b4c3f72d445a5659971b0080ab1eba88695d2a0d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 15:07:05 2010 +0200
s3: Fix a segfault in the RPC server
After converting the rpc infratructure to talloc, read_from_internal_pipe freed
the outdata too early. If the last fragment was read in two pieces (as
rpcclient does it), all the outdata was freed during the read of the first
piece of the read of the last fragment. Later read&x calls, trying to read the
rest of the last fragment stepped into p->out_data.frag with non-zero offset
when this was already freed.
commit 60a3cc850a27a14110541439c05387efb0312210
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 6 11:54:31 2010 +0200
s3: Fix another winbind crash
This is similar to 09a9cc3, this re-arranges winbindd_ads.c:query_user_list()
so that "ads" is not accessed anymore across a call to nss_get_info_cached()
call which can destroy it behind the scenes.
commit 1dcf0e917e99cadf7267566db2139c3dbfc0815a
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 17:34:19 2010 +0200
pidl: s3 server stubs: make sure LIBNDR_FLAG_BIGENDIAN is set when negotiated.
Guenther
commit d56cc23c6a31f10151420086bbead715fa911f6e
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 16:39:44 2010 +0200
s4-smbtorture: add my (C) to rap torture lib.
Guenther
commit a236bc4b334433eb743cb88a8a5f36c7d694681c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 08:26:08 2010 +0200
s4:dsdb/password_hash: implement DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID
metze
commit 6d7b9648e5bff20136dd4462313ce4c3cd502662
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 08:24:35 2010 +0200
s4:dsdb: allocate DSDB_CONTROL_BYPASS_PASSWORD_HASH_OID
When importing users from Samba3 we need to control all values.
metze
commit 24d6950f631f7b1f36ee72c1d06b6b4bc9a1033a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 12:08:30 2010 +0200
s4:dsdb/password_hash: fix some c++ compiler warnings
metze
commit 4a0edb597caf7ffa9a1f7f6a44a90fecefb30dc1
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Mon Jul 5 17:55:11 2010 +0300
DNS objects should not be ignored
Recently I have found that after vampireing from a clean Windows
server we have the same DNS objects in the ldb. So ldapcmp has to
no longer ignore them.
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 3255a7c42c13874eb7bfbf058f8388325afe5a7f
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 17:38:16 2010 +0200
s3-waf: fix the build.
Guenther
commit 3323e88f74ecdfb94026fc23b870c10bba375d34
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:15:18 2010 +0200
s3-winbind: Rename lookup_groupmem to msrpc_lookup_groupmem.
commit 973ef399e3b7853e68bf8d3d54700fd2c89a9611
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:14:12 2010 +0200
s3-winbind: Use rpc_trusted_domains in msrpc.
commit b4160af73646f48073778b610938c9f67a5f6e39
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:13:50 2010 +0200
s3-winbind: Use rpc_trusted_domains in samr.
commit 9c372a145dacfabd14dd86b6dbc458f20ce73fe9
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 11:13:25 2010 +0200
s3-winbind: Added a common rpc_trusted_domains function.
commit b8a0b95e74bf4e57d5ee5e15a91c7b27f7edd3c6
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:54:53 2010 +0200
s3-winbind: Rename common_password_policy to sam_password_policy.
commit 3f2c2c7c70c0cfbcc84c28526d9108e9ee8ed7d5
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:53:15 2010 +0200
s3-winbind: Rename common_lockout_policy to sam_lockout_policy.
commit 49dc713957593bc7b2b6a1704f2fcd0f8595a4fd
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:48:15 2010 +0200
s3-winbind: Use rpc_sequence_number in msrpc.
commit eba6ff0c1a506601c5447706678171926ba4cd93
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:47:54 2010 +0200
s3-winbind: Use rpc_sequence_number in samr.
commit c4a5fc72c732e40c53b6206280ed9c22cc8f0fb1
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:47:22 2010 +0200
s3-winbind: Added a common rpc_sequence_number function.
commit 62038010e0cb74a0de8fe68c7566a6db153ea58b
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:28:47 2010 +0200
s3-winbind: Use rpc_lookup_groupmem in samr.
commit 3c06d42bec49f3fd0ab0d03fe3cbc7205f6d2e2d
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 21 10:28:21 2010 +0200
s3-winbind: Added a common rpc_lookup_groupmem function.
commit 1f2fe8dee9df1228974ab713b77e470185552916
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 19:08:41 2010 +0200
s3-winbind: Use rpc_lookup_useraliases in msrpc.
commit aa831374b8484846702622562c28138363fda2f7
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 19:08:28 2010 +0200
s3-winbind: Use rpc_lookup_useraliases in samr.
commit 73b2f60f6d7f11702d24b8e90209ad6406d79a90
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 19:07:43 2010 +0200
s3-winbind: Added a common rpc_lookup_useraliases function.
commit ad8c9125632798ca762d7de5d13b91bfa9e3ea28
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 18:20:12 2010 +0200
s3-winbind: Use rpc_lookup_usergroups in msrpc.
commit c1a6a24a76bacec4d678537716675e0c7f4fb5b4
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 18:19:50 2010 +0200
s3-winbind: Use rpc_lookup_usergroups in samr.
commit 473d1f10868e8fd33641657daa5b4f07e39770ad
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 18:19:16 2010 +0200
s3-winbind: Added a common rpc_lookup_usergroups function.
commit a3f8bbf3daf916878d0b1374f7fae4b65540be28
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 17:48:17 2010 +0200
s3-winbind: Use rpc_query_user in samr.
commit 64f1052c7fc0aa5eca4c9fd0b437a5b35f07c9fe
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 17:47:47 2010 +0200
s3-winbind: Use rpc_query_user in msrpc.
commit 7d304d7e998fef942386d931e8e4ea3ed8b53f4d
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 18 17:47:16 2010 +0200
s3-winbind: Added a common rpc_query_user function.
commit c48d85026508e35a98bbf4828e688a7bef0249eb
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 19:32:18 2010 +0200
s3-winbind: Use rpc_rids_to_names in samr.
commit fd79bc9a58ccb06f59cda1f42fe9067f3f8af473
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 19:31:51 2010 +0200
s3-winbind: Added a common rpc_rids_to_names function.
commit aa745bedd3c9862c793d2d2dbaa70ff85ea40614
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:25:33 2010 +0200
s3-winbind: Use rpc_sid_to_name in samr.
commit 506dc899b26eea7b3115748b6311e8a07fb16909
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:25:07 2010 +0200
s3-winbind: Added a common rpc_sid_to_name function.
commit 22c9ced11952bc61c0f074103b5ca9a312f53c70
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:07:02 2010 +0200
s3-winbind: Use rpc_name_to_sid in samr.
commit 37dbfaebc7a31a6c44d51003770945cb4dab8848
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 16:06:34 2010 +0200
s3-winbind: Added a common rpc_name_to_sid function.
commit 01730e4b471b7ccf699f9435b87a997980156c37
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 15:53:06 2010 +0200
s3-winbind: Use rpc_enum_local_groups in samr.
commit 44c6432d64635c94348d2a1b0e7c42ac03ea9373
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 15:52:44 2010 +0200
s3-winbind: Use rpc_enum_local_groups in msrpc.
commit 89c8ef97c4141e748e5c566a4c25981c31fba507
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 15:51:58 2010 +0200
s3-winbind: Added a common rpc_enum_local_groups function.
commit 8159b1281be6ebbad0626c71070ddf457f2558e0
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 14:55:19 2010 +0200
s3-winbind: Use rpc_query_user_list in samr.
commit e44d7e1582d84473c5cf1d75ee5ea0396b88cee4
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 14:54:55 2010 +0200
s3-winbind: Use rpc_query_user_list in msrpc.
commit c83e8cbe4ae3192b576b47bfae2a4ba90d6e0ce9
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 14:54:02 2010 +0200
s3-winbind: Added a common rpc_query_user_list function.
commit b3f4e18859e051602a236ee552a641ecd743fc68
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 13:57:12 2010 +0200
s3-winbind: Use rpc_enum_dom_groups in samr.
commit 11610a4e996fd70a2df3b1124f8e658cc9188827
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 17 13:56:54 2010 +0200
s3-winbind: Use rpc_enum_dom_groups in msrpc.
commit bec184048ee691d9f709365f65104a53f2f33cc0
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 16 21:15:54 2010 +0200
s3-winbind: Added a common rpc_enum_dom_groups function.
commit 692cc06f0c1e1c2dd0d553bb65a8af78ad0a6523
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 16 17:43:57 2010 +0200
s3-winbind: Rename winbindd_rpc.c to winbindd_msrpc.c.
commit e1c4b5bbe91b0f2e0abf4e1ddfcd9a7232b12fc8
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 16:44:02 2010 +0200
s3-winbind: Replace the passdb backend with a samr/lsa based backend.
commit 488badb8acdb6bcf9135a3073b08e4f5526d73b0
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 15:20:13 2010 +0200
s3-winbind: Implemented samr backend function common_sequence_number.
commit 645ce68e357948c8bddf46e7b3777788af4d0a72
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 15:12:37 2010 +0200
s3-winbind: Implemented samr backend function common_lookup_useraliases.
commit d92cb43b7723c8103a62602dfe1a02eba2526576
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:57:15 2010 +0200
s3-winbind: Implemented samr backend function common_lookup_usergroups.
commit c60a9e8077d875f7b4c9a11351f06506fafda133
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:41:54 2010 +0200
s3-winbind: Implemented samr backend function common_password_policy.
commit 54e8f8bd578ce6c0df30eecde471190ee700dc32
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:39:55 2010 +0200
s3-winbind: Implemented samr backend function common_lockout_policy.
commit de7990bca160c1f54ce4c1ad848b2761b77c5960
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 14:33:02 2010 +0200
s3-winbind: Implemented samr backend function common_rids_to_names.
commit 79700e690e44485b5037bd191934a56b6e765655
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 11:52:26 2010 +0200
s3-winbind: Implemented samr backend function common_sid_to_name.
commit f11648bfd7dfdacff5889dc3f12d89b59146b4f4
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 8 14:42:59 2010 +0200
s3-winbind: Implemented samr backend function common_name_to_sid.
commit 483d4528d97670d13d1cdb69a041d587e6e2194f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 8 08:47:13 2010 +0200
s3-winbind: Implemented samr backend function common_enum_local_groups.
commit 47447809c825c90992abd67ef38a7e38b835a072
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 22:15:37 2010 +0200
s3-winbind: Implemented samr backend function sam_lookup_groupmem.
commit 41939ce32f66c288e51013648adfdcae64a97396
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 21:46:02 2010 +0200
s3-winbind: Implemented samr backend function sam_trusted_domains.
commit 48147555d2a2e879b027c09fb48c2ab7c40f4126
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 21:20:15 2010 +0200
s3-winbind: Implemented samr backend function sam_query_user.
commit 7ee0ebe40604123e38b02661ac9cba294ee23563
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 16:39:44 2010 +0200
s3-winbind: Implemented samr backend function sam_enum_dom_groups.
commit 9d0d6ed66f582464dd874ec793cdeb7cf1b9aece
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 16:18:12 2010 +0200
s3-winbind: Implemented samr backend function sam_query_user_list.
commit cc3d9dd042c6c7abd1815acca0af4ab3fb427c73
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 10:18:01 2010 +0200
s3-winbind: Added a skeleton for samr based functions.
The goal is to replace the passdb backend later.
commit 9fa72399073731aba54dfe70c35677b3c2960589
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 27 12:06:24 2010 +0200
s3-winbind: Initialize the server_info on winbindd start.
commit 30d25210a97403c083f7f8babe2eaa4d4cdfc1ad
Author: Andreas Schneider <asn at samba.org>
Date: Fri Jun 11 11:48:37 2010 +0200
s3-rpc_client: Use the right memory context for array elements.
commit 7d013f4065caad4caf742adc37b0b7622419de1a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 14 11:49:32 2010 +0200
s3-winbind: Free some memory which isn't needed anymore.
commit b37db757b6d552a9b3dea7428a811e403a2c6bbd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 15:24:55 2010 +0200
s3-build: add idl_full to Makefile.
Guenther
commit cb52b1ad99e17c09d4c429a780f30772efd6eaf9
Author: Günther Deschner <gd at samba.org>
Date: Mon Jul 5 15:24:27 2010 +0200
s3-idl: support --full for s3 build_idl.sh as well.
Guenther
commit 6071ca9daed6e18302da546e5de0c7b1d282bbd2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 15:19:31 2010 +0200
s4:include/smbldap.h - introduce a placeholder for "LDAPMessage" if we don't link against a LDAP library
commit 1d166fd3cff7ed8b6d3d17427fb18fa9f6405b48
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jul 5 11:44:48 2010 +0200
s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the "winbind struct test"
Use a "talloc_strdup" for duplicating usernames.
commit afcf18f3c996558135cb2535e10a9d5dd32f86e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 23:21:07 2010 +0200
s4:samr RPC server - "SetUserInfo" - allow some more informations to be set
Taken from the s3 implementation.
commit 915ddf0dc74d2b36d5da2c1bf377a289291c13b8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 22:34:43 2010 +0200
samr.idl:UserInfo structures - fix some names according to MS-SAMR documentation
See MS-SAMR section "FULL IDL"
commit 3278554b3e8864bc412926b67faf8a924a4416c7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 5 12:36:19 2010 +0200
s3: Make talloc_attrs() static
commit dfc84ece9ddcaf510bac79e006f05dfdad9f2770
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 21:53:52 2010 +0200
s3: Remove procid_self() from srv_spoolss_reply[open|close]printer()
commit 9e4ae600b700406fdfb797b0217ec2b7503bfc59
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:50:11 2010 +0200
s3: Remove procid_self() from ctdb_read_req() and ctdb_handle_message()
commit 1832e38425b12841d67aa6194bd4ae53697077ab
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:49:43 2010 +0200
s3: Remove some type-punned warnings
commit 2838047657d5ba37b1ba0259577875919c47b09c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:31:02 2010 +0200
s3: Put serverid_key and serverid_data together
commit 390c3ffc2a5ec90ad0715c278ecef56a6c1bd9b2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:20:44 2010 +0200
s3: Remove procid_self() from brl_close_fnum()
commit 6436ea3e7a0000ee1e494b7e81138a948c33c731
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:18:29 2010 +0200
s3: Remove procid_self() from srv_spoolss_drv_upgrade_printer()
commit b0f76a37d35b4e4c688d3a44180f9ae96d9ecb02
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:17:32 2010 +0200
s3: Remove procid_self() from cancel_pending_lock_requests_by_fid_smb2()
commit a521ad4b5ab4849a503e14bef5cc1120ddb18fdc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:16:35 2010 +0200
s3: Remove procid_self() from remove_pending_lock()
commit e168b85f00540892508c888a17b07e1981e9ad5a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:14:27 2010 +0200
s3: Remove procid_self() from fill_deferred_open_entry()
commit aa217afc46f3be4b6e5dbdc7289044e661924ab3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:06:07 2010 +0200
s3: Remove procid_self() from do_lock_cancel()
commit 1af668df028e238a17e7ce0bf30107189a789f55
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:05:43 2010 +0200
s3: Remove procid_self() from do_unlock()
commit 471a47a1de504ea60a1411f44ea82eec123ae0a8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:02:30 2010 +0200
s3: Remove procid_self() from do_lock()
commit b485c1917fd4320dee1efbafd77cbf402ed62971
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:01:48 2010 +0200
s3: Remove procid_self() from query_lock()
commit 9b0fbcf35ad94e984c085eb209034325396db712
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:56:51 2010 +0200
s3: Remove smbd_messaging_context() from shutdown_other_smbds()
commit 0ea7aed7461767fbdce90ea30dde33816bc41d5e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:51:43 2010 +0200
s3: Remove smbd_messaging_context() from make_connection_snum()
commit a2d7cd55582d6e8ec31661726ccbe231c0c47817
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:50:35 2010 +0200
s3: Remove smbd_messaging_context() from reprocess_blocked_smb2_lock()
commit 3df821acc462626efba86acd7c6a278473d4f0c2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:50:25 2010 +0200
s3: Remove smbd_messaging_context() from remove_pending_lock()
commit 411412dc65961acf8132ae03a3120c24e8602ef0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:47:45 2010 +0200
s3: Remove smbd_messaging_context() from push_blocking_lock_request_smb2()
commit 8aa3f47dc96b41b1f8b589f55633a774492e253c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:47:02 2010 +0200
s3: Remove procid_self() from irix_oplocks_read_fde_handler()
commit c63f75f17c51d1e6ddb4411bc4c0ad3c3e7edb95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:46:15 2010 +0200
s3: Remove smbd_messaging_context() from smb_set_posix_lock()
commit 8ea271bb2e9e94093c1849a5840bb3a2a38f728e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 19:44:57 2010 +0200
s3: Remove smbd_messaging_context() from linux_oplock_signal_handler()
commit 02a42a0a1d7d10495711e1a8621d45629e810c67
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:46:27 2010 +0200
s3: Remove procid_self() from blocking_lock_cancel_smb1()
commit f60c6f55c96f4ed1ed87a4bbc4746d6585d3552a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:45:15 2010 +0200
s3: Remove procid_self() from process_blocking_lock_queue()
commit a9aa582de51df042e17e5c35c9e925436bf35afa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:44:46 2010 +0200
s3: Remove procid_self() from remove_pending_lock_requests_by_mid_smb1()
commit a07c1586ba280d08dadf1db9ff3f478ac47c9307
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:44:14 2010 +0200
s3: Remove procid_self() from cancel_pending_lock_requests_by_fid()
commit c49f6a681dca609353263410c809a8c0c90f7aae
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:43:39 2010 +0200
s3: Remove procid_self() from generic_blocking_lock_error()
commit d42806a01389fc3f265f3490228c3f82600d7077
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:42:55 2010 +0200
s3: Remove procid_self() from push_blocking_lock_request()
commit eb29f84b5f83306be68804d9edd9be8c1922fa9b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:40:57 2010 +0200
s3: Remove smbd_messaging_context() from blocking_lock_cancel_smb1()
commit dd48e0afe06087622483605f472f382f5448dd70
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:40:40 2010 +0200
s3: Remove smbd_messaging_context() from process_trans2()
commit ae75a90b188a34eff806797fdcfd14586135c285
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:39:57 2010 +0200
s3: Remove smbd_messaging_context() from process_lockingX()
commit e606b271144fb004adce0a3b265e61b44bf4d38e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:39:31 2010 +0200
s3: Remove smbd_messaging_context() from reply_lockingX_error()
commit fef875f64fcdae094aabe291b9b8849c28324015
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:38:12 2010 +0200
s3: Remove smbd_messaging_context() from push_blocking_lock_request()
commit 75e16757e3e696f1a2f4e8d438d0634abe327ab0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:35:06 2010 +0200
s3: Remove smbd_messaging_context() from contend_level2_oplocks_begin_default()
commit d1587f99248c7616d168e7025d2c58c4fa7245e4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:34:31 2010 +0200
s3: Remove smbd_messaging_context() from reply_to_oplock_break_requests()
commit b01a41d05b06962cae748f0f8fbb7da87861db07
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:32:17 2010 +0200
s3: Remove smbd_messaging_context() from smbd_do_locking()
commit 914b1c034fe9f52b4c858486730543bee8daaf88
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:31:41 2010 +0200
s3: Remove smbd_messaging_context() from rename_open_files()
commit 8da057550758919fa0bded72c2ec973f2aefd1d6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:31:09 2010 +0200
s3: Remove smbd_messaging_context() from reply_unlock()
commit 9a3f53075ed1d5406dc3b09e8e01829c821723df
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:30:48 2010 +0200
s3: Remove smbd_messaging_context() from reply_lock()
commit 80cc726b4aadcccca34a32f0352c4cad73d2af95
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:30:08 2010 +0200
s3: Remove smbd_messaging_context() from reply_writeunlock()
commit 298da9a0a4f1c6374bdd99fd0ada9293a9eddb52
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:28:53 2010 +0200
s3: Remove smbd_messaging_context() from reply_lockread()
commit ba3b101c45f67154fe11d27d6c432ddf9a65a0d1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:28:04 2010 +0200
s3: Remove smbd_messaging_context() from send_break_message()
commit e6a089484bbde72368a93ca83e69858fb3d2be8e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:26:57 2010 +0200
s3: Remove smbd_messaging_context() from exit_server_common()
commit 6c53365d119fa1b2685d6d6d85604d2c0bee6376
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:26:14 2010 +0200
s3: Remove smbd_messaging_context() from close_normal_file()
commit f22e58bcd35a5219463863f7dae2d771d9cd5f0b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:25:02 2010 +0200
s3: Remove smbd_messaging_context() from notify_deferred_opens()
commit 50db5cb0dfaad0c556c375dee20ee6a2ee881db4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:20:11 2010 +0200
s3: Remove procid_self() from fill_share_mode_entry()
commit b9032978785be65dcc189ea982bd843fa8453b80
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:18:58 2010 +0200
s3: Remove procid_self() from init_strict_lock_struct()
commit 07854cb099555a3d1590ec310b1d938e786a9eb5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:17:36 2010 +0200
s3: Remove procid_self() from make_connection_snum()
commit 5387d6ee16d575251d656ce3e17b933e1be52343
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:15:36 2010 +0200
s3: Remove procid_self() from claim_connection()
commit 33242471e5ad974bf96d2340c9aa8d56941795e7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:12:24 2010 +0200
s3: Remove NULL checks from claim_connection()
Nowadays this is only called from make_connection_snum() where we always
provide a connection_struct.
commit faef081e967f657fb7043de683131f230f5e22c4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:09:59 2010 +0200
s3: Remove procid_self() from push_blocking_lock_request_smb2()
commit c89b55b5736db5a78ab5949c762afd281e707256
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:08:16 2010 +0200
s3: Remove procid_self() from reply_negprot()
commit 2d7cce6b7c0e38a8eb3ecdd9972ba25138f1845e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:07:29 2010 +0200
s3: Remove procid_self() from break_kernel_oplock()
commit 13441a9e1832a99742b1ca9919f1b61fbccd8419
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:06:26 2010 +0200
s3: Remove procid_self() from session_claim()
commit f1d6eed9626f286a41a0280e55b91cfd1d16eeb9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:06:01 2010 +0200
s3: Remove procid_self() from exit_server_common
commit 23790c9a8f54593602dce27a3fb1b1f752299431
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:02:36 2010 +0200
s3: Add sconn_server_id()
commit 58b9595babebdeb42cd6ffdc2b12e54b46964127
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 18:02:19 2010 +0200
s3: Add missing prototype for smb2_opcode_name
commit 0220246c2683e363d4871c7b93480438a5d88a7a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 17:57:57 2010 +0200
s3: Add messaging_server_id
commit 9cc52e8411c5b5bda73bbbe58d98a73ebd671b65
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 17:50:04 2010 +0200
s3: Add msg_ctx to smbd_server_connection
It would be obvious to initialize this in smbd_init_globals(), but there the
messaging_context can't be initialized yet because we don't have smb.conf
loaded yet.
commit a27bd84bf827fc3f7efe6afb6329d98a20a00389
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 17:49:30 2010 +0200
s3:Fix a bogus uninitialized variable warning
commit 300667e4a9f02104fc8759dd846ea41f400441bf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:54:04 2010 +0200
s3: Pass procid_self() explicitly to messaging_ctdbd_connection()
commit 849f72b254ee52501ba46e8419938d3bf5e31900
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:51:06 2010 +0200
s3: Create a unique id for the smbd parent
commit da35836dd50e7f8036ca79efafc4009eae58222f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jul 5 10:05:27 2010 +0200
s3: Keep the connections.tdb data format fixed
At Simo's request, we can not change internal databases anymore. Sorry for not
respecting this policy.
commit d300085868b7ba3f5cd4dd24fbea8e35ad9f87ee
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jul 5 00:20:37 2010 +0300
Changed passwords.py to use the correct account as acl checks now pass.
commit 81240b13b365400e2da903a7fc0af1f501bc1249
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jul 5 00:17:38 2010 +0300
s4-dsdb: Implementation of User-Change-Password and User-Force-Password-Change
These CARs need to be checked on password change and password reset operations.
Apparently the password attributes are not influenced by Write Property.
Single detele operations and modifications of dBCSPwd are let through to the
password_hash module. This is determined experimentally.
commit 343e9320ba4446635a50a0fa3849888f3b265e23
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 10:41:17 2010 +0200
s4:subtree_rename LDB module - Cosmetic fixes
commit 7d483cdc04d0e58ea171d5d94f53013fb2c2cc0e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 10:23:41 2010 +0200
s4:subtree_delete LDB module - fix comments and add my copyright
(I've introduced the subtree delete mechanism)
commit 83dedef2c7b3c471d37f532f56d8eb0d45c20e51
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 21:22:28 2010 +0200
s4:wb_cmd_list_groups.c - don't crash when we don't get any group at all
commit 680453a9069fc5f7c84344d702fbd9ac5819401a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 21:19:36 2010 +0200
s4:wb_cmd_list_groups.c - indentation and comment fixes
commit b0bba4003e928cdf0540047d6e4b7659cb0ac765
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jul 4 20:04:28 2010 +0200
s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operations
commit 05237dca11b902104e271120a31a8a3114b35cc4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:04:55 2010 +0200
s3: Remove an unused variable -- thanks, metze!
commit 23a31becacee9da11ebe4dff4a3146e19c95a5be
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:45:43 2010 +0200
s3: Remove unused msg_flags from connections.tdb
This breaks rolling code upgrade!
commit b0c83d50f9f609848c19180b6b032e73a1d504cb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 20:40:46 2010 +0200
s3: Replace register_message_flags() with serverid_register_msg_flags()
message_send_all is now done by walking the serverid.tdb, not the
connections.tdb anymore.
Günther, Simo, please check!
commit 8cf1cd2d5c0469f170b0f81dda94a53ce8575af9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:41:51 2010 +0200
s3: Use msg_ctx->id in messaging
This removes some references to procid_self() deep inside the code
commit 7f0e6df88345c1154f19fd263966ad20c73f5d52
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:28:13 2010 +0200
s3: Pass the new server_id through reinit_after_fork
commit 5a3c64668a33fc3fa8f87a78d06fa040eed9f8f8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:18:12 2010 +0200
s3: Re-initialize the server_id in messaging_reinit
commit b3194be286a6af28044375e893cfa0b095dba6e6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:09:09 2010 +0200
s3: Fix some type-punned warnings
commit eb50f77154e23b9dc231926d5a0af07dd7761bc4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:08:59 2010 +0200
s3: Fix some nested extern warnings
commit b01958b0bdb1a7115b82fc7029d8ffe630614cff
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 16:08:03 2010 +0200
s3: Remove serverid_[de]register_self
This removes some deep references to procid_self()
commit ba57d23c1ce5ef3b6c4b2e5e100a0457b8abdcbf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 14:59:23 2010 +0200
s3: ALWAYS run make test before checkin ....
commit 34558ae9458519f785c1fee48982b1efccaff446
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 14:35:05 2010 +0200
s3: Slight reshaping of server_exists_parse
Doing a copy and then do the compare is a bit pointless, use memcmp
commit f8e7077d5ca738a62386917c14aebce515955c68
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 13:46:48 2010 +0200
s3: Don't attempt to deregister from serverid twice
The parent has to take care of crashed child processes anyway, so we don't have
to clean up in the child
commit 9e3fc22c600e3da150e96ac5f7823835c8be4333
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 11:32:50 2010 +0200
s3: Fix bug 7338, smbget skips leading slash when using a custom outputfile
commit 285176cbc9e77c6f70aabbc33bae37d35ffe808a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 11:02:21 2010 +0200
s3: Fix some nonempty blank lines
commit 8c0fbc410798512b7a4b7db73bcb24cde6fa7849
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jul 4 10:01:42 2010 +0200
s3: Fix bug 7336: Enable idmap_passdb module build as shared
commit e17ce247a3575ca868bc6e69a6491ff033551443
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 3 22:41:23 2010 +0200
wbinfo: Fix error messages
commit 6dc1c708760b887a5b195f860cd0a02cfcfffadd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 21:09:06 2010 +0200
s4:torture/rpc/samlogon.c - strip trailing whitespaces
commit e2e09f5c45cef1a826c5ab30272b21771d966013
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 21:04:47 2010 +0200
s4:torture/rpc/samlogon.c - provide a function which sets and afterwards resets the minimum password age
This is needed since we on s4 do now use the Windows Server standard of 1 day.
commit 518232d4578d700f5f5ea1609275a6cd1de3a1e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 15:52:00 2010 +0200
s4:kinit blackbox test - set/reset also here the "minPwdAge"
commit f41d9eb8dc5cf63625260ce577548b0471fc84c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 15:37:45 2010 +0200
s4:dsdb/tests/python/ldap_schema.py - remove a now useless "schemaUpdateNow" request
"schemaUpdateNow" on s4 is now a non-op and therefore not strictly needed anymore.
commit 465c601071df9de9f15f65bdad3355a77cdc1d59
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:52:18 2010 +0200
s4:urgent_replication.py test - remove unneeded "relax" control parameters
commit 326aac06f52a1e4d37449622e02d561ee12608cf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:33:23 2010 +0200
s4:schema_load LDB module - fix a segfault condition on schema refresh
The schema refresh operation itself starts requests from the top of the LDB
modules stack (see call "dsdb_schema_set_attributes" - search operations).
This doesn't work well when these do perform "dsdb_get_schema" calls. Since the
new schema isn't marked as "refreshed" atm (but in fact it still is - we didn't
terminate the reload/refresh yet) we could perform other calls to
"dsdb_schema_refresh" and run into serious trouble (segfault).
commit 02eab6602640e73f295a37019c0989dbd799229b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:07:44 2010 +0200
s4:schema_set.c - Fix a comment
commit d1ee7ab16ee2993e12dad2a3eed2f1719fae11d7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 14:05:04 2010 +0200
s4:dsdb_schema_set_attributes - remove unneeded filter criterias
We already choose the right entry by specifying the right basedn with scope
"LDB_SCOPE_BASE".
commit 368aa25f7c1a2b8c05780479b1e03a2632c42d11
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 12:47:46 2010 +0200
s4:dsdb_module_load_partition_usn - check for "res->count" equal/unequal to 1
commit 4df9757b48d72f0fd33ef6b7b4e359d6baa9b44f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 12:36:34 2010 +0200
s4:schema_set.c - fix typo
commit de81160e754cfb65a471f29e03b6e1f1c1461eb2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 12:35:16 2010 +0200
s4:schema_load.c - jump to "failed" on an error condition
commit 43b0c314d80efdaec17d601929d3e6b0cdebcff0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 10:56:14 2010 +0200
s4:setup/provision_basedn_modify.ldif - set "minPwdAge" to the right value
Now we should have fixed all password related tests to cooperate with this value
commit c0ee606474ffb355e7c4e8dd70c773fe8904fa4b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 11:27:20 2010 +0200
s4:pwsettings net utility - change also here the "minPwdAge" to be the real default
Which is one day.
commit 73c69a195abc68146352da399418b9f64a6ca803
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 11:23:39 2010 +0200
s4:blackbox/test_passwords.sh - perform also here the adaptions for "minPwdAge" != 0
commit ec9fa906c79c4f71d0230dd57dfde6dd67f37201
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jul 3 11:07:10 2010 +0200
s4:dsdb/tests/passwords.py - set and reset the "minPwdAge" properly
After a patch proposal of Nadya and some reflection I think that it's really
worth to change all tests which need a "0" "minPwdAge" to set it manually and
reset the default afterwards.
So we can finally introduce the default "minPwdAge" on provision.
Patch proposal by: Nadya Ivanova
commit 86cde0a7dc8388747060a11f101f715645ef0eae
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Jul 2 16:38:05 2010 +0300
Tests for user-change-password and force-password-change access rights
commit 61e956036e28b8fe8c57ab47c478a542cbf44532
Author: Günther Deschner <gd at samba.org>
Date: Fri Jul 2 13:08:00 2010 +0200
s3-net: forgot to set type in winreg getvalue operation.
Guenther
commit 62341537d7c43d678e66ba663ad07be629e3328e
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Fri Jul 2 11:39:39 2010 +0300
s4/schema: remove unnecessary deletion of dsdb_schema cached pointer
This is needed so we can find and free old schemas based using
the cached pointer
commit d9429a874c5bd463f4b89db55fdae14b1764a494
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 11:22:20 2010 +0200
s3-registry: remove 2 byte winreg type limitation.
We already pull and push 4 byte winreg type in the registry.tdb, we were just
not using full 4 bytes within the reg_object functions.
With this change we finally pass the set extended value torture test.
Guenther
commit ddb8fae40174c72be8b3b6fc1c67cbaad3343153
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 15:50:58 2010 +0200
s3-registry: allow to read NULL entries (that we allow to store) back from the tdb.
Guenther
commit 6da040261debcbd4b193caf9d5a055efad898aca
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 03:04:39 2010 +0200
s4-smbtorture: enable extended SetValue test against Samba3.
Guenther
commit 786198e523257de75d9238cd993594e5f8a8a4b7
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 02:57:19 2010 +0200
s3-registry: remove unused reg_util_marshalling code.
Guenther
commit b381fba0892021f164223bae8b0951014a28735e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 16:13:15 2010 +0200
s3-registry: avoid using registry_value union.
Just pull and push data as is.
Guenther
commit 84c5dd1e4bb1b4c45d7b5ac68ab432cfc399835c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 2 11:39:28 2010 +1000
s4-ldb: fixed error handling in openldap backend
fixed several bugs in error handling. the ldb context was used without
being initialised in the error paths, and several error paths did not
set an ldb error string.
commit 277a9b4aaca60745acfa3f82bd021390de337a26
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jul 2 11:37:50 2010 +1000
s4-ldb: fixed the parsing of references in the openldap backend
We need to use ldap_parse_reference() not ldap_parse_result()
commit f9022a1a30dbe57c6b6226c1f3d749b0ba87ce66
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jun 30 13:49:05 2010 +1000
s4-dsdb: fixed use after free of sasl mechanisms opaque
the supportedSASLMechanisms opaque must live for at least as long as
the ldb, or we can crash when the first connection is torn down
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2671b5aeb0442b1c2a67ba9c43113ba3eec6bc15
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Jun 30 13:47:29 2010 +1000
s4-dsdb: fixed spelling of supportedSASLMechanisms
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c48279896d93ab8d4490cbf9d47eb6f763b43785
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 30 23:25:32 2010 +1000
s4:dsdb Ensure we free old schema copies
It was reported by aatanasov that we kept around one whole schema per
modification made. This does not fix that, but I hope moves us closer
to a fix
The most important part of the fix is that:
- if (schema_out != schema_in) {
- talloc_unlink(schema_in, ldb);
- }
was the wrong way around. This is now handled in the schema_set calls.
Andrew Bartlett
commit 5a66edc99ee782e36efa2fc64a7603247ba3abc1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jul 1 23:47:02 2010 +0300
s4/dsdb: Assert DSDB_FLAG_*_MODULE is always passed in function call
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 73474998e167837002da495993fa75de17e3aecd
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:29:05 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 682f7a53383f1c72f53fc5238f4ca2db348f9df3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:28:46 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/subtree_delete.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit bf373d5c29737264724ae4f86e05a79d7b69b4ee
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:28:30 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/schema_load.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7c653c429a7d31d00620fc8cfda913a814c1048f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:28:10 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/samldb.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0e023f23408df71aa3ad24f0a78cfead44d63d4b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:27:51 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/samba3sid.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 30a69eb4a0cf61cc21c11bbb71494aae57bfe139
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:27:32 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/rootdse.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 68c6e607d9facd20ba792cd8f8e1a5e8740bf300
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:26:53 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/ridalloc.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f3f87e8deed86d066346e852269ae12d1966ea0a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:26:07 2010 +0300
s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b29921b82ea34f307f04acb86afe64f33a69ab1e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:25:28 2010 +0300
s4-dsdb/samdb/ldb_modules/linked_attributes.c: make use of DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f570eec26432a66d7fbc2a70017b3df8dbdd1e89
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 21:07:51 2010 +0300
s4/dsdb: Add DSDB_FLAG_NEXT_MODULE flag
Although it is not currently used in implementation,
my intention is for callers to clearly state what
action they want to execute.
Currently when a caller wants to pass the call to the next
module in the chain, this flag is either omitted or 0 is used
(which is somewhat hacky, isn't it)
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 3721161d90c835604f38d2f178fbcd8c5f708077
Author: Simo Sorce <idra at samba.org>
Date: Thu Jul 1 17:47:46 2010 -0400
s3:auth Fix switch statement referencing a uninitialized variable
Looking at the original commit (9a747d500fad699038ecf75615c680a9fd9e4cc7)
this seem the right solution.
Andrew please check.
commit d1538add736ae3ac7ca3c728e2bd1696d588b374
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 00:44:15 2010 +0200
s3-nss_info: only include nss_info.h where needed.
Guenther
commit 04641abb33a06486327088105b578865ed727a23
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:48:34 2010 +0200
s3-libads: move ldap posix schema defines to their own header file.
Guenther
commit 3f453f73a80c98cc98b6b61698c547339817285c
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:47:03 2010 +0200
s3-libads: move spnego defines to their appropriate header file.
Guenther
commit dff7be8ccb9538cfe8468884aa2eecd129c631cb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:38:57 2010 +0200
s3-libads: only include libds flags where needed.
Guenther
commit 6d810eff81f6a0abb371b2661cb0711e46e1bf1d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:20:22 2010 +0200
s3-libads: move keytab macros out of ads.h.
Guenther
commit 56538be6af9d4d76bffe5f142ba6a62e978561da
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 22:36:40 2010 +0200
s3-libads: move ads_dns out of main includes.
Guenther
commit e64df82146cf62ae6e13b8e4c1adcc8b49b2fd6d
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 12:51:58 2010 +0200
s3-libads: move ads_status to a separate header file.
Guenther
commit 6b25d47fea231fad2009a1e0971ccfa1acf68176
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 12:51:29 2010 +0200
s3-libads: move ads_protos.h to ads_ldap_protos.h.
Guenther
commit 568a54f324c4564438edd6369ae4fdf17b667e6e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 23:15:13 2010 +0200
s3-waf: fix the build after smbd/change_trust_pw.c removal.
Guenther
commit f7a3bd4fa42eba56675c46d0a2baf0dccded8018
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 19:05:43 2010 +0200
tdb: fix the build on mac os x 10.6.4.
Guenther
commit eb634e8c7fcce424186514a8e0a8a799d6e7fc8d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 01:19:39 2010 +0200
s3-libnet_join: small IDL enhancement.
Guenther
commit 2f9076ac29904c98e1a794d04c79db637283f888
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 23:09:05 2010 +0200
s3-libads: use shared well known guids.
Guenther
commit b9e6962dd7616eaeaf8a0bc42c1180541ca06dd3
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 22:32:00 2010 +0200
s3-libads: move KRB5_ENV_CCNAME to separate header krb5_env.h.
Guenther
commit c2e2f783d02c7128ce1d7748ec2764998edc1be1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 1 17:23:01 2010 +0200
s4:dsdb/tests/python/passwords.py - add the right result codes for user password changes
They will be enabled once the ACL modules supports it. It was my fault to not
import them earlier.
commit 21c215512661907832570d18e7e61b3bb6447dcf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jul 1 16:35:12 2010 +0200
s4:lib/registry/ldb.c - free some "msg" objects earlier through explicit "talloc_free"s
No other functional change
commit de8a339cdf95f6737a8b1d34aa2aa9287bae0e46
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 16:10:32 2010 +0200
s4:registry - move some common constraint checks to the "local" backend
They should also be enforced when we don't use "ldb".
commit d81e2af69de4401335681d859c44b2c30fb4456c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 18:27:49 2010 +0200
s4:lib/registry/tests/registry.c - test recursive key generation
commit ae50385d524d8cb4831d8eb0c45feb4d04437f28
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 18:08:47 2010 +0200
s4:registry - on key add operations we have to handle with paths not always only a name
Recursive key generations are allowed.
commit 781ea5be1399de8abe201ab239d3915331264deb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 15:45:37 2010 +0200
s4:lib/registry/local.c - support recursive key generation
Code taken from "local_open_key".
commit 809c74790006c985ac64eb7823a4a450498c832f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 21:12:19 2010 +0200
s4:lib/registry/ldb.c - refactor "reg_path_to_ldb"
This makes it easier to understand and would also support splitting in more
DN components.
commit 50ae292e60e53275f87ad2281b25eda34d0af59c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 17:37:45 2010 +0200
s4:lib/registry/ldb.c - use "ldb_path" rather than "ldap_path" as LDB key varibale identifiers
commit d0e877e785f6463dadbb973bc42174674cbdbad2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 15:52:19 2010 +0200
s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handling
- free "msg" when possible
- prevent "talloc_strdup"s where not necessary
commit e4ba8fb3b9a6eebe7a56179f67d1aeff64cf1abc
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 13:46:55 2010 +0200
s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.
Guenther
commit 74721bf706371d3fdc5783995a60808763fc7e6d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 01:22:11 2010 +0200
s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().
Guenther
commit 69610484872bb8c9d52cd1b12c56a3bf99be78ae
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 17:13:42 2010 +0200
s4-smbtorture: in extended setvalue winreg test, reduce max random buffer length to 16 bytes.
Guenther
commit 17ddefef8a3dd299fd318a9e3908396beba62cbb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 13:25:28 2010 +0200
s3-docs: try to make "default case" explanation a little clearer.
Guenther
commit 6625aada8174d61f52d6ef22d49edefa15f4a9bb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 12:10:55 2010 +0200
s3-libsmb: move change_trust_account_password out of smbd into libsmb.
Guenther
commit e1c185d07db69827435812227a392e711bc06db0
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 02:07:15 2010 +0200
s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.
Guenther
commit 2a4bd64973252d87b34f90e14872285ed12135ed
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 16:31:46 2010 +0200
s3-winreg: implement _winreg_QueryMultipleValues().
Guenther
commit de0d9e0bff7d39c3f784112bd043095aeaa1042a
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 02:03:27 2010 +0200
s3-winreg: implement _winreg_QueryMultipleValues2().
Guenther
commit 21869f5ed00af5a05f1d109339cd8b725fcc7d61
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 02:02:43 2010 +0200
s3-registry: add reg_querymultiplevalues() to reg_api.
Guenther
commit a329dd02674010e673fbcc7acf369a19befb6738
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 30 17:13:14 2010 +0200
s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.
Guenther
commit 14f8953aa4f000173a051b8010252063db5295c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 11:09:10 2010 +0200
s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/
metze
commit 19d93c6a1e810dbd634f35cf440412c1ff958448
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 30 10:57:37 2010 +0200
s4:ldb/python: make it possible to run tests standalone
metze
commit 45fc7284982f3d6d3f5757f2e7336c878c4a6519
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 30 10:19:07 2010 +0200
libcli: Fixed a build warning for a missing prototype.
commit bf844aed5b6ad6a9a5287ebd9b7da121fa9dd1a8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 30 09:37:08 2010 +0200
s4:auth/session.c - suppress a warning when freeing "group_string"
commit 6abfe8904a1024512c0ea8bb4844e4409e8d994b
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Jun 24 20:48:07 2010 +0300
s4:schema/schema_set.c - free LDB message diffs
Especially the "free"s after "ldb_msg_diff" are very important since the diff
message is allocated on the long-living LDB context.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 2821abee1f85c5d9a191a9880808b7022ac2e0b1
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu Jun 24 20:48:07 2010 +0300
s4:auth/session.c - free "group_string" when not needed
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 32b8b401d6de27caa02a258fd540a208c486d1d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 30 10:20:11 2010 +1000
s4:dsdb Fix possible schema segfaults for DRS-replication based schema
The problem here is that if the schema has been modified on the source
domain, there may be attributes that appear over DRS with 0 values (to
indicate that any existing values on the target should be deleted).
This would confuse the previous version of this macro.
Andrew Bartlett
commit 73fbc9c1791c2391ccb59a2a02df009cbd2fdc7e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 23:35:45 2010 +0200
s4-smbtorture: remove duplicate torture_assert_sid_equal macro.
Guenther
commit cc8d6d99df7f13e5396ec3d8e4943511cbe20cc3
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 23:10:47 2010 +0200
s4-smbtorture: fix incorrect IDL for QueryMultipleValue (aka RVALENT).
Found by torture test.
Guenther
commit 1fb8e192cad7de58586645ca915a8934320bac70
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 21:53:00 2010 +0200
s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.
Guenther
commit f6f21202ebecc82832e10353bdf967cf7920a753
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:ntvfs/ipc/vfs_ipc.c - remove unused code
Spotted by the Solaris 10 compiler
commit 146dad103bac0488f8bacc45dfbb2ea099e852ee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:33:32 2010 +0200
s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10
commit 645c3d200cd015597896d77fd4c22bc01a8b7da3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:33:32 2010 +0200
s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10
commit 95127b3f5f253ce5df6ec27972c456d0859d23c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:rpc_server/browser.c - remove unused code
Spotted by the Solaris 10 compiler
commit 06bafb75965983601f9afd08b70c9f7463d4c5f3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:smb_server/smb2/find.c - remove unused code
Spotted by the Solaris 10 compiler
commit 00f189f78ca5dcaf9917e231ddaef2b4398db0b5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:30:05 2010 +0200
s4:smb_server/blob.c - remove unused code
Spotted by the Solaris 10 compiler
commit 4f029f6f1b443db0762c3bac275415b385c26435
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:23:15 2010 +0200
s4:dsdb/new_partition.c - remove the "ldb_next_request" call which we find also below the "if" block
commit 17a5c876a69156843a8f4acca0e52e08845511fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:21:22 2010 +0200
ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded return value
commit 8e9d7e84f6d4a0cdc4ed6d1a8a20c1fc88cefb76
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:16:15 2010 +0200
ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym"
commit 657045ca9aa4abe11088127a05d697e5ae99a5c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:10:14 2010 +0200
s4:ldb - "ldb_dn_update_components" - fix free of invalid DN parts
Use "LDB_FREE" for such free operations and in addition wipe also the casefolded
DN out.
commit f1e92c91b21b354802b8e342e414d62368820b43
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:07:51 2010 +0200
ldb:ldb_dn.c - "ldb_dn_set_extended_component" - free the linearized string when the components change
commit 0f0d9aa9b5959a12385c2b79d7dd35e9d081033c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 22:04:24 2010 +0200
s4:ldb_dn.c - make the code parts which free extended components consistent
Cosmetic
commit 1e04f49ddbfaa002ba930f2b79883ed3688e1ea8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 21:59:37 2010 +0200
ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation upwards and use "LDB_FREE" for freeing "dn->components"
Mostly cosmetic - no behaviour change
commit be7bff5eb59f903fdf8ea35f4dd330ec4313df76
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 19:57:06 2010 +0200
s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG testsuite.
Guenther
commit 92f3e143b7b89ce25b996d6e68f130bbd7142af5
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:19:28 2010 +0200
s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation test.
When skipping over it, we can at least verify the credential chain.
Guenther
commit 5bc77c8778dda8e688c1eff0167c67fa19b31d75
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:16:25 2010 +0200
s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().
Guenther
commit b31ff0537a22ec35bc457066002709dcfc9d66ae
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 17:13:01 2010 +0200
s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.
Guenther
commit 62e2d4a504e69d4d1038fa158277783dafddefac
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 14:54:43 2010 +0200
s3-utils: remove rpccheck.
Impossible to get this to compile after the conversion to pidl.
Guenther
commit 0e21b4ffa067237ed2c3037216c14a955f339e51
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 14:48:25 2010 +0200
Revert "s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend."
This reverts commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14.
See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
commit 2198831e6b7c112b8f7551fccb25305742636df2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 29 14:52:43 2010 +0200
Revert "s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if not available in the DN."
This reverts commit fa9557fee3ca546878d99b77f1ff37f724c37024.
See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
commit 1662e383dd890d48e0e1207a51d4b3f9fb12ab65
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 12:26:24 2010 +0200
s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.
Guenther
commit 7ae7750c4085b2d95b46fa4433586e9a68d593ae
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 12:14:02 2010 +0200
s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2.
Guenther
commit c02cbaae34bd27826ba13f98fc40a396b0e1530d
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 12:04:56 2010 +0200
winreg: fix winreg_QueryMultipleValues2 IDL.
Guenther
commit bf07bf2857517b0972f47f5e9b46b7bde80c041b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 29 11:40:24 2010 +0200
winreg: fix winreg_QueryMultipleValues() IDL and torture tests.
Guenther
commit ee01fe8c5bd450c82db3f7a7e8c783ac32b0812d
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 10:42:36 2010 +0200
s3-client: Make sure we only write to an opened file.
Found by clang-analyzer.
commit f324036e76abb0b572fb65c4c403e7ede259682a
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 10:34:17 2010 +0200
s3-winbind: Make sure we crash if domain is really not found.
Found by clang-analyzer.
commit eb7bf9d7309914fb2207f822e8017e1c1001de46
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 29 10:07:22 2010 +0200
s3-net: Make sure we don't call free on garbage.
Found by clang-analyzer.
commit 1db7356fa17cb3aeffcf4aff2149eaceaa5a62ea
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 13:20:18 2010 +0200
s3-net: Use talloc_asprintf and return if file is in wrong format.
Found by clang-analyzer.
commit e52f3d8637c7af2f0ea57954c7f13389f5a1e125
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 21:00:30 2010 +0200
s3-librpc: Fixed GUID_from_data_blob() with length of 32.
If we hit the case that the blob length is 32. The code goes to the end
of the function and generates a GUID with garbage.
So try to convert the blob to the GUID and return.
commit 845e7a609d23677539d9439b941e0dffb53f6bc9
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Jun 29 11:46:22 2010 +0300
Fixed incorrect use of cn instead of lDAPDisplayName
commit cc7c572b3d87d2bd16cd7ec939a2d8a81bf36ef9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 21:15:43 2010 +1000
s4:secrets Ensure secrets.ldb uses the same hooks as the rest of Samba
This ensures that, for example, the utf8 functions are the same,
the GUID handler is the same and the NOSYNC flag is applied.
Andrew Bartlett
commit 48c8896f2ede1c441a1448c2e45106a317b64832
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 24 09:42:40 2010 +1000
s4:selftest Split out PKINIT tests from test_kinit.sh and test enc types
This allows us to run the PKINIT tests only against the main DC (for
which the certificates were generated), while testing the available
encryption types in each functional level.
In particular, we need to assert that AES encryption is available in
the 2008 functional level.
Andrew Bartlett
commit d76e4852ebf6ebaaa0e59b481c4b17ac15310aec
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 24 09:40:16 2010 +1000
s4:kdc Rework the 'allowed enc types' calculation
This changes the calculation to apply the allowed enc types to all
uses of the key (no point allowing a weak kinit to a key the server
wanted strongly protected). It also ensures that all the non-DES keys
are available on the krbtgt in particular, even as it does not have a
msds-SupportedEncryptionTypes attributes.
Andrew Bartlett
commit f41e71109744cbacfcbf6b8cf545e1f322d68494
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 24 10:03:29 2010 +1000
s4:auth Query LDB for msds-SupportedEncryptionTypes for the KDC
The KDC needs this to determine what encryption types an entry supports
Andrew Bartlett
commit 5167b97ff2d77ef28c59bb36988835ae421f027b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 28 23:19:16 2010 +1000
s4:kerberos Add functions to convert msDS-SupportedEncryptionTypes
This will allow us to interpret this attibute broadly in Samba.
Andrew Bartlett
commit 9fc3f8194d55c20e1d5404301a0663888c4a0ba5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 28 23:17:28 2010 +1000
s4:libnet_join Fix typo in msDS-SupportedEncryptionTypes
commit 94637e5fe4724261f1cd5f48d8641e82f4b776ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 28 23:14:23 2010 +1000
s4:provision Add an msDS-SupportedEncryptionTypes entry to our DC
This ensures that our DC will use all the available encyption types.
(The KDC reads this entry to determine what the server supports)
Andrew Bartlett
commit 30dc87dab98a864ea640fb1df693b6eb8df6a920
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jun 28 13:40:32 2010 +1000
build: only use git when found by configure
this rebuilds version.h whenever the git version changes, so we always
get the right version with samba -V. That adds about 15s to the build
time on each git commit, which shouldn't be too onerous
commit 3774ba350e6b828512e693b982e0927877cd13eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jun 28 13:39:00 2010 +1000
build: allow LOAD_ENVIRONMENT() to pass when no configure has been run
this returns an empty environment
commit 8cbd36afe84685ee1e289fee11065d3eb0cadc22
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Jun 28 12:07:55 2010 +1000
build: allow always=True/False on SAMBA_GENERATOR()
this allows us to force a rule to always run. Will be used by
samba_version
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1e8876a4f1b49a614bc478ae68b067e8cf6aec62
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 20:46:39 2010 +0300
s4/repl_meta_data: remove duplicated (and commented out) log
commit 12bc68d4d0d62c72c3a2b86a38c20238b6e387d7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 20:43:11 2010 +0300
s4/ndr: Fix tuncating of constant to a 'long' type
commit e6371246ef8a6e0f27880d81ef041e9959b22322
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 23:12:10 2010 +0200
s4:lib/registry/ldb.c - add a missing brace
Sorry didn't check that earlier.
commit ba01b216e23ddae9961f7120792969fc2fe075b1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 21:17:37 2010 +0200
s4:lib/registry/ldb.c - fix memory handling in "ldb_open_key"
commit 094c1034d2fb11e746261ff5b5048cd52fce2938
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 21:15:17 2010 +0200
s4:lib/ldb/registry.c - handle the classname in the right way
This is for "ldb_get_key_info".
commit 2fb3d8a6cc94bd74974a2cc11996a2032774b08c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 20:11:09 2010 +0200
s4:lib/registry/ldb.c - remove really useless "local_ctx"
"mem_ctx" should fit for these few local allocations.
commit 3935502c67edd436134bac0c663ed3d5b593ec32
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:17:16 2010 +0200
s4:lib/registry/ldb.c - retrieve the classname correctly in "ldb_get_subkey_by_id"
commit 77e87e66b0e783cd0717f3fed885fcde629aa434
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:06:39 2010 +0200
s4:lib/registry/ldb.c - change the "ldb_get_value" implementation to use the value cache and not an LDB lookup
In addition this fixes the use of special characters in registry object names.
commit 3549425b30f00adfbee7e2a16f35a17c8e4cd2f8
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Mon Jun 28 13:39:28 2010 -0400
s3: Change exit on immediate socket failure.
This change makes it so socket errors early in the smbd child
process cause orderly exits not coredumps.
Signed-off-by: Jeremy Allison <jra at samba.org>
commit b6eb17eb1eb23461149b6c8cbefc41f5265a77d9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 20:26:16 2010 +0200
s4:auth/sam.c - "authsam_expand_nested_groups" - small performance improvement
We can save one search operation if "only_childs" is false and when we had no
SID passed as extended DN component.
commit a782eaa2fd6f9b7e7b1ebdab0e0b53e4123cca43
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 20:25:47 2010 +0200
s4:auth/sam.c - "authsam_expand_nested_groups" - cosmetic/comments
commit 03ffed73db41e9433ddc41a6fddf79c2a632a043
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 19:57:12 2010 +0200
s4:auth/sam.c - "authsam_expand_nested_groups" - use "dsdb_search_dn" where possible
And always catch LDB errors
commit 5f9a053d6367fe85f0bb4d18eea658411685b1cc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jun 28 20:10:08 2010 +0200
selftest: Remove accidentally committed dummy test.
commit 7cb98a0cdcef27f591357ec63633b50fd9dce29f
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 11:13:03 2010 -0500
s4/spnupdate: Fixed spnupdate to use secrets credentials when accessing SamDB.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 5bee3efacac76fdf8753a7c7cb2845bf6058d088
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 11:18:16 2010 -0500
s4/libcli: Register LDB_CONTROL_REVEAL_INTERNALS and DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID controls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 10:54:37 2010 -0500
s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit fa9557fee3ca546878d99b77f1ff37f724c37024
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jun 28 10:45:04 2010 -0500
s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if not available in the DN.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit ba0ba4e85b6c248cfc8079d6db9b8a22e55f7336
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 16:54:56 2010 +0200
s3: Make some routines static in smbldap
commit 4fc51ad07a1787241a4065d35c0d2783661e3a6a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:25:43 2010 +0200
s4:repl_meta_data LDB module - fix counter type
commit fc2d8fcb83909845e4b4676ba37143dcb778d5ff
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:25:43 2010 +0200
s4:acl LDB module - fix counter type
commit e5c5d371d144847ce1fbb8daa634d6bfbc1af1ac
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:21:56 2010 +0200
s4:dcesrv_drsuapi.c - fix a counter variable
commit 666b611182562ad787d349f3a29c07c61339eee0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:08:19 2010 +0200
s4:selftest - also "rpc.samr.users.privileges" does work now
commit 4826fdf95f68b63e5d35e13f8d033db0d0949587
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 11:05:59 2010 +0200
s4:lsa RPC server - Fix up "dcesrv_lsa_DeleteObject"
- Return always "NT_STATUS_OK" on success
- Remove "talloc_free"s on handles since the frees are automatically performed by
the DCE/RPC server code
commit d01e36e64716d8184eb225e1feb84ab464333139
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 10:45:26 2010 +0200
s4:knownfail - "pwdLastSet" test does work now
commit 560617399745cd04ddbe8ebe02662d631add9a05
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 10:43:11 2010 +0200
s4:torture/rpc/samr.c - test_SetPassword_LastSet - introduce the delays also for s4
commit c0160d0614ad74be275d4008559a45da3d79d2e7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 15:47:14 2010 +0200
s4:torture - SAMR password tests - activate support for password sets on level "18" and "21"
commit b200d8a5ca2d58f5351b6963c864aa52db925f65
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 22 22:11:00 2010 +0200
s4:selftest - activate the lanman password changes
This is needed for a working "OemChangePasswordUser2" operation.
commit d6098de507ed46750ecd8063c075c5b1b2b3d32d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 22:26:31 2010 +0200
s4:dcesrv_samr_SetUserInfo - implement right "pwdLastSet" behaviour
Behaviour as the torture SAMR passwords tests show.
commit 3c1a9fb87fe165485abaa694e9d9616e46c8cf6e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 27 23:13:14 2010 +0200
s4:dcesrv_samr_SetUserInfo - deny operations when "fields_present" is 0
Taken from s3
commit ea83d21341306dfab1f14c9491856a9414a29669
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 14:54:19 2010 +0200
s4:dcesrv_samr_SetUserInfo - port the "SAMR_FIELD_LAST_PWD_CHANGE" check from s3 to s4
commit 4c63bb312fa33f6188e543a62282012edb651bbb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 14:41:27 2010 +0200
s4:dcesrv_samr_SetUserInfo - implement password set level 21
commit b7050267717d7fba0ee4c6bf375e3cc9d2864717
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 14:40:11 2010 +0200
s4:dcesrv_samr_SetUserInfo - implement case 18 which allows to reset the user password
commit 8feda76d4fb4dac680b13e3234925802fb32e7f1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 22:59:11 2010 +0200
s4:OemChangePasswordUser2 - return "NT_STATUS_WRONG_PASSWORD" when we haven't activated the the lanman auth
This is what s3 does.
commit 8f20a5512a91cb9c6e2e50040cd0b61d39521d69
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 21:16:20 2010 +0200
s4:samr_password.c - add a function which sets the password through encrypted password hashes
Used for password sets on "samr_SetUserInfo" level 18 and 21.
commit 427c95327371d42304594cf32ce8726194a286e5
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 14:47:16 2010 +0200
s4-smbtorture: fix typo.
Not my day...
Guenther
commit f2e0ca2662af172868c5a06bd41177cfd8b2aa93
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 28 10:24:28 2010 +0200
s4:torture/rpc/samr.c - test_SetPassword_LastSet - fix "pwdLastSet" test
- Remove superflous checks (on level 18, 24, 26 we do always have "pwdLastSet"
resets if "password_expired" > 0)
- Fixed some bugs
Signed-off-by: Günther Deschner <gd at samba.org>
commit c5bab3ea33ac6815cc08d5db4bc7e5fc175d8ebd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 14:08:30 2010 +0200
s4-smbtorture: add trustDomainPasswords blob test to LOCAL-NDR testsuite.
Our parsing of this struct is incorrect atm. and apparently also causes the s4
server to crash.
Thanks to Sumit Bose <sbose at redhat.com> for providing the auth data retrieved
from a w2k3 domain.msc operation.
Guenther
commit 158504381e8b2a02915212c69ddcd41b95c5cfc3
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 14:04:47 2010 +0200
s3-registry: missed one perflib keyname delimiter.
Guenther
commit 121214df913a2082d2cc3689b322fcd5be60c492
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 14:08:11 2010 +0200
s3: More cleanup in winbindd_ads.c:query_user
We can't ads_msgfree after the ads struct has been killed. Do early returns.
commit 8707be6d7587217a62abdedf2b4294e31c261260
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 13:51:51 2010 +0200
s3: Fix a valgrind error
nss_get_info_cached does not necessarily fill in gid
commit 09a9cc32ee611c20c0e3384c404dd39f615b89ed
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 11:52:26 2010 +0200
s3: Re-arrange winbindd_ads.c:query_user
We can't access the LDAP message after nss_get_info_cached has potentially
destroyed the ads_struct
commit a67080457926baa044265d46b7286737f4f5913a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 11:21:03 2010 +0200
s3: free -> SAFE_FREE
commit c79e0c0ce4a6689a6cd8ded7cb273d17b6be6211
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 11:20:23 2010 +0200
s3: Do an early TALLOC_FREE
commit 658048ecbc417a9632e32f64107f4d31d3dea725
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 13:15:06 2010 +0200
s3-registry: fix printing keyname delimiter.
Guenther
commit 3d24040ac6ffec9d6f59ee4e2468548570ee7241
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 13:14:36 2010 +0200
s3-registry: fix perfmon keyname delimiter.
Guenther
commit 0c579bc3e65388e22f4d4d52c6edcda71cf2cc06
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 12:54:11 2010 +0200
s3-net: Make sure that the data blob is initialized.
Found by clang-analyzer.
commit f8b6ac6a08138b247bb00ec1d238a56c9b2d13c7
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:48:15 2010 +0200
s3-eventlog: Fixed the keyname delimiter for the registry key.
commit 378cd5dc3833c1e1c7d113b3b05b5c41135d6c1e
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:37:28 2010 +0200
s3-registry: Fixed keyname delimiter in KEY_CURRENT_VERSION_NORM.
commit e716924590150faf1b0ec46a64c84d37eef0d526
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:19:18 2010 +0200
s3-smbd: Make sure that status is initialized when used.
Found by clang-analyzer.
commit 6ac050f73f7be0d49003e4c9053826620f5e3c6c
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:16:19 2010 +0200
s3-lanman: Make sure count is not used uninitialized if we jump to out.
Found by clang-analyzer.
commit d11e184ed25e6a89ecfbe24673008d7adf5e770a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:13:24 2010 +0200
s3-vfs: Make sure that retval isn't used uninitialized.
Found by clang-analyzer.
commit ac5600fc7e996bdde23666bc96a834044556c85f
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 11:06:22 2010 +0200
s3-passdb: Make sure dn is initialized and don't free it.
dn is just a pointer to a memory which hasn't been duplicated.
Found by clang-analyzer.
commit 6d89116afe89e29d4e9bd0d69f7032a2b47f4c07
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:58:08 2010 +0200
s3-passdb: Make sure we don't call free on a garbage pointer.
Found by clang-analyzer.
commit 06a1766315e775062ba5277be0f739e735cc3547
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:49:55 2010 +0200
s3-lanman: Make sure that job_info is not undefined.
Found by clang-analyzer.
commit 459a1d58b1b5f90320a843234067654959fab8b1
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:44:58 2010 +0200
s3-nmbd: Leave the sync function if there are no syncs.
Found by clang-analyzer.
commit 34de8a00dd69d8ffba98babf141f484da54a472a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 28 10:33:47 2010 +0200
s3-libsmb: Make sure that finfo is initialized.
Found by clang-analyzer.
commit b6100fa72f2f7e42f49538117846c973e2154b00
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 28 12:51:28 2010 +0200
s3-eventlog: make sure _eventlog_OpenEventLogW fails when we cannot open the registry key.
Guenther
commit c4d5cbbdc52504b950b082b8340e32735d48e92c
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 28 12:26:17 2010 +0200
s3: Fix some valgrind errors
Essentially the same change as 15297ee, this time for the client side.
Günther, Andrew B, please check!
Thanks,
Volker
commit a81b97ff340e021c3d2a7ddfe44ec09cc2b9f0d5
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 10:03:50 2010 +0200
s3-passdb: Make sure that we don't assign garbage.
commit dc2e41a16ab5c203d73bfc6e9f368820221ee3ea
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 10:00:39 2010 +0200
librpc: Use switch in GUID_from_data_blob().
commit b46eccfb1983c3107bcce2b8b5689e37cf3ec55f
Author: Andreas Schneider <asn at samba.org>
Date: Mon Jun 7 09:30:29 2010 +0200
nss_wrapper: Fixed a possible NULL pointer problem.
commit bdfba236e9aebd6c277851efdb7ee57620810282
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 28 09:57:33 2010 +0200
s4:ldap_server: don't start if we can't bind to port 389
metze
commit 5a18fc2b2a520977440e301d816bdf11ac966bc2
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jun 28 10:34:14 2010 +0300
Implementation of self membership validated right.
When this right is granted, the user can add or remove themselves from a group even
if they dont have write property right.
commit a0bb31df5d48ddd346728971ff4e0506b8304d9a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 04:37:37 2010 +0300
s4/test: Run DrsDeleteObjectTestCase as part of S4 testing
I put this test in the end of the list of tests as it
runs with 'vampire_dc' environment running.
Currently there are tests that are failing when we have
2 DCs constantly replicating in the test environment
(this, of course, should be fixed in the near future)
commit 431386f3278bfa6fa9b74db9a8a40fd300621c2b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 04:33:40 2010 +0300
s4/drs: re-implement 'renaming' object replication
We should rename objects only after we make sure, that
changes on the partner DC are newer than what we have.
This fixes a bug, when we have following situation with 2 DCs:
- we have an object O on the two DCs
- we rename (delete) object O on DC1
- DC1 replicates from DC2
In the above scenario, object O will be renamed back
to its original name (i.e. it will be restored).
Now, we check that DC2 state is older than what we have,
so nothing happens with object's DN.
commit 46556432c067bfd651e79ecd370ff3d18ae83bd7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 28 04:27:27 2010 +0300
s4/drs-test: Add few comments in DrsDeleteObjectTestCase test
Also remove unused code
commit 6f6365daba99c03788fc33a226467964825578db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:58:45 2010 +0200
s4:rpc_server/srvsvc/dcesrv_srvsvc.c - remove unreachable code
commit f12dab8e00026a381296b6f5fbf5bac98af49627
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:58:45 2010 +0200
s4:rpc_server/wkssvc/dcesrv_wkssvc.c - remove unreachable code
commit 3c3ecf40e5bb0f81b8c0aa094384d7c3ee0e48bd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:58:45 2010 +0200
s4:rpc_server/lsa/dcesrv_lsa.c - remove unreachable code
commit d85d6054c98b4c164075e19175ac64e1b6f9acab
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:55:07 2010 +0200
s4:lsa/lsa_lookup.c - use a better type for the "rtype" of the wellknown SIDs
To suppress warnings on Solaris 10
commit 3f2e9ce2b40f67de8ef8488551b72f90fbc06315
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:45:45 2010 +0200
s4:rpc_server/drsuapi/drsutil.c - remove unreachable code
commit e5e4184e5a599c07e3814a3e7913a5caadd8c5f6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:45:45 2010 +0200
s4:rpc_server/dcesrv_auth.c - remove unreachable code
commit 75d6842c4087cd9f204b8beafaa88f1fac7cf999
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:43:51 2010 +0200
s4:winbind/wb_samba3_protocol.c - add cast to suppress warnings on Solaris 10 cc
commit 0c29224da36e06aa5b395496ca1050be3f4e8df2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:43:51 2010 +0200
s4:kdc/kdc.c - add cast to suppress warnings on Solaris 10 cc
commit c8a5ed8db9a765434db3d5e6037f4acfa33fd0e6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 19:42:29 2010 +0200
s4:kdc/kpasswdd.c - remove unreachable code
commit c7b52b233e265dd7990dce0f6113aaee5b01ac4f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 26 11:10:55 2010 +0200
s4:provision.py - fix comment regarding DNS entries
I think this should mean partially Samba4 specified (all beside the "dns"
account is standard)
commit 50da834f136e4ed2f1bd29b0e1b12c941f933c7c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 15:10:32 2010 +0200
s4:provision: add entries for root dns servers
metze
commit 6ab234cec9e1ed13ffd5d2d117417f7dd71c44f1
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 13:32:39 2010 +0200
s4:provision: move Samba4 specific DNS stuff to its own file
metze
commit c6b21931c6574322c8740f1a67f9125437c42c0d
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 14:01:21 2010 +0200
s4:provision: add --next-rid option
Make it possible to provision a domain with a given next rid counter.
This will be useful for upgrades, where we want to import users
with already given SIDs.
metze
commit 7905901bc018ec91c69368dedd906c1cf89103f3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 12:47:34 2010 +0200
s4:dsdb/ridalloc: add comment about windows behavior regarding rIDUsedPool
metze
commit 712a149802e9613f105861e838a29bb226e62e02
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 11:11:56 2010 +0200
s4:provision: don't use hardcoded values for 'nextRid' and 'rIDAvailablePool'
On Windows dcpromo imports nextRid from the local SAM,
which means it's not hardcoded to 1000.
The initlal rIDAvailablePool starts at nextRid + 100.
I also found that the RID Set of the local dc
should be created via provision and not at runtime,
when the first rid is needed.
(Tested with dcpromo on w2k8r2, while disabling the DNS
check box).
After provision we should have this (assuming nextRid=1000):
rIDAllocationPool: 1100-1599
rIDPrevAllocationPool: 1100-1599
rIDUsedPool: 0
rIDNextRID: 1100
rIDAvailablePool: 1600-1073741823
Because provision sets rIDNextRid=1100, the first created account
(typically DNS related accounts) will get 1101 as rid!
metze
commit 89f94a43d89c9c0238f7b1d3d294175f8482adf9
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jun 25 12:27:27 2010 +0200
s4:provision: pass relax control also to modify_ldif
metze
commit 2f7fe9db023022c03e104dcc43a39f20bf5c804b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 15:56:35 2010 +0300
s4/net-drs: Fix error messages typo and formatting
commit 0c8ffc9f15bddeeee66b3a6971691aadf76b245e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 14:56:03 2010 +0300
s4/drs-test: Fix whitespaces and permissions for delete_object.py test
Sorry I've missed to do this before
commit e40afe975accd8199ffe54ea9f3c4dedd02edb02
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 21:51:23 2010 +0200
Move UCS2 macros to common code
commit afc6d2f46d6aed07f828ef2f0aa6b62250468132
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 25 13:29:00 2010 -0700
Don't use frame as the talloc ctx in open_schannel_session_store(), as this breaks running from inetd
(we free frame below). Use NULL instead.
Jeremy.
commit 86be54ec61153d6ecd6967fa0f8c65880bbb088c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 25 12:02:08 2010 -0700
Change talloc_autofree_context() to frame in Andrew's schannel.tdb TDB_CLEAR_IF_FIRST
changes. Using talloc_autofree_context() has undesirable effects when forked
subprocesses exit.
Jeremy.
commit c84b74dddd6c74ad28597f069a43a0a3d334b04a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:37:13 2010 +1000
schannel Change to TDB_CLEAR_IF_FIRST to reduce fsync()
By making this DB TDB_NOSYNC, and by making that safe with
TDB_CLEAR_IF_FIRST, we greatly reduce the fsync() load on the server.
This particularly helps the source4/ 'make test', which otherwise tries
to disable fsync() in ldb.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra at samba.org>
commit cfece164981142168aa6c846c7433f0459fb6de7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:36:32 2010 +1000
s3:schannel Open the schannel_state.tdb at startup
This will allow future TDB_CLEAR_IF_FIRST behaviour
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 58d0b638c802241655b205b1974e48f477c2eaeb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:33:15 2010 +1000
s4:schannel Open the schannel_store.tdb at startup
This will allow TDB_CLEAR_IF_FIRST behaviour in future
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 825b2f456c136b33d139ee76e58426437bce65b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:31:50 2010 +1000
libcli/auth make open_schannel_session_store() public
This will allow TDB_CLEAR_IF_FIRST to be used
Signed-off-by: Jeremy Allison <jra at samba.org>
commit 6d973607c3bfec6d82347727b1bf800348c74202
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:13:06 2010 +0200
s3:registry: use regdb_store_regdb_version() in regdb_init().
commit 2f44dcc96b5a02379995c8ba6270ff8d89e56953
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:12:28 2010 +0200
s3:registry: use regdb_store_regdb_version() in regdb_upgrade_v1_to_v2()
commit 5641ee02fdbd768b90ca8de43ce2f14b007e4245
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:11:35 2010 +0200
s3:registry: add a function regdb_store_regdb_version()
commit a9bec6b779edd2feead5fae5cb25cf1f862eaaf2
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 18:04:52 2010 +0200
s3:registry: rename regdb_upgrade_to_version_2() -> regdb_upgrade_v1_to_v2()
commit 36b95fee152d348926fad1bcdc9f05312bb2aad5
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 17:26:34 2010 +0200
s3:net [rpc] registry: be as user-friendly as possible wrt to the normalization change
The registry has been changed to use '\' as a key delimiter instead of '/'.
Originally, one could mix both characters in the specification of registry
key for net [rpc] registry. Now this can not work any more, since '/' is
generally treated as a valid character of a key name.
Now, to be as user-friendly as possible, the net [rpc] registry code has
been changed to still support '/' as a key name delimiter if no '\' character
is found in the given registry path string. In that case, all '/' characters
are converted to '\' characters before proceeding. If on the other hand,
a '\' character is found in the path string, then no conversion is assumed,
and it is hence assumed that the path is already in the correct form and
'/' characters are supposed to be part of the key names.
commit 8e4f8128234f0015c9d63bb18821487bb3e7b06e
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 14:34:04 2010 +0200
s3:registry: improve logic of upgrade code in regdb_init()
Don't overwrite unknown versions (0 or > 2) of the registry.
commit 3703b79b11eecf3d8f2232b400bb8a2dd5b55876
Author: Michael Adam <obnox at samba.org>
Date: Fri Jun 25 12:32:22 2010 +0200
s3:registry: fix some debug messages in regdb_ini()
commit 15bacaf3c594ac24cf26b0329723e873a5cae43d
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 24 16:33:37 2010 +0200
s3-registry: Convert registry key delimiter from slash to backslash.
This is needed to support keynames containing a '/' like TCP/IP. Which
is used in serveral standard paths.
Signed-off-by: Michael Adam <obnox at samba.org>
commit f540833632ffe2c743e90ef9df1627e69b7a0c7b
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 24 15:26:04 2010 +0200
s3-registry: Added a db upgrade function to normalize the key delimiter.
This converts the key delimiter from a slash to a blackslash. We need to
support keynames with a backslash.
Signed-off-by: Michael Adam <obnox at samba.org>
commit 175d9478fea24812046299be6a0224bdc699feb9
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 17:06:00 2010 +0200
s3: In make_server_info_info3, check the result of copy_netr_SamInfo3
commit 17cd3d06cb00db9a94375e00aa42832e25c05726
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 16:56:38 2010 +0200
s3: In copy_netr_SamInfo3 copy all of the sids array
commit 7cf04431594e09043b3b53144fc8511d20b088ee
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jun 25 11:47:30 2010 +0200
s3: Fix a winbind crash
nss_get_info_cached might deep inside sequence_number() invalidate the
ads_struct without telling its callers.
commit a9523f17ea2cd85a130e081f3a89cffbee1fdc06
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 22 15:59:44 2010 +0200
s3: Fix a winbind crash
nss_get_info_cached might have invalidated "ads" deep inside.
commit 5c98ccd70601c475f3bcb34e6a233069c9f542f6
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 00:58:48 2010 +0400
s4 python: Add unit tests related to PyLong/PyInt handling
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3fc9675e93c3bfb3381b06bce3d2b130952e9026
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 22 19:57:22 2010 +0400
ldb: Fix a wrong changetype in unit test
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 7703b89ae57d76a3246db7489c77c9de848ea832
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 21 10:48:58 2010 +0400
pidl: Finish to fix the python generated code for 64bit integers
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 0802f354ea837b8884c861d6d98f20aa746e4445
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 02:40:37 2010 +0200
smbtorture: Fix loading of --load-list.
commit 653b30f91f7f9e13f16d5d6134adaa04b0675257
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 02:35:29 2010 +0200
selftest: Clarify generation of idlist option.
commit 408a3aa3085e783523ed80bb328a3c65159900ab
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:06:11 2010 +0200
s4:lib/registry/ldb.c - cosmetic - fix comment
commit 14386e6ec50b55039be6a719a17b185e651ee025
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 16:05:31 2010 +0200
s4:lib/registry/ldb.c - cosmetic - wrap lines
commit 92cfc632871e742dedf26ebd43ac789ebed0860c
Author: Michael Wood <esiotrot at gmail.com>
Date: Fri Jun 25 08:46:13 2010 +0200
s4 upgradeprovision: Try to support older Pythons.
Use "...".split(sep, 1) instead of "...".partition(sep).
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 163ed44903fd6d9bf3047d0987bcbb8f0a28e7e2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 04:34:42 2010 +0300
s4/drs: DsReplicaSync should search partition to Sync
by any valid DSName attribute given, be it - partition DN,
partition GUID or partition SID
commit e40635c48d4b5853cbf463455e2ec90178375100
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 04:31:41 2010 +0300
s4/utils: fix few 'net drs replicate' error messages
mainly for the output to be more informative
commit 0dd6a759ed41960500e0869bfe96d93b2d11f50a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 25 04:30:21 2010 +0300
s4/drs-test: Tests Deleted objects replication
Tests how deleted objects are replicated between two DCs.
Currently the test exploits following vulnerabilities:
- DsReplicaSync is not correctly implemented
- a 'deleted object' is restored (kind of) in case DC1 replicates
from DC2 before the 'deleted object' is replicated
commit e0aa54d0ed25a55fd6b4f5d08644d37981572fdd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 01:21:14 2010 +0200
selftest: Store the output of the last test run in st/subunit.
If a testrepository repository is present, add the test output when it
has completed.
commit 700fcfbc63c4b20fcb35dc3c7ef50ed20117cf74
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 25 00:16:18 2010 +0200
pidl/python: Make sure to always increment reference counter when using
Py_None.
commit 4a75cb9cd5dfdd347803d03acbc0533c2e7e89cc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 24 23:17:51 2010 +0200
pidl/python: Increment reference counter on Py_None to prevent us from
accidentally deallocating it.
commit 7e49a58ab9a66a709ee2a15d40db7c59bf55cbac
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Jun 22 10:42:20 2010 -0700
s4 torture: Warn on NOT_IMPLEMENTED in addition to NOT_SUPPORTED for RAW-QFILEINFO
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 2a0340baa35163d04537b0606f58ab77a1d39108
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 24 15:32:46 2010 +0200
s3:registry: remove unused function normalize_dbkey()
commit 5cac4e648c635f4f3a46a5878827414a2cb80366
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 24 15:31:06 2010 +0200
s3:registry: use normalize_reg_path() in regdb_set_secdesc()
instead of normalize_dbkey
commit 4c948251d97bea9429d3fa24f98814ac57f4d525
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 24 15:30:31 2010 +0200
s3:registry: use normalize_reg_path() in regdb_get_secdesc()
instead of normalize_dbkey.
commit 8ad01613f673a123304da889e6fed4909c619309
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 15:11:25 2010 +0200
Revert "s4:provision.ldif - fix the number of available RIDs"
This reverts commit 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a.
As per request of metze revert this (cause written on the mailing list).
commit 0f455362797308ccef7976d81317d6175bc59ea5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 11:05:41 2010 +0200
s4:auth/gensec/gensec_gssapi.c - reorder constructor
To have the same order as in the structure definition.
commit 0be1820718202bd73a0e756c35a9b21edbbc563b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jun 24 16:03:02 2010 +1000
s4-ldb: use CHECK_XSLTPROC_MANPAGES()
commit f6e46ee0fba25efecb78412a61270d7e70bb6f7d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jun 24 16:02:43 2010 +1000
build: check if the manpages stylesheet is available locally
this avoids trying to fetch the stylesheet from the internet. If we
can't process the stylesheet with --nonet at configure time then don't
build manpages.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 4cb423f52737d980132709fe63bc3194b9307880
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jun 24 14:33:58 2010 +1000
s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 41cdcd54b7b7e3fb70fdb220e74a1daf30e1891a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:35:58 2010 +0200
s4:provision.ldif - fix the number of available RIDs
There should be 4611686014132422209 and not 4611686014132422109.
commit fec489bd8706a7dbb84589ff7f5da08550d86e78
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:23:32 2010 +0200
s4:provision.ldif - this Win2003 revision level seems always to be "9" on Windows Server 2008 machines
commit 64e19ef9fb85d31f9428a6714ce485de2704734b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:14:24 2010 +0200
s4:provision_users.ldif - change a group description to be correct
commit 560620a53df66ddbaa273afc9db796fc7562b53d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 24 09:06:49 2010 +0200
s4:upgradeprovision - fix include order for "ldb"
Patch originally posted on the list by Matthieu Patou.
commit e228b67e56ab63414055e64455a97ea0643803e2
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Jun 23 07:26:25 2010 -0500
s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names into local names as defined in simple_ldap_map.c.
commit e88f37daa068f7effe6f11b8ff8aeb79316e6632
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 21:13:27 2010 +0100
s4:setup/provision.reg - raise version to Windows Server 2008 R2
commit b172b7f467e3c2968ec154fab38399b29ad63d9b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 23 17:30:10 2010 +0200
s4:libnet_join.c - always use LDB constants
commit f34db12d7f4a61757277d40153877338c4c9b55a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 23 13:25:15 2010 -0700
Add parse_setjob_command() to make setting job state easier for users.
Jeremy.
commit ba40f3828180ba63debb4b3578c0e0faf16f6cbc
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 15:00:06 2010 +0200
s4-smbtorture: test more valid key names in RPC-WINREG.
Guenther
commit 2dc50ec44c4e9af144733f028122970be83332ba
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 14:59:27 2010 +0200
s4-smbtorture: more work on test values WINREG test.
Guenther
commit 740c97b513dfb43342eda700362f4b59de5d5b83
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Wed Jun 23 10:05:50 2010 +0100
Fix to undo nasty hack for for grouptype conversion
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c5d07d2a1a85f8ebc023d5647752ca36210bbe2b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 23 10:09:02 2010 +0200
Per Andrews request, revert
"heimdal/waf: Initial work on making it possible to use the system"
as the hdb_check_s4u2self function handling is incorrect.
This reverts commit b099631f428d0ecc641d59bd3c94674e6348dde9.
commit 714c926cf04c837902fdcfa097c51429f31ee581
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 12:09:35 2010 +0200
s4-smbtorture: add test for different winreg SetValue value names.
Guenther
commit ff5ace20a26f90179b63fe4730b7d81b77cca3fe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 13:50:55 2010 +1000
s4:selftest Fix up netbios names for rpc_echo test
commit aba99e4464af8d74de01d45ecc0dda69fbd23fec
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 10:24:14 2010 +1000
s4:selftest For the moment the server role '2008_R2' is case sensitive
commit 58a7b9af3f139df70feeefe6d6875935e1eea832
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 23 09:53:20 2010 +1000
s4:selftest Change netbios aliases to shorter names.
This makes the netbios names more sensible, and the aliases shorter.
(the name localfl2008rc2dc7 was too long...)
Andrew Bartlett
commit 1acd49c524f40d27e1bef09e1dcc572863894b01
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 22:17:40 2010 +1000
s4:selftest Add 2003 and 2008R2 test environments and tests
These tests were chosen particularly because they are known to test things
that vary across the functional levels.
Andrew Bartlett
commit 86ed5eb8923e477f3336cbf4a0bedb69b2f3c288
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 21:41:49 2010 +1000
s4:net Remove warnings for 2000 native mode and Samba4.
We now support 2000 native mode, and so we just need to warn about mixed mode.
Andrew Bartlett
commit d0f52ddac23a0b1af3718627af00469ae13ab762
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 21:40:15 2010 +1000
s4:provision Raise default max functional level to 2008R2
We don't support many of the extra features, but that applies across many
other parts of AD. Allow the admin to join a 2008R2 domain if he or she wants.
This also makes it possible to test 2008R2 domain code in 'make test'
Andrew Bartlett
commit b26125b7d3242895038065ddece32554436ba474
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 23:18:53 2010 +1000
s4:provision Remove am_rodc from Schema
The SamDB created in the schema code isn't real enough to care if it's an
rodc or not.
commit ebc2da10cdd63e5151f9b1138f9da91b408830c9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 21:20:27 2010 +1000
s4:libnet When joining a domain, update msDS-SupportedEncryptionTypes
We need this for our DC to have clients use AES keys to us
commit c4482bf53e26c43edccb0871fa5525a590a1026c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 21 20:19:02 2010 +1000
libds:common Remove DS_DC_* domain functionality flags
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set.
Andrew Bartlett
commit 80701e5f29567e4ad75a66eb6c8711f817b361b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jun 13 13:19:23 2010 +1000
s4:kdc Use msDS-SupportedEncTypes in our KDC
We need to honour this, otherwise we will send AES-encrypted tickets
to unprepared Kerberos targets.
Andrew Bartlett
commit 06ed6667bece67de768f07f0381e551be2c742a9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 23 10:59:55 2010 +0200
doc: Remove the documentation of the sequence command of wbinfo.
The command is deprecated, see --online-status.
commit 790d01cb2e9c04d0111b7a8c952596c496e69b38
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 23 10:58:37 2010 +0200
wbinfo: Document the deprecated sequence option correctly.
I didn't find a way in popt to hide it.
commit 7f8b3a26ecb657bb3c818f2b295648a56c093788
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 23 10:47:01 2010 +0200
s4-smbtorture: Fix test_SetPrinterDataEx_keys and test_SetPrinterDataEx_values.
We want to continue, not to skip here.
Guenther
commit 26a95463a614035a16192af157df874fd5554d13
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 23 09:53:23 2010 +0200
s4:operational LDB module - fix a misleading comment
commit eff7d2db312ba7e811ffc8985d6122fc852a39b5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 22:19:21 2010 +0200
s4:samr RPC server - make use of LDB constants in macros
commit 0e637be43b584aef9f5101d15ae5bdc1172c5502
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 19:40:50 2010 +0200
s4:password_hash LDB module - fix another problem regarding the lanman hash
When a user only provides only the lanman hash (and nothing else) and the
lanman authentication is deactivated then we end in an account with no
password attribute at all! Lock this down.
commit 37264e5917cace1582f41d6029a857fd4059eff6
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 22 12:19:05 2010 -0700
Fix bug 7528 - Solaris with NIS autohome.
Ensure entries containing "\n" are stripped.
Jeremy.
commit 1e897f656104f29769b204dc443f1684395d8173
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 15:45:45 2010 +0200
s4-smbtorture: add "printerdata_values" test to RPC-SPOOLSS-PRINTER.
Guenther
commit 13ede2bf7a75b2b52132954684f23ad5a89a83a1
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 15:25:01 2010 +0200
s4-smbtorture: also test keynames with '/' in it in SetPrinterDataEx keyname tests.
Guenther
commit e439b6cb8ceb01d930bd8ec2d7b9c79ebca5647e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 15:22:03 2010 +0200
s4-smbtorture: activate all keys in SetPrinterData keys test.
(just skip some of them still against s3).
Guenther
commit c31ffaf5872292c610394406cf8e8ce61d8439c5
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 22 14:55:20 2010 +0200
s4-smbtorture: split out a "printerdata_keys" test for RPC-SPOOLSS-PRINTER.
This separates key and value tests for SetPrinterDataEx and GetPrinterDataEx
(and also speeds up the whole testsuite).
Guenther
commit df96f18e8ff3400d1bb7e9743498936ad32ee005
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 10:02:38 2010 +0200
testprogs/win32: add prepare_dcpromo tool
This tool can set the DOMAIN-SID and nextRid counter in
the local SAM on windows servers (tested with w2k8r2)
dcpromo will use this values for the ad domain it creates.
This might be useful for upgrades from a Samba3 domain.
metze
commit efe65cd7b707c3ba5b321016829da431d6905415
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 22 04:42:15 2010 +0300
s4/dsdb-test: fix usage comment
commit acebfcb93897657a28f0a4588a19abcf5356ebcf
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 22 04:41:49 2010 +0300
s4/test: fix DC password in selftest-vars.sh
commit c668b21cd6460e3baa12f8ef0375a58ee6b2d1d2
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Thu Jan 21 18:18:03 2010 +0000
s4 torture: RAW-SFILEINFO display warning instead of error on unsupported info level
Also add a test to make sure setting the directory attribute is
disallowed.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit f5709975c1671dc23471a81b2a6523138d98a74b
Author: James Peach <jpeach at samba.org>
Date: Mon Jun 21 14:11:58 2010 -0700
smbtorture: Fix missing includes.
commit 32f82fbec0a4dab0c3679dae6951535c2e1ca396
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 21 11:24:18 2010 +0400
s4 upgradeprovision: fix the logging stuff so that it actually log
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 15297eea0e6b1e95ddb9e2ccd25ff454a405c351
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 22:20:10 2010 +0200
s3: Fix some valgrind errors
With -d 10, there were a ton of uninitialized variables: The "NegotiateFlags"
in the automatically parsed ntlmssp structures were not initialized.
This also cleans up the talloc use a bit: do early TALLOC_FREE()
Günther, please check!
Thanks,
Volker
commit 6227eac607131ed1042af1de83af7f70d0b05375
Author: James Peach <jpeach at samba.org>
Date: Mon Jun 21 11:09:45 2010 -0700
smbtorture: Fixx off-by-one command line parsing.
If we are not in shell mode we require both the target and test name
arguments. Make sure we process these from the correct index.
commit 0fc18ead76a79286365646eeb7607b39b01a1c9f
Author: James Peach <jpeach at samba.org>
Date: Mon Mar 22 21:55:49 2010 -0700
smbtorture: Add "target" command to interactive shell.
Add a "target" command to set the target server to test. Refactor
the command line argument processing a little so that you can run
--shell without any additional arguments.
commit 7a25e2efe9360b333fedc3fb938774437703700e
Author: James Peach <jpeach at samba.org>
Date: Sun Mar 21 22:04:37 2010 -0700
smbtorture: Enhance shell "help" command.
Sort the command list alphabetically. Let the help command print
usage info for other commands.
commit bf35aa86038aa5bbf06bf73eb58cfa6fa1eae904
Author: James Peach <jpeach at samba.org>
Date: Sun Mar 21 21:56:05 2010 -0700
smbtorture: Add "auth" command to the shell.
Add a new "auth" command to set the cmdline credentials from withing
the smbtorture shell.
commit 3f398ec36d6b733c92682f5eb03eeacb047e582f
Author: James Peach <jpeach at samba.org>
Date: Fri Mar 19 22:04:08 2010 -0700
smbtorture: Refactor interactive shell into independent commands.
Refactor the smbtorture interactive shell into a set of independent
command callbacks to make it easier to add more independent commands.
commit 9f697903556529bb4fedd73d027c317e56f6bf21
Author: James Peach <jpeach at samba.org>
Date: Fri Mar 19 21:24:15 2010 -0700
smbtorture: Move interactive shell into a separate file.
commit a5e14bded48ac53e21307eda1c9767be64b39a17
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 21:59:35 2010 -0700
smbtorture: Print global options for interactive "list" command.
commit 12e15b0ac800a84d553ff82c4c61ccc8da9fd5fd
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 21:25:17 2010 -0700
smbtorture: Add history support to shell mode.
commit 6f96293406bfaff35e7588d0624842de145ff249
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 21:14:47 2010 -0700
smbtorture: Add list command to smbtorture shell.
commit acf54c37a81b9c593220a0de5aa1b82a3bd05e24
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 16:13:14 2010 +0200
s3-winbind: Make KRB5_EVENT_REFRESH_TIME a function
commit eb3ee7801fec0e06561732aca6012f8a8b4c24ff
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 21 16:20:25 2010 +0200
libcli/named_pipe_auth: fix error handling in _tstream_npa_connect_recv()
metze
commit 67a24fe9333836e4d33c167ea01f2efdc005bacd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jun 21 16:13:14 2010 +0200
libcli/named_pipe_auth: fix memory handling for temporary data
In a tevent_req based function tevent_req_create() should be the first
function! If it fails it's the only reason, why the function
could every return NULL.
And all temporary data belongs to 'state' and gets free'ed by
tevent_req_received() in the _recv function.
metze
commit e9e80a36e461a0d07cdc9d1be27e60624133b096
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:47:38 2010 +0200
tldap: Fix a type-punned warning
commit 4b64555d759c85d8ce471a28f9a4b9210fae59d5
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:42:58 2010 +0200
tsocket: Fix some type-punned warnings
commit 8af446be78211a3471af60ef0173cdda3e6f61bc
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:41:56 2010 +0200
s3: Fix some enum/int mixup warnings
commit dee72d807f8e2f5fef83dbd409554eddefc9bd6f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:39:54 2010 +0200
s3: Remove an unreachable line of code
commit c0ed0bca59dc1dc0c614641c2e54933fbc4f64da
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 21 08:38:51 2010 +0200
s3: Fix a type-punned warning
commit b784c20df8fcafc3a5c66f847b1af58b77eeb42b
Author: Michael Adam <obnox at samba.org>
Date: Mon Jun 21 12:32:57 2010 +0200
s3:net rpc registry: make getsd succeed when key sd only gives access to SD not key contents
You don't need the REG_KEY_READ permissions to access the SD of a key.
And for instance, the key HKLM\security ususally has no specific bits
set for builtin\administrators, but the READ_CONTROL_ACCESS.
I.e. builtin\administrators can get the sd but not enumerate the key.
commit e78f2b2e1eebed6950c5c99954d57bfb59c48a11
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 21:28:54 2010 +0200
s3:fix an outdated comment.
commit 3f99ff104a210bd307818746da922408f151cd18
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 17 20:50:36 2010 +0200
s3:idmap_ldap: remove unreached code (and explicit error return code)
commit 276a1a7fec1432bde870448f247ef710554c3ab8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 12:33:57 2010 +0200
s3/s4 - remove "talloc_tos()" from common code since s4 doesn't support it
Please don't use this in common code parts until we change the policy regarding
it.
commit c38f94ed9b68f53721421c91f74a8bd1f30efd4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 21 11:02:45 2010 +0200
s4:dsdb_load_partition_usn - free the right memory context (tmp_ctx)
commit 2352538362977e456e8d05783f2732ff650cea41
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jun 21 10:30:25 2010 +0200
s3-docs: Add missing whitespace.
Karolin
commit 3aa8853f58b32c5430cd03164a0c2bc26c1b04c0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Jun 20 23:31:43 2010 +0300
s4/dsdb: msg_idx->dn should be allocated in msg_idx mem context
commit cc7e2c10f2b944fd7eac4ff11e9d48fac0043030
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Jun 19 12:30:36 2010 +0300
s4/dsdb: Move schema accessors cleanup in separate function
This way dsdb_setup_sorted_accessors() will
free memory allocated for accessor arrays correctly
in case of failure,
commit 267645ca55f7825e87a098c9dc51f132aac1f452
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Jun 19 00:00:08 2010 +0300
s4/dsdb-schema: Index attributes on msDS-IntId value
O(n) search for dsdb_attribute by msDS-IntId value was
replaced by binary-search in ordered index.
I've choosen the approach of separate index on msDS-IntId values
as I think it is more clear what we are searching for.
And it should little bit faster as we can clearly determine
in which index to perform the search based on ATTID value -
ATTIDs based on prefixMap and ATTIDs based on msDS-IntId
are in separate ranges.
Other way to implement this index was to merge msDS-IntId values
in attributeID_id index.
This led me to a shorted but not so obvious implementation.
commit ecbe9a74c6757415720657fbd3ba207989b47848
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:17:33 2010 +0200
s4:kdc/db-glue.c - remove unreachable code
Would be nice if someone could check if this fits.
commit 05f31c3f6d790f650c2b449c4726521464911777
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:14:27 2010 +0200
s4:registry/regf.c - add some casts to suppress build warnings on Solaris
commit 2adfe4730362220afe3874b750e71c6e006b310a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:06:51 2010 +0200
s4:registry/rpc.c - fix Solaris warnings by casts
commit 2f49c8f58e213e4b8b3f60bb6e02dfc833bb27f3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:03:45 2010 +0200
s4:samr RPC server - fix Solaris build warning
commit 871cdec4141e29f377b11fa7a5c177ac7e2dae80
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 21:54:50 2010 +0200
s4:registry RPC server - quite some build warnings on Solaris
commit 82fd4837589bbf5918e672669ed30ad300bf3a4a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 21:49:52 2010 +0200
s4:lsa_lookup.c - fix type argument
commit 0bf26edf6c466bfffa87c47b0acb64cc6f4544f7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 21:46:53 2010 +0200
s4:rpc_server/service_rpc.c - fix warnings on Solaris
commit c972e6ec233fc2023b33da0d707ae035f85faba2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 22:32:04 2010 +0200
s4:rpc_server/service_rpc.c - deactivate the 0-length struct
This should fix the build on Solaris
commit 58715dd3652ba53fa85cb5457be5d8c607b3d798
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 20:34:48 2010 +0200
s4:libpolicy - fix printf output specifiers to suppress warning
commit 26bcbf6e3542fb350045888473a6e25d661ff6fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 20:23:56 2010 +0200
s4:libpolicy - Solaris compatibility fix
commit 91c49c2fb29a188db24695a78b365aeb4f51db27
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 17:36:43 2010 +0200
s4:ldap.py - test subtree deletes through a new testcase
commit 449370db545f189449dbce75fd73271caf5ab187
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 15:13:36 2010 +0200
s4:ldap_backend.c - now also the LDAP server supports controls on delete operations
commit 9803c89ee28b4b4d6e4514b362aa60adb7f93366
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 15:09:55 2010 +0200
s4:ldap_backend.c - move function "ldb_mod_req_with_controls" to a better place in the code
Under the "add" and over the "delete" function.
commit fbd09029581d2f9b6c6f0c2410d768d501f4b75c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:49:04 2010 +0200
s4:subtree_delete LDB module - now do support tree delete operations
commit 87d0f636320b3b6818c1703d99b94648f00d0af7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:43:49 2010 +0200
s4:dsdb - add a new dsdb delete function which understands the tree delete control
commit ad5e19f29e3d716579607e706b42a4e7d2ed11c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:19:31 2010 +0200
ldb:controls - add the "TREE_DELETE" control for allowing subtree deletes
commit 065579b4c6a05de7fd867dbe0eb736b86a6bc5f7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 12:08:50 2010 +0200
ldb:ldb.h - add classifications to the control declarations
This makes it easier to understand which standard specifies which control.
commit e062e7300bd2993b4a5d641ce3128f9c461f6328
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 13:03:59 2010 +0200
s4:python LDB __init__.py - remove completely unused "erase_partitions" call
Seems to be a relict from the past.
commit 2fb715b484d1eec3fadbdf3dc79d0fc88f01af52
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 11:46:55 2010 +0200
s4:samldb LDB module - remove "samldb_set_defaultObjectCategory"
As far as I can tell and the test show the DN gets now normalised automatically
when stored into the database.
Anyway, if we find a case where this doesn't happen then I propose to do it
centrally for all DN attributes in common since we should get away from special
attribute hacks as far as possible.
commit c8d2c5fff017a42ffb75aeaabfa19b8503b9e7af
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 15:33:29 2010 +0200
s4:ldap_backend.c - add some newlines to make logs easier to read
commit d7ad7eed24108491bb86271f39ef233826f41352
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 18:20:00 2010 +0200
ldb:pyldb.c - introduce a "mem_ctx" also on "py_ldb_search"
To prevent memory leaks
commit 00bf6084817046481e8d049357638387185c39ca
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 18:06:54 2010 +0200
ldb:pyldb.c - some cleanups and adequations also in "py_ldb_modify" and "py_ldb_rename"
To make them consistent.
commit 4cc49d365fa096e46259d6795b4626603919d69c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 20 18:46:51 2010 +0200
s4:ldap_controls.c - remove encoding functions for private recalculate SD control
commit 0714e23971f701999f69ed85c65e4f3f33153a97
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 17:46:39 2010 +0200
provision: Look for Samba prefix a bit harder.
commit a87561613af3e54503f80d559227f836c17ed263
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jun 20 16:22:46 2010 +0200
Revert "s4:ldb-samba: fix the build without a system ldb"
This reverts commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce.
This caused problems when using a system ldb and as we don't
do ABI checks for ldb-samba4 any more, we don't need this change.
metze
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e812832db347269e46b28af31ff7ba3301405117
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jun 20 16:13:38 2010 +0200
s4:ldb: only do ABI checking for the standalone build for now
Otherwise we fail to build samba4 with a system ldb.
metze
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 52307a11e1f0019f8fbdcce51676282aee21aa39
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 15:50:12 2010 +0200
libpolicy: Fix the build.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e18a172207b433a3f027541d4d5e98cea73dbcb6
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Jun 7 15:21:53 2010 +0200
Add preliminary support for storing changed Group Policies.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 04133225c1c3ab53191da50cae39f2019e7f7f01
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue May 25 01:21:45 2010 +0200
Refactor policy filesystem code.
* It now uses reusable code to download the GPT.
* It creates a list before copying for better error handling.
* String_replace is now used instead of manually replacing '\\' with '/'
for local paths.
* A security check has been added for file names with "../".
* It adheres to the 80 column rule, if at all possible.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b9b85d6b0e23e042d60c83fef477fd4006a20c14
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 21:36:49 2010 +0200
Fix memory allocation with error handling.
Also moved pypolicy.c headers around so as not to generate compile warnings
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9b5e0fe6bb363aaaba513b0604476616d6cc9fd8
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 20:11:15 2010 +0200
Add talloc_frees in error cases in net_gpo.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c09922cfae1364f2ce8736ae59053805a337658b
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 20:05:42 2010 +0200
Code cleanups: GUID generation, lp_dnsdomain instead of lp_realm, missing spaces.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5c2c8dfc5a90eddcaab2d78379d898a00e865ec2
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 19:56:07 2010 +0200
Set inherit flag type to bool.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d61f0240eefc3c96a36c16a9bf83167eb01dfe94
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 19:53:12 2010 +0200
Fix 'magic' numbers to be strlen(something)
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e86ef688ee4c65fc5dd06910fd61222c195c1dc9
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 19:47:27 2010 +0200
Change talloc_steal to strdup because function might not expect it.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 674d559f37a1e553be3e01ade04936ff9662baa3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon May 24 17:07:48 2010 +0200
Add GP ini functions.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3fe793fce7060c785576bb5f3d7039df60bc7b1d
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 23:51:28 2010 +0200
Remove iconv convenience in used functions, which were deleted in commit f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e1f22174e172971ef8b0460da076a138b1fa73e4
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 23:49:45 2010 +0200
Fix net gpo list to use the dsdb with extended DN's. Fixes memberOf group memberships.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3895b8fbf84764ff603af91644198e518af97e74
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 14:56:15 2010 +0200
Revert "Add old functionality back which was removed in commit 589a42e2."
This reverts commit 94e3b4a0d8b714c101803886d60ae6c484740d2f.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8f74ee01d9bb93872c5cd5471084c8bd2da0d17f
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri May 21 14:41:02 2010 +0200
Add ini parser for GPO's.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c36bd5de6a479b87baeb1632af2304c049079703
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Thu May 20 16:56:40 2010 +0200
Add net gpo setacl support. Create gp_set_acl function. Show ACL in net gpo show.
Cleanup memory allocation of gp_create_gpo
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5434171296e33ffe493995589ae41b123a12d9aa
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 19 18:58:54 2010 +0200
Fix set GPT security descriptor to match windows' behaviour.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 31aeddfa4354cbf0e0b562d0dcfe1f41cd95e0f9
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 19 18:31:19 2010 +0200
Fix crash when get_gpo_info returns incorrect data.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 299531ce327340937e72530a96991c33fcd48e48
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 19 17:22:48 2010 +0200
Add preliminary NT ACL support for GPT (GPO on filesystem).
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 60bc5fe0ed1aae43c3931eae2a765dae765c85e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 11:16:27 2010 +0200
samba4: Add python bindings for samba.policy.get_gplink_options.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 381e82465842c7d1195ca81db40a0c5d9f9e9c57
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 11:10:21 2010 +0200
policy: Add samba.policy.get_gpo_flags binding.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 41fae89daf41128debbef4097e8646596441adfb
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Thu May 6 18:42:14 2010 +0200
Add gpo create functionality. Also fix gPLink handling bugs
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 32ee6f8cfddefff92e59e230c5920afec16ffd7d
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed May 5 10:12:20 2010 +0200
Fix mode_t in mkdir.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2941d2ebc353f16b6eb63985a8a71f454f16212e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Apr 28 11:34:31 2010 +0200
Finish net gpo fetch function. Reorder arguments to make them more understandable. Rename getgpo to show.
This makes the net gpo break for it's samba 3 origins, but makes the syntax more intuitive.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2b761c3defdadb2566a23ce58e62b9571c02ed25
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Apr 28 11:27:43 2010 +0200
Optimize the backslash logic in the path traversal.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f24f472d445f67654126fc5de6b680709f2fe843
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Apr 27 22:41:25 2010 +0200
Fix error in logic, making recursion work past the first level.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3b11a53304df29ebe2f2bfdeb5a6f0bf66553013
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Apr 27 21:06:11 2010 +0200
Add fetch function for GPO which fetches all relevant files from the sysvol share.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 698144851a07f66e7b786f5e1eb08d4670ddb619
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Mon Apr 26 17:26:51 2010 +0200
Add getinheritance and setinheritance to net gpo util and library.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a4cb72790cfc8f267f8574de3eea8634aed62e57
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 19:12:01 2010 +0200
Implemented delete group policy link function and corresponding feature in net gpo.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f0353fddde4a0b8aab448db779cc2c1cc419b4a0
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 18:10:43 2010 +0200
Changed add_gplink to set_gplink, so we can change gPLink options as well.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 40d71815072b5258cbe3ed0f1de62be68625e25e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 17:31:21 2010 +0200
Add add gPLink function and corresponding net gpo linkadd call.
Also added some definitions for future functions in policy.h
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a1fceac844a0a7690ab985fa08e6a08127e770bf
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 11:58:26 2010 +0200
Rename files to reflect the libpolicy naming convention. Also fix the GNU make build.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b02571541998f2698a92be8729f4f0da869a0f99
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 11:53:04 2010 +0200
Rename libgpo to lib/policy to avoid confusion with samba3 and add waf build
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 626db5c3b5854a895b79ab186a36d1b5cbb769b5
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 11:10:11 2010 +0200
Add old functionality back which was removed in commit 589a42e2.
Andrew, please review!
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 08a7bb4abc6e59bc109ac38c164ad3f0b63b2439
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Fri Apr 23 09:32:01 2010 +0200
Add gpo list function for listing applicable GPO's for users/machines.
Implements:
* Hierarchical listing through all parent containers
* security ACL checking on the GPO
* User/computer disabled flags on the GPO
* gPLink disabled
* gPLink enforced
* Block inheritance on the container
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6478a1edb70a60cfd318292478781a665b022887
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Wed Apr 7 21:22:36 2010 +0200
Add gPLink and getgpo functionality to net gpo.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8d5f8f577f2e906cd80a6a11b76114922182cb99
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Apr 6 20:15:38 2010 +0200
Created net gpo and new libgpo for samba 4. This adds the init function which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC.
Aborted earlier attempt at reconciliation with samba 3.
Did not work out due to lack of ldb support in samba 3, also the
different registry libraries and different libnet did not help..
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit cfee179d03e9c3b8d02a51995bd1c205daabb6c3
Author: Kai Blin <kai at samba.org>
Date: Sun Jun 20 16:29:24 2010 +0200
s3: Attempt to fix the build on NetBSD
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
commit 9e02764f7c34fd5c9686c7a754a30e9a6ae95769
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 15:22:49 2010 +0200
pydsdb: Mark all SamDB and Schema methods that are in pydsdb as
private, to discourage them being called directly.
commit 7b32f65600988421dc8c825109e225612a3b6166
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 15:04:42 2010 +0200
testparm: Check netbios name and workgroup characters and length.
commit 5f3d5a3ad873feca66e118e020ed77189a7f2f9c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 14:24:54 2010 +0200
provision: Properly cancel transactions on the secrets ldb.
commit 237ab66f6c292b62b37af05771913b693b32d885
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 14:14:47 2010 +0200
selftest: Use scripted testparm.
commit 7a064b9960ab3cfb4ef76a939da7670aa34519a6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 14:14:01 2010 +0200
pyparam: Support Loadparm.get(p, "global")
commit a2540fb3cbf8f288b106b03589d097212629b386
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:54:51 2010 +0200
ldb: Add ABI file for use when including ildap in the build.
commit 08a3e8b9f4d4d99cfca65752b0b516e0ec3f8651
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:51:39 2010 +0200
testparm: Simplify default option handling.
commit 338315f4d713e2648419f2eda805748901435204
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:51:14 2010 +0200
pyparam: Allow specifying None as section name to LoadparmContext.get()
to mean default section.
commit f0ab4503d6204ede46fad1d7586ad5d655c1c6fa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:47:36 2010 +0200
testparm: Fix suppress prompt option.
commit c0e9a41f67f787f4fecec69dd661d92ecd24e608
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:41:38 2010 +0200
testparm: Fix exit value, install.
commit de3f9e31d34eac6ddc17e298299d5065f9a86e7c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:40:49 2010 +0200
s4-python: Add LoadparmService.dump()
commit 74c66c9a3f6aedbbcdbce66a1d72a3c3b74137f8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:29:35 2010 +0200
s4-python: Implement LoadParm.dump().
commit f051a8557f29352b4ec76ab6a8ed4de083f0816f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:22:26 2010 +0200
testparm: Split up functions that do multiple things.
commit 0a07b8ebfe797f062e50fbb901cd8040513af6d2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:16:30 2010 +0200
testparm: Convert to Python.
commit 8f383fc5c8ca7190c719e58473d609cf9dce9444
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 13:15:09 2010 +0200
s4-python: Remove more unused imports, fix use of sets in upgradehelpers.
commit 1e35ec43f2dcf08446bdeb62aa6a03827666b154
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 12:19:08 2010 +0200
setnttoken: Remove empty utility.
commit 3795358aca56f0c961f48b84ffeea4dd286ab914
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 12:06:50 2010 +0200
Use standard Python syntax, booleans and set()'s where appropriate.
commit 66e27e5214180b473b848201d2dcc7ccc3ad2b04
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 11:59:49 2010 +0200
Remove unnecessary use of transactions.
commit 9bcd0daba2cdd2acd6fc0e3de44f5138f2f3303f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 11:49:08 2010 +0200
ldb: Change LDBSAMBA back to subsystem, update comments, use different
ABI file based on whether ldb_ildap is included.
commit 44c01a5eb45a0cd5ca3de8be5c4680de75418dce
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jun 20 11:33:43 2010 +0200
s4:ldb-samba: fix the build without a system ldb
metze
commit a453b87d68f89c48e0d0545fe240801e4eac1686
Author: Kai Blin <kai at samba.org>
Date: Sun Jun 20 09:49:34 2010 +0200
s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checks
commit ff32f691bba41afab45efe7e21a2c91bb2c157bb
Author: Kai Blin <kai at samba.org>
Date: Sun Jun 20 09:36:19 2010 +0200
s3 configure: Check for (set|get|end)netgrent prototypes
commit fa3e50fee421a7fe407510627e0fdbcd5f4013c0
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 17 22:41:57 2010 +0200
build: Allow for a custom message in CHECK_C_PROTOTYPE
commit 1f07f53827908d48e50b018c50e97de4740b740b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 02:44:39 2010 +0200
ldb: Remove last import of dsdb.
commit 94e06fe2032b0143939abd85044b5c3ccddefe70
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 02:32:23 2010 +0200
Some more formatting fixes, move schema related functions from Ldb to Schema.
commit d3d7ff66d4a7952a50e7d9175528985358cb3522
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:43:51 2010 +0200
Move convert_to_openldap onto Schema class.
commit afad634207ecdc5e67386e857ff3b9d5d7acd1ac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:56:52 2010 +0200
Formatting cleanups; use True/False for booleans, unnecessary backslashes, spacing.
commit a5e8ef884b847c5db50431956db0ef5ecc5f77e2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:37:06 2010 +0200
Move a few more samdb-specific methods to SamDB, away from Ldb.
commit 1d86414eb022bd8c4d86bdab094a06f43e4eb10c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:28:39 2010 +0200
samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.
commit b48182007c53faebb0a57cefb5e1923a3bef5851
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 20 01:26:23 2010 +0200
s4-python: Remove trivial function, replace by dictionary.
commit e55c012accef40a9e07f8a9e67d54afd18ba2a7e
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Sun Jun 13 11:02:44 2010 +0100
make test modules for net group set of commands and modification to the newuser to include additional parameters
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 214133fbec27c4ed42bb8c527e1365a321de0fbf
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Tue Jun 8 20:33:56 2010 +0100
Modifications extending functionality of newuser cmd and new net group set of commands for group related operations on ldb
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c58c0c2129b1df7b5eeb984bed4a09f2ecdfc2b1
Author: Lukasz Zalewski <lukas at eecs.qmul.ac.uk>
Date: Mon Jun 7 17:10:28 2010 +0100
Modifications extending functionality of newuser cmd and new net group set of commands for group related operations on ldb
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 38a26f79eaded8364a178ba2aac71e64f5d60be5
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jun 16 11:25:19 2010 +0400
s4 upgradeprovision: Make grouped commit / rollback more resistant to unexpected problems
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c4f7b0e5f673943dfdda88f3e289912778a07a33
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 14 12:28:58 2010 +0400
s4 upgradeprovision: Check that the policy for DC is present if not warn the user
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit aea0003d088f5e5f7d1393d4d75f570418dda043
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 14 02:14:48 2010 +0400
s4 upgradeprovision: Emit message instead of crashing when not able to set acl
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 17af115de59fc3b52134a44ae1b0c5170b8f67e3
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 14 01:50:47 2010 +0400
s4 upgradeprovision: add an option to force the rebuilding of FS ACLs on sysvols share
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 59f17f9e64f4fdf4a63440e20d6b30008072b4df
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:53:18 2010 +0400
s4 unittests: add unit tests for upgradehelpers
The functions tested are:
* construct_existor_expr
* search_constructed_attrs_stored
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 75389cecdde884356e222e3f846e7358f82c20c0
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 12:50:29 2010 +0400
s4 upgradeprovision: Add function for searching stored constructed attributes
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f3e7d0ae8f63c57fc0ec7680b2863c6f50e167fe
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 02:41:18 2010 +0400
s4: Using control bypassoperational allow the logic of this module to be bypassed for some given attributes
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3ebe56062297e52cf31499c6eb63c7ce70073bcc
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 02:23:11 2010 +0400
ldb: add a new control bypassioperationnal
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9c5f0ed7298e666fcfa05257fc7abfb6d3208433
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 15 23:41:39 2010 +0400
s4 upgradeprovision: additional restyling
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 423f99172efcb57a654af5a6fcbad1045f210027
Author: Matthieu Patou <mat at matws.net>
Date: Thu Jun 10 01:00:43 2010 +0400
s4 upgradeprovision: Restyle imports
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit fbeacc1013bc3a95f19d7932a2bbf3d28176a977
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:01:16 2010 +0400
s4 upgradeprovision: Move functions to helpers and improve code
Among code improvement the most significant part is that we now
compare DN object instead of their string representation. It allow
to better react to case an white space difference.
Some new move objects have been added (ie. System into well known
security principals).
This will allow more unittesting
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8ff65b0136f442204f4d059fb1a13ad4a6419ab4
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 04:22:36 2010 +0400
s4 python: Update unit tests related to create secrets
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9c808c47fc2fddac396d12452428443f3ab26073
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 24 09:41:44 2010 +0400
s4: Add comments about setup_secrets
Comments are to inform people that this function should not handle
transaction within the function as it is mainly used in provision and
that we want to commit secrets only if all the action on secrets have
worked.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 84342b1c7f289e5288470d4d4e3899aac6f042c5
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 16:26:26 2010 +0400
s4 upgradeprovision: Add documentation on the update process
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit a466e0d61a97da648970eea02c246c08c503c421
Author: Matthieu Patou <mat at matws.net>
Date: Tue May 4 00:01:00 2010 +0400
s4 python: Add unit tests for upgradeprovision related stuff
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit ad55248958fe9aaeb6ebdc6f2d4c66a85ead6786
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:52:25 2010 +0400
s4 upgradeprovision: move some functions to upgradehelpers for unit tests
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 0537de17c124b8ceccbeb9a57e9636a461239774
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 01:13:45 2010 +0400
s4 upgradeprovision: Fix style
reformat *_update_samdb functions
fix_partition_sd
rebuild_sd
update_samdb
update_privilege
update_machine_account_password
update_gpo
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b624440a0fc99c43e97c73ffe7e17621a17b59ae
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 7 16:27:48 2010 +0400
s4 upgradeprovision: Use replPropertyMetaData for better guess
Rework upgradeprovision in order to get more precise updates when doing upgrade provision.
This is done through the use of replPropertyMetaData information and raw information revealed by the
"reveal" control.
The code has been changed also to avoid double free error when changing the schema (for old provision).
Checking of SD is done a bit more cleverly as we compare the different parts for an ACL separately.
Fix logic when upgrading provision without replPropertyMetaData infos
Also for old provision (pre alpha9) do not copy the usn range because data here will be wrong
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit dd963ddb4e84bb1b7bea6ecb3a1e045d170338dc
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jun 7 23:47:43 2010 +0400
s4 upgradeprovision: Reformat attributes lists and reformat parser
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 60400a7803d765fd53100fe088f1237e67887fe3
Author: Matthieu Patou <mat at matws.net>
Date: Fri Apr 9 02:55:38 2010 +0400
s4 upgradeprovision: Inform about new dns dynamic update if the provision didn't have it
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 26ccc3f4400165448f9a53efdec224d11f290783
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:21:48 2010 +0400
s4 upgradeprovision: fix style
add_deletedobj_containers
add missing objects
clean add-mising
handle special add + dump denied
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 0ff46ec557009ec2dff0650dd39d6314e9df3a4e
Author: Matthieu Patou <mat at matws.net>
Date: Sun May 2 19:56:03 2010 +0400
s4 upgrade provision: Refactor code to do all the modification within 1 transaction
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit ec90b1b40e1f610dfc1e2aa3ba91c0b27dde4f60
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jun 8 00:21:00 2010 +0400
s4 upgrade provision: Fix style in gen_dn_index
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 50072e27fec0d3528e111ec566204f4e39e24ea5
Author: Matthieu Patou <mat at matws.net>
Date: Sun May 2 19:56:31 2010 +0400
s4 Add functions related to ldb manipulation when doing upgrade
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit e2df3c251060d634c8538dd7e771819ccf196130
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 22 12:53:12 2010 +0400
s4 provision: Add information about provisioned usn range in sam.ldb
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit c92db7b6dc31756fc461ea9f74e1cd675e3e160d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 18:58:18 2010 +0200
python: Use samba.tests.TestCase, make sure base class tearDown and
setUp methods are called, fix formatting.
commit 105ebb34405eb458c51ebbfb57b3ce31a41c34e2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 18:57:35 2010 +0200
acl: Clean up formatting, use samba.tests.TestCase.
commit 5060367bf9356a9f18fbc41563b8052fb68153d2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 18:57:13 2010 +0200
pyrpc: Fix reference counting when using secondary connections.
commit 50429fb75074863598807267a6d02ed44056efe8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:49:46 2010 +0200
samba.tests.samba3: Clean up imports, use new TestCase class.
commit f57b26b6f44494efc0689724a33780e660e3d795
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:49:15 2010 +0200
ntacls: Raise TestSkipped rather than writing to stdout.
commit 96f120e2349b855ea34888ad923861e787812827
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:48:37 2010 +0200
python/passwords: Clean up imports.
commit 026a4d85a1a909d2efe447bea36b941e01da7e42
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:48:05 2010 +0200
samba.tests: Provide TestCase and TestSkipped classes (from testtools) for convenience.
commit 5e67566f5e660a91c004aa606d1987fd7665f5dd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:46:57 2010 +0200
pytdb: Cleanup formatting.
commit 2b7b69544cfc498b731ef0d65759f65376d460fd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:32:01 2010 +0200
dsdb_schema_info: Clean up imports, avoid using rpc test case for
non-RPC tests.
commit c2cb0a710b050845420e6128cf80e6c3653df650
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:27:50 2010 +0200
python: Remove unnecessary Ldb.set_invocation_id - use SamDB.set_invocation_id instead.
commit 827ce7b0a37595b23ab35d016fd391a82d408a76
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:23:41 2010 +0200
pyglue: Trim dependencies.
commit 27d82685dabf93c41ddbe273563073394d21afd3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:19:48 2010 +0200
pyglue: Remove unused code.
commit 74309eb29cba6a9a3c22bcb808b5c2e59a9f9880
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:15:26 2010 +0200
pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue.
commit a4f60ffe4bb4e0e32d7cd62dc872b1f23435edca
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 17:09:52 2010 +0200
pydsdb: Move dsdb_set_schema_from_ldb to pydsdb.
commit 05b108a06b383f2172a379629b9a6bcff82c6868
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 16:52:09 2010 +0200
pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue.
commit d3a99579f6c87bf9bc5863ca645bc1456ee6834f
Author: Brendan Powers <brendan0powers at gmail.com>
Date: Tue May 25 16:14:37 2010 -0400
libcli: Fixed a segfault in security_acl_dup when the acl is NULL.
This can happen when duplicating a security descriptor that is missing either sacls or dacls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit cadca1f6ba514eb7b022d761935f80b3049cede4
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 30 18:47:44 2010 +0200
s4:provision: don't use hardcoded 'Default-First-Site-Name'
metze
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 131be8da0fa2db11b91cb08a182a524832db1d41
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 19:33:16 2010 +0200
s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS 3.1.1.5.2.2
commit 3055ead4cff55895917ca88c3fb91c89da34ad5f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:39:06 2010 +0200
s4:torture/ldap/basic.c - add more error code/messages tests
And now we do match at least the LDAP error code (the WERROR one does still
differ from Windows - we will see how to change that).
commit 7cbe3035d9f0d534d017f65fa2250011c45bb415
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 14:58:31 2010 +0200
s4:ldap_backend.c - more customisations to match Windows Server error behaviour on renames
commit e315aceda357711284da08094f80b1e03346fef0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 14:49:23 2010 +0200
ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DN
It's meaningless and could end in DNs as "cn=child,".
commit bce8017ca9f64ce8e3bf94312d69f97e87d3d41a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:20:22 2010 +0200
s4:python/samba/__init__.py - now specify the "relax" control for the delete operation before the provision
commit c0538a006d5381f3bc17d90f873e791d35bbde17
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:17:54 2010 +0200
ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntax
commit ca34ffaaac4cc98dc600cb8b5bc6e8ecf93f7492
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:08:58 2010 +0200
ldb:python bindings - some small cleanup & improvements in "py_ldb_add"
Also to make it similar to "py_ldb_delete".
commit 2aeea4bb4d214675334da7c45e896d88ccb85832
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 22:04:07 2010 +0200
ldb:python bindings - let also "py_ldb_delete" support controls
commit d16697df4908de57a379796e22c82929b8422b92
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 21:35:43 2010 +0200
s4:objectclass LDB module - disable delete operations when "SYSTEM_FLAG_DISALLOW_DELETE" is specified
commit 46bcf883bfe07d50b1009f1878093d8643d70a95
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 21:13:39 2010 +0200
s4:rootdse LDB module - strip trailing whitespaces
commit 7f46a91e7764766460cb374b5cc65e769184d91f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 21:10:19 2010 +0200
s4:rootdse LDB module - protect add and delete operations on the rootdse entry
commit 72e14ea8bd47695dcdf1a3c8ee3a017c6d2e4d5c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 20:53:25 2010 +0200
s4:rootdse LDB module - Return "UNWILLING_TO_PERFORM" when no attribute fits on a change
commit 2af67a3602528f55f3fb871bac0bc15ee88df702
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 20:52:33 2010 +0200
s4:rootdse LDB module - refactor error messages
Fix indentations, use "set_errstring" when no "asprintf" functionality required.
commit a4381239ba364ad025308e9b8f310942dde36db8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 17:47:22 2010 +0200
s4:objectclass LDB module - use the old DN when displaying error messages
commit ee2bb4474f38ce3c8d7a641059ca85cde1a12e9c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 19 17:46:57 2010 +0200
s4:objectclass LDB module - add a better message when the parent DN is invalid
commit 04890bb750ba900e8ee476690e8f882676217c72
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:32:48 2010 +0200
s4:objectclass LDB module - add an error message when someone tries to add entries without objectclasses
commit 9da8b06112257f87860e31273c9d3128bc811371
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:17:05 2010 +0200
s4:objectclass LDB module - handle the case when there is a retry to add the root basedn
This isn't quitted with a normal "NO_SUCH_OBJECT" (parent not found) but with a
very special referral: one with the DN itself and the hostname is the last
component value of the DN.
commit 24930aa716c3501b336e8f5534590e968d837aaf
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 16:00:04 2010 +0200
wafsamba: Use octal modes directly rather than constants.
commit b099631f428d0ecc641d59bd3c94674e6348dde9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 15:32:27 2010 +0200
heimdal/waf: Initial work on making it possible to use the system
heimdal again.
Still missing are the detection of the right Heimdal version and
linking (unresolved symbols at the moment).
commit b03637cb9e1690f7c571186456229ad7c40b3740
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 14:46:22 2010 +0200
dsdb: Fix includes when building against system ldb.
commit f370bd47b058677ffa108d7312bb6ff2609ac4e3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 14:45:35 2010 +0200
wafsamba: Allow manually specifying cflags/ldflags for system libraries.
commit 7646eb6a0fe9c28cdd006493502bd4b36ccfd2bc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 14:02:18 2010 +0200
wafsamba: Use convenience function to find out if bundling is necessary.
commit ccaf0c60380b80ade3b1ac6085518218d236c281
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:55:41 2010 +0200
dsdb: Use Samba includes so _PUBLIC_ is defined.
commit a8aaf3d4be4e835fc32bca46dbc4667bf265e1ef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:47:11 2010 +0200
wafsamba: Factor out functions to determine if a bundled library should not or
must be used.
commit 238e89f7b0c3f35578105329578685a187209f83
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:46:39 2010 +0200
dsdb: Make module ops struct for each module public.
commit f36a9afc2f62827700e4b8b441448aef00439f7d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 13:41:48 2010 +0200
s4-python: Use sys.prefix rather than guessing prefix from current
file path.
commit bd1786f7f15d9fd6382979ff753fefc7a9cd0024
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 12:10:29 2010 +0200
wafsamba: Fix typo: noextenion -> noextension.
commit bf8045037dae76d1e5f1faa0d6586a90e894fb31
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jun 19 02:26:13 2010 +0200
waf: Add missing dependency (so header paths are inherited) on talloc to internal python lib.
commit 5143353108c02a27ad62b33e59a26f5bc5d136fe
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 22:43:37 2010 +0200
samba4: Build libreplace as builtin library by default so it doesn't end
up in $prefix/lib.
commit f2527d217cbc7f64259d00c63a549a3119a4ed66
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 22:43:17 2010 +0200
replace: Avoid hiding symbols when libreplace is builtin, as this
appears to cause unresolved symbols at the moment.
commit 380ee5f081d4525c5c308ec203864b07c3cf36a1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 10:09:03 2010 +0200
ldb: Remove dependency on self.
commit e0fe9412186ab0962c672241ac386cafb25f95ef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 18 09:45:15 2010 +0200
wafsamba: Use BUILTIN_LIBRARY() rather than relying on side-effects.
commit da0fb0affbf4601aca6aa83264b2c81cc9d1d4c1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 17 22:36:33 2010 +0200
ldbsamba: Build as subsystem to prevent infinite recursion issues.
commit 4c22434b3b261d5af45131dc5542e81857c4f468
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:38:22 2010 +0200
s4: Don't build a $prefix/lib/libpython.so, as such a library often already exists :-)
commit b391b7d07274d30231273255ebe064b4c356e855
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:35:40 2010 +0200
s4-waf: Don't include pytalloc when embedding python.
commit ebd0bca555f13f19bebdb220088c97a3473daa61
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:15:19 2010 +0200
s4: Build more python convenience files as subsystems rather than as python modules.
commit 8e8496208b4fa5bf69fcc884fdb054352060e21e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:14:46 2010 +0200
ldb: Don't build pyldb_util as python module but rather as subsystem, so as to not delute /usr/lib.
commit f74dceda8c91b46180e14787ffd3dce01e1b023d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:14:31 2010 +0200
ldb-samba: Don't build pyldbsamba as python module but rather as subsystem, so as to not delute /usr/lib.
commit 938250790967dffa617446ab2e7b266b06033495
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 20:01:38 2010 +0200
web_server: Don't build wsgi support as python module but rather as
subsystem so we don't install it into /usr/lib.
commit 837a975c2be620396f3eac02a14d057a2de6c270
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 19:11:35 2010 +0200
s4:cldap_server/rootdse.c - simplify the code a bit
Remove "NULL"-content variables and use "NULL"s directly as arguments. Add some
linewraps where needed.
commit 9969cfc36cc40d37d0cd740d60f698dad3f55bbb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 18 18:57:38 2010 +0200
s4:cldap_server.c - here the counter variable should be "signed"
commit 2e8c5639618fa4c6efb461ad4e6b51c84da8bd10
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 17 15:51:19 2010 -0700
Second part of fix converting prs_XX struct and functions to talloc. Remove unneeded prs_mem_free calls.
Jeremy.
Signed-off-by: Simo Sorce <idra at samba.org>
commit f4e7d9d38ebf209be6c040f4ef98dd8111735187
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 17 15:35:07 2010 -0700
Convert the prs_XXX struct and functions to use talloc instead of malloc. Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls.
Jeremy.
Signed-off-by: Simo Sorce <idra at samba.org>
commit 3fa38046cb76d38a6be8e29111a4be225b8bdf96
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jun 16 12:39:16 2010 +0400
unittest: Change the name of the base ldb test so that it can be easily called separatly
commit c9ef9da12fed2c3ea1d46dc710393f6ffebe7491
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 16:35:55 2010 +0200
s4:ldap_backend.c - fix crash bugs when we got in error situations with "res" still set to "NULL"
commit e7fef1ac84c39647306f8bb075f97e36549a8289
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 16:00:13 2010 +0200
s4:ldap_backend.c - fix a small error (use "ModifyResponse" rather than "AddResponse")
commit 955e1835ef14aa961127007014dfd93b464779eb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 15:27:50 2010 +0200
s4:objectclass LDB module - move "mem_ctx" initialisation lower
Saves us some "talloc_free"s on error cases
commit 56e4822566743a42a3e20cc9dc969826969ba156
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 09:42:17 2010 +0200
s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the detection of the address family in a better way
Obviously the last attempt wasn't enough. Now we do really only read the first
byte in the address buffer which on little endian transmission does always
contain the address family (MS-NRPC 2.2.1.2.4.1).
This should now be working platform-independently.
commit 01e9d090f1f9f340d9bdb597341b445544cf7a7d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 09:33:10 2010 +0200
s4:torture/rpc/netlogon.c - make sure that the address family is set in little endian in the "AddressToSitenames" tests
commit 917f6015a6292a5b9b88607060dc5f87dc78fb9b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 17 09:23:00 2010 +0200
s4:torture/rpc/netlogon.c - activate "AddressToSitenames" tests which do run against s4
commit be31b2ba62c49eaee6fb090a92b13ac8cf33bd1f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 17 12:34:15 2010 -0700
Use #defined constant instead of "false" to be clearer about intent.
commit 160d882f34cee6c74e5d289dd2fcebb97037a008
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 17 15:01:01 2010 +0200
s3-selftest: fix locktest9 in make selftest.
Guenther
commit 14c8d319e34eb4f525967d14253ebe071cbc451b
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 16 23:36:38 2010 +0200
s3:configure: use cc for linking on IRIX and fix shlib usage
commit d823e529b86e01b7a8246b89e27cfd75f7b61428
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 23:11:05 2010 +0200
s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()
metze
commit 22eb6d7b6b57ff0bee99ea86ddec676e7faaab8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:22:30 2010 +0200
selftest/Samba4: make the naming of passwords more consistent
metze
commit f26c0e545617ba336720cd8852f4f376f4062af5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:14:46 2010 +0200
selftest/Samba4: let localfl2000dc use 127.0.0.5
Now we have 127.0.0.6-10 available for more servers.
metze
commit 8aed54adbf1a87de833cd53e4bc9a4eab074128e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:13:28 2010 +0200
selftest/Samba4: let localvampiredc use 127.0.0.2
metze
commit 6a0db03c80275c00dc0fe7aff099f9b6cc2d113e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:02:48 2010 +0200
selftest: use 127.0.0.11-16 for the client
This gives more room for servers.
Note: socket_wrapper currently only supports 127.0.0.1-16
see MAX_WRAPPED_INTERFACES.
metze
commit 1e8d025a3cd1b326e9660a0a5b388e67fc2d172a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 11:00:29 2010 +0200
selftest/Samba3: remove unused create_clientconf() function
metze
commit 9e3511ef1cf9b278cff04f1c883aed487876b93a
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jun 17 08:55:10 2010 +0200
pidl/wscript: build manpages in build group 'final'
So that waf --target=smbtorture doesn't build them
metze
commit b0b2b4ff8bbcf80976b95b587aa7427c70c11b06
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jun 17 08:49:36 2010 +0200
pidl/wscript: only try to build pidl manpages if pod2man is available
metze
commit e80f576db66ad04592ac436ed74ceb9b96452060
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jun 17 08:44:53 2010 +0200
pidl/wscript: call pod2man with the detected perl version
Some systems like SLES11 have a broken perl path in pod2man.
metze
commit 93280974b8fb236b212b9116a1d8921329e5e1d8
Author: Kai Blin <kai at samba.org>
Date: Thu Jun 17 08:09:41 2010 +0200
s3-waf: Fix the OSX 10.4 build by adding an explicit resolv dep on smbclient
commit 83ad437a9cf9f0ed36ea0e72282020e9330f8c88
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 15 06:53:11 2010 +0200
s3-waf: Add check for iconv
commit 7a1c24705dba06753a693a3dbee93d473726d05a
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 15 06:52:42 2010 +0200
s3-waf: Work around missing *netgrent prototypes on OSX 10.4
commit d9c81e3ea54fabc30121872a56bf3a393f26983b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 21:47:22 2010 +0200
s4:dcesrv_netr_DsRAddressToSitenamesExW - fix the read of the IP packet version
This should make it clearer by the use of the standardised "sa_family_t" type
and hopefully fixes the problems on platforms other than Linux (NetBSD in the
buildfarm for example).
commit ad7859dfff3598d351aa91b025e4afba7ab46382
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 21:45:15 2010 +0200
s4:ldif_handlers.c - fix warning
commit 7e388c8b2763a11aac50b390ccd3697a15b5be65
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 16 10:27:54 2010 -0700
Remove an unused chunk of code (will make it easier to talloc'ize prs_XXX).
Jeremy.
commit 5a77d648d9ce2ad60d4a951b69461a5b3d24289f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 16 10:26:47 2010 -0700
Remove two unused functions (prs_force_dynamic, prs_set_session_key).
Jeremy.
commit 1614bcf0ecae211a92c308cd795c138d0533ee63
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 19:14:08 2010 +0200
codepages-waf: When built with --with-fhs, install to
$prefix/share/samba, not $prefix/share.
commit aa76e8263d5aaa12a19b1c351ac8ec8f0e7a9002
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 15 12:01:09 2010 +0200
lib/crypto: only include what is needed.
Guenther
commit 65ca3e4ee985689cdb038ae366f57d523cbeb964
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 18:25:04 2010 +0200
pidl-waf: Avoid relying on MakeMaker when installing pidl manpages.
commit bd8fcd869da5a99d9505ede6f5038f98b7951bb3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 18:13:18 2010 +0200
s4: Fix build when there is a system-provided ldb.
commit a6f1c111ffad6ff3f5017305c274c578368d1739
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 17:09:47 2010 +0200
s4-smbtorture: Remind myself we need to add a test for SMBsplretq in RAP-PRINTING.
Guenther
commit cfb67b1a169350a8316532eb5d53de4a3f2bacb3
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 17:08:36 2010 +0200
s3-docs: Fix some of ntlm_auth ntlm-server-1 protocol documentation.
Guenther
commit 7af7e94952cf551656b538993ec511533299e632
Merge: 50882e2077f20731c14e1687c09d785633e200ee 12fdfc94307b5f1b7982fc82c525b260806c8323
Author: John H Terpstra <jht at samba.org>
Date: Wed Jun 16 08:57:44 2010 -0500
Merge branch 'master' of git+ssh://git.samba.org/data/git/samba
commit 50882e2077f20731c14e1687c09d785633e200ee
Author: John H Terpstra <jht at samba.org>
Date: Wed Jun 16 08:56:42 2010 -0500
Fix typo reported by Söderlund David <david.soderlund at baesystems.se>.
commit 12fdfc94307b5f1b7982fc82c525b260806c8323
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 14:51:05 2010 +0200
s4:ldap.py - add another test about linked attributes
In addition this test makes sure that the bug regarding the search with deleted
linked attributes in the filter has been fixed.
commit 53afe4e018cb3bd8728e68699910ec4501fd658d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 15:52:01 2010 +1000
s4:ldif-handlers Add a custom handler for DNs that knows about deleted values
In Samba we my store a deleted DN for a linked attribute. We must
ensure that we can't match on it, or else searches for member= will
still reveal it.
Andrew Bartlett
commit 5779c21e41c6da9eabaaaf373d6a45311b234e90
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 15:18:34 2010 +0200
s4:provision.py - we do now support the "Windows 2000 Native" domain function level
commit 233ce18a176fc8c7c8b6b6dbf2eadd30a225405d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 15:15:39 2010 +0200
s4:linked attributes LDB module - strip trailing whitespaces
commit e190683b59db4d22c89644a72d0dd3779ac3d706
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 16 14:49:08 2010 +0200
s4:linked_attributes LDB module - cosmetics
- unsigned counters for LDB objects
- we tend to have the "ret" variable always as the last declaration to see
which type of error a function returns
commit b4364add896d1657263a66c55d867d28bf5ceb1b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 14:18:45 2010 +0200
s3-auth: in make_user_info_for_reply_enc make sure to check length and data
pointer of nt and lm hash.
This fixes kernel cifs client with sec=ntlmv2.
Guenther
commit fe90496ce55a5845154e4477d0eb84368c450824
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 14:17:44 2010 +0200
s3-build: allow to build bin/ndrdump4 (just as bin/smbtorture4)
Jelmer, please check.
Guenther
commit 5b17d34d6280f3a98dc0118eab41b3f7f072521d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 14:16:57 2010 +0200
ntlmssp: add decode_NTLMv2_RESPONSE to IDL.
Guenther
commit 06417abc7c9129958a6ef6fb002944bab133561e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 12:31:11 2010 +0200
s3-auth: fix debug message in check_winbind_security().
Guenther
commit a75feeaa239c35473c3d8f27b539df126beda81f
Author: Andreas Schneider <asn at samba.org>
Date: Tue Jun 15 14:25:12 2010 +0200
s3-tdb: Added missing out of memory check in rename_file_with_suffix().
commit 6dbcffb51d979094cbdac80df5e9480475230137
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jun 16 13:43:38 2010 +0200
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 8843eea2e06736f27080eedab883ffc51feacb33
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:03:31 2010 +0200
s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
Guenther
commit 185adc4c810eff3876727ed33b87c208aa09cb62
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 12:18:32 2010 +0200
Revert "s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo()."
This reverts commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa.
commit bd4bbd9bebc21da232d6a9ed53814eecda2163f3
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 12:07:43 2010 +0200
pidl: make sure to fill in cli->pipes_struct->hdr_req.opnum in s3 server dispatch tables.
Guenther
commit 439e7590c920ebdf70e74e15483a3c1e3500331b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:04:34 2010 +0200
s3-lanman: Fix return code for "" printqname in api_DosPrintQGetInfo().
Guenther
commit 1a86532fce51ec2f46b1e8abb1c1838e6793b76b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:04:12 2010 +0200
s4-smbtorture: test smbcli_rap_netprintqgetinfo() with "" printqname.
Guenther
commit 1f1c04010a55e67d8dc2110276eed4cf2a8a0afa
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 16 11:03:31 2010 +0200
s4-smbtorture: only pull info when status code indicates success in smbcli_rap_netprintqgetinfo().
Guenther
commit 14f2525f9e72edffbc0530d3aa20a5a9b80b2ce2
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 11 11:24:06 2010 +0200
s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.
Guenther
commit 47ae4a518c5eb7c02d3f6c65f64d2ac490a90e83
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 16 11:44:36 2010 +0200
s3-spoolss: Provide a memory context for clean_up_driver_struct().
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would
segfault with a talloc bad magic value.
commit 18f3e5113ae18e120770ba93b0d36a7b176b0c52
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 16 12:01:10 2010 +1000
s4:dsdb Allow renames with (now removed) linked attributes
It is important to allow the rename, even if we just have one-way
links, as this happens on deleted objects, which have the backlinks
alredy removed by repl_meta_data.
Andrew Bartlett
commit 0687a0c9dc3804e34a64f64f064fbbadb3e72ad5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 16 09:16:05 2010 +1000
s4:selftest Change domain name for functional level 2000 DC
commit 35237d5356d50be16963b9561b17b045cd2c2999
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 23:01:51 2010 +1000
s4:libnet Remove 'ads min function level' checks.
We support Windows 2000 native now.
Andrew Bartlett
commit 25abcb68185ed21ecf030ee6b081e2c912a687f5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 22:57:14 2010 +1000
s4:dsdb Fix linked_attributes to cope with the Feb 2010 changes to DLIST
The DLIST macros changed in behaviour in Feb 2010, and walking the
lists backwards is no longer safe if you don't use the macros.
Andrew Bartlett
commit 5150f8597a2211414ddbd588e8bd64e0ef3c29a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 22:26:22 2010 +1000
s4:dsdb Assert that we can't get backlinks as input in linked_attributes
The objectclass_attr module should prevent users creating such links,
and the mrepl_meta_data module should only create them in functional
level 2003 or above.
Andrew Bartlett
commit f9018bc0ea882bf9303350ca594262c88942c38f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 22:24:36 2010 +1000
s4:selftest Add test environment for functional level 2000
This required that we pass the name of the realm down as a parameter,
so we can start up two different realms.
Andrew Bartlett
commit d523e946b189826bd0ada2297ba6bdf7d6e73947
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 20:45:25 2010 +1000
s4:provision Add import for DS_DOMAIN_FUNCTION_2000
commit 814cb8895db8fbb39761ce5b2e581cb8cec9f77f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 19:52:58 2010 +1000
s4:provision Allow functional level 2000 to be chosen
commit 697cd139782a8337c1979442fc5d5705e748aa3f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Mar 12 10:36:12 2010 +1100
s4:selftest Add vampire_dc test environment
This starts a domain controller, after running 'net vampire' to
populate it. We don't use it as the 'all' environment yet, as the
rest of the code isn't quite ready to handle it.
Andrew Bartlett
commit ec6839ac26ee54c501e3377d446cf9884175034e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 15:50:13 2010 +1000
s4:dsdb use dsdb_module_modify() rather than ldb_next_request()
This does exactly the same thing, but with less code.
Andrew Bartlett
commit ffa787772fe6b88a846209e1733d004d80c99afc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sun Jun 13 15:54:23 2010 +1000
s4:dsdb Handle backlinks for Windows 2000 level linked attributes
This revives the code from 5964acfa741d691c0196f91c0796122ec025f177,
before tridge and I simplified this too much, and removed the Windows
2000 functional level linked attribute support.
By telling the linked_attributes module that repl_meta_data has
handled the links, we avoid a conflict for the new style (functional
level 2003 and above) linked attributes. However, we still need
backlinks for 2000 style linked attributes, so this allows that code
in the linked_attributes module to be revived to handle those.
Andrew Bartlett
commit ecfce7365c8d3fffc5b8eeda13b18e2605ff7b02
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 15:30:36 2010 +1000
s4:dsdb Add control for signaling between repl_meta_data and linked_attributes
This control will allow the linked_attributes module to know if
repl_meta_data has already handled the creation of forward and back
links.
Andrew Bartlett
commit 81f70834caa4d77f0799506bd9c17d05d631ebd4
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 15 15:33:44 2010 -0700
Remove unused function.
commit 2c125595fb03d1f3940545438bb4ec462585beb7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 16 00:00:01 2010 +0200
waf: Fix installation of pidl manapges.
commit 6da487580e9fac388ce3f3a2decaae03d5ae99a5
Author: Aravind Srinivasan <aravind.srinivasan at isilon.com>
Date: Tue Jun 15 11:21:34 2010 -0700
s4 torture: RAW-SEARCH: break out some of the old search levels
* Added two new parameters: raw_search_search and raw_ea_size which
can be enabled/disabled based on whether the server supports
RAW_SEARCH_SEARCH and/or RAW_SEARCH_EA_SIZE levels
* Skip unsupported levels from the server and give a warning rather
than failing.
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit 2170a59215d00554b97dc2053eeb6dde38ef3e97
Author: Tim Prouty <tprouty at samba.org>
Date: Mon Jun 14 16:50:29 2010 -0700
s4 torture: RAW-SEARCH: Only test supported info levels
commit a4a127ea5a62102890f4eecde45fdb244023dfa3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 20:52:01 2010 +0200
s4-waf: Fix build of libldb_ildap against system ldb.
commit 773e47f4a9c1601284eefac1efc8c139fdf2907a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 20:35:22 2010 +0200
wafsamba: Fix include path inheritance from module subsystems.
commit d913aacfe47153b927c537cd5869ba62eadfb676
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 16:38:15 2010 +0200
dcerpc-samr: Fix library name.
commit 8c88c9c5006bd4e23105740defa7db0949a21e74
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jun 14 02:15:32 2010 +0200
Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only in OpenChange).
commit 026fcc6a4f1b50518f2b1d33b278f5b671fb18a1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 13:12:23 2010 +0200
ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 versions.s
commit fb7a98aa32875f8b113974e062c240e636a7ef64
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 02:46:16 2010 +0200
ldb: Fix included ldb build.
commit de68718d3ddb9a8e88267fae51e90d5db9b91fe7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 01:35:42 2010 +0200
wafsamba: Fix filenames for ldb modules.
commit 0d7f8fb73d95c4658e785cb2f8bba57baf85b487
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 01:24:20 2010 +0200
wafsamba: Fix building of modules as shared libraries.
commit 12b46472896bc89dd7f1597a1f7ffeb5589046b1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 01:00:40 2010 +0200
wafsamba: Improve assertion error message to include the module.
commit e27ef3dd6d59c3e985e912671976ee30b1c613d5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 00:59:49 2010 +0200
ldb: Only build standard ldb modules when building bundled ldb.
commit 7fe9e6cd69c03246cf56cacc6a2d4e0693dc1101
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 15 00:55:03 2010 +0200
dsdb: Fix includes when building against system ldb.
commit 419928b8dfec9b055fc2bb775c40ee57108892e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 10 13:02:59 2010 +0200
wafsamba: Only add init function if not building module as shared library.
commit 6c9336110c75b9c14739c772f96147af5cea1eac
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jun 2 13:37:15 2010 +0200
dsdb: Build modules as external modules when using system ldb.
commit 9ac0a876a744e571ea9d797b59a033ff6db6241f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Jun 1 13:28:50 2010 +0200
ldb-samba: Add missing dependency on credentials code.
commit 60ea59331b7d7306e67dfea199e23841625c2b51
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 15 11:43:30 2010 +0200
s3-waf: fix the build.
Guenther
commit b16e602660e9fcfe7a0e46633e81c898b2053238
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 13:19:43 2010 +1000
s4:dsdb Move linked attribute restrictions to objectclass_attrs
This puts more of the schema restrictions in one place.
Andrew Bartlett
commit 8ea411847262fec592b48d1a5a3bf4809653a420
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jun 14 13:27:59 2010 +1000
s4:dsdb Add const to dsdb_dn functions that operate on an ldb_val.
Andrew Bartlett
commit 0800c9e6f19f7905159ac3ab457ce8cd1899c995
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 15 10:20:37 2010 +1000
s4:selftest Remove unused basedn specification in selftest env setup
commit 982f688c02aae76e362d9c310284f1c830565759
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 13:24:57 2010 +1000
s4:selftest Remove becomedc tests from knownfail, these should now pass
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit b5d80a225e06a65c6681eef6d065980d94329f58
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 11:05:47 2010 +1000
s4:dsdb Rework the vampire schema handling to convert 3 times.
This seems like a lot of duplicate work, but by the end we should
have, in normal LDB format, the remote DRS schema, having bootstrapped
it with the locally loaded schema.
The multiple steps are to resolve the problems with references to
schema items that we don't 'yet' know about.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 7c60ac97bf72aa08df39aa9695607270e39931c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 21:33:45 2010 +1000
s4:provision Allow a specific prefix map to be loaded into a new schema provision
This allows the prefixMap from a DRS server to be used when loading
the schema from the local files. This helps us then import other
schema with this map in place.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 9e28ceda96a0c76752af851db4ccba86c010ed67
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 21:53:01 2010 +1000
s4:dsdb Keep the DRS-based prefix map for use in provision-based schema
We need to use the remote prefix map for the provision schema, or else
we can't decode new, non-standard attributes into OIDs. Then once we
decode that schema, we can try again and get them properly translated.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 5323485eb3d5aeb844535c5b08fbdd3e7f8c9429
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 20:52:02 2010 +1000
s4:dsdb Allow the setting an override on the schema
The change here is to try and convert a per the previous rules, but if
we don't know a particular OID as a attributeID, then store it as an
OID (for example). This allows known values to be converted as
before, but still copes with unknown values.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 6a2f7fe04c2c658e59fba01f7346303676b121b3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 18:57:52 2010 +1000
s4:dsdb Use the schema from our local provision to decode the schema
This works on the assumption that the schema partition can only
contain schema objects.
We may need to pass down some kind of 'relax' to the DRS -> LDB
conversion code, so that it allows incomplete conversions, so that we
don't fail if a new attribute is present, and we can't decode it.
This would then be resolved the second time we do the conversion.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit ecf782da87b67b8d977aa1bbfce21f1b6ed8288a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 17:24:26 2010 +1000
s4:torture Rework NET-API-BECOMEDC test to use libnet_vampire callbacks.
The libnet_vampire code was derived from this code in the first place,
but has continued to evolve, while this code has often bitrotted.
This avoids the needless duplication of the callbacks, while keeping
the toture wrapper.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit c3135905473e9a03c891f43a12557cfddb63382b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 17:23:32 2010 +1000
s4:libnet Steal ldb and lp_ctx from python result into correct structures.
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 1104b41f1e7d794f0bb52b9f8c96d7fe43ca0edc
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 17:22:20 2010 +1000
s4:libnet Make the libnet_vampire default callbacks non-static
These are intended to be called from the NET-API-BECOMEDC torture test
to avoid duplication of code.
Andrew Bartlett
Signed-off-by: Kamen Mazdrashki <kamenim at samba.org>
commit 2977c659ea1c2b647b8afd4c83cf82eac7e3ec2f
Author: Zachary Loafman <zachary.loafman at isilon.com>
Date: Wed Nov 18 00:21:44 2009 +0000
s4 torture: RAW-WRITE should check lockread_supported
Signed-off-by: Tim Prouty <tprouty at samba.org>
commit dd2fad01fd50f2617bd8ee43e1329e6c0f942e54
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 14 16:58:15 2010 -0700
SMB2 correctness fix. As we've already returned the credits in an interim
response, don't add more in the final return.
Jeremy.
commit c705c35076fa7a200d0156199d68870e73d1f30b
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 14 15:55:19 2010 -0700
Fix warning messages about unused result of talloc_move. We're really talloc_steal'ing here.
commit 5ad12f70c543005fa5ef5485018150900382b8f0
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon Jun 14 15:12:00 2010 +0300
s4:Descriptor tests clean-up.
A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
commit 352fb5c7e4465de938910a531b3ad640a37a6553
Author: Andrew Kroeger <andrew at id10ts.net>
Date: Sun Jun 13 10:48:31 2010 -0500
s4:provision: Make gc._msdcs DNS entries A/AAAA records
When adding an additional DC as a GC server, the new DC attempts to register its
own gc._msdcs records. If the existing gc._msdcs record is a CNAME, BIND fails
the update with the message "attempt to add non-CNAME alongside CNAME ignored",
and the new DC is not registered as a GC server.
The A & AAAA record types for gc._msdcs have been verified against the DNS
server of a W2K8 DC.
commit 3f54b415199d8fd2f9a36ec83e159d2aae5b0c3b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 14 12:04:18 2010 +0200
s3: Make g_smb_perfcount_handlers static
commit 1137e8e95e6b53ed6a9468126634d01f6bc37f08
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 14 11:41:32 2010 +0200
s4:SAMR server - cosmetic fix
commit f0ab520f6e48096299624d30d904335e0d32a8a5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 14 11:30:27 2010 +0200
s4:SAMR server - on alias search operations do never use the domain DN as base dn
Aliases (especially in the "builtin" domain) are often domain-independant.
commit a28b103900ea33d70c6acec150575e10caebfb9a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jun 14 11:10:16 2010 +0200
s3: Remove some dispensable ()
commit 2edd6527294617384b55b151950a21cf08fb79d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 20:52:47 2010 +0200
s4-waf: Fix installation of .so links for libraries that are not bundled but have a mangled name.
commit d319c83f1f117d3b7ab69ec7b0df7eec80721912
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:55:53 2010 +0200
librpc: Install the right headers.
commit 08c972504a437ccec97dcb51e92fa99ab49ffa11
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:39:20 2010 +0200
Support system talloc/tevent headers.
commit 14f1ce72ed878e22fb6a016be9dc36bb920c0145
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:35:48 2010 +0200
libgpo: Use system libraries if possible.
commit c3550c9c28d11442b17f53dc6be0489aee9827dd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:21:17 2010 +0200
librpc: Fix netlogon.h file to install - not the torture one but the one
generated by pidl.
commit f52a0d31f08aff9eb8e8890730ec76dfdee7016a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 19:21:02 2010 +0200
param/share: Use static prototypes.
commit 09fb7fcd5f63e180007958de82e59359cc8cfd5e
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Mon May 24 02:26:36 2010 +0200
Do not use headermap.txt for the header installation
Try to find the headers by searching on the filesystem. Warn when
a public header replacement cannot be found (talloc.h, ...).
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 4b6ce8efc0f4b914bcd43ba6a05ce383e51d49fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 13 18:19:37 2010 +0200
s4:fix allocated control OIDs for "password_hash" LDB module
The password hash module controls overlapped others. Sorry, but the
"schema_samba4.ldif" hasn't been kept up-to-date.
commit 7b7213f1eedfbb68217fa760edaa3392dab5f507
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 17:43:25 2010 +0200
s4-provision: Use logger in provision backends.
commit 51058213cb183bcb127f5bb275cbb781efc55e35
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 16:38:24 2010 +0200
s4-test: Use smb.conf path set in environment rather than using
command-line options.
This is the first step towards supporting custom test runners.
commit 46037a816091506c4c89df6141d57b281728b395
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 16:02:26 2010 +0200
Remove unused version options for subunitrun.
commit 74ed48aa1cf6169757a397ad89dfe88736b0468b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:57:44 2010 +0200
Friendlier message.
commit d9d0d54475c1bf78ce1c45f139097cd30029ccaa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:32:41 2010 +0200
upgradeprovision: Use logging infrastructure.
commit 3552ad3ab13a97c28925713dcea01d1e01df8868
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:13:12 2010 +0200
upgrade: Properly cancel/commit transactions in a couple more places.
commit 956a256faa035fbc43dbd37273d1c5d62aee0735
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jun 13 15:05:50 2010 +0200
s4-python: Start using standard python logging infrastructure rather
than simple messaging callbacks.
commit f0afda14ba95bc16ec8ca2377640f4ee13825af9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 14:13:42 2010 +0200
Fix aio_read detection for -lrt
commit c7f44801e3e55a37cfc467de8d9ac127cd89327e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 15:17:31 2010 +0200
s3: Remove fsp_belongs_conn
check_open_fsp does exactly the same
commit b90eb7dd6920dccd7a814ce77eec886e3a6ca8f0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 15:01:34 2010 +0200
s3: Remove some leftovers from macros
check_fsp and check_fsp_open used to be macros
commit 3f7e2222f47d5960cece48dd751470bcc0983d93
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 12:11:26 2010 +0200
s3: Remove the pointless PRINTERNAME macro
commit 1b13755698464581fb1b4a3083f5930d7b408ea4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jun 13 12:07:37 2010 +0200
s3: Remove the pointless SERVICE macro
commit 731b4469cb3b074a39b21fee220517af3df26a68
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 17:50:52 2010 +0200
s4:dcesrv_samr_GetGroupsForUser - return error code if a SID wasn't found
This shouldn't happen since SIDs are mandatory for security objects
commit a67fa2db3b48d48d3460e4cc1d9826a107b64066
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 17:45:14 2010 +0200
s4:dcesrv_samr_QueryGroupMember/GetMembersInAlias - unify the structure
Mostly cosmetic fixes
commit 890d590e5193cc187d4c8dc423afef57048400fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 13:22:54 2010 +0200
s4:password_hash LDB module - this does really deactivate the MS LAN manager hash
Previously, only the conversion from cleartext to the LM hash was deactivated,
and not when the user specified it directly through "dBCSPwd".
commit 3e98262c7115322bb069d19e275c43b1fbd30ec3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 13:22:22 2010 +0200
s4:password_hash LDB module - fix comment
commit 4d681471608f4e319672af368f34912f68ca26a4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 12:17:33 2010 +0200
s4:torture - SAMR testsuite - now we do support "GetAliasMembership" as expected
commit d2c25e1b11c3ce1e59da2ee7148b5b4ad37a9167
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 12:14:59 2010 +0200
s4:dcesrv_samr_GetAliasMembership - provide a correct implementation
We could also have no valid SID specified at all and also then we have to
return an empty array with "NT_STATUS_OK". This shows the torture testsuite.
commit 4a8ee9a333ef2b9d0f0cc39c5debf9344cff1f83
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 11:39:25 2010 +0200
s4:dcesrv_samr_EnumDomainGroups/Aliases - when we don't get a SID then the database is corrupted
Group/User/Alias entries do always have a SID (it's a mandatory attribute in the
SAM directory)!
commit 4659b3c4fd0e9ae7108e9fc4d613682f9f0a098a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 00:06:36 2010 +0200
s4:dcesrv_samr_QueryAliasInfo - return "NT_STATUS_NO_SUCH_ALIAS" when it wasn't found
commit d2099a1deff54423b477bf58c977118256ece92b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 00:06:07 2010 +0200
s4:dcesrv_samr_QueryGroupInfo - make it more like "QueryAliasInfo"
commit 776eb25ef75bf4d7625f04db404c4b8a1ae90936
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:59:12 2010 +0200
s4:dcesrv_samr_QueryUserInfo - minor fixes
Return "NT_STATUS_NO_SUCH_USER" when user account doesn't exist.
commit cdecae6c03fd4ce49f3bcabfe5fccc1c9e7488b0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:57:39 2010 +0200
s4:dcesrv_samr_QueryDomainInfo - allocate the "info" structure only when really needed
That means the allocation should move after the lookup (as it is on
"QueryUserInfo"). Return "NT_STATUS_NO_SUCH_DOMAIN" on an invalid domain.
commit 0171f714b4caf6ef67ea36729106b89e91706002
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:44:46 2010 +0200
s4:dcesrv_samr_EnumDomainGroups - mostly small fixes
commit f2c3d39e7223f6bd162f3a38efa1b568aee621de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 11:49:26 2010 +0200
s4:dcesrv_samr_EnumDomainAliases - return an empty array also when no entry was returned
commit 5a1cb7029cdeaaf2bf1c2093ddc00f51a15d95e5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:42:14 2010 +0200
s4:dcesrv_samr_EnumDomainAliases - mostly small fixes
The biggest change consists in the implementation of the Windows Server
return size formula MIN(*r->out.num_entries, 1+(r->in.max_size/SAMR_ENUM_USERS_MULTIPLIER).
commit 84bda98066e23b7963a6280155eafa88312724a9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 23:39:46 2010 +0200
s4:dcesrv_samr_EnumDomainUsers - make this call look more similar to "EnumDomainGroups" and "EnumDomainAliases"
That means that the lookup is now also done by "samdb_search_domain" to be more
consistent.
commit bbb0b31911c41091dd79da3612b0227c68139da7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 12 11:31:30 2010 +0200
s4:ldif_read_prefixMap - don't cause memory leaks on error conditions
commit 14974ba1f1e23c3f960cc1c0dd4a1dcf0e5c5601
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:52:54 2010 +0200
s3: Remove smbd_server_conn from cancel_pending_lock_requests_by_fid_smb2
commit 5dc2fe5fdccfcae24819f533371d8aea4280bce7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:52:09 2010 +0200
s3: Explicitly pass sconn to process_blocking_lock_queue_smb2
commit 2592928f00b0d53da1b5df328f454b9c9415754a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:50:08 2010 +0200
s3: Remove smbd_server_conn from push_blocking_lock_request_smb2
commit 375ce3c96a695f447a09a8414735249e16cc7916
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:48:42 2010 +0200
s3: Explicitly pass sconn to [remove|schedule]_deferred_open_message_smb2
commit 9747eb45d606222b8a8361a9e0a3d878b063551a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:44:53 2010 +0200
s3: Explicitly pass sconn to open_was_deferred_smb2
commit c0240dbeecf74b5c3a681d919de8fb2cf3c7038e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:43:12 2010 +0200
s3: Explicitly pass sconn to find_open_smb2req
commit 330a64c72b1eb9f2fd87a74df82d54249c5f2b36
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:31:04 2010 +0200
s3: Explicitly pass sconn to process_blocking_lock_queue
commit cb03710c76b120c5aa3e8a5df2001ffca015b80b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:27:56 2010 +0200
s3: Remove smbd_server_conn from blocking_lock_cancel_smb1
commit cc825231cd50c5214dc6167a441432a7751413bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:26:32 2010 +0200
s3: Explicitly pass sconn to recalc_brl_timeout
commit ec2079f5d0d41aa580008efc43c9019764a68ec3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:25:08 2010 +0200
s3: Explicitly pass sconn to blocking_lock_was_deferred_smb1
commit f856fb0b359a21a786a62ea9f70043afcd6f8373
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:23:12 2010 +0200
s3: Explicitly pass sconn to remove_pending_lock_requests_by_mid_smb1
commit 91bd52da1a96f7be60df93dfb1a629424b517f0c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:18:55 2010 +0200
s3: Remove smbd_server_conn from cancel_pending_lock_requests_by_fid
commit 034e616448d54a515ffd8a0b87baed09977854e2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:18:15 2010 +0200
s3: Remove smbd_server_conn from push_blocking_lock_request
commit bfd5f24fa1a9b8914ac81161b4612bdcfd408174
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 14:16:39 2010 +0200
s3: Remove smbd_server_conn from brl_timeout_fn
commit 6b8db9b215395c41aa5cd18a3a6109f6aaca242a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:23:10 2010 +0200
s3: Remove smbd_server_conn from switch_message
commit a529fbb713d99b73a20f54302ebd3faaf667458d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:21:46 2010 +0200
s3: Remove smbd_server_conn from break_level2_to_none_async
commit 5d43180a550b7b4ad4613e99437cb92a1ef7ebd9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:20:17 2010 +0200
s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_mid
commit f589909eb1ef6117007948f54c291775141be645
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:17:51 2010 +0200
s3: change_notify_reply() does not need its "conn" argument
commit 4a9b3e557f0a3b4049b301574461a39ef0e4ba09
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:13:20 2010 +0200
s3: Explicitly pass sconn to the change_notify_remove_request
commit 9386e2d9d8c908a5424e244b0c049fbcfab07aa9
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:43:11 2010 +0200
s3: Remove smbd_server_conn from change_notify_add_request
commit 2509eb4209a5568c4c96e34d3ccfd98bc94e60bd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:39:47 2010 +0200
s3: Remove smbd_server_conn from reply_sesssetup_and_X
commit c03012ea1c2111647f60d3d7cd79c1489b3d92eb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:39:21 2010 +0200
s3: Fix a typo
commit 8de7bf19b8138e6fd1d138d3594d129ed06aa011
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:39:00 2010 +0200
s3: Remove smbd_server_conn from reply_sesssetup_and_X_spnego
commit 853b29066c54079974fd130ba52de96f070d6bb4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:38:29 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_auth
commit 32900fdc97c2da365349506a0822a1b1b9b81ec6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:38:09 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_negotiate
commit 0f852ab070881c9227c29c40777aa1836af73783
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:37:49 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_ntlmssp
commit 2260dbecc2a54f618f6407c111d33308469d193b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:37:31 2010 +0200
s3: Remove smbd_server_conn from reply_spnego_kerberos
commit 89c5023b2519cf4e189b9cdcc00bd551e577f16f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:30:04 2010 +0200
s3: Explicitly pass sconn to the api_ functions
commit f437f12d3eb67d148bde19f66005039c2a979e92
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:21:20 2010 +0200
s3: Remove smbd_server_conn from send_trans_reply
commit 391cb416f610029d77cc72a628af8abdd7213206
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:10:37 2010 +0200
s3: Remove smbd_server_conn from reply_findclose
commit 93867d5f3410c2c582aaa5eb2ac5eff42f27025a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:10:07 2010 +0200
s3: Remove smbd_server_conn from call_trans2setfsinfo
commit b250232b8b86bb705c216460730e2db472d426e3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:08:12 2010 +0200
s3: Remove smbd_server_conn from smbd_do_qfsinfo
commit b340953881b8325a98afd3dc96ccf57c26a32f8c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:06:14 2010 +0200
s3: Remove smbd_server_conn from call_trans2findnext
commit 6608400e2d21f47a33872f9e365308b88309ac4f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:05:37 2010 +0200
s3: Remove smbd_server_conn from call_trans2findfirst
commit 72b4afc6998a6340c85c44c8da15beb02d268e32
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:05:12 2010 +0200
s3: Remove smbd_server_conn from send_trans2_replies
commit 29f716971abd846425792203fc6289d6137d5167
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:02:47 2010 +0200
s3: Remove smbd_server_conn from register_existing_vuid
commit dd192bb649341d0f2bd91350c7efe98dbdb47172
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:55:42 2010 +0200
s3: Explicitly pass sconn to is_valid_writeX_buffer
commit 73955a2d92bff0dd78b42f9ec34835fb6a78583a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:53:25 2010 +0200
s3: Explicitly pass sconn to reply_readbraw_error
commit d5f20aea73de38d0536b7ec3fa6b425bf3fdde34
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:50:56 2010 +0200
s3: Pass sconn explicitly to reply_special
commit 7223799b6eb37d7d9e686ec75454ece7f02a9e17
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:49:02 2010 +0200
s3: Remove smbd_server_conn from smbd_do_locking
commit 5005ad2e78ccd5f28d943f84016d4787e3bd61c2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:48:06 2010 +0200
s3: Remove smbd_server_conn from reply_rmdir
commit 0d6f3d64fa076c9d5185062c04139c36d28ee14d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:47:33 2010 +0200
s3: Remove smbd_server_conn from reply_writebraw
commit 8f8aac9c2fae57351785e28afc7096f9dc7be028
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:46:29 2010 +0200
s3: Remove smbd_server_conn from reply_read_and_X
commit e16476ac4839199f71db2c1687388cc7e84ce2bc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:45:24 2010 +0200
s3: Remove smbd_server_conn from send_file_readX
commit 993738d3688d0d37e65661638b09c9d823db16c5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:44:41 2010 +0200
s3: Remove smbd_server_conn from reply_read
commit 96acccf26173d5e33362929330d4aae19d09fe92
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:44:14 2010 +0200
s3: Remove smbd_server_conn from reply_lockread
commit fd1891829a60967114353e42dc3ee73b84e1ac33
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:43:53 2010 +0200
s3: Remove smbd_server_conn from reply_readbraw
commit 2826471123857c3304763fee25c639f41cbd1d84
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:42:40 2010 +0200
s3: Remove smbd_server_conn from reply_send_file_readbraw
commit f26b7384124df20f2bfefbed44586179ab3a563e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:42:06 2010 +0200
s3: Remove smbd_server_conn from reply_ulogoffX
commit 557aebc327d6b8db190debac5ccab53799182835
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:41:40 2010 +0200
s3: Remove smbd_server_conn from reply_fclose
commit 96854ec994c15bb14fea6e540019001833c8db1a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:41:22 2010 +0200
s3: Remove smbd_server_conn from reply_search
commit bf2f2f468c9bca7c4fbbfa778a25b366508b5048
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:41:00 2010 +0200
s3: Remove smbd_server_conn from reply_tcon_and_X
commit 0275502b9ce870656e033791196c2c33330ca4b0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:40:37 2010 +0200
s3: Remove smbd_server_conn from reply_tcon
commit d724ac3e8c861b0fa59fd3fb9529af9c8aa0642e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:39:03 2010 +0200
s3: Remove smbd_server_conn from make_connection_snum
commit d04a89682a062e48dfd01f5b56899b84eb9220b6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:34:38 2010 +0200
s3: Remove smbd_server_conn from change_to_user
commit 5a2277ca2f2457b32eaf68f4539b037733022e4c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:29:26 2010 +0200
s3: Remove smbd_server_conn from reply_ntcancel
commit e01ee1c77d4c120f29dd636e40d9e71835f149f5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:29:12 2010 +0200
s3: Remove smbd_server_conn from send_nt_replies
commit b55a8e8ccf060be0e8aee92719ec1dab5d9736c1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:26:51 2010 +0200
s3: Remove smbd_server_conn from reply_smb2002
commit a45ea200c67ea1be4accc17d05513653c454556e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:25:41 2010 +0200
s3: Explicitly pass sconn to negprot_spnego()
commit b82fc135a760fc9d153e0fe5e86b28a08c98f92c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:19:21 2010 +0200
s3: Remove some global references to smbd_server_conn
commit 3087986e768e4d79d321dcb2062f883237b0794a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 13:08:31 2010 +0200
s3: Remove sconn arg from smbd_notify_cancel_by_smbreq
commit 546a264e0e2b6bc31768cee4bc2ce478019d2c42
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 12:54:02 2010 +0200
s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request
commit 46a48edcdfc043a400310e6b1b84d0469c5623e1
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:06:24 2010 +0200
s3: Use "sconn" argument in smbd_[un]lock_socket_internal
Metze, please check!
commit d7bc5fe7346e4f6c3f04be96618046879666a127
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:01:27 2010 +0200
s3: Pass sconn to init_smb_request()
commit edfc7eaf6ddd0e08c6a8544230c42f50ed45d9aa
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 11:01:10 2010 +0200
s3: Add "smbd_server_connection" to smb_request
commit 312a508e8880bead0d5a3343540f67e7696a00a0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jun 12 10:28:42 2010 +0200
s3: Fix some nonempty lines
commit 8d8678fcfd8017a679ec9ce442f050a43689fcaa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Jun 12 11:03:36 2010 +1000
s4:dsdb Allow calling dsdb_convert_object_ex() directly
This will allow the libnet_vampire code to manually convert individual
schema objects.
Andrew Bartlett
commit 72486a6dd16608465e1b76bf838d3f5b019dac8f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 21:34:48 2010 +1000
s4:dsdb Add debug
commit 088d5b76ca416e798b505d9fd9266db73a0a8450
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 21:29:57 2010 +1000
s4:dsdb Simplfy match of objectclass in dsdb_schema_set_el_from_ldb_msg
There is no need to do a full ldb_match_msg() for a simple case
insensitive string.
Andrew Bartlett
commit 57b6979ad034b50debd47979e05b925daa54b5a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:58:44 2010 +1000
s4:provision Allow both additional and override prefixmaps in Schema
The idea here is to allow some callers to specify a new prefixMap that
will override the values loaded from the prefixMap.txt.
Andrew Bartlett
commit 6336f244758e78dfce61715b5de403e3db7fb02e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:51:30 2010 +1000
s4:dsdb Allow a binary prefix map to be specified in the LDIF
This allows it to be specified in either binary or as a string.
Andrew Bartlett
commit d6f5c1ace215131dc09611abcd2a52254bdab4d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:27:59 2010 +1000
s4:dsdb Provide a function to convert from DRS prefix maps to the LDB prefixmap
This allows us to push a prefixmap directly into the schema we
generate in the provision code.
Andrew Bartlett
commit e82836467c2ecdcb2c89c2b6eb4dae51bd2f22a2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 10 08:25:49 2010 +1000
s4:dsdb Add more debugs to help track down failures to parse the prefixmap
commit c6bf8e4cadea563011630af2fa673e3ea5e3b2ee
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 9 20:21:19 2010 +1000
s4:dsdb Put back the reference and set_attributes in dsdb_reference_schema
I'm not sure why I removed these in fe3e1af901c970f738bee92baac5d7d4f5736e17
Andrew Bartlett
commit 7aa8af144efc6d57f33b90ac856096aa7089468d
Author: Olaf Flebbe <o.flebbe at science-computing.de>
Date: Tue May 25 13:22:56 2010 +0200
check if LD_AS_NEEDED breaks linking with libreadline fixes #7209
Signed-off-by: Simo Sorce <idra at samba.org>
commit c65eb4852c2c401149b840884e76a21ff7cd37c7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 16:02:10 2010 +0300
s4/test-libnet: Re-align code a bit - more readable this way IMO
commit 9baa73053e9119991d3ad6c72b153a006e153b89
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:44:34 2010 +0300
s4/test-libnet: Refactor test_group_create() a little to:
- Close unused policy handle for created group
- re-align code - it is more readable this way IMHO
commit 6eecb968cb0eeea7212477dcee8148f093d8c88f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:37:12 2010 +0300
s4/test-libnet: Refactor test_user_create() little bit to:
- fix a flaw that user RID is not returned in case
user is recreated
- close unused policy handle to created user
- do not take into account the result from
test_samr_close_handle - we don't case
commit a735c1ade2573fadc84a0aae03cdaa1bddd43f90
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:30:09 2010 +0300
s4/test-libnet: add few comments for utility functions
commit 84fb3ed8a5e6cb253ec1e461185b0b68e57cf21a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:11:01 2010 +0300
s4/test-libnet: Move LSA close handle function to a common location
commit 8714f130e5de2738e8fd430385f236f2e360967e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 15:01:07 2010 +0300
s4/test-libnet: remove unused code
Pre-connecting SAMR and LSA pipes is implemented in
test_libnet_context_init() function
commit 7168b1c99ffa093fd62597762aef2dfc129875fa
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Jun 11 14:59:57 2010 +0300
s4/test-libnet: Fix compile-time warning
commit e3c95940cd6e1f6976cb249a8b329cdff4c756ee
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Jun 11 17:22:21 2010 +0300
Adjusted ACL tests to use encripted connection.
This way we get rid of the conditional if.Samba checks, because users are
successfully created and enabled.
commit 4bb351ac8080c92ff6a84a5cdeca0b158864da1b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 11 15:05:36 2010 +0200
s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3().
Guenther
s3:auth do not fail if there are 0 group sids
Signed-off-by: Günther Deschner <gd at samba.org>
commit a9b06f58f254e659ccf253af0d8fb7f062e03188
Author: Olaf Flebbe <o.flebbe at science-computing.de>
Date: Fri Jun 11 13:52:23 2010 +0200
configure.in prevent generation of file "shlib.so"
commit 4fc36ca802230fbed8bb2b3b959bc2a6afd1ed3d
Author: Simo Sorce <idra at samba.org>
Date: Fri Jun 11 08:25:27 2010 -0400
s3:auth fix samu->info3 conversion
Some pdb_get_ functions where missing because of previous mis-patching
commit d5cf6482ed0cd9a11448ca04944b2e01200a7c89
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 14:33:05 2010 +0200
s3: Fix starving the echo responder
When both the echo responder and the 445 socket want to send stuff to the
worker smbd, the select loop is not fair. It always chooses the smaller file
descriptor to work on. This can mean that on a busy system the echo responder
never gets around to feed its stuff to the parent.
This fix chooses the async echo responder socket when both the 445 and the echo
responder socket are readable.
Yes, it is a very hackish fix which is required *now* I think. The proper fix
would be to either assign priorities to fd's in tevent, or the from my point of
view better fix would be to make tevent kindof round-robin.
Round-robin would mean that whenever a fd has been dealt with, it is taken off
the list of interested sockets, and only if no other socket is active, all of
the ones waiting are put back. This is a bit like EPOLL_ONESHOT, which I would
like to use for this in the epoll case. Although, I need to do some research if
maybe epoll already guarantees round-robin, I did not find anything in the docs
yet.
Volker
commit b61fa4b67686aa5df69c28ca86d8d26aaa3ba9d4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 10:19:19 2010 +0200
s4:rootdse LDB module - use LDB result constants
commit 93fe926842227bb7605503f69e471df765ab87e9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 10:04:50 2010 +0200
s4:passwords.py - set the "dSHeuristics"
As per Nadia's request and abartlet's suggestion the test now also sets the
"dSHeuristics" attribute properly to be able to perform the tests also against
Windows without further configuration.
The code has the neat feature that it undoes the change and resets the
behaviour as it was before.
commit 61976e4fcf49b340a50487d177dea38321ab0e06
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 10:04:19 2010 +0200
s4:passwords.py - use "self" before "enable_account" to make really sure which LDB connection should be used
commit 315602f8455fd8fa86254585a27cca91f1542201
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 09:19:02 2010 +0200
s4:ldap.py - check how the directory server behaves when the 'distinguishedName' attribute wasn't set correctly
(On add operations the server does completely ignore it and uses the "header"
DN)
commit ace9bd6560fcbd918ea38e6541137bbfe99da73c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 09:17:08 2010 +0200
s4:ldap.py - check if the "name" of an entry was really ignored
commit 4d3362776f72407e8609144d2801ba067485a261
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 08:52:12 2010 +0200
ldb:ldb_sqlite3 backend - remove a warning which has already been resolved
commit 155a672567ac95e0a631a82f9273ddec71bcf643
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 11 08:50:36 2010 +0200
ldb:ldb_sqlite3 backend - remove checks which are now done elsewhere
(In SAMBA LDB modules)
commit 4690ebf0f47ec435e2e63687dce257b6b2bd5464
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jun 11 01:47:45 2010 +0200
Add missing stub functions.
commit c446fbc3bfa345c8bc748a162dedb24857272aab
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jun 10 23:12:53 2010 +0200
s4-python: Fix formatting.
commit a53ca944163f5366493b4c36ed94fd9f92e86238
Author: Simo Sorce <idra at samba.org>
Date: Mon Jun 7 17:38:01 2010 -0400
s3:rpc improve handles memory hierarchy and use better name.
While there also cleanup the code a bit.
Signed-off-by: Günther Deschner <gd at samba.org>
commit bcc4383ef28c16ded8548ce54b18cf32e49636dd
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 12:26:15 2010 +0200
s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite.
Guenther
commit 1ceb0dd92f1c1795264832eee0711612cc58d9a8
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 18:23:06 2010 +0300
s4/test: use test_libnet_context_init() function to create libnet_context
This way we ensure that LIBNET call will be issued against
the DC we are testing against
commit d6d8ec80f9fc713924df1c9b72ab0491bdf95bde
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 18:21:44 2010 +0300
s4/test: fix SEGFAULT in test_group_create when rid is NULL
Caller of this function may not need group RID and
in such case it passes NULL for rid parameter
commit eda49261205471a1e0c96ae4e1eda037edb11eba
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 13:12:08 2010 +0300
s4/test-libnet: Helper func to initialize libnet_context
and create rpc connections to SAMR and LSA pipes.
This function should be used in cases where we need
'deterministic' connection to the DC we are testing against.
The problem is that most of the test follow the pattern:
1. Connect to server supplied on command line
2. Create user/group through connection in 1.
3. Use 'fresh' libnet_context to query/alter the object in
step 2.
In singe-DC environment this work well. But in multiple-DC
environment libnet may connect to another DC (step 3), not
the one we use in step 1 and 2. This leads to false error -
object created in step 2 is not found on DC we are querying
in step 3.
commit 85d7863b2c2420bd652d73ab4ec230f709acae73
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 02:02:06 2010 +0300
s4/test: Call test_user_cleanup with original RDN for the user
'name' var is changed during the test execution and should
contain samAccountName for the user, while test_user_cleanup()
expects account RDN to be passed
commit 61e5ac4a5a1d4a2bb59297cd28288ef1460d1ea4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Jun 10 01:59:51 2010 +0300
s4/test: Fix incorrect NTSTATUS comparison
In case group already exists, we should get NT_STATUS_GROUP_EXISTS.
commit 64a71d380cb88b19ecb8673dab07210514fc6a52
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 8 18:03:00 2010 +0300
s4/test: remove create/delete group implementation in API-CREATEGROUP test
We already have common implementation for create/delete
group in libnet/utils.c
commit d02c395abdee28a7eef2cbbbf2e183da8f707004
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Jun 8 15:44:00 2010 +0300
s4/test: Remove duplicated test_opendomain() functionality
We already have a nice common test_domain_open()
function in libnet/util.c
commit 7135abcd8d979b9f7149e74f80edf118dc98de51
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 7 18:44:14 2010 +0300
s4/test: libnet_user tests should use common test_user_cleanup
implementation instead of not-so-informative test_cleanup()
commit d1bcc23b2c4df54e42597647395ccd948e338195
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 7 18:33:35 2010 +0300
s4/test: Refactor test_user_cleanup to be more robust
We always call this function with user's account RDN
while samr_LookupNames() searches for samAccountName.
commit 1b8a8ddfe08bc4c083510ccf60e96079af952b74
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Jun 7 17:51:26 2010 +0300
s4/test: remove duplicated comment
commit 09627638224759c985f0636c5616b0357c91e450
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 10 11:48:39 2010 -0400
s3:misc make use of server_[event/messaging]_context directly
Untangle these functions from smbd specific dependencies so they can be freely
used in multiple servers.
commit cbda0369a831ed279cec7ff231ad7399af74db39
Author: Simo Sorce <idra at samba.org>
Date: Thu Jun 10 11:55:27 2010 -0400
s3:winbindd use common server context functions
commit 5e576a53abbf2822c0a8fcc87f76140a755599e4
Author: Simo Sorce <idra at samba.org>
Date: Thu Jun 10 11:54:00 2010 -0400
s3:lib make server contexts generic
Pair-programmed-with: Andreas Schneider <asn at samba.org>
commit aeb25ad0b87af2a2af7735f49744a677ebf4fe06
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 14:28:55 2010 -0700
Fix the build in the non WITH_AIO case (sorry).
commit a8c051b2f91852b5228d6a903d6a7fd50d22de28
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jun 10 23:15:19 2010 +0200
s3: readd h_errno struct member but rename it
as pointed out by metze this is a structure of fixed size, which should not be
changed.
commit b53f8c187de8c8aff5989e4a0a460970f89b9011
Author: Rusty Russell <rusty at rustorp.com.au>
Date: Thu Jun 10 13:27:51 2010 -0700
Since idtree assigns sequentially, it rarely reaches high numbers.
But such numbers can be forced with idr_get_new_above(), and that
reveals two bugs:
1) Crash in sub_remove() caused by pa array being too short.
2) Shift by more than 32 in _idr_find(), which is undefined, causing
the "outside the current tree" optimization to misfire and return NULL.
commit 321d7a6303b651cc2533f4b72dc7cef6b7d64da4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 13:20:37 2010 -0700
Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).
Jeremy.
commit edd8940e1864deedaf0f6484809def586ac215f2
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 13:19:25 2010 -0700
Ensure we correctly setup req->subreq before testing for async. Stops crashes when
XX_send functions set async to stop interim replies being sent.
Jeremy.
commit b5638a05601ce8206a85c2f3625f8894ed0e0a6f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 10 13:17:35 2010 -0700
Don't use the autofree context for the globals. This causes child smbd's forked
by modules to crash due to destructors being called (found when using the vfs_aio_fork
module with smb2).
Jeremy.
commit 405a0c558c023a752e88e52b7e40048d3b7090c5
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu Jun 10 14:56:03 2010 -0400
s3:cleaunp reformatting for readability
commit 446deb0082193d1203a1454b93458ab23757a112
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu Jun 10 14:36:19 2010 -0400
s3:cleanup remove trailing spaces
commit ec94efb79d4516b09c7d1d93a4ff8ce0f7046f41
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jun 10 17:19:16 2010 +0200
s3: fix build on HP-UX
this struct member h_errno is not used in the HP-UX code paths, it was just
there because Solaris has it, too. As h_errno is a function call macro on HP-UX
when thread support is enabled we run into trouble here. Just commenting it out
should be okay as we don't use it anyway.
commit bdd83c0639ad0066a2b0e77611548f2d165bb747
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 16:18:41 2010 +0200
s4:ldap.py - add testcase which demonstrates the reset of the "primaryGroupID"
commit d604d499390dea1a10bfdd462b512bfe1845a101
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 16:15:10 2010 +0200
s4:samldb LDB module - fix up the case when the old and new "primaryGroupID" are the same
commit 13ca999b3b4660e530ac0b91342c40ff8a3c7a31
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 16:08:23 2010 +0200
s4:samldb LDB module - don't create multiple "ac" module contexts on modify operations
Since we do now run sequentially through all checks we don't need multiple "ac"
contexts anymore.
commit 9f9529886499acc80ad7316d5eab590545643b87
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 15:47:48 2010 +0200
s4:dcesrv_samr_Add/DeleteAliasMember - provide better NTSTATUS return codes when something didn't work
commit 7374cd035807029d800815f82474ab9c6ed2e861
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 12:42:04 2010 +0200
s4:dcesrv_samr_GetAliasMembership - fix type of counter variables
commit 34b43a8642bd13dfad50a4e2436ccc5814135ce2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 12:19:04 2010 +0200
s4:dcesrv_samr_DeleteAliasMember - add more braces to fit better the coding styles
commit 305f2c70434ecc244c4c7bcad285e2cfae8f3215
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 12:17:48 2010 +0200
s4:dcesrv_samr_AddAliasMembership - Merge the two error blocks into one
commit 13b1f7a2b33b299208abfbb50fbf1e2b982ca326
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 11:50:12 2010 +0200
s4:dcesrv_samr_Add/DelGroupMember - remove the account type check
MS-SAMR 3.1.5.8 speaks from accounts which are not necessarely only users.
commit f95634dbe0b8afbae8b90323ba98ddb69d9dcf6e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 11:48:33 2010 +0200
s4:dcesrv_samr_AddGroupMember - also the error code "LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS" is allowed
This is returned when the group is the primary group of the specified entry.
commit 1305c9159876f1621710b9888624aaf037046155
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 11:05:43 2010 +0200
s4:samba_dsdb LDB module - move the "objectclass_attrs" module back
I think it should be lower in order to control also the "instanceType" module.
commit c1b4ccb23b18c4d729f3fe299a1f03efa497a958
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 10:52:31 2010 +0200
s4:ldap.py - add a test to demonstrate the 'instanceType' behaviour
commit 0a41b7e95b394e410cc0d8d02e9ff5ea1f64cd9c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 10 10:39:52 2010 +0200
s4:instancetype LDB module - prevent all types of "instanceType" manipulation
Also on Windows Server you aren't able to change it.
commit f66cc827096c53d4d16b8c850c83a3b5664e9725
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 10 15:40:14 2010 +0200
s3: Fix EnumDomainAliases when no aliases are in LDAP
We used to return NT_STATUS_ACCESS_DENIED, now we just return 0 entries, just
like W2k8 does.
usrmgr.exe was pretty unhappy with the NT_STATUS_ACCESS_DENIED
commit ba809ecb8ab217e4376bf75d2300e146b62b88eb
Author: Michael Adam <obnox at samba.org>
Date: Thu Jun 10 11:56:15 2010 +0200
s3:pdb_ldap: fix bug 7505 - init_sam_from_ldap stores group in sid2uid cache
commit 1819beb0887d7ee75318d330124c13b2ad2d830b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 10 09:50:32 2010 +0200
s3: Add a dummy test to prove the maxfd calculation
To be run in a debugger, there's no way to inspect the internal tevent_select.c
maxfd calculation
commit 7f29f817fa939ef1bbb740584f09e76e2ecd5b06
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 10 09:41:11 2010 +0200
tevent: Fix maxfd calculation in tevent_select
When doing
fd1 = tevent_add_fd(ev, ev, 2, 0, NULL, NULL);
fd2 = tevent_add_fd(ev, ev, 3, 0, NULL, NULL);
TALLOC_FREE(fd2);
fd2 = tevent_add_fd(ev, ev, 1, 0, NULL, NULL);
we end up with select_ev->maxfd==1. This is wrong.
An alternative fix might be to make select_ev->maxfd an unsigned int and make
EVENT_INVALID_MAXFD==UINT_MAX. But in theory we might end up with an fd of
UINT_MAX.
std_event_add_fd() contains exactly the same piece of code, so I'm directly
pushing it.
Volker
commit 9fdb69ebcdca9e56e39affd7a35d1ccb28daad5c
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Jun 10 10:35:56 2010 +0200
s3-smbd: Fix typo in comment.
Karolin
commit 8ca88e2f818d01311e16c290882c8ec47f0d4bfc
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Jun 10 10:34:58 2010 +0200
s3-passdb: Fix typo in comment.
Karolin
commit d28fa8faab5de5979dcd5535a7cd7095d3233e29
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 19:12:02 2010 -0700
Rename "allow_smb2" -> "using_smb2" and make the usage clearer.
commit 3c0eead9fd0693c81388b42f34fadd503edfe891
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 17:09:11 2010 -0700
Split out the "finished write processing" code into a function so it can be called
by both sync and async code.
Jeremy.
commit efd0c35a7e195865b18ce75bf2d592aaf1724d7d
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 17:08:41 2010 -0700
Ensure we don't send SMB1 keepalives on an SMB2 connection.
Jeremy.
commit 09e74b675fb9090c34f03e0894340cffcb501004
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 9 10:48:12 2010 -0700
Split out the "finished read processing" code into a function so it can be called
by both sync and async code.
Jeremy.
commit 95047bc717a1129452b6e11d00e7a67d16156095
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 9 16:15:28 2010 +0200
s3-winbind: Fixed setting default sequence number.
commit 6a6bb768c6542d738a8b2b6da282159a65ed611d
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 9 15:24:26 2010 +0200
s3: fix calculation of st_blocks in streams_xattr
Thanks to Joachim Schmitz for finding that miscalculation.
commit 687c42ee6526ff5deb9f3a8d7c13667b520b7440
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jun 9 15:21:24 2010 +0200
s3: fix calculation of st_blocks in init_stat_ex_from_stat
this is just relevant for the very rare systems that don't have the st_blocks
struct member. This is a fixup of the fix for bug 7474.
Thanks to Joachim Schmitz for spotting this!
commit 8823bdc7e2d141add138420feadd86837ea2257d
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Wed Jun 9 12:03:32 2010 +0300
Added guids for the validated writes.
commit 1fd15dcb7c31f18036ce15cb504ae2d4a9122629
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 21:03:34 2010 +0100
s3: Fix bug 7253
acct_ctrl is 32 bit in LOGIN_CACHE, but "w" as a format specifier for
tdb_unpack only writes 16 bits. Okay on x86, not okay on Solaris.
Thanks to Vladimir.Marek at Sun.COM!
Volker
commit 34a8324409961c4837e83c714fb1a285f238312d
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 8 21:20:07 2010 -0700
Fix a valgrind error found by SMB2-COMPOUND test.
If a file is closed we must also NULL out all chained_fsp
pointers when the fsp is freed to prevent invalid pointer
access.
Jeremy.
commit 0c5d0e1c37daf5b802e990bde8469934ae33f6cc
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 8 17:44:05 2010 -0700
Second part of fix for 7501 - SMB2: CREATE request replies getting mangled.
Based on code from Ira Cooper <samba at ira.wakeful.net>, and also
advice on refactoring the patch into a function call. outbuf vectors
can be reallocated by smb2 processing code, so when returning interim
responses we must not make assumptions about vector size.
Jeremy
commit fd9e02d5f3a2d98fe14b10b52c4ca3e654a6bd3e
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Tue Jun 8 11:20:23 2010 -0700
Fix for bug 7501 - SMB2: CREATE request replies getting mangled.
Code for dup_smb2_req() was duplicating the wrong vector (i, instead
of i+2) when returning a non-minimal SMB2 response.
commit aeacb023b966dfe2943a5fa799a7b1bc4df4181c
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 14:34:20 2010 +0200
s3-selftest: disable domain creds smbclient_s3 tests for now.
Not sure they were ever working before.
With this patch, make selftest is down to 4 failures from 259 tests.
(two times LOCK9 from s3 smbtorture, one spoolss notify test and
samba3.posix_s3.unix.info2).
Guenther
commit 575b1018c65312e9eab562cf4851524cf2f8f24a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 11:25:00 2010 +0200
s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in netdomjoin-gui.
Patch from Buchan Milne <bgmilne at mandriva.org>.
Thanks!
Guenther
commit 7a7f28d96dd80d3ce175b0caee0c2169de7b810b
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 10:26:43 2010 +0200
Revert "s3:smbd Fix segfault if register_existing_vuid() fails"
This reverts commit 8f1cec5faf4e26de8b9797777059e99f2a66558b.
commit 3e502159c751d85c09df4e74a63c95738fad2d7d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 10:26:35 2010 +0200
Revert "s3:smbd Give the kerberos session key a parent"
This reverts commit 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397.
commit 34b29b11986095531488cd0139ecec6dd22e55d3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jun 8 10:26:08 2010 +0200
Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS"
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80.
Conflicts:
source3/auth/auth_ntlmssp.c
commit 984fec252af70ef54461ca84a6afedb97ff81dec
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 8 10:56:41 2010 +0200
s3-waf: fix the the waf build.
Guenther
commit 096a3d3eea60d514a5d8fe8a35b3e463238b3766
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 7 16:26:30 2010 -0700
Make aio_ex owned by a talloc context, not neccessarily on the null context.
commit d70413fa0cba9338fbf2adad0db6e4b88da9ad65
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jun 7 16:25:18 2010 -0700
Move "write_though" into aio_ex struct.
commit 5da783f4a79ee0a927f2483ae20b691074bb3007
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 14:08:05 2010 -0400
s3:smbd add utility function to check if there are open pipes
commit f9fc4df0c0a6401d185b057c17d6b30ef549b3d0
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 16:02:14 2010 -0400
s3:rpc make num_pipe_handles get an actual pipe as argument
Let the function abstract out how handles are counted
commit 22e9015e975096acf075240cc7d33f12c7c77395
Author: Simo Sorce <ssorce at redhat.com>
Date: Sun Jun 6 16:33:28 2010 -0400
s3:rpc handles are used by all pipes, use better name
commit f7e2e8370bfa91ad8dbd9de4f69bf1cfe0947573
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon Jun 7 15:07:38 2010 -0400
s3:rpc fix potential out of bound memory access
memcpy copies memory unconditionally, we are passing "" in some cases here.
Use strncpy which will stop reading from src if the null byte is found and
will fill with nulls the destination.
commit 711a30aa61bb5f6a9b3970007bad8a70f411fb87
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jun 7 23:06:28 2010 +0200
s3: fix build on platforms without st_blocks and st_blksize stat struct members
This fixes bug 7474.
commit 99c9e358c54b170b01e614483514026fddbd2688
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 21:26:33 2010 +0200
ldb:pyldb.c - we cannot use "ldb_dn_compare" if both message DNs are NULL in "py_ldb_msg_compare"
Discovered by the testcase.
commit 0c3dfd7a79d48ef5bdcd996537521868e479f1a4
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 04:16:11 2010 +0400
s4 python: add more unit tests to verify the compare tests
commit 1949864417f3d10fb8996df7db259649eb777271
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 20:46:59 2010 +0200
s4:objectclass_attrs LDB module - move the single-valued attribute check into this module
It seems to me more consistent (and also to keep the same behaviour on all
backends).
Also the DRS hack should therefore not be needed anymore since the
"repl_meta_data" module launches requests behind "objectclass_attrs".
commit a75d271373dbbff973544865c2c9715510d67669
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 20:31:22 2010 +0200
s4:rdn_name LDB module - move the "distinguishedName" write prevent check here
In my eyes it fits better here than in the TDB backend code.
commit 9a747d500fad699038ecf75615c680a9fd9e4cc7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 2 22:52:56 2010 +1000
s3:auth add hooks to indicate if signing or sealing is desired with NTLMSSP
This allows the right hooks to be called in GENSEC when s3compat
implements the auth_ntlmssp interface. Otherwise, we can't do the
signing or sealing as we have not negoitated it's use.
Andrew Bartlett
commit edba46ce94c335411ab337eeb4ef6f88fb3aae80
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Jun 2 22:35:53 2010 +1000
s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS
It's nicer to have an NTSTATUS return, and in s3compat there may be a
reason other than 'no memory' why this can fail.
Andrew Bartlett
commit 0af2dc43ade4f819ebbb192e3f5493838f99d89b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 3 21:05:57 2010 +1000
s3:named pipe proxy Improve error messages when named pipes fail to forward
I hope this helps the next person who needs to debug this.
Andrew Bartlett
commit 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 3 21:15:33 2010 +1000
s3:smbd Give the kerberos session key a parent
I can't see what would free this, so this should prevent a memory leak.
Andrew Bartlett
commit d25e9ab9a1b8c07a65034d36818819019e170e8d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Jun 3 20:59:25 2010 +1000
named_pipe_auth Always lower case the incoming pipe name
Windows connects to an upper case NETLOGON pipe, and we can't find the
socket to connect to until we lower case the name.
Andrew Bartlett
commit 8f1cec5faf4e26de8b9797777059e99f2a66558b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 19:19:01 2010 +1000
s3:smbd Fix segfault if register_existing_vuid() fails
The register_existing_vuid() call will handle both the ntlmssp_end and
vuid invalidation internally, so we don't want to do it again.
Andrew Bartlett
commit fc956cfcbb53103ed46a3729364e88536d569dc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:11:14 2010 +1000
s3:auth Rename user_info->domain -> user_info->mapped.domain_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit deabae191b34bdd350c7fe6c0c9ad05defa8d08c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:08:38 2010 +1000
s3:auth Rename user_info->client_domain -> user_info->client.domain_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit e21935fc74e8bd64bbd231d6388ea424708c3acd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 21:01:23 2010 +1000
s3:auth fix header comment for internal_username -> mapped.account_name
commit 7a021df96deaf6dbe9f1abdfc16f6276e4a192fa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 20:30:56 2010 +1000
s3:auth Rename user_info->internal_username -> user_info->mapped.account_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit 23159453d3e61e2ad47fe6f86f3763280a11ea0c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 20:27:03 2010 +1000
s3:auth Rename user_info->smb_name -> user_info->client.account_name
This is closer to the structure I want for a common struct
auth_usersupplied_info.
Andrew Bartlett
commit 0dc88d2745e89096fda0e097bcf958949d7efc2d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 15:02:38 2010 +0200
s4:samba_dsdb LDB module - fix typos
commit 63a8c658611cdd1aa975670965120c617519b190
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Jun 7 14:58:30 2010 +0200
s4:samba_dsdb LDB module - enhance/fix module rule comments
commit 00089fd74af740f832573d904312854e494a869e
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 11:29:29 2010 -0400
s3:auth make sure the primary group sid is usable
This function was previously performed under the cover by converting
back and forth from info3 to samu and then later from samu to info3.
Since we now shortcircuit that in some cases, check explicitly using
get_primary_group_sid()
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 048575defba064a8d9f0e4eb542a299dc8730327
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 11:02:47 2010 -0400
s3:auth return the full passwd struct from check_account
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0a7ff146171abd2dee4aac44e4f2c6c812f1027e
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 10:51:40 2010 -0400
s3:passdb Export function to calculate the proper primary group sid
Don't keep it buried in passdb, this function need to be available
for use in places where we do not want to construct an artificial
samu struct just to play tricks.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aaf45cd48ecf8e9f640a6f487b66785d47b8154a
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 17:03:18 2010 -0400
s3:auth remove unused structure member
sids are now completely handled using info3, remove dead code that fills
server info sids and the structure members themselves
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aa1a3cbad2ed62d5b59c48a6e7726eef4776f461
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 16:16:53 2010 -0400
s3:auth create nt token from info3 directly
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e6456df1489ec964445dfd6f009f9f75377b3d11
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 13:18:13 2010 -0400
s3:auth handle unix domain sids in samu
When we generate a user out of thin air we may end up adding sids
that are not part of the sam domain (unix domain sids).
Handle the case and preserve these sids as extra sids.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 61823fb8852cb8d66c341ecd54e7fb96abc4363a
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 13:22:41 2010 -0400
s3:auth set the resolved user sid in the fake sam account
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ef942172b9dfe3c30b86161445c7d6290579b6f2
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 11:14:01 2010 -0400
s3:auth check the user is valid first
It makes no sense to go through all the hoops to build samu and
convert it to info3, just to discard them later if the user was
not valid.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 1bb0afa662cb65ad8eeec59d40008c6604b791bc
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 11:07:49 2010 -0400
s3:auth make sure we set the right username
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit aa3272588662f1389138a177a4c6644668c052fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 20:58:43 2010 +0200
s4:ldap.py - add some "objectclass" behaviour tests
commit e3c686daec130fb3c4a7457943173f31851a8e7d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 23:02:25 2010 +0200
s4:objectclass LDB module - rework the code which handles the objectclasses modification
Before it has been very incomplete. We try now to match the Windows Server
behaviour as close as possible.
commit 17f465a4ac5562bec1b40dc97ac414fb3920175b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 23:09:28 2010 +0200
s4:ldap.py - enhance the attributes testcase to demonstrate how the attributes are checked against the schema and the specified objectclasses
This demonstrates the bew "objectclass_attrs" LDB module behaviour.
commit ee278bf0c48dbc8b7afc37762ad4f305014a2e2c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 19:06:58 2010 +0200
s4:acl LDB module - LDB attribute names should be compared using "ldb_attr_cmp" or "strcasecmp"
commit 566d13c5d11ae832285c09f74d25ffdcf0397735
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 20:19:31 2010 +0200
s4:acl LDB module - adaption for "objectclass_attrs" module
Since the attribute schema checking code moved back we need to give here the
"LDB_ERR_NO_SUCH_ATTRIBUTE" error.
commit e7eef53fe543c940f7a792b16d037fed8d7743ec
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 19:11:25 2010 +0200
s4:objectclass LDB module - remove "fix_check_attributes"
Also this task is now performed by the "objectclass_attrs" LDB module.
commit 227144e0503504d4c716af4a4e92dc6397c705de
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 19:53:33 2010 +0200
s4:samldb LDB module - adjust the module to set always a "defaultObjectCategory" on objectclass add operations
This is needed to make the "objectclass_attrs" LDB module happy. The search
check and case adjustment are done as it was using a second modify operation.
commit bd910952ba2256ff54c0e48a6feda285b9fbb8a5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 19:09:51 2010 +0200
s4:remove the "validate_update" LDB module - the task is now handled by the far more complete "objectclass_attrs" LDB module
commit 2586cbaadcdf9baf77be5ec5b612cff324ab19a8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 17:34:35 2010 +0200
s4:dsdb - introduce a new "objectclass_attrs" LDB module which performs the objectclass attributes checking
Until now we had no real consistent mechanism which allowed us to check if
attributes belong to the specified objectclasses.
commit 9e56b54414ce9f62edbd8f87c09885dbb4b3ccea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 19:17:16 2010 +0200
s4:objectclass LDB module - instanciate the schema variable centrally on the "ac" context creation
This unifies the position when the schema is read and prevents multiple
instanciations (eg on a modification operation).
commit da90868907c7dc7f9894dc06bd49df701ff442eb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 22:13:03 2010 +0200
s4:samldb LDB module - finally we can remove the RDN check
This is now dynamically always done by the objectclass LDB module
commit 9ab3365fa5a37257d818c414925264a336eb103c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 22:06:39 2010 +0200
s4:ldap.py - enhance the rename tests to demonstrate the functionality
commit ec9b6f3c608f61d694f2defe816b55bdc6d169ea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:55:08 2010 +0200
s4:objectclass LDB module - finally implement the correct entry rename protections
Only the "systemFlags" check is still missing.
commit 0ca17eaa15641708acf182b9ed1cb33222b05617
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:43:55 2010 +0200
s4:objectclass LDB module - cosmetic change
commit c6020ccb87337b9045c51674d4d01c19f43fd288
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:42:06 2010 +0200
s4:objectclass LDB module - remove duplicated code
commit 95da72432560c042400faccb7f16d9ab9cd38df1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:24:49 2010 +0200
s4:objectclass LDB module - fix counter variable types
commit 0408ec11a9503a6e523651cc078334158c8c6f53
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 21:23:34 2010 +0200
s4:objectclass LDB module - explain why the search can return with an empty return
commit 6afa5a733c3ab12fd03e6980898e21f8d112bc3b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 19:44:22 2010 +0200
s4:objectclass LDB module - this "talloc_steal" is not necessary
The "parent_dn" was created on the "ac" context which lives anyway longer
than this child request.
commit 2d3760c04cd4a17a8c85196a0a7c4275e3b7050c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 4 20:48:52 2010 +0200
s4:objectclass LDB module - fix error result if an entry doesn't contain a structural objectclass
We need to return LDB_ERR_UNWILLING_TO_PERFORM (not LDB_ERR_NAMING_VIOLATION).
commit 2a294d380f13edad6fcdd3572336ba797baaa0e1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 13:06:54 2010 +0200
s4:objectclass LDB module - use "ldb_oom" for expressing out of memory
commit 3c4336bf949a47084ebcb068b2b9223eba4137e3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 22:42:59 2010 +0200
s4:objectclass LDB module - fix header and add my copyright
commit 04c7484cf9e8dd6d2d0b641eb942fcb97a604d9b
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 27 09:07:03 2010 +0200
s3-waf: Build rpc_server/srv_spoolss_util.c too.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0604df52e3b161e010ad4f1aba1a4bc7973c64c1
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 12:55:43 2010 +0200
s3-lsa: Fix static list of luids in our privileges implementation.
The high/low order changed while moving to LSA defines. Found by torture test.
Guenther
commit 5def19e4dc0b9f15fa30f7895a2b016c4e59abb0
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 12:41:39 2010 +0200
s4-smbtorture: test workstation auth as well in RPC-SPOOLSS-ACCESS.
Guenther
commit e2061095b52a198fa221d190117dcebbb63058e6
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 7 04:15:28 2010 +0400
s4:ldb python bindings - implement comparison on Python LDB Message objects
Coauthors: Jelmer Vernooij, Matthias Dieter Wallnöfer
commit 315aeef0f9fa20a4628783241f90dbeacf0b6dc4
Author: Matthieu Patou <mat at matws.net>
Date: Sat Jun 5 19:25:18 2010 +0400
s4: Remove an uselessly exposed control
commit e271a2b861206eef65e3c9cc14c3403579d4621a
Author: Günther Deschner <gd at samba.org>
Date: Mon Jun 7 11:21:26 2010 +0200
s4-smbtorture: handle printservers w/o printers in RPC-SPOOLSS-ACCESS.
Guenther
commit 4591fdbc18b0d7a1117de196675067e88bc341b7
Author: Günther Deschner <gd at samba.org>
Date: Sat Jun 5 02:39:11 2010 +0200
s3-privileges: use LUID defines from lsa IDL.
Guenther
commit f7696717800e82193e2b1ab1b3467e117306a769
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Fri Jun 4 17:48:40 2010 -0700
Fix bug with incorrect flag values for inherited ace in some cases.
commit 98b98a29f6502422fb6e4bd8c16b5731e2c9c553
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:35:00 2010 +0200
s4:password_hash LDB module - adapt the module to the new "ldb_msg_remove_attr" behaviour
commit 28cb8839b75ed9a023a032c195469b61224fe688
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:22:10 2010 +0200
ldb:ldb_msg_remove_attr - provide a better implementation
We can have some special (bad) messages which contain multiple message elements
for the same attribute. The AD password change ones are such an example.
commit 93db960fae43913a423fe1e35a60acf5ed0cc437
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 19:12:48 2010 +0200
s4:samldb LDB module - this codepart isn't needed due to the objectclass LDB module
When a "computer" entry will be added, also the inherited "user" objectclass is
going to be specified.
commit df63b2ca0e64897b18f8b6be8c31e16d62a96a30
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Jun 4 21:10:41 2010 +0200
s4:get_last_structural_class - only real structural classes can be candidates for fetching the last one
Classes with objectCategory = 1 are always structural, these with
objectCategory = 0 also (as we can see in our Windows 2008 R2 schema file where
class "Person" has 0 but is structural).
Abstract classes and auxiliary ones cannot be considered (objectCategory = 2, 3)
http://msdn.microsoft.com/en-us/library/ms677964(VS.85).aspx
commit ae9faaa89449cf25c2e5e8b51e64ceaacba01832
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:05:52 2010 +0200
s4:ldap.py - enhance the RDN name test to show that invalid "name" attributes are allowed on add operations
commit dd64b253fcd9013788093f6b98ebd14ef2308619
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:25:43 2010 +0200
s4:rdn_name LDB module - use "ldb_msg_remove_attr" for deleting attributes
commit 430491b2df9e3512a98a88aa279f04a91c12be92
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 17:56:09 2010 +0200
s4:rdn_name LDB module - remove "rdn_name_find_attribute"
It does exactly the same as "ldb_msg_find_element".
commit cadf774f8b8af2aedcdd359acf51695e9f4b04db
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 14:52:46 2010 +0200
s4:dsdb/common/util.c - provide a better implementation of the "samdb_msg_add_(add/del)val" calls
This supports now also coexisting add and delete message elements with the
same attribute name.
commit fa2a86ec61a80f7fe85a2bb9668885a0b287afd6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Jun 3 18:37:15 2010 +0200
ldb:ltdb_filter_attrs - fix a counter variable type
commit f3f91063bd1f79c8734fa55e92392a8f30ec4144
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 14:33:52 2010 +0200
s4:ldap_server/ldap_backend.c - send back also the extended error message if it exists
This message often contains suggestions how to fix issues.
commit 45171d61083339a624a83a1412602475ce7978a6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 17:45:51 2010 +0200
s4:ridalloc LDB module - add more "talloc_free"s where useful
Some were missing on failure return branches.
commit 787a42ef9972eca3f3889e2ad8b5e890b7c551fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 20:08:45 2010 +0200
s4:acl LDB module - fix counter types where appropriate
commit fc037e029e23aeaa8debe1c17cf81bd3a859ae4a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 19:58:28 2010 +0200
s4:descriptor LDB module - cosmetic fixup
commit 2fbb8c08ef6042a7f479e3d9ef36ba7cc730de79
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 20:23:42 2010 +0200
s4:urgent_replication.py - specify the "dnsRoot" attribute which is requested on "crossRef" entries
commit 7896a35da37c5d1cae44d864a5069df08d21013e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat Jun 5 22:19:58 2010 +0200
s4:ldap.py - make sure that also the "posixuser" will be deleted on test breakages
commit b8ea2e07575a6f152019a8fbe17bf65552fbd324
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Jun 6 00:11:16 2010 +0200
s4:provision - fix typo in substitution variable
commit 62e0a744e23ced873241b8fd531276e8f0c870b7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 21:00:24 2010 -0700
Fix a long-standing bug with async io that would only be triggered by SMB2.
On normal or shutdown close, ensure we wait for any pending IO to
complete before returning. Implement a blocking aio_suspend inside
vfs_aio_fork.c. These changes pass make test when the aio_fork module
is used by default on the test shares.
Jeremy.
commit 79ec886aa4e8398cd45d9821030a1b87a17950f8
Author: Björn Jacke <bj at sernet.de>
Date: Sat Jun 5 02:13:21 2010 +0200
s3:build: add shared lib flag for HP-UX compiler
commit a973eb1968c416eb17de71655173fa2af16cb185
Author: Björn Jacke <bj at sernet.de>
Date: Sat Jun 5 02:12:02 2010 +0200
s3: fix build on Heimdal based systems like NetBSD5
commit 6309f7b9505d1de60ef01a7129e2d6022cdc8b9d
Author: Günther Deschner <gd at samba.org>
Date: Sat Jun 5 01:26:49 2010 +0200
s4-smbtorture: make RPC-SPOOLSS-ACCESS more compatible with older samba releases.
Guenther
commit 3ad2fa672818269f2cbb7a63ff71df4f2cc81a95
Author: Günther Deschner <gd at samba.org>
Date: Sat Jun 5 01:25:05 2010 +0200
s4-smbtorture: remove another incarnation of test_ClosePrinter.
This should fix the build; why waf didn't catch that durint make bin/smbtorture4 ?
Guenther
commit e89502e0f5a79c960cbecf50f49af3aa4bba8e35
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 19:03:11 2010 +0200
s4-smbtorture: add RPC-SPOOLSS-ACCESS.
This test creates
- a user
- a user with BUILTIN\Administrators membership
- a user with BUILTIN\Print Operators membership
- a user with SePrintOperatorPrivilege (if available)
- a user with full access in security descriptor
and checks what access rights are granted in spoolss_OpenPrinterEx.
Guenther
commit 29c0c103afed7238698cc83ff3ab017fc1510dcd
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 19:02:17 2010 +0200
s4-smbtorture: share test_ClosePrinter between RPC-SPOOLSS and RPC-SPOOLSS-WIN.
Guenther
commit b3ebebd3b18e4d9ebfc50012e02f7011f8d067be
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 16:55:07 2010 +0200
s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().
Guenther
commit 8b3059de977eeeae69ebff7d33119bd6b565b637
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 19:05:24 2010 +0200
s4-smbtorture: check error codes in RAP-SAM testsuite.
Guenther
commit fb79a8d7f0f4b7686983d8c9025c1ebd0445e84f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 13:49:38 2010 -0700
Oops. Forgot to re-initialize the aio_ex pointer from sival_ptr.
commit b12409a480410116b88f8c6a4522a79056ccbaff
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 11:41:57 2010 -0700
wait_for_aio_completion() should return 0 on non-aio compiled case.
commit be5133f1e07599862ae732056161be6c124a0664
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 11:41:38 2010 -0700
Rename req -> smbreq.
commit e0acee4919d1f416c98faa1a0ebc779f3716ab70
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 4 11:30:46 2010 -0700
Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies
the code and eliminates find_aio_ex().
Jeremy.
commit 15f64af8e3d5aa889a9c9fb852a3357237ba9972
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 3 22:04:08 2010 +0200
s3-rpc: Create a file with all functions for a internal named pipe.
This makes it possible to use the samr rpc server in winbind without
linking in smbd.
Reviewed-by: Simo Sorce <idra at samba.org>
commit 3344adc3404df47f02f6eb3096cb623ae94850b8
Author: Andreas Schneider <asn at samba.org>
Date: Thu Jun 3 22:01:46 2010 +0200
s3-rpc: Seperate rpc_srv_register for plain connection.
This will make it possible to create plain rpc named pipe connnections.
Reviewed-by: Simo Sorce <idra at samba.org>
commit 9097bdddd03f81579699e0d0ce725a7453a3a158
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 2 19:39:18 2010 +0200
s3-auth: Moved smbd user functions to a generic place.
Reviewed-by: Simo Sorce <idra at samba.org>
commit fad86ddf5531c8f5862b697e99c24a7bd526d73e
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 31 18:33:38 2010 +0200
s3-smbd: Remove unneeded dependency of map_username to globals.c.
Reviewed-by: Simo Sorce <idra at samba.org>
commit 09daf63c9332d0314dee6c7a46b95aacb470940b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 4 14:31:08 2010 +0200
s3-selftest: do not call main RPC-SPOOLSS testsuite.
The tests formerly available in there can now be accessed via
RPC-SPOOLSS-PRINTSERVER.
Guenther
commit bb4693d15e18d7ee775d45cf7519b2352d9d5d7a
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 21:39:51 2010 +0200
s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via
RPC-SPOOLSS-{addprinter,addprinterex}-testname.
Guenther
commit 789125f9a4fedaf31968893e77a19316a47186fe
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 20:48:49 2010 +0200
s4-smbtorture: rework order of test in RPC-SPOOLSS-PRINTSERVER a bit.
Guenther
commit e8576ef9f4186cba489b2a8f150b23002ac3afa2
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jun 4 00:55:10 2010 +0200
Ñ3:Makefile: use PIC instead of PIE flags for shared libs
otherwise shared lib builds are broken on some platforms
commit a73b84680244f838854f3bf3bb112464da89b9ba
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 3 11:50:08 2010 -0700
Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when downgrading from krb5 to NTLMSSP over SMB2.
Jeremy.
commit e47d77832b70b539ce3e898da458227dd0b853b6
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jun 3 11:18:11 2010 -0700
Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when using SMB2.
Jeremy.
commit e65164ff482100c2590d724373aff11daffc7b50
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 23:40:43 2010 +0200
s4-smbtorture: convert RPC-SPOOLSS into a torture suite.
Guenther
commit 9884bf7d5737272db993b0602de85b12c2b4e0ea
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 17:08:55 2010 +0200
s4-smbtorture: allow to call single tests from a testcase in a testsuite
directly on the commandline.
Guenther
commit 3eac6335229fabfe3c985d0b206faa5d65ad1ce7
Author: James Peach <jpeach at samba.org>
Date: Thu Mar 18 19:30:54 2010 -0700
libreplace: Fix readline build with libedit.
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef,
but uses a internal typedef names CPPFunction.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 30a9ddccff5b1bd1694a1a9f0e5ceebdee316d79
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 16:30:55 2010 +0200
s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
This fixes some invalid typecasts.
Guenther
commit 12d1a3b0a5367b4f920d32e6cb1fcdc2f7d17513
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 3 16:09:31 2010 +0200
s3: Fix the build of the nfsv4 acl code
commit 8131e9f29059c6ad7428405f9a995ee1bef2e72b
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 14:54:02 2010 +0200
s4-smbtorture: move PrintProcessors winreg test to main RPC-SPOOLSS test.
Guenther
commit 6acaa70d6439eb206ab3c6fb1b81f12efc7b5f94
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 13:01:40 2010 +0200
s4-smbtorture: add test_PrintProcessors_winreg.
This does cross reference checks between spoolss PrintProcessors and entries
stored in winreg.
Guenther
commit 4a10635371a794281114e0e227ed174a518792ee
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 13:01:16 2010 +0200
s4-smbtorture: refactor test_EnumPrintProcessors().
Guenther
commit 3948876f66955a7b9a657937c0d7926b3578dd3d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 11:46:44 2010 +0200
s4-smbtorture: only test data up to a length of 9 bytes in test_SetPrinterDataEx_matrix().
Guenther
commit 614e010daad98081bb7bd03289e9350a49ad81ce
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 01:45:01 2010 +0200
s3: remove authdata.h
Guenther
commit 4b342b73a6706eb6ce4b7e20d273b53583a64358
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 10:25:32 2010 +0200
s3-build: pure cosmetics, use better names for gen_ndr code pieces.
Guenther
commit 84a8f0451d618ad05d451714f309ed3ab4acf57e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 09:57:50 2010 +0200
s3-build: only include generated spoolss headers (not ndr headers).
Guenther
commit ce851814305d618b20799f00de3b7e11fcd5c954
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 10:49:34 2010 +0200
s3: remove rpc_secdes.h completely.
Guenther
commit b6a2cea74d90499bd3e239ab696502ae8afed30e
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 10:36:05 2010 +0200
s3-security: use shared "Standard access rights.".
Guenther
commit 102b0cfe62c6486846cdfb4938a83e2be4aad912
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 01:27:50 2010 +0200
security: move generic_mapping and standard_mapping to security.idl.
Guenther
commit b5c2af94475337b4769dc464a695ee29bc5e87c7
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:57:09 2010 +0200
s3-security: use shared "File Object specific access rights".
Guenther
commit 37b978c343b5727c7257d7a0a574ba82bb0c9c0f
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:48:15 2010 +0200
s3-security: use shared "Generic access rights".
Guenther
commit 2794d2ee7f8e088060e4b86532176673cf7c2580
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:45:44 2010 +0200
s3-security: use shared Security Access Masks Rights.
Guenther
commit 5cf3b0bba4b45096390fb4bcfb3ad07704d56880
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:45:14 2010 +0200
s3-security: move ALL_SECURITY_INFORMATION to the only user.
Guenther
commit 1bed5254d9ee28d1efc98f32f5a407ae4359803d
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:39:05 2010 +0200
s3-security: remove duplicate Extra W2K flags.
Guenther
commit a75436e3ee11fa1491bfa574523269be716fc892
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:35:44 2010 +0200
s3-security: use shared SECINFO_DACL define.
Guenther
commit e24a59f932897888cadae31469366663aca1a414
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:29:16 2010 +0200
s3-security: use shared SECINFO_SACL define.
Guenther
commit 630c27bdad32086f16dbafdeab94d34fbc3b9b5e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:25:18 2010 +0200
s3-security: use shared SECINFO_GROUP define.
Guenther
commit 415d3d5fe7637e8f9a649665497d3972391750b6
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:22:12 2010 +0200
s3-security: use shared SECINFO_OWNER define.
Guenther
commit 788d7f9e4ae76105ee481bde42e2ddb8fdac2617
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 23:16:32 2010 +0200
s3-security: remove some more shared secdesc defines.
Guenther
commit cb1590e410a3b8fd366f4670786046566b5f4f9c
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 2 16:57:08 2010 -0700
Ensure we remove SMB2 cancel requests from the active queue
now we don't remove them in the talloc destructor.
Jeremy.
commit 53e465062249bc91e53eb8d5fa54034933a650af
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 2 16:43:31 2010 -0700
Fix a crash bug found by Ira Cooper <samba at ira.wakeful.net>.
A create call comes in, goes async (on the oplock request).
At a later time (just before a cancel request is received)
it completes, and goes through smbd_smb2_request_reply() to
send the reply to the create call.
However, the output socket queue is full, so when
tstream_writev_queue_send() is called from smbd_smb2_request_reply(),
the smb2req stays on the "being processed" queue on
sconn->smb2.requests, as only when tstream_writev_queue_send() completes
is smbd_smb2_request_writev_done() get called, which will TALLOC_FREE
the smb2req (and thus take if off the queue).
The cancel comes in, gets processed and looks through the
requests on the queue, and BANG - hits the smb2req that
has already been processed and is outgoing....
Remove the request from the queue once
tstream_writev_queue_send() is called and not in the talloc
destructor function.
Jeremy.
commit bcd4077be64e49b11a819cdcf27939a0fcc0d9bd
Author: Günther Deschner <gd at samba.org>
Date: Thu Jun 3 00:09:26 2010 +0200
s3: remove unused librpc/ndr/sid.c.
Guenther
commit fbfc60fac1d2246b9c29f3731f9e255d4f68dd0c
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jun 2 10:25:56 2010 -0700
Move to using a DATA_BLOB inside of struct aio_extra, not a char *.
Will make using AIO in SMB2 easier.
Jeremy.
commit 3854f0708e8c7a2e37310cd24d8acd52d87b9d6b
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 2 15:35:33 2010 +0200
s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
commit 57ab910b6f3a24bf188415baf58de610203594b1
Author: Matthieu Patou <mat at matws.net>
Date: Fri May 21 11:57:29 2010 +0400
s3: Allow previous password to be stored and use it to check tickets
This patch is to fix bug 7099. It stores the current password in the
previous password key when the password is changed. It also check the
user ticket against previous password.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 95863bfb5e547132c8f02c49a2bed1ec308d8f5e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 5 10:42:38 2010 +0100
s3: Add vfs_linux_xfs_sgid
http://oss.sgi.com/bugzilla/show_bug.cgi?id=280 shows an old Linux XFS bug that
still exists: Under certain circumstances the SGID bit is not inherited.
commit 7747575ef485a4d8cfe2fe9ada18b5b009074a0f
Author: Kai Blin <kai at samba.org>
Date: Wed Jun 2 11:28:54 2010 +0200
s3-waf: Fix up smbclient dependencies
commit 6331d7f90d411f18b760f6525a4534a3c663445f
Author: Kai Blin <kai at samba.org>
Date: Wed Jun 2 11:21:18 2010 +0200
s3-waf: Fixed dependencies of the the krbclient subsystem.
commit 6c7c81a8f286a10366a0d2cbb36c00272d6d1d47
Author: Andreas Schneider <asn at samba.org>
Date: Wed Jun 2 11:19:36 2010 +0200
s3-waf: Fixed dependencies of the the avahi subsystem.
commit 74fad2568db8e218cb142703078034ec138943fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 2 09:30:54 2010 +0200
s4:ldb_msg_element_compare - fix typo in comment
commit 6ad27cd7fe3e5f014821953c67ab93dbfed38a60
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Jun 1 19:59:56 2010 +0200
s4:lib/ldb/pyldb_util.c - add a cast to quiet a warning
Jelmer, please fix if it isn't correct.
commit e799de256e418f011a042f999904872fecae4011
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Tue Jun 1 17:09:29 2010 -0700
SMB2: Fix rename on Windows 7.
This removes some code Jeremy (jra) suspected was bad. It turns out that the
command window rename command will not work with the offending code in place.
With it removed the bug is gone, and rename works.
commit e9ff32c6c3c270818f2341d85d2ba193c4e99864
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jun 1 16:05:44 2010 -0700
Don't use sigev_value.sival_int to just store the mid, use sigev_value.sival_ptr to store the private data structure.
This allows easier use from SMB2. Ensure aio is initialized before the
aio_pending_size check else aio will never be used.
Jeremy.
commit 1ba611a56c2b12f5138172be7bc23d187893cf16
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 23:02:13 2010 +0200
s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.
Guenther
commit b81f8b131c28c4c300d41eebb054bbf649bfbae4
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun May 30 18:52:17 2010 +0200
s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.
In protocol v2, the name of the service should be sent instead of the
path.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 23eb2888d94b34822e4c49b1d62f4bd3fac43fcf
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 16:48:51 2010 +0200
s4-smbtorture: skip driverName and printerName DsSpooler tests for now.
Guenther
commit 582847412a1f4d7d971b96551cd07ff738e9ff82
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 16:46:37 2010 +0200
s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.
Printjobs are extremely fragile beasts on paused virtual printers within make
test. Very often the printq updater in the background is not fast enough, so
subsequent tests don't get to the updated information. Something to remember and
to work on later...
Guenther
commit fc9644a7d6bbf4f02c5cb1ce9fc5b3f3ddb66d2a
Author: Günther Deschner <gd at samba.org>
Date: Tue Jun 1 16:04:19 2010 +0200
lib/replace: fix some c++ build warnings in testsuite.
Guenther
commit 3bae05d286b54ccb8c4d624c7f305bd84138c454
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue Jun 1 15:05:02 2010 +0300
s4: check the sacl and dacl pointers on the old sd
commit da894b7023327ffaf533ec9de1b7cb2a199fe28c
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 1 15:37:40 2010 +0200
s3-waf: Fix the build
commit f702578f765cdc514796afb8cb548394a517feb7
Author: Michael Adam <obnox at samba.org>
Date: Tue Jun 1 15:31:17 2010 +0200
s3: remove unused prototype for lp_idmap_domains().
commit a6c921fef74e368da9a12b8ce82fedbf86c66ed4
Author: Kai Blin <kai at samba.org>
Date: Tue Jun 1 10:31:11 2010 +0200
s3-waf: Add check for dirent.d_off member
commit 3f14d03adbda03b821210115af4fae044a9b4a3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 10:57:52 2010 +0200
s3:winbindd: make sure we only call static_init_idmap once
metze
Signed-off-by: Michael Adam <obnox at samba.org>
commit e67b0cf603483aefe823ab3c86b02db27c48b6eb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 14:55:17 2010 +1000
s3:winbind Ensure we always init idmap_passdb before we use it
It seems that it is possible for idmap_init_passdb_domain() to be run
before idmap_init_domain(), so ensure we run the static init functions
in both.
Andrew Bartlett
Signed-off-by: Michael Adam <obnox at samba.org>
commit b05c18cff275650b4caa74db6ba82975df3abe9d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:51:10 2010 +1000
s3:idmap Use idmap.idl defined structures and constants
This allows these structures to be shared across all of Samba
The additional name type ID_TYPE_BOTH is unused in source3 code at
this time.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Michael Adam <obnox at samba.org>
commit c256eb84565566a930bcadc60d03138878d2d0b0
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 10:02:14 2010 +0200
s4-configure: Fix typo in comment.
Karolin
commit ea5c85aa423ab95cd9029437230ac01b2220c89d
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 09:45:19 2010 +0200
selftest: Fix typo in comment.
Karolin
commit 1cad4304bf83c7a75527a8f5674804723a2904b8
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 09:35:53 2010 +0200
s4-heimdal: Fix typo in comment.
Karolin
commit 3eab655e54d57c384ed4fc41ac61fb4c27d00c24
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Jun 1 09:33:53 2010 +0200
s4-cracknames: Fix typo in debug message.
Karolin
commit a6e07c22a385ccf09d8e13d71c46387b2144ee44
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jun 1 11:23:50 2010 +1000
s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_info
commit fdc6db34caf4c30fd5bf439fcd3a5453fd26a590
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 21:18:15 2010 +1000
s4:ntlmssp Use common code for ntlmssp_sign.c
The common code does not have a mem_ctx on ntlmssp_check_packet() and
ntlmssp_unseal_packet().
We do however need some internal working of the code exposed, so some
structures are moved to ntlmssp_sign.h
Andrew Bartlett
commit 38a26f1073178736b8b3e1158a231b3ed7b6484a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:20:46 2010 +1000
s4:ntlmssp Use the new common ntlmssp.h
commit bc8d12e59331fb814a58733b68f8ec16cfffa61e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 19:59:23 2010 +1000
s4:ntlmssp Merge ntlmssp structures with version from source3/
Use this as an excuse to get rid of ntlmssp_set_domain() etc, which
don't do anything useful now that msrpc_parse() use talloc anyway.
Andrew Bartlett
commit dfb206f47e8b9bcf81493e7cb6aed7859fb54042
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 18 22:10:13 2010 +1000
s3:param Put 'server_role' functions in another file.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6d2e796f35dea93ca31e6879e79942a02572754d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 18 22:07:48 2010 +1000
s3:param Add helper function to get at Gobals.iDomainMaster
This is needed for a future split out of the server_role code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 458b2484c73b9381aa3d10b94b3e3576d4bb44d3
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 23:02:16 2010 +0200
s3-waf: Check for device major and minor macros
commit b497447e1722e6d89406f71b2371b61c616cf71b
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 22:39:47 2010 +0200
s3-waf: Add check for asm/types.h
commit 5a3e744394b88d8e0dfbc8cb38add8970227919d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 23:10:59 2010 +0200
pyldb_util: Remove dependency on LIBPYTHON - it's already there
implicitly and not available in the standalone build.
commit 83788988cbd879789108e8119fa3527ceeb47fe4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 13:58:27 2010 +0200
s4:samldb LDB module - start on a sequential trigger implementation
This is a start to allow the triggers to be called sequentially.
commit a8788ce5236a4fbc1c8096a0eed48638b5a03dd8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 22:22:37 2010 +0200
ldb:ldb_msg_add_steal_string - prevent also there the addition of strings with length 0
commit 0fce829de46995d474053bd581555dd40e549ff1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 22:04:29 2010 +0200
s4:dsdb_load_udv_v1 - "uint32_t" counter type fits better than "unsigned int"
commit 0fddbe472edb33861386cb11cc141d9b02f95a02
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 08:36:29 2010 +0200
s3-waf: Check if compiler supports LL suffix
commit 3811fdab5cec7830420c88cce99ea966236434f0
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 08:35:58 2010 +0200
s3-waf: Check for broken nisplus include files
commit e80301eded1d42b6a015c622be07bba589ee3512
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 21:49:04 2010 +0200
s3-smbd: remove unused sconn from token_contains_name().
Guenther
commit d33c41fbf5bd48fe32d82174d8bd25d1651ee374
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 17:07:15 2010 +1000
s3:winbindd move reinit_after_fork() back out of winbindd_register_handlers
This particular init function needs to be done in a native Samba3
build, but it turns out to be difficult for s3compat, which has other
code listening on the sockets.
Andrew Bartlett
commit 19f4229fff0f0e350d0eb6e91f674c48c744d214
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:11:23 2010 +1000
s3:winbind Make state->mem_ctx a talloc child of state
This way everything is destoryed at the conclusion of
the connection correctly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 61eb56be4ea1f4eb26f63b985aeb52cdb1183328
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 19:34:32 2010 +1000
s3:winbind tidy up connecting the winbind sockets.
By putting this code inline in winbindd_setup_listeners() we remove 2
static variables and simplify the code.
By putting the get_winbind_priv_pipe_dir() in the same file, we allow
it to be reimplemented in s3compat.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e5ebc52e9fd45346a74e2c421f2471b5e6cab998
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 14 13:11:48 2010 +1000
Revert "s3:winbindd Split helper functions to allow s3compat to call them"
I'm experimenting with a different entry point
This reverts commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068.
commit fca69a9e2f19d7f54cee6ace17adf57372cea52e
Author: Günther Deschner <gd at samba.org>
Date: Mon May 31 21:26:30 2010 +0200
s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().
Guenther
commit cf727404f4ccad04b7a8fe28d0c1e8eaed69522b
Author: Simo Sorce <idra at samba.org>
Date: Mon May 31 14:50:07 2010 -0400
Revert "ldb: Remove Samba-specific symbols."
This reverts commit fe8302b235197e359a20ba0489eb72b54793963e.
Jelmer, please do not re-re-revert this until we can properly handle
*both* s4 and standalone ldb builds.
commit a22d7db30813127690d5c3758e7abfa8805e76c9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 20:44:30 2010 +0200
wafsamba: Only try to build manpages if XSLTPROC was actually found.
commit 41cdac9c3e5b2e9eea3067892a3e60b4bff67154
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 20:44:12 2010 +0200
pyldb: Remove duplicate copy of function.
commit 38dfc480334926f07b7d1869225370693140e349
Author: Simo Sorce <idra at samba.org>
Date: Mon May 31 13:54:00 2010 -0400
ldb: Remove unexisting and mistyped function from header
commit 7f75ee025ff9c02763fb9201d94af4b2739c8e03
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 18:29:11 2010 +0200
ldb: Install ldb_handlers.h header.
commit fe8302b235197e359a20ba0489eb72b54793963e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 18:28:09 2010 +0200
ldb: Remove Samba-specific symbols.
commit 1bc53f0213b04e30ebf2ac60695c84c5781e4e72
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 18:12:05 2010 +0200
ldb: Move utility functions to separate file.
commit 82d56b937445585b9e60451daf660aee5ace0523
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 16:05:41 2010 +0200
ldb: Fix dependencies when building with system ldb.
commit 471ed70c497f4eeaca27594d609f41f2b2c689cd
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:52:06 2010 -0400
s3:smbd map_username() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 6a25668e55929a8111ac0fc5e34b5a83ae936349
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:47:01 2010 -0400
s3:smbd user_ok doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 94bf9ce48a0ef8b77f22f3be6244881ca1a41e49
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:45:24 2010 -0400
s3:smbd user_in_list() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 7747dd82f79bc503efe6a2d3139413afb8dda864
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:43:19 2010 -0400
s3:smbd user_in_network() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn at samba.org>
commit b32b59d47f8ec597be9d215e5e260e5d1411d3a4
Author: Simo Sorce <ssorce at redhat.com>
Date: Mon May 31 10:36:02 2010 -0400
s3:smbd make yp cache local.
The my_yp_domain variable is just a static cache needed to avoid
making over and over expensive and potentially blocking calls to
yp_get_default_domain().
Instead of keeping this onto the smbd_server_connection struct, just
keep it local to the only function ever using this variable.
This disentagle this function (and a number of calling functions)
from having to pass around smbd_server_connection and thus having
to link against smbd. It also removes a few ifdefs.
Nothing changes from a global/local pov, as the smbd_server_connection
variable passed around is also a global one.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 1da415345971fbd045808d26142b9eca797aaedf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 17:51:21 2010 +0200
buildtools/wafsamba: use build group 'final' for the creation of manpages
This way we don't try to build manpages just for waf build --target=smbtorture
metze
commit c866920c3de0fc75e9939bcc19ff880819a62e07
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 15:56:30 2010 +0200
s3-waf: Fix build after ntlmssp_sign.c moved
commit 6af6b96b5728d7690979b2d3258eddb48e55bed4
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 15:33:40 2010 +0200
ldb: Revert signature file changes made in 151e239bcf2860411527a953d627b2d724c0a57e
commit 98641648d8ec66a0c3e07a73e4275005bfa25811
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 15:31:35 2010 +0200
s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.
Guenther
commit 4bb7e91cfd9071e570c56bca36d35202d01ca80d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:22:08 2010 +0200
s3-netlogon: use SAMR in _netr_ServerAuthenticate3.
Guenther
commit db5730cac4d6e0b64913bce21147352344077e2b
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:21:15 2010 +0200
s3-samr: give the system user a free pass for _samr_QueryUserInfo{2} level 18.
Guenther
commit 3f24f8d2c69be1db28cb1ffb866d45b520d9544d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:19:28 2010 +0200
s3-auth: add "system" bool flag to auth_serversupplied_info.
Guenther
commit a7805811c432adb9b0e82039858269c2154521ae
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 12:39:12 2010 +0200
s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.
Guenther
commit 62708fbd1bf6a54d880011ce7d95ee43e08cf30e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:58:52 2010 +1000
s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.
This needs a small re-arrangement of the supporting code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit d6fa371b92681a327a86239721fc5990d91ad74f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:55:40 2010 +1000
s3:ntlmssp Use a TALLOC_CTX for ntlmssp_sign_packet() and ntlmssp_seal_packet()
This ensures the results can't be easily left to leak.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit ebae21f0235b957c8faeeb51c926724909d353e9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 20:19:22 2010 +1000
ntlmssp: Make the ntlmssp.h from source3/ a common header
The code is not yet in common, but I hope to fix that soon.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9a76932ccfe680b9bf224e0dcac7f9cdb7ce9f4e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 19:58:00 2010 +1000
s3:ntlmssp Add two unused variables to match the Samba4 ntlmssp.h
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 723ea68d3b69a9fc31dc02256c4fc323dc9278ce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 15:40:35 2010 +1000
s3:auth Remove AUTH_NTLMSSP_STATE typedef.
typedefs are no longer preferred Samba style.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3b706865f6bae7a2b04590da160bda939a3bafe5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 15:34:06 2010 +1000
s3:auth Make AUTH_NTLMSSP_STATE a private structure.
This makes it a little easier for it to writen in terms of GENSEC in future.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit a950c6c60097af750d4348cb096fdacb342e9e71
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 31 14:33:51 2010 +0200
s3:configre: work around shell problem on HP-UX in AC macro
commit 8c017022dbb78966589fa98e03dea01d91d003b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 13:55:17 2010 +0200
talloc: Don't set is_bundled for standalone build.
commit 151e239bcf2860411527a953d627b2d724c0a57e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 13:51:49 2010 +0200
ldb/waf: Fix build with system and bundled ldb.
commit f89e390fbc6e4f3d8269c40ccab7c718bfcd394f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 12:17:33 2010 +0200
waf: Refactor manpage building code.
commit f98bb7ffc33bf161caf301c50c55c8e3cc858b85
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 12:08:01 2010 +0200
Add manpages argument to SAMBA_LIBRARY().
commit cc77e7966ea95ccc0812dd772a9002b41792e6b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 31 12:51:58 2010 +0200
s4-waf: Fixed the ldb build.
commit 11e2608ba97018987b0143521248a83b2dab07e6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 10:15:25 2010 +0200
s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
See MS-NRPC 3.5.5.6.3.
commit 0eec33417eb56d1352fd66565f55162c62d86fcd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 31 12:01:34 2010 +0200
s4:dcesrv_netr_DsrEnumerateDomainTrusts - fix an integer type
commit aaf1c751f4cf447d80ef9dae341ef3247c1607e2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 15:58:45 2010 +0200
s4:torture/rpc/netlogon.c - add another "LogonGetDomainInfo" testcase
Mark it as dangerous since it does break some target systems.
commit 3e0b2c8c9ae557e615fe3551f561a622c1fa29cd
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 26 17:52:10 2010 +0200
s3: Fix some debug messages
commit 2e4c41431e18ed68f0965cdb128d67b008f81389
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 26 17:47:37 2010 +0200
s3: Don't announce readraw and writeraw with the async echo responder
commit 82e140c04562c1480d8ae1d6cb68d510824a1a1c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 03:31:52 2010 +0200
s3: use shared security defines.
Guenther
commit fbb7814f91f85e95769a5e23506825167b44139f
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 19:40:31 2010 +0200
s3: only use netlogon/nbt header when needed.
Guenther
commit f9f8007361583c1d38be7e15eeae6b58a09614b3
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:19:32 2010 +0200
s3-build: only use ndr_security.h where needed.
Guenther
commit c00407bd3589e9a459014ddb0efd986b15d2eecc
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 03:04:45 2010 +0200
libcli/nbt/lmhosts: fix missing prototype warning.
Andrew, please check.
Guenther
commit 7426cf4306e84c994f3903b4b867cc76c45574be
Author: Michael Adam <obnox at samba.org>
Date: Mon May 31 10:30:15 2010 +0200
s3: remove prototype of non-existsing function idmap_tdb_tdb_close().
commit e3997c2a6d82276cc736686099ab897fa4fd0047
Author: Kai Blin <kai at samba.org>
Date: Mon May 31 09:39:44 2010 +0200
wafsamba: Correctly detect if bld.env.XSLTPROC is not set
This fixes the build on some build farm hosts and my machine.
Jelmer, please check.
commit cd2dd331032895259e0875c717e8d9f5e6de301f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 04:48:00 2010 +0200
ldb: Support building with system ldb library
commit 04fc459a301c09d027e2d484b9a4e0737819b093
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 04:20:44 2010 +0200
tdb-waf: Don't install binaries when using system tdb.
commit e6129bd59650b921e51d5b8aa10246778aacdd30
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 04:16:19 2010 +0200
tdb-waf: Simplify manpage handling.
commit 1d1d31f703e3f3f41dddd45e705cf2a9a5a0d3df
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 03:59:50 2010 +0200
wafsamba: Default blacklist to an empty list rather than None.
commit 3858b5db8be50dda5d994ecc8863b32a150a2528
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 02:43:17 2010 +0200
s4-waf: sanitize library names like the old build system did, only add
-samba4 suffix for libraries that are bundled.
commit 17ad28c5826590a973fe1f0e1c6be0d18f1ec458
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 31 02:17:04 2010 +0200
s3: use PICFLAG instead of PIE_FLAGS
commit f3f1745e271ec3c44e4df04d05698f954b8f518d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:35:43 2010 +0200
wafsamba: Actually install manual pages.
commit 38cbb60e973d0db6d70f58d3803b3e62f1c942ce
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:35:07 2010 +0200
ldb: Remove manual pages for binaries that have already been moved to utils/.
commit 3e65af312c1250cbea8eea17d9705e1e2352262f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:28:15 2010 +0200
ldb-waf: Fix installation path of manpages, simplify manpage handling.
commit f757263fb3d56041d6778304e521bed55771aea1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 01:25:56 2010 +0200
s4-waf: Look for xsltproc executable, required to build manpages.
commit c2327b24a63289449b09fdc343b3b46871d13ee5
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 31 00:26:01 2010 +0200
s3: final test for working shlib support requires PIE_LDFLAGS
commit 55ef0ecea85fda48e980f5f9c6029d7bcee865df
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 31 00:13:10 2010 +0200
s4-python: Remove cruft to deal with static python modules, which are no
longer supported.
commit 390b0521bd36702a698febdd670335bf09b49d54
Author: Björn Jacke <bj at sernet.de>
Date: Sun May 30 23:50:48 2010 +0200
s3: use autoconf macro to get some debug output in config.log
commit e4a9bdc39f499c7bfb04c00bc986c4894cf8e49a
Author: Kai Blin <kai at samba.org>
Date: Sun May 30 23:27:08 2010 +0200
s3-waf: Fix the build after rebase
commit 209555ef09bf57aa79f164f6e85a16e5b4977609
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 15:56:32 2010 +0200
s3-waf: support avahi builds
commit 04d251a8476b8cf267667fc108f2f8c213fceb54
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 15:50:26 2010 +0200
build: Also replace '-' by '_' when creating header defines
Tridge, please check
commit 8e2b69ca46739960354b90c6ef843e68bb4e2330
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 13:44:43 2010 +0200
s3-waf: Add more darwin-specific options
commit 5a0b3cf93db3ebf79d81b9ef09669835569549f9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 22:46:50 2010 +0200
s4:tests/python/passwords.py - fix filter
commit 327fa70f3fe2f3917df509f783822a3b42a266f0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 21:58:11 2010 +0200
ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code conversions
commit 463d5f0afc5b378bf8143558b8b8f372680f9768
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 21:43:36 2010 +0200
s4:samldb LDB module - deny delete operations on some important attributes
Add operations are denied since these are single-valued - only replace is
allowed.
This is only provisorily at the moment - we need to implement the triggers
specified in MS-ADTS.
commit 092331d2d8c39ccfbd97c5e357705efb54f1ab6f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 21:35:46 2010 +0200
s4:ldap.py - add a test which shows the modification behaviour of important attributes
This shows how important attributes of SAM objects do behave when you launch
add and delete modify requests on them.
commit 08653ac9c26a4456d9ca7365c1773d021e5be51c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 21:08:05 2010 +0200
s4:samldb LDB module - rework the group change code to be again synchronous
commit c30c4529f59f25e2846e33bdd3676aed51c10dcc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 17:00:54 2010 +0200
s4:ldap.py - add more test cases to show invalid primary group change behaviour
commit f3b04854b855e1547182bc36d57841dac3b041d8
Author: Kai Blin <kai at samba.org>
Date: Thu May 27 23:38:02 2010 +0200
s3-waf: Set HAVE_GSSAPI if gssapi libs were found
commit 6a78241f4a9aae84e91ea2e49f066f2e5203beba
Author: Björn Jacke <bj at sernet.de>
Date: Sun May 30 21:44:14 2010 +0200
libreplace: include sys/file.h only when available
thanks to Joachim Schmitz <schmitz at hp.com>. This fixes #7460.
commit 3030d9db4ea7ddecc2e8bbef225738e0336e9be4
Author: Joachim Schmitz <schmitz at hp.com>
Date: Sun May 30 21:25:30 2010 +0200
s3: define timespec before we use it
this fixes #7464
Signed-off-by: Björn Jacke <bj at sernet.de>
commit c2a3792e72cb534bafce3808c4a7b9f6948e8895
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 20:46:57 2010 +0200
s4:dsdb/samdb/ldb_modules/util.c - make sure to always free temporary data
commit b7270fbc9971b6e625c15a60e6717410aec2b77a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 20:46:31 2010 +0200
s4:dsdb_module_search_dn - add code to handle NULL format string
commit f927881028303eb955566c08a940cca18e50ce99
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 20:45:56 2010 +0200
s4:dsdb/common/util.c - fix a counter variable
commit 598656985aeb1a1ac11d246bb942c2248dfbfd8c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 30 17:05:07 2010 +0200
selftest: list.remove raises ValueError rather than KeyError.
commit a1b44f4335f41a0c11505f1552d9173ca0b469f4
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 02:06:56 2010 +0200
s3: set pthread cflags in a more portable fashion
this avoids one place of a GNU make dependency.
Portable make sucks a bit as it has no way of defining variables for a limited
set of targets only. Manual duplication of target rules is the only way to
achieve what we need.
If someone actually knows a trick how to do this without target duplication,
let me know.
commit 30c74cfa4995af57d8ec3f0f9d3f515e0b285beb
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 02:02:20 2010 +0200
Revert "s3: Attempt to fix the non-gnumake build"
This reverts commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed, it broke some
builds. The following commit should also remove the gmake dependency.
commit 96ee9568eddf1a2f80ed5beb916ad00b1e2710bd
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 01:40:21 2010 +0200
s3: fix check for pie compiler flags
some compilers (HP and Sun e.g.) output warning messages on stderr for unknown
options and we ended up partly using some unwanted random compile flags we
did't intend to use.
commit b869350ddda84d0d6953339843bebd25d18b8fba
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 29 01:39:16 2010 +0200
s3: add m4 macro to check if stderr is empty or not
commit 55df7606e3f47e03255e6ff1cdead458a8bc6160
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 14:53:36 2010 +0200
Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000"
This reverts commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24.
My fix approach isn't such appreciated therefore revert this.
commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 12:02:24 2010 +0200
s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000
Windows 2000 does strictly request header signing on some requests also if the
server doesn't provide it. But there is a small trick (don't reset the actual
session info) to make these special RPC operations work without a full header
signing implementation.
This fixes for example the list of domain groups in local groups when displayed
sing the local user/group management tool.
And this should finally fix bug #7113.
The patch was inspired by another one by tridge and abartlet: http://gitweb.samba.org/samba.git/?p=tridge/samba.git;a=commitdiff;h=2dc19e2878371264606575d3fc09176776be7729
commit 76cd237ee59a3301166ddcbc4166fc7a133e03e3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 30 11:01:25 2010 +0200
s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an "asprintf" failure
commit 9bfd2c8ebc4d7dbd3fd6f47877d31e7e8f4721a5
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 28 22:30:50 2010 +0200
s4:auth/credentials/credentials.c - initialise "password_last_changed_time"
Otherwise it could remain uninitialised.
commit f1d7d6d4df64b74ce00498e6cd9e49b2c0ec7ea0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat May 29 22:54:07 2010 +0200
nss_wrapper/testsuite.c - make sure to test always the "NSS wrapper" calls
This should fix bug #7319 and #7320.
commit 33c633df0bb49551a833d1bf86db0825b8007546
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 16:49:37 2010 -0400
s3:auth make it easier to trace auth modules
commit bd38c0d47d6a22a68fea5d9d66a73a9e2521b239
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 13:35:56 2010 -0400
s3:auth fix info3 duplication function
commit b99dd10b39a4483a1c4b34f5438630ed99374c10
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 28 08:33:18 2010 -0400
s3:smbd Use the right num_sids
We use s_i->ptok->num_sids everywhere else in this call and
then suddenly we reference s_i->num_sids
commit d85d85b851f498330badc3eb47a7f10a6981376b
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 29 09:48:20 2010 -0400
s3:passdb Fix memory leak
We were allocating this passwd structure on sampass, but never freeing
it nor assigning it to unix_pw where it could be reused.
commit b455c5e155f7e7ba4cc07cd4415a304163213e0f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat May 29 04:14:27 2010 +1000
s3:auth Fix segfault when the user cannot be found by getpwnam()
Add comment to notify when getpwnam() fails.
Reviewed-by: Simo Sorce <idra at samba.org>
commit a8d308faff760ee56f7aa4a97ccaab60bf965849
Author: Günther Deschner <gd at samba.org>
Date: Sat May 29 00:38:21 2010 +0200
s3-selftest: fix chmod commands in provisioning.
Guenther
commit 5232ce56cd3edef17166da8b61e9be6d3ec967e3
Author: Günther Deschner <gd at samba.org>
Date: Sat May 29 00:09:14 2010 +0200
s3-selftest: make sure provisioned s3 looks the same in make selftest as in make test.
This fixes some tests that were previously failing.
Guenther
commit c9c8de3dcb19c96ee9fab7f462b28f3a2f1997a1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 22:14:39 2010 +0300
s4/test-libnet: Remove multiple test_samr_close() impelementations
We now have a nice common test_samr_close_handle() function to use
commit c742f59bd24a3a35732489aa013187c35edde0a2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 21:20:03 2010 +0300
s4/test-libnet-user: Remove test_createuser()
We have same functionality already implemented by
test_user_create() in libnet/utils.c
commit 0f2263016fc7afd949af65e6e84b5c5455250191
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 17:59:25 2010 +0300
s4/test-libnet-utils: refactor test_user_create()
- param names made more clear what they stand for
- user RID out param is now optional, so that this function may
be used in cases where we don't need user RID
- SAMR connection handle is closed as it is not used further
(we should play nice with servers)
commit 8dedb4d06ec84224f1b491cb76edb87b37550c56
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:20:18 2010 +0300
s4/test: remove local impl for open_domain and use common one
commit fce427134d1a8fba216ff82d48d7f7cb6be7c3ce
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:14:47 2010 +0300
s4/test: remove torture/libnet/utils.h as we are using proto.h now
commit 1118c7b0e4d311becfcc0d6e3c53405649526a2c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:06:55 2010 +0300
s4/test: change prototype for test_opendomain()
- name changed to test_domain_open to be more alike athore functions
in utils.c file
- output parameters moved to the end param list definition just
after mem_ctx so it is somehow more clear those params are OUT
commit 8e3a433f93618d6cadc58c19b54b9255acccec6e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 05:04:56 2010 +0300
s4/test: Refactor test_opendomain to address following
- param names made more clear what they stand for
- dom_sid out param is now optional, so that this function may
be used in cases where we don't need dom_sid
- SAMR connection handle is closed as it is not used further
commit 3a899e24d513de7c56363e39efb74b2c88c29854
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 28 04:45:40 2010 +0300
s4/test: make samr_close handle functio public
It is to be used further for closing opened handles when testing
using SAMR interface
commit cf794355456b82927cecfd183e49b47be6568385
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu May 27 17:24:10 2010 +0300
s4/test: refactor NET-USERINFO test to be more 'torture' friendly
Test may be further refactored to be converted as a test case
(what it is actually)
commit 2053403045cb8786abe778279a68b431b9c5977c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu May 27 17:10:31 2010 +0300
s4/test: test_userinfo/_async tests should use passed user_name param value
commit f11cf62016070a26992e92c757da3cf6b96705c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 28 18:58:45 2010 +0200
s4:web_server/wsgi.c - provide a better out-of-memory handling for an "asprintf" call
commit 8d6f88b469cea1aff0d3211f0a9dbd08e6a31497
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 17:41:33 2010 +1000
s3:winbind Kill amusing but un-used winbindd_kill_all_clients
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d266f8fdf17e5583d419c2b4bd9daf30acebfd6b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 26 11:11:08 2010 +1000
s3:lib s3:lib move get_global_sam_name to util_names.c
This doesn't really belong in util_sid.c, and has much more in common
with the other functions in util_names.c
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 539ef13bfe950c7c512a4bdafd9a846c04ba5be4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 16:25:26 2010 +1000
s3:lib split out global workgroup and netbios name functions.
Having these in their own file allows easier selective inclusion.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 59422efca9734f7e4248f9c7df8b6b823f17999b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 26 10:48:15 2010 +1000
s3:smbd move messaging_context and memcache into globals.c
This helps vfstest, which previously had duplicate copies of these functions.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6f279de0e672996ff1c142202581e6471ed6e859
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 27 07:18:58 2010 +0200
s3:smbd split reload services/printers functions from server.c
This helps vfstest, as it previously had duplicate copies of these
functions.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8bc32513da9f0009774b6efce76f26c2177a976a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:48:04 2010 +1000
s3:smbd split smbd/server.c into smbd/server.c and smbd/server_exit.c
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f7333629f80997822e0e617050a31d1fcc2d9595
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 15:17:35 2010 +0200
s3-waf: Support builds with utmp accounting
commit 4eba4b07c6645cf7748b827d7e37326383e91d7f
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 14:35:01 2010 +0200
s3-waf: Match the defines from the autotools build on PACKAGE_*
commit 93ac516e15ab771b6ed4eeacc556a2ec916387bb
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 14 15:15:32 2010 +0200
s3-auth: Added a function to get the server_info from the system user.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 87037006bd27601b620d0d31f72261ba968d9567
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 14:11:53 2010 +0200
s3-samr: Fix crash bug in _samr_QueryUserInfo{2} level 18.
Guenther
commit e5fca6aebf1fdde230be09c0bec718b7a607e056
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 20:34:08 2010 +1000
s4:build Don't automatically mark as 'not a git snapshot'.
If we generate a tarball, it may well be a git snapshot - we will
change the VERSION file if it really is a release.
Andrew Bartlett
commit b088a275512634af0adefe632097846439e83f92
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 20:33:28 2010 +1000
s4:build use autotools for mkrelease.sh
The mkrelease.sh script only works with the autotools build. However,
it isn't recommended.
Andrew Bartlett
commit 7ea7b23413f48325d1805fd2666757241eddc2e7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 20:24:47 2010 +1000
waf Provide release signing capability in 'waf dist'
This helps ensure the release is signed correctly - the .tar file, not
the .tar.gz must be signed, and it's easy to forget this.
Andrew Bartlett
commit 708d6fc5b002fb781983dd6ca4bda6e59a3a6411
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 18:54:57 2010 +1000
s4:waf Exclude the autotools based build environment from a Samba4 release
commit b50c006e203e313a836eb012548749948b515425
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 18:50:25 2010 +1000
waf Add DIST_BLACKLIST to list files that we cannot include in a release
This currently includes the source3 directory for Samba4 releases (per
past practice in mkrelease.sh), but also could include things like
DFSG-unfree RFC files in the future.
Andrew Barltett
commit e5232bdc69af45f15bc8fd95745276018f5961be
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 25 19:54:24 2010 +1000
s4:kdc Remove special talloc_free of the ldb context
I can see no reason not to just let this go with the talloc tree that
created it, and avoid a talloc_free with references.
Andrew Bartlett
commit d0e131ee4e3e1f35ebc33d6c1c27d5c9e69b8e87
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 13:20:10 2010 +0200
s3-waf: Fix the smbclient build with libcap
commit 3d2c99f13b3b7f927ba3f912e8526f9e770aa34f
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 12:59:04 2010 +0200
s3-waf: Detect which version of krb5_enctype_to_string is used
Pair-Programmed-With: Günther Deschner <gd at samba.org>
commit da0e0efe876fdc5e1fe96d1e3a88541006770ff0
Author: Kai Blin <kai at samba.org>
Date: Fri May 28 12:58:23 2010 +0200
s3-waf: Fix the build of swat with --enable-cups
commit 76f804af10e490f4037f556d1ac600fd905e0236
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 28 10:39:54 2010 +0200
s4:client/client.c - we don't need "&ctx" for talloc calls
Simply use "ctx".
commit ce99f9e73438ac8a62347f628f7c5d25941023da
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:45:19 2010 +0200
s4:web_server/wsgi.c - fix "asprintf" call
commit fe2a6076402ec26091eb0c543447e0ae09f39f75
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:41:39 2010 +0200
s4:utils/ntlm_auth.c - fix "asprintf" calls
commit a64262697afb85f8db5872238c51b9499114ee58
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:37:15 2010 +0200
s4:smbd/pidfile.c - fix "asprintf" calls
commit 67b2c424cefbecfe8581044703ba178c61c0ece1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:36:33 2010 +0200
s4:scripting/python/modules.c - fix "asprintf" calls
commit e831af7f076fe464d8860535ecae1986299765bd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:28:52 2010 +0200
s4:param/loadparm.c - fix "asprintf" call
commit 7a3a1cb5a76aae697f7a820c4fc5305f5684487f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:18:03 2010 +0200
s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf"
commit 69166d3ebb1ad1590d1d6078a2c6b592d06aef5e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:11:00 2010 +0200
s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf"
commit 315ae8ae9787935f012169b2c001a827078c92e0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:06:12 2010 +0200
s4:libcli/clideltree.c - fix "asprintf"s
commit 2c325236be3d16c200ba4f85d8f0a33b3c5d8e73
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:02:02 2010 +0200
s4:regshell - fix an "asprintf"
commit 8ddb4f6c84b431854a21825f2663d41878adf4ee
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 17:00:50 2010 +0200
s4:regshell - don't use negative exit codes
commit 3318459fdc2df686892f4257dca709ac66784e82
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 27 16:59:14 2010 +0200
s4:client/client.c - fix "asprintf"s
Fix the result values or change them into "talloc_asprintf"s where possible
see bug #6404
commit 892a4b24e79a71f5fd81bdb631d93615f2345bd9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 28 15:20:03 2010 +1000
waf Read VERSION file inside WAF to set package version
This replaces the call to mkversion.sh in both the Samba3 and Samba4
WAF builds.
Andrew Bartlett
commit 0ca8e2252b14811b9221acc95a510ab6a84f580f
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 00:02:15 2010 +0200
s3-lanman: Fix api_RNetUserGetInfo level 2 marshalling offset calculation.
54 + 4 = 58 (and not 60).
Found by torture test.
Guenther
commit c5eeb0d155bc49fe7ead2a601bdd1bffaa5b119c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:47:12 2010 +0200
s3-auth: fix c++ buildwarnings.
Guenther
commit 38d69ca547d6eaead316d990dc140a8250cf64d2
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:20:21 2010 +0200
s3-build: remove duplicate ndr_krb5pac.h inclusion.
Guenther
commit 6d194756e00c73672bbd43c9a5eb9efc93a84567
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:20:02 2010 +0200
s3-build: use ndr_misc.h where needed.
Guenther
commit 66adb84e46489a94ea49fc70d93dfe90a601617c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:18:21 2010 +0200
s3-build: only use ndr_samr.h where needed.
Guenther
commit 60079f59b09d5f05ac1f09b015ec9bd765269035
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 02:16:38 2010 +0200
s3-idl: fix some missing dependencies to other IDL files.
Guenther
commit 30eeb1e3d90e93a52d81503d022218b7b6521071
Author: Günther Deschner <gd at samba.org>
Date: Fri May 28 01:19:25 2010 +0200
s3-rpc_client: move protos to init_netlogon.h
Guenther
commit f888c82fe08f7bf624aad53c20aaa634662b36dd
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 20:40:22 2010 -0400
s3:auth Add comment to clarify usage of session keys.
Explain why we have what looks like a duplicate of session keys.
It is in fact not a duplicate.
commit 20fb37320224e8ed97473e60c1b70369d8069cb5
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 19:41:07 2010 -0400
s3:auth remove login_server from server info
It is not used anymore, we have that information in
info3->base.logon_server already
commit 3bb819581b1dc2624a9e52c2cae065cc3bda6a4b
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 19:22:02 2010 -0400
Fix Out of memory checks
Günther pushed an older version of the patch "s3:auth add function to copy a
netr_SamInfo3 structure" that was missing these fixes.
commit 2a6a696e32798f2a2aabef61dfa421da6328d069
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 03:21:35 2010 -0400
s3:auth add function to convert wbcAuthUserInfo to netr_SamInfo3
Signed-off-by: Günther Deschner <gd at samba.org>
commit 606be25ecf4a31cba9f15c43ebc650aecb17e765
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 05:31:45 2010 -0400
s3:auth Free sampass as soon as we have server_info
We don't keep sampass in server_info anymore
So it makes no sense to keep it around.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d9cffc01be58184312a6a7b55bd523cf8daefa78
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 03:41:56 2010 -0400
s3:auth use info3 in auth_serversupplied_info
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6713f3d945f09a732e620641771d9ff403aca9ef
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 02:40:59 2010 -0400
s3:auth add function to copy a netr_SamInfo3 structure
Signed-off-by: Günther Deschner <gd at samba.org>
commit 605cfef56c23f39eba88545c43284b061e9755bd
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 27 02:07:33 2010 -0400
s3:auth: add function to convert samu to netr_SamInfo3
Signed-off-by: Günther Deschner <gd at samba.org>
commit 667716d2041fc531bfa6241b02bbfc12d7666e51
Author: Günther Deschner <gd at samba.org>
Date: Thu May 27 16:10:10 2010 +0200
s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.
Guenther
commit 7803bcdae654f1474c57f0d31ed17f56492441e3
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 23:34:27 2010 +0200
s4-smbtorture: remove obsolete handmarshalled rap code.
Guenther
commit 82982bd48086712d5efd2e9be79c16a4338605f7
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:09:46 2010 +0200
s4-smbtorture: we can fully use autogenerated code to pull info unions now.
Guenther
commit 7bcd9c5583ac2f750aa9c90af7d1ac86eb36f86f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:08:07 2010 +0200
libndr: add support for relative_rap_convert.
Will not harm anyone, is only used for rare short (2byte) relative pointers, and
relative_rap_convert is always 0 so far (as all init functions using struct
ndr_pull will zero the struct).
Guenther
commit 49a80fe6710a8c3c5977b35be2f55c2748b3bddc
Author: Kai Blin <kai at samba.org>
Date: Thu May 27 22:45:13 2010 +0200
s3-waf: Fix typo
Sorry for the noise
commit 21e8548c0a3ea8fcca4e97a9b0f8b5a2cddf3d29
Author: Kai Blin <kai at samba.org>
Date: Thu May 27 22:42:23 2010 +0200
s3-waf: Also set "developer" env when building in developer mode
commit abbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c
Author: Volker Lendecke <vl at samba.org>
Date: Thu May 27 18:12:30 2010 +0200
s3: Fix a bad memleak in the async echo responder
commit eff13393b32d35d84f7afb564df5c7df8af58445
Author: Günther Deschner <gd at samba.org>
Date: Thu May 27 17:09:39 2010 +0200
s3-waf: fix the build after tstream changes.
Guenther
commit 9b534ad1453ab180533edd7e687ce17d871572f0
Author: Volker Lendecke <vl at samba.org>
Date: Thu May 27 14:27:58 2010 +0200
s3: Remove an unused variable
commit 869eed76e6dcf4da9fecac5f9b4089c94e9a6bdf
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 23:36:33 2010 +0200
s3-lanman: use samr for api_RNetUserGetInfo.
Following MS-RAP 3.2.5.13 NetUserGetInfo Command.
Guenther
commit a1fc7aebfc327c3553be47c44048c7c458316a25
Author: Günther Deschner <gd at samba.org>
Date: Thu May 27 13:25:31 2010 +0200
s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.
Guenther
commit dd895e526c4751865c587819d9e958c8fce9190b
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun May 23 23:18:58 2010 +0200
vfs_smb_traffic_analyzer.c: set the len variable when running protocol v1.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit 85a385324958c41ac9c017421b35db1eeabed87c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:15:09 2010 +0200
s3:rpc_server: make use of the npa_tstream code to connect to named pipes
This way we use the newest protocol, which is able to pass
the local and remote address of the SMB connection.
And we correctly support message mode named pipes
without the hack that analyzes the content for DCERPC pdus.
metze
commit 4afa54fd53cdef1dd8b8e549d77ab02fdec09df4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:08:02 2010 +0200
s3:Makefile.in: add npa_tstream.o to the build of smbd
metze
commit 9a6636a56e3565202d71ae7049431e3764575b79
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:12:32 2010 +0200
s3:rpc_server: pass down local and remote tsocket_address to np_open()
metze
commit 56ebbb53c80a49f2d8dda8a108afc07669af333e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 15:15:23 2010 +0200
s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes
metze
commit 9a77cb247d00828845df02030e7d174351daf432
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 15:05:30 2010 +0200
s3:rpc_server: add np_read_in_progress() function
metze
commit 8c0be920442778c24e19f8a52d9f8bc385218834
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 26 10:43:19 2010 +0200
s3:rpc_server: make sure we don't send uninitialized memory for the named_pipe_auth handshake
metze
commit 6a14dad13cc4b619a5901e54747085e81e42597d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 23:17:35 2010 +0200
s3-net: fix the build.
Guenther
commit 66e9b8c888c8c7b1bbb46c9e562bd5be1fd3118d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 21:22:13 2010 +0200
s4-smbtorture: add usergetinfo to RAP-SAM.
Guenther
commit e94e13bd8d013d2c58cf4f2c647056b5a1b53e79
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:55:45 2010 +0200
rap: use rap_LogonHours in rap_NetUserInfo11 as well.
Guenther
commit 20f843b678ca93ae762e91969bb13fdb33db4a3f
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 13:29:35 2010 +0200
s3-waf: more work on krb5 build.
Guenther
commit eb6d6114f31c5ef42f7573b94e9a522121a3f0a0
Author: Kai Blin <kai at samba.org>
Date: Tue May 25 17:53:16 2010 +0200
s3-waf: Allow to build with kerberos support
commit 229b090308d09e749f70155c798ae3826bf24164
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:49:01 2010 +0200
s3-lanman: remove defines now provided by IDL.
Guenther
commit dd05e173a2001f5f59e6dfdbebf592dc1c64fc4d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:48:32 2010 +0200
rap: fix typo in IDL.
Guenther
commit dc014657decc02e9896a7f1ec10732cd28829f24
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 22:32:32 2010 +0200
s3-waf: fix the build after chgpasswd.c changes.
Guenther
commit b86666ab538fe1cf739bfb8a3c9bb50dc4d49270
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 20:59:40 2010 +0200
s4-smbtorture: add smbcli_rap_netusergetinfo().
Guenther
commit fbd1d50824be44ed3289a18ce8733d1a337192ae
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 20:54:50 2010 +0200
rap: add rap_NetUserGetInfo IDL.
Guenther
commit 2807ab358ec346a1da15522adce7f182d3ffefe5
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:06:23 2010 +0200
s3-samr: move chgpasswd.c out of smbd and into the samr server.
Guenther
commit 14b03d132bba45b368a07de4c4ed3ce73a8e1bde
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 19:26:06 2010 +0200
s3-smbd: remove unused change/check_lanman_password.
Guenther
commit 7fa2129db665331dcfd2f1849220ea3278252ce3
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 02:24:43 2010 +0200
s3-lanman: parse encrypted and min_pwd_length in api_SetUserPassword().
Guenther
commit a17203ba651eb643580e98aa67955eb23a374a3e
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 14:37:25 2010 +0200
s3-lanman: use samr for api_SetUserPassword().
Guenther
commit c1e8838bf5483a5b7a8a2556a43ee2cf1040a1a1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed May 26 17:41:50 2010 +0200
flags.h - fix comment for "GTYPE_SECURITY_UNIVERSAL_GROUP" constant
commit 9b1daa78cf7a5e461a3e108ad240b6f9a2bdc434
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 26 17:22:24 2010 +0200
s3:Makefile: add missing linker flags for smbfilter
this should fix the AIX build
commit 60cba59ff8ee75e3d476c1b293ca2f545b7f9e49
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 26 17:18:59 2010 +0200
s3:Makefile: fix a typo in flag variable name
commit ab707cb9b3e62bd99afa0a82152064a6d75b032d
Author: Günther Deschner <gd at samba.org>
Date: Wed May 26 15:14:20 2010 +0200
s3-printing: fix buildwarning in publishing code after registry changes.
Guenther
commit 718718d0e7d4ffd1e706a2896cc385ae6dba24e2
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 10:23:48 2010 -0400
s3-lanman: Migrated to rpc_connect_spoolss_pipe().
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8aa96566a96413384b7c8af0143c4ed1af100492
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 09:51:12 2010 -0400
s3-rpc_server: Created a per connection spoolss pipe.
This way all code can reuse the same connection to spoolss
and not have to deal with the creation of a new pipe all over the
code every time we need to ask a service off spoolss.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 83b2fd30215c5286f0f05bddce76bd5e0959c5c8
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 14:09:39 2010 +0200
s3-waf: Build smbclient binary
commit 59f3c4ec591e21235650e7e8bfae2540e423c533
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 14:09:06 2010 +0200
s3-waf: Fix the naming of some variables introduced recently
commit c2021e4211ee1c4d840995d3adaf3e2494e35719
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 26 04:22:34 2010 +0300
s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functions
In multi-DC environment, NBT name resolution may resolv
domain name to any of DCs.
This make this test to fail, as we are modifying the user account
on one DC and query user info immediately after that on another DC.
commit de60cbb6e75fb1f6fe42fd0e86204d304911d30c
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 26 13:32:13 2010 +0300
s4/test: remove unused code
There is no need anymore to modify samAccountName
of the testing user to original value as test_cleanup()
will spot the right samAccountName to delete
commit 5444272f89785b9c7a63b197b89bf8fc40c39284
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 26 13:27:07 2010 +0300
s4/test: make test_cleanup() in libnet_user library more robust
test_cleanup() is called always with RDN name of the user to be deleted.
When modify-user test fails however, we end up with a user
with RDN = libnetusertest and samAccountName = random_name.
This way we can not delete the user and the error message is
quite misleading (I've spent a *lot* of time trying to figure out
if the database is corrupted because of this error).
commit bbdb8384220f3fa51ded65d89fdab0496ad3da25
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue May 25 17:24:45 2010 +0300
s4/test: rename enum test_fields{} member names to be more descriptive
commit 644593d30ecddec27f0a48340d74db7cf164bfc3
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat May 22 05:03:16 2010 +0300
s4/test: Replace hand-made field count to test
This patch replaces hand-make count of fields to be tested
with defines for FIRST-LAST value for corresponding fields
to test with.
As a side-effect, 'acct_flags' is now included in tests.
commit 2bca048367456b09d16f51405373fa33be6eeca3
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 26 10:18:03 2010 +0200
s3:configure: use the right AC_CACHE_CHECK variable
commit 3c8dc5cd214c58747bfbbd72a8d05fc50454585a
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 21 12:29:22 2010 -0400
s4:smbd: Use tstream_npa_accept_existing to accept named pipe connections
Pair-programmed-with: Stefan Metzmacher <metze at samba.org>
commit 2e171239f9abbadae0363818ce730df8f0eaada2
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 21 10:34:58 2010 -0400
s4:smbd: Add tstream to the stream_connection structure
commit b7159e6ffd9f2c907301ce4d3e6ba3ff01c8a1f6
Author: Simo Sorce <ssorce at redhat.com>
Date: Wed May 19 17:02:52 2010 -0400
named_pipe_auth: implement tstream_npa_accept_existing_send/recv
Pair-programmed-with: Stefan Metzmacher <metze at samba.org>
commit 9e194cd673a0d0a56cd064bab38cbf30b468999d
Author: Kai Blin <kai at samba.org>
Date: Wed May 26 00:16:10 2010 +0200
s3-waf: Check for additional options on *xattr
commit 5a023e73f7b1e788b49a05318b8de264aca085f0
Author: Kai Blin <kai at samba.org>
Date: Tue May 25 23:57:41 2010 +0200
s3-waf: Add darwin to the host_os-specific checks
commit b2546ee5571e644d3cb784f33517bf9f28c134d7
Author: Kai Blin <kai at samba.org>
Date: Tue May 25 23:53:04 2010 +0200
s3-waf: Don't hardcode the name of the awk executable in wscript_build
commit 475531c9bb6c2d4b522a77d0ced09a9775704085
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 25 11:39:46 2010 -0700
Standardize debug messages for read and write.
Jeremy.
commit aa51fa0ce34cc36ad757bb5ab1450c37631bb082
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 17:28:05 2010 +0200
s3:fix the waf build after registry changes.
commit f12028a3fd5c64bc8e13996cb9a18a19ec0929e0
Author: Günther Deschner <gd at samba.org>
Date: Tue May 25 12:43:00 2010 +0200
s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing rules" warning.
Guenther
commit 8e41f2e66a6be425e161ee2ec1cea386332a6186
Author: Günther Deschner <gd at samba.org>
Date: Tue May 25 12:27:02 2010 +0200
s3-waf: very simple start on getting krb5 build to work.
Guenther
commit abf27643616a0ad2c0477869c2146d852ee57026
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 25 11:21:46 2010 +0200
s4:torture/rpc/samr.c: Fix the "ValidatePassword" test
It was failing randomly due to an uninitialised "status" variable.
commit af2cbaa700f8a56228131061ad10a1d219df1d83
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 10:53:17 2010 +0200
s3:registry: add C for substantial changes to reg_objects
commit 80293b80670d5106d1aa8822c2de081f7caecb64
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 10:32:51 2010 +0200
s3:registry:reg_objects: Remove use of uint{8,16,32} in favour of C99 types
commit 0b446e0842a9e79dcc290aa0841e56e0b0d2c495
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 08:54:29 2010 +0200
s3:registry: add comment header block to registry.h
commit 0fe1ff99a1aa6858ec0f1cfb1130b801238fc8e2
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 01:00:37 2010 +0200
s3:registry: move reg_objects.h to registry/ and use it only where needed
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
commit 552e505cee966e7f734fb6bc8f5991bb5b73ba32
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:42:50 2010 +0200
s3:registry: move non-reg_objects definitions from reg_objects.h to registry.h
commit 75e691ae6baeac88878e2c8107ceb7e057fd4c5b
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 00:05:26 2010 +0200
s3:registry: hide definition of regval_ctr and regval_blob in reg_objects.c
commit 0e8e5d5d6e7a1ab54cd108d70ade6aa884effe8f
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:10:48 2010 +0200
s3:net rpc registry: use regval_ctr_init() instead of direct allocation
commit bf65ff5ea2b84f3f5406d840f759da87e146cc3a
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:08:58 2010 +0200
s3:profiles: use regval_ctr_init() instead of direct allocation
commit 7b2f5f20daded43705f4321acf1b9311fa0fe6d4
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:07:47 2010 +0200
s3:rpcclient:spoolss: use regval_ctr/blob accessor functions.
commit 112eddf107de7910224e5854fda9fea2bfd11087
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:48:31 2010 +0200
s3:net_rpc_printer: use regval_blob/ctr accessor functions
commit c4de07a2597911e71b763a00ca7c72b68128fdbb
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:18:21 2010 +0200
s3:net rpc printer: fix use of a possibly uninitialized variable
commit b5d0fdd96c835281378d21a7dc73b1fd8f100d9f
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:08:01 2010 +0200
s3:nt_printing: use regval_ctr_init().
commit dcf2cc2806bcccef42adf84c8a60e875bc49efdf
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:06:20 2010 +0200
s3:srv_ntsvcs: use regval_ctr/blob accessor functions
commit 1be8f5fba4d5059a43732e2ad65ab269132bd205
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 14:03:46 2010 +0200
s3:services_db: use regval_ctr_init() instead of direct allocation
commit 53ba74ecee5ac0cb75f51f3af9f0c62119ed5367
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 13:57:35 2010 +0200
s3:libads:use regval_ctr/blob accessor functions in ldap_printer.c
commit 5fbf935ffce6204843fc498afd02dc3ba1dd9ff5
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 23:59:34 2010 +0200
s3:registry: use regval_ctr/blob accessor functoin in reg_eventlog.c
commit a71dac488233a9d95df32361d10d96dde951988c
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 23:58:28 2010 +0200
s3:registry: user regval_ctr/blob accessor functions in reg_backend_db.c
commit 0d20053f101f21f584f5bf5562ffc767979081db
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 23:56:40 2010 +0200
s3:registry: use regval_ctr/blob accessor functions in reg_api.c
commit 987514d98d3cb8711b5c56b5416fa690ecb3b8eb
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 22:55:12 2010 +0200
s3:registry:reg_objects: add regval_ctr_set_seqnum()
commit 6b331321e3d2bdf67c7acd63138b62fcf7cc5208
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 22:53:44 2010 +0200
s3:registry:reg_objects: add regval_ctr_get_seqnum()
commit e0d5bccfd381ebb83ee7d626ee94087d47f4b8dd
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 22:47:53 2010 +0200
s3:registry:reg_objects: add regval_ctr_init()
commit 97846edfa59b95572d176981bb4bab6a5c06b61c
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:31:01 2010 +0200
s3:registry: move definition of registry_hook to reg_init_full.c - it's only user
commit e829b42978d91cf8a5ec67cd322e66a538f7fd75
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:15:52 2010 +0200
s3:registry: extract registry_pull/push_value prototypes into own header
reg_util_marshalling.h and use them only where needed.
commit 36b74e03cfec6bb5aaa7c3909c115629f0b076b1
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:08:15 2010 +0200
s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.c
commit 773255ba504201e5ec1c34dbe30f40fd2bc0447d
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 00:04:13 2010 +0200
s3:registry: rename reg_util.{c,h} to reg_util_internal.{c,h}
commit f3053739b7e62e4749821bf2283d67ec379b1abc
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 23:37:09 2010 +0200
s3:registry: move prototype registry_create_admin_token() to new header reg_util_token.h
and use it only where necessary.
commit e3f7fab668c1bf1366257f64a5099cca919ca358
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 23:27:57 2010 +0200
s3:registry: move registry_create_admin_token() to new reg_util_token.c
commit 847a19df946432558e75a6f81f0a761407114f45
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 23:06:27 2010 +0200
s3:registry: extract reg_eventlog prototypes to header of their own
and use them only where needed.
commit 5a92d88f38dc9fc65db7e6451eae2d22da04463e
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:59:04 2010 +0200
s3:registry: extract reg_perfcount prototypes into header of their own.
And use them only when necessary.
commit b94267aa3f83ec604e8b242006e09ecf4f7d5e57
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:49:42 2010 +0200
s3:registry: extraxt the reg_dispatcher prototypes into their own header.
And use them only where needed.
commit d335f292ce10824d483eff8d34fb0444e3d91f23
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:42:00 2010 +0200
s3:registry: extract the reg_backend_db prototypes into their own header.
And use them only where needed.
commit 9ccf66379a946cef87d915c5f0f7758adb11a4d6
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 22:19:17 2010 +0200
s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *
commit 70a81796fca29d3e924ab6a9396b1a4ab344a730
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:15:33 2010 +0200
s3:registry: fix regval_ctr_addvalue() to take data as uint8 *, not char *.
commit f7f9ce30caa838f8408faa4bddcaebe2e266a0e4
Author: Michael Adam <obnox at samba.org>
Date: Mon May 24 15:00:29 2010 +0200
s3:registry: fix data_p arg of regval_compose to be uint8 * instead of char *
commit 4ae77b2ef9ef5f936055b03a7fb96231a069683b
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 16:11:13 2010 +0200
s3:registry: extract the reg_util prototypes into their own header.
And use them only where needed.
commit c682fd65b20e6b17150b3a57bebb222767c60796
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 16:00:35 2010 +0200
s3:registry: remove superfluous comments from registry.h
commit a4efda959af36e0611c5204852dc1eea3f0310bf
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 15:57:27 2010 +0200
s3:registry: extract the reg_util_legacy prototypes into their own header.
And use them only where necessary.
commit 14a025062ee2923aac4f9e57c05a9004ddf55856
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 15:25:00 2010 +0200
s3:registry: extract the reg_cachehook prototypes into their own header.
And use them only where necessary.
commit 9c5d7c789664d15017a837ad735b79e3b0ea4479
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 13:32:08 2010 +0200
s3:registry: protect registry.h from multiple inclusion
commit d59d9dfb90c67a5332ca76f38702ba6bacc0da76
Author: Michael Adam <obnox at samba.org>
Date: Sun May 23 13:28:05 2010 +0200
s3:registry: add C to reg_cachehook, confessing considerable changes in 2008
commit 8eed328cb5b9585fc6c20cfc94d64568cd30b055
Author: Michael Adam <obnox at samba.org>
Date: Tue May 25 09:49:04 2010 +0200
s3:fix configure after change "add Werror_FLAGS for IBM's xlc"
For me, 24b3725407f1a67e13a7646d2e3f26ed1e4735ff broke configure.
The fix in f634450b67d2a084c41a63c0e94eb47adb90e101 is not complete yet.
After staring at the change a bit, tt seems to me that the
code inserted was just misplaced by one line.
Michael
commit f634450b67d2a084c41a63c0e94eb47adb90e101
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 25 09:43:57 2010 +0200
s3: fix the configure run
commit ff0872d59d78ad42212c88313ef924ea4eb7a8a1
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 23:34:00 2010 +0200
s3:configure: turn "error warnings" into errors
By default "Missing argument(s)" is just an "error warning" for xlc :-)
The change to turn "error warnings" into errors should fix bug #7427.
commit 24b3725407f1a67e13a7646d2e3f26ed1e4735ff
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 23:28:44 2010 +0200
s3:configure: add Werror_FLAGS for IBM's xlc
commit 189950ce0615806b20a5536e6621d541044be42d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 22:01:36 2010 +0200
s4:dsdb_enum_group_mem - use "unsigned" counters
"size_t" counters aren't really needed here (we don't check data lengths).
And we save the result in a certain "num_sids" variable which is of type
"unsigned".
commit 4d76c0aa80e58ce944419bf36c695e7104c73712
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 22:00:54 2010 +0200
s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case
commit 9696bba1d7e8e71ca1d186b174dfa13ac418c5c9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 21:53:34 2010 +0200
s4:dsdb_add_user - check the "cn"/"account_name" length (should be >= 1)
This needed by the "cn_name_len"-1 accesses.
And use a "size_t"-typed variable for storing it (length specificators should
always be stored using "size_t" variables).
commit 2a91b00b9217b9fe0caf4c848a433eff1d81d75c
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 24 11:03:42 2010 -0700
Add in support for the NTLMSSP version reply.
Jeremy.
commit 4a653798df86fa3a62a21768db912434eb10dcc6
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 15:39:29 2010 +0200
fix a typo
commit a042e2413797965f85e9ae5099a0ac628418fcea
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 24 17:25:34 2010 +0200
ldb-waf: Install manual pages for ldb in standalone build, install
python module.
commit 1d66cb0e204fa5527f35f58d82bda8b7850e7118
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 15:03:17 2010 +1000
s4:winbind Give more detail on the parameters when reporting idmap failure
commit dceca3d8ae0220bb8d23325a0a771533bf946217
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 14:58:07 2010 +1000
s4:winbind Change idmap API to match that used by the source3/ idmap subsystem
This makes it much easier to write an idmap module that bridges the gap.
We should finish the change to the new API, but for the moment this
choke point works for the conversion.
Andrew Bartlett
commit 9573c35636806a0ce013c32e611603c0e8a480fd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 11:21:29 2010 +1000
s4:winbind Change include guard so as not to conflict with idmap.h in source3
commit e7fe4d388516e7bf496056ae9828a4219d5ff7db
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:52:18 2010 +1000
s4:winbind Fix up includes after seperation of idmap.idl from winbind.idl
commit 285647664cf60baa9f8f1a52bea0c55aa01b4e85
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:16:34 2010 +1000
s4:idmap Adjust code to new idmap structure names and layout.
Andrew Bartlett
commit 974ed9cf2c10ab3384c1070c22f5cd42908c95f1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 10:15:04 2010 +1000
s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmap
These structures now match those in use in the source3 code. I'm not
sure if this is the better API or not, but it is far, far safer to
remove a pointer than to add one.
Andrew Bartlett
commit f6aa0902025dc562748499d60f3257a0f47329c8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 24 00:57:32 2010 +1000
s4:samr Push most of samr_LookupRids into a helper function
This is a rewrite of the lookup_rids code, using a query based on the
extended DN for a clearer interface.
By splitting this out, the logic is able to be shared, rather than
copied, into a passdb wrapper.
Andrew Bartlett
commit c6ffd884d95eadf634b2e596d8fe5cb952f52ee2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:42:21 2010 +1000
s4:samr Push most of samr_QueryGroupMember into a helper function
This is a rewrite of the group membership lookup code, using the
stored extended DNs to avoid doing the lookup into each member to find
the SID
By splitting this out, the logic is able to be shared, rather than
copied, into a passdb wrapper.
Andrew Bartlett
commit 20d2847492f9ccdb159df91315be9dcc142b5d83
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:21:37 2010 +1000
s4:samr Move most of samr_CreateDomAlias into a helper function
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
commit fc04e565b08012e2e9926b055b6a8c5f5dccc080
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:17:44 2010 +1000
s4:samr Split most of samr_CreateDomainGroup into a helper function
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
commit 43c931b2d453537f0da0ef2abda14c80d8d91dc9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:14:53 2010 +1000
s4:samr Split the guts of samr_CreateUser2 into a helper function
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
commit e0d141bd4661482f374cbd95d866be587307ecd2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 08:11:13 2010 +1000
s4:dsdb Allow a NULL search expression in dsdb_search()
The NULL search expression expands to (objectClass=*), but %s expands
NULL to (NULL) which doesn't parse...
Andrew Bartlett
commit 6c726745a4253f35a5d2e016185ba5624fd40644
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 18 20:34:20 2010 +1000
s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL
This IDL is almost common, but the source3 version has a
hand-marshalled server_id. The s3compat build has problems with two
different idl files of the same name.
Andrew Bartlett
commit 8e1e6b0112c06b8587c0823a62d2103c047f8310
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 12:42:32 2010 +0200
s4:LogonGetDomainInfo - allow to set DNS hostname for the first time
Otherwise it obviously can never be set.
commit ee524d3182de85dff2febaad2481e37ad5a8be8f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 11:06:29 2010 +0200
s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to normalise it)
And return always the correct error codes on the failed add operations (should
anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
commit 40ced1a3be5ab04c7431ecda2c7924336a852994
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 24 10:38:16 2010 +0200
s4:setup/*.ldif - remove unneeded "cn" attributes
Should be generated automatically
commit 8e069e245bdda1303e9c2bd3b9e30be98f9d8680
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 12 18:17:30 2010 +0200
s3: major overhaul of compiler and linker flags for HP-UX builds
this will fix a number of things like shared library builds. That in turn will
probably trigger some other build bugs...
commit 4c659433c09823c2ea34ac73fad3686f917ac609
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 13:41:12 2010 +0200
s3:Makefile: set PIE flags also for nss_winbind
commit 2466dc7eaf52165a87a1e0311490034c70536a6e
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 12 19:05:37 2010 +0200
s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
commit 5f0a2a15d89089f78875676099cd8a23a18ace9e
Author: Björn Jacke <bj at sernet.de>
Date: Mon May 24 12:21:40 2010 +0200
s3:Makefile: position independency is also needed for shared libs
commit 857ca4176a3f5096629d1aa8a7cd12dd9e224ac1
Author: Björn Jacke <bj at sernet.de>
Date: Sat May 22 16:48:16 2010 +0200
s3:build: don't use pieflags twice - ldflags already have them
commit d12768cc0ae52d95ffd83070948c83af4ce8704b
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 24 11:23:42 2010 +0200
s3: Fix a typo found by ITPFS oota <t-oota at dh.jp.nec.com>
Thanks!
commit 792743cfab19ad273c75a2f8d54fe2dd60de0240
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Sun May 23 21:31:53 2010 +0200
solve the error "ldb.inst.h does not exist"
The error happens when headermap.txt is not available
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit eec93985d1d31c86509020fb03515758531a098f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun May 23 17:55:48 2010 +0200
build: get the SONAME right for installed libraries
commit bd8e3cf85586c9d2fadef40c861221073923c91c
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Sat May 22 14:35:50 2010 +0200
Substitute the pidl files without using 'headermap.txt'
The headers generated by pidl contain references to bin/default. Those paths
may be replaced automatically.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6e7d39f4dd29d090244a51df9f59a42d7cb060d5
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 11:44:30 2010 +0200
s3: Another non-gnumake fix
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
commit 7eff96cb43587f03a6735e99492be6d775c5d7ef
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 00:16:52 2010 +0200
s3: Factor out compiler-independent defines
commit 9d1a08032bdedf6606beea55167ded615a9c657f
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 23 00:00:41 2010 +0200
s3: Next step to fix the build on OpenSolaris
commit 086c6c0e9a56f7e6dca6c1398e210b8c6225e4ed
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 22 19:29:13 2010 +0200
s3: Attempt to fix the non-gnumake build
Björn, please check!
commit 8040bc608a93c4a78064acf55586d6605377f23e
Author: Simo Sorce <ssorce at redhat.com>
Date: Sat May 22 12:40:13 2010 -0400
torture: fix typos
commit 72d2c370e247d1fffb4d4fc6e558168b4cd4e3dc
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 22 13:08:06 2010 +0200
s3: Remove unreachable code
commit 796904e983151cfa46a89a0be62f8940b9655f4a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 21 13:29:14 2010 +0200
s4:ldb_controls: make it possible to pass arbitrary control via the command line
--controls=local_oid:1.3.6.1.4.1.7165.4.3.7:1
To specify the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control as critical.
metze
commit d7542b58fcb0d9a67a20bde5bdf3aec6fd633237
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 23:59:54 2010 -0700
If using fake oplocks, use the correct SMB2 type code for "no oplock".
Jeremy.
commit 625ffba8ecaf0895382ce2469476e15480415248
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 21 17:33:05 2010 +0200
s4:libnet: use the new generated config from the provision for the self_join
This fixes net vampire with the --target-dir option.
metze
commit 82484461e3f8f9bba351bbb5f5178c6f17dd049d
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 17:12:40 2010 -0700
Don't forget brackets around bitwise tests.
Jeremy.
commit b2a7ad8c951562d1aea6663064784da0b0a98565
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 16:56:10 2010 -0700
Make DFS work over SMB2.
Jeremy.
commit 6af5e7cde198ac21ed8030fd3744ab0ae7f15fd3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:23:58 2010 +0200
s4:torture/rap/rap.c - quiet discard const warning
commit bd3e70c1bea906e942755cedfbcb467356b2a483
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:19:23 2010 +0200
s4:torture/raw/open.c - remove unused variables and fix error handling
commit a05ac3039b34f07b730b673c3b2c1a0a923cbd35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:16:43 2010 +0200
s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warnings
commit 68363049579c408e56170933cd0b5094934f7c20
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 21 23:14:19 2010 +0200
s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warning
The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly
or it is NULL if we ran out of memory.
commit 366333c08fe1d26276a90391dcec0526a65cb2a2
Author: Roel van Meer <rolek at bokxing.nl>
Date: Fri May 21 14:17:17 2010 -0700
Fix bug #7448 - smbd crash when sambaLMPassword and sambaNTPassword entries missing from ldap.
Protect SMBsesskeygen_ntv1() from a NULL pointer.
commit efb29227fa46e2c9420b3158ef7422aea4f5846e
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 12:08:18 2010 -0700
Make krb5 over SMB2 identical to the way we handle it in SMB1.
Jeremy.
commit f576cc5410a9074a769ca1fbf786a142449e6058
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 11:40:54 2010 -0700
Doh! If you're going to give advice in "useage", make sure it's correct.
Jeremy.
commit 03f22005f9692feee150cf51c70d09ce2100ae02
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 10:35:22 2010 -0700
Add comments to usage error message for -k to make it obvious what this needs.
Jeremy.
commit 8c9ea2ba7ce2536ebc9f5342a050eb5bc63feac3
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 21 10:32:46 2010 -0700
Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.
Jeremy.
commit 28b8d421364a1d55bf28a2552f58b5e4325d2bbb
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Thu May 20 11:13:37 2010 -0400
s3: added support for fake oplocks in SMB2.
commit dd3c367153353407f41642b6da4549057cc4c1e7
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:05:48 2010 +0200
s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.
Guenther
commit 94d41ddc8f7c97069f0d3c331f65932365c5eb8e
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:05:10 2010 +0200
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
commit 032c0515233551bf1d170a8b0a1fe970425d69c5
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:02:45 2010 +0200
rap: fix rap_NetUserPasswordSet2 IDL.
Guenther
commit 7c979adfbf9433ac00b24e6bcd7adebfd3b74b8c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 18:06:51 2010 +0200
s3-net: fix net_ads_gpo() for non-ads case.
Guenther
commit a4719a4e12c69f2602bb6063f635c66d3d4848a0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 21 05:36:35 2010 +0300
s4-drsuapi: Sort ATTID definitions by ATTID value
commit ffc46769b35083f35a8ff2309e4a066502af9441
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri May 21 05:27:04 2010 +0300
s4/drsuapi: Yet another set of predefined ATTIDs
commit b6b38222894014de029131eb5b6d573294af314e
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 20 14:00:57 2010 +0200
s4-torture: Improved the winreg symlink test.
This test is still disabled as we don't know how to remove a symbolic
link. It looks like there only DeleteKey functions which can work on a
handle are able to delete a symbolic link.
Pair-Programmed-With: Michael Adam <obnox at samba.org>
commit 74d0fc10fd646e493a98a00e524f17e9c4f3df3f
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 21 12:49:23 2010 +0200
s4-torture: Disable the security descriptor tests.
commit 225bd02dab1a0656461d3d5e30ad03034e8c64f1
Author: Andreas Schneider <asn at samba.org>
Date: Fri May 21 12:42:55 2010 +0200
s4-torture: Try to fix the winreg tests.
commit 5fe476b6821b731db11225043756470c45c7f66c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 21 11:30:20 2010 +0200
s4:ldb: add --controls support to ldbedit
metze
commit ab093ffe4637db65afb3779f592f20dd55f4e5f3
Author: Thomas Nagy <tnagy2pow10 at gmail.com>
Date: Fri May 21 12:48:11 2010 +0200
wafsamba: Disable the abi checks when gdb is not available
Try to find gdb during the configuration, if gdb is missing, disable
the abi checks.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 50b472a772edeb23ec97c3878054fb437db24f9b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 20:07:18 2010 +1000
s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for libcli_ldap.h
It took a little while to find where to update this...
Andrew Bartlett
commit 124047877d3287b9cbc145682c5e5ce5606d682b
Author: Michael Adam <obnox at samba.org>
Date: Fri May 21 10:56:37 2010 +0200
s4:torture:winreg: improve error messages in test_HKLM_wellknown
commit 67439d4297781261ac469d7c9252677f36d8c54a
Author: Michael Adam <obnox at samba.org>
Date: Fri May 21 10:53:35 2010 +0200
s4:torture:winreg: improve error messages in test_QueryValue_full
So that one has a chance to tell what part of the test failed. And why.
commit cba7f8b8273e661d3c43652900d93e5a8eab4e5f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 11:25:01 2010 +1000
s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit a92b653af964364ee438c6ee69a87eb7603ceab0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 10:38:04 2010 +1000
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
Signed-off-by: Günther Deschner <gd at samba.org>
commit c8a23147fe12c693fd7944af7bb09b88393789d9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 17:39:15 2010 +1000
s4:libcli/ldap Rename ldap.h to libcli_ldap.h
It is a problem if a samba header is called ldap.h if we also want
to use OpenLDAP's ldap.h
Andrew Bartlett
commit 82c97e0ab840d8acfc81c3096bebc8c3d3e0bde3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 16:38:44 2010 +1000
s4:auth Remove un-needed headers.
commit 9453a0f88f1d0c337a3c1b24a2567e2dde3466e8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 16:01:34 2010 +1000
s4:auth Fix previous commit - segfault in determinging a user's groups
The previous commit didn't include these vital fixes.
Andrew Bartlett
commit 80b4d50603fb54011396f0d868ffc9907247d2af
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 15:04:36 2010 +1000
Revert "Make -k a simple non-bool option."
This reverts commit 2bbf055dbb15ea99b80ae66adc906ad5494a3999.
This change broke 'make test', because the current syntax is deliberate
and an integral part of how Samba4 uses Kerberos.
If a change like this is to be implemented, then careful review of all
our test scripts must be taken first, and then new options such as
--dont-use-kerberos, --may-use-kerberos and --must-use-kerberos
should be added.
Andrew Bartlett
commit 91807d9dd59b3b99250e5e52f84748710be3c360
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 21 15:02:22 2010 +1000
s4:auth Error out when a memberOf DN does not have a SID
We previously segfaulted if this was not the case.
Andrew Bartlett
commit 783cd32a75608b87952f062da7b83351bac69348
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 01:25:16 2010 +0200
s4-smbtorture: add kernel_mode_registry_path().
Guenther
commit e6047c163449c61de7f6883e3d5d40e1c2a30454
Author: Günther Deschner <gd at samba.org>
Date: Fri May 21 00:28:36 2010 +0200
s4-smbtorture: Fix volatile test in RPC-WINREG.
Guenther
commit 304271bd8feb77891b57ed4db3b7c4070bfa9a1f
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed May 19 11:37:23 2010 +0200
s3: registry: add tests with empty valuename
Signed-off-by: Michael Adam <obnox at samba.org>
commit 12ce1643849a4cbbf1435d4f9ab7b1a951f86d07
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed May 19 12:20:10 2010 +0200
s3: registry: let test_setvalue use getvalueraw instead of enumerate
simplifies code, prerequisite to handle empty valuenames
Signed-off-by: Michael Adam <obnox at samba.org>
commit 0a173444ac7bba8d69bbc80792215930ce65fdc3
Author: Gregor Beck <gbeck at sernet.de>
Date: Wed May 19 11:16:54 2010 +0200
s3: registry: fix query empty valuenames
Remove a check introduced with commit 80c2446321c519797a57b8006942a983f8481d79
wich causes queries for values with empty name to fail. Empty valuenames are
used for the so called default value of a key.
Signed-off-by: Michael Adam <obnox at samba.org>
commit 136ea7b91d0a712bf78ee325f06ab2d75f712507
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 23:05:21 2010 +0200
s3-waf: Actually make --with/--without-swat work
commit c926acf7f1b49191b18f04a9caf484d8ef1033b9
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 22:58:59 2010 +0200
s3-waf: Really disable winbindd build when --without-winbind is specified
commit 2bbf055dbb15ea99b80ae66adc906ad5494a3999
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 20 14:59:34 2010 -0700
Make -k a simple non-bool option.
Jeremy.
commit 2d46e07c47418fdec5239d65032277c7917a44a4
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 20 14:30:44 2010 -0700
Fix what looks like a cut-and-paste error in our read_negTokenInit() function.
We should never be calling asn1_push_XXX functions inside an asn1
reading function. Change asn1_push_tag() -> asn1_start_tag() and
asn1_pop_tag() -> asn1_end_tag(). This allows us to connect to a
NetApp filer at the Microsoft plugfest.
Andrew PLEASE CHECK !
Jeremy.
commit 8a4525d9fa08959a46afa88e2c785e1bc291b941
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 23:40:30 2010 +0200
waf: fix the build of nsswitch libwbclient.
Guenther
commit 7c6be166d0ef799a1897c29d5c1c1cd9998ff5d3
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 22:13:48 2010 +0200
s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
Guenther
commit 393e1495af642af4525c7f66d869b0685731b3aa
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 20:50:31 2010 +0200
s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
Guenther
commit ff3d2bef113783a561bdba1eace41d9bd5fce337
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 21:57:53 2010 +0200
s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
commit 7370d036278d2cd0cb14267b5c2b0baa6e1788eb
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 20:49:44 2010 +0200
s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
Guenther
commit 29f549e3fb62b8b431aea5f9e53fc916ff121111
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 22:30:24 2010 +0200
s3-waf: ndr string functions moved to top level
commit aca2b5461c47e6bb6449d7b09e36faa0025bb912
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 10:24:37 2010 +0200
s3-waf: Fix the build after rebase
commit 73f6fed4d61f69cbbbd911e3c5549f39cea05ac7
Author: Kai Blin <kai at samba.org>
Date: Fri May 14 11:03:19 2010 +0200
s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE
commit 9ab33162503ea5965cd7f34a9b5b9c1f13e75d0c
Author: Michael Adam <obnox at samba.org>
Date: Wed May 12 23:48:10 2010 +0200
s3-waf: fix linking of eventlogadm by adding cap as dependency
commit f35bafe39c9aac0c156636965bffa1ebe0b39225
Author: Michael Adam <obnox at samba.org>
Date: Wed May 12 23:47:36 2010 +0200
s3-waf: fix linking of swat by adding cap as dependency
commit c33ba1f9d1a5af5a2055cc28cd859bef75fa7eba
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 22:43:18 2010 +0200
s3-waf: Fix build with ldap by adding a SMBLDAP subsystem
commit 17b136a79f94be5133e1fc93e31001fb102e6d2e
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 05:39:00 2010 -0600
s3-waf: fix the winbindd build again
commit b6c5d5de379de1e1e5ada78021b3defba3ca3194
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 05:23:27 2010 -0600
s3-waf: Fix up PIDL includes.
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 9cc39ffb5673e17be78d3986c0cc56e4f1a2af32
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 04:32:30 2010 -0600
s3-waf: Some files moved during the rebase
commit 5556deee7aabda43ee258d84670fcb9635632a47
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 04:31:27 2010 -0600
s3-waf: Add autogeneration with PIDL
commit d704d5295461a2d287f3d69b43d355fc4cfa1489
Author: Kai Blin <kai at samba.org>
Date: Wed May 12 04:27:49 2010 -0600
s3-waf: Remove references to LDB
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 1c6ba8551d74a469c80fdc666a8c795bd3a7bf52
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 04:23:10 2010 -0600
s3-waf: Also include source4/ when looking for headers
commit 8e04ad2db1e3071e3297a315021fc5158134f575
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:44:25 2010 +0200
s3-waf: build shared modules as subsystems
commit 2650198ff70320cc9f251f2ce881c25932bc0e95
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:14:54 2010 +0200
s3-waf: autogenerate lists of static modules
commit e48b73fc67e7e57d6944722adf738bcc923cf1a6
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:13:05 2010 +0200
s3-waf: clean up includes
commit 3ea211feb4b77633e22ecd09c8d653ccf892ec9f
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 17:11:41 2010 +0200
s3-waf: create a SECRETS subsystem
commit 1e97982633a4a7652d7481a0e888de4fe85c7791
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 15:24:13 2010 +0200
s3-waf: clean up dependencies a little
commit 997114564d1d8ec9e6f79be6e0cd557e34d04cb6
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 15:23:37 2010 +0200
s3-waf: tdb includes are in lib/tdb/include
commit 6a32dbd857b892a1c71130fdcb58ec53d06ea4ef
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 15:00:43 2010 +0200
s3-waf: fix eventlogadm build with winbind
commit 0e7e0397780a13b13649c910fe77709e4feedcf0
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 10:32:07 2010 +0200
s3-waf: Autogenerate the static and dynamic init function calls
commit 25f33a3f8e92e2687db782b56ad794e8dee02986
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 10:31:22 2010 +0200
s3-waf: add popt and tdb include dirs to the includes list
commit 63a30619b63d17347eda1c13e56ec200fa1ce853
Author: Kai Blin <kai at samba.org>
Date: Tue May 11 10:30:25 2010 +0200
s3-waf: Fix up the winbindd build
commit 015c09031e48877bda9b15d9334846d7fd43c98e
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 19:45:06 2010 +0200
s3-waf: add eventlogadm binary
commit 07661287648e4764a0babf6f571e695c61957b41
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:43:57 2010 +0200
s3-waf: Use a common subsystem for the kerberos client code
commit 149167f5748860e6795d11c6aceeb0149101d241
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:33:49 2010 +0200
s3-waf: Use a common subsystem for samba-popt code
commit f242a31a43a0ff2d0be84553aca5e159aa138905
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:22:06 2010 +0200
s3-waf: note that the options are broken
commit b2431163fccb996b390acbfd65d29d39f92b4679
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:21:28 2010 +0200
s3-waf: replace all - with _ in the configuration option names
commit be712a8eea486d493d6e0c924d1d8e13312a52af
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:18:20 2010 +0200
s3-waf: Build swat
commit 8f9a3c9eb2b79539d04c59ed4a5a570c692cd63c
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 14:17:30 2010 +0200
s3-waf: build winbindd again
commit cf0cea838fd3565b81062a502732c249382a1149
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 11:25:52 2010 +0200
s3-waf: fix up the LDAP objects if LDAP isn't built
commit 0cb99738ca81a54fab1c3c63bb24f3014314e925
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 06:43:01 2010 -0600
s3-waf: install swat files
commit 5800e45fdd8bed7744481d7ec3671d701cbfb41b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 06:42:49 2010 -0600
s3-waf: fixed install path for sbin binaries
commit e86b2127395d389be131629050e391e9f37507ab
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 06:42:20 2010 -0600
s3-waf: fixed SWATDIR to match old build
commit 2261e8c0876dc1fa6eba3ccaf8341122ede67505
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 10:15:11 2010 +0200
s3-waf: Fix the minimal build
When using the internal zlib and popt, the dependencies and includes
have to be adapted a bit
commit c59da6e9a5cd177aed8fac38bd170979339bae7f
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 30 02:07:28 2010 -0600
s3-waf: Fix the build --with-ldap
The LDAP source files as set by configure weren't detected correctly in the wscript_build
Pair-Programmed-With: Stefan Metzmacher <metze at samba.org>
commit 4acb54c6a0a59ba03eeaa8807d114f8ec3743a9e
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 23 08:59:43 2010 +0200
s3-waf: Fix global includes to fix waf configure --help output
commit 9496bdc04f942be117816746e9838c0e57fa759b
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 22 23:33:38 2010 +0200
s3-waf: Introduce more subsystems to reduce build time
commit c8c54af69ea032a00f27750928df6cd129011eec
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 22:31:35 2010 +0200
s3-waf: Don't build winbindd when --without-winbind is set
commit 23adc338fe3db0d975f12a2975133e14130b79a6
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 11:08:37 2010 +0200
s3-waf: Get winbindd to build again with current master
commit 4478413da9cff9c9c054351477724265e7e5a9f8
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:07:50 2010 +0200
s3-waf: Add dummy configuration option for pthreadpool
commit 81967f5087de6385142e1e3e05bbd17fd49c3691
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:04:12 2010 +0200
s3-waf: Add dummy configuration option for utmp
commit f4ff7a298d99d5a0c20b7d4c6d092faf00c898f1
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:03:38 2010 +0200
s3-waf: Add dummy configuration option for sendfile-support
commit cba7fd170cb08a8c200ca4d2fa5c19ba88213699
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:02:31 2010 +0200
s3-waf: Add dummy configuration options for quotas
commit f4ebdc98c2439269341e468613c89d6ece7db465
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 08:00:52 2010 +0200
s3-waf: Add dummy configuration option for PAM
commit 76e054ba988ec200ba140a6f9f5572d6c310bb40
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 21 07:58:44 2010 +0200
s3-waf: Add configuration option for merged build
This doesn't enable the merged build, but doesn't error out when the --disable-merged-build configuration option is set
commit 7ba5d2c012cf028b871d29409743b973382bdabe
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 10:08:25 2010 +0200
s3-waf: Fix install location of testparm and wbinfo
commit 1defd6e2a8a80ce850f11bcc0401868fb3d92522
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 10:07:54 2010 +0200
s3-waf: Build LDB as a subsystem
commit c332a13d743a6e949f4b8d40e7d9440f7cc598d4
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 09:30:59 2010 +0200
s3-waf: build testparm and winbindd
commit 372818620248dfd48dd2cb2d49671a86e5564f6c
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 18 09:26:54 2010 +0200
s3-waf dynconfig: s3 configfile default is $LIBDIR/smb.conf
commit eea89ddf8d5340458743f6fdfa746343169b00af
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 00:05:40 2010 -0600
s3-waf: merged auth subsystem changes from master
commit c85008e0843f5b2af0a83ed0748af46873515446
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 00:40:54 2010 -0600
s3-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check
commit ca7226500ce108fb00aed6280992ecbda16b9726
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 12 07:21:41 2010 +0200
s3-waf: Don't recurse into tsocket dir during configure
commit 730c57048edcc03480c3ff55de751d68775bd860
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 13:05:36 2010 -0600
s3-waf: Add enable selftest configuration option
commit 0077761f7ec0e404e67ff602135e1b4189b4c5c6
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 15:03:40 2010 -0600
s3-waf: correctly handle the libcap dependency when libcap is not installed
commit fa48325bb65749af87106d4e19e29be1f91e6477
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 23:01:29 2010 +0200
s3-waf: build wbinfo using waf
commit c7a17087402d5a177cd4b614e3c5255776e8c6d3
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:43:23 2010 +0200
s3-waf: Add ctags command
commit b14d86f0a90672aaa4ffb831c11f1a7df3e239f6
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:05:50 2010 +0200
s3-waf: Build nmbd using waf as well
commit 8e32f81d4d5ceee14b00fac97d529d372de220de
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:05:10 2010 +0200
s3-waf: Support smbd build without ldap and kerberos
commit d59df05ff9a2de0fd04922f9221726a442d91ffb
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 10:36:05 2010 +0200
s3-waf: Allow building without ads/ldap/krb5 even if the libs are installed
commit f860a12d2fe7522e6bfefd0485c7005c6a3b56fe
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 10:34:52 2010 +0200
build: Don't look for krb5.h in libreplace
commit 771a8c17afbb287297958de1f8a017c96507db78
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 10:34:12 2010 +0200
s3-waf: Allow using --enable/--disable options as well
commit 99a2171f8b7ea1e2fda1060e07b2d7cd0ba5c8ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 15:04:55 2010 -0600
s3-waf: correctly handle cups dependencies when cups development packages are not installed
commit 3d1c0f1a2152b456be112ce992d281e0234f1a96
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 09:35:08 2010 +0200
s3-waf: Add helper that facilitates defining --with-x and --without-x options
commit adfd1db476cb1c399d5146b47f432199c585666c
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 8 08:09:11 2010 +0200
s3-waf: Fix the CUPS dependency
commit 419873f2ee9997edd06f95758f7ab10aa1a8d15b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 7 07:34:12 2010 -0600
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 538edd5fc0668e08d955f75a3524811c1e987e93
Author: Kai Blin <kai at samba.org>
Date: Tue Apr 6 00:44:25 2010 +0200
s3-waf: Add some more krb5 checks
There is still quite a few of them missing.
commit 1316fa7b784b68bd066b649757e1e58901f6cade
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 23:44:37 2010 +0200
s3-waf: Check for LDAP
commit 2b5f82f259e9f6529567de54a347737587f0b2d6
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 14:41:23 2010 +0200
s3-waf: Move cups, ldap and krb5 checks to the end of the wscript file
commit d3c9d299e8d9bac8ab5504e61c99b4ad4a46afb0
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 14:40:10 2010 +0200
s3-waf: Check for KRB5_DEPRECATED handling
commit 6f6b32044e4aed9262f31ac30e18950036828ae8
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 14:39:07 2010 +0200
s3-waf: Fake some defines that need to be set by configure options later
commit a967deacdce516192a4faa4fdebcabca34923243
Author: Kai Blin <kai at samba.org>
Date: Mon Apr 5 01:34:43 2010 -0600
s3-waf: Add more objects trying to build smbd
commit 5f87d5a3d0390eb6c9139f78125d223f3a70b7ef
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 26 16:52:32 2010 -0600
s3-waf: Added support dynconfig cflags
Pair-Programmed-With: Andrew Tridgell <tridge at samba.org>
commit a8a4fe0605e6149efb5f9051181d794572edbf27
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 20 11:36:47 2010 -0700
Fix bug #7410 - samba sends "raw" inode number as uniqueid with unix extensions.
Move to a consistent get_FileIndex() function for all inode returns,
that checks if st_dev on the file is identical to the top directory
dev_t of the exported share, and if so uses the raw 64-bit inode
number. If it isn't (we've traversed a mount point) - return what
we used to do for Windows which is the concatination of the bottom
32-bits of the inode with the 32-bit device number. We can get more
creative with this over time (hashing?) if we want as now all inode returns go
through this single function.
Jeremy.
commit a7cab4ea36eb21d7b72efa80a77c702bb92bec62
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 30 18:24:53 2010 +0200
s4:ldb-samba: handle more GUID attributes
metze
commit 3c1e87a29a776f5add9e7606dca3b909f5ea7445
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:21:26 2009 +0200
s3-libgpo: enable LDAP sign in ads_get_gpo_list().
Guenther
commit e4bdb7e00e3acdb4e18dafdbe44cd4826acaaeab
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:16:45 2009 +0200
s3-libads: add ads_set_sasl_wrap_flags().
Guenther
commit 33a156f0c13476f431584492977b0d4c28e4e4fb
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 22:07:01 2009 +0200
s3-net: show how to use filters for group policy processing.
Guenther
commit 96962277da64b2507f8c479b920fc06063cc296f
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 22:04:03 2009 +0200
s3-net: let net_ads_gpo() call no_ads when built w/o ads support.
Guenther
commit 32809efe766a4090de3bc43296d90785b76b50b9
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:15:28 2009 +0200
s3-net: compile net_ads_gpo_apply().
Guenther
commit aadd29356ee5785d11ebe072459b7dd3747ed9ed
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 18:32:37 2010 +0200
s3-registry: support REG_DWORD_BIG_ENDIAN.
Just treat it as a REG_DWORD for now. Long term all these checks will need to
pass away, once we get a real registry...
Guenther
commit fb16ac229beb9ce9d37b49ab6cb630d60c95ee9e
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 2 21:25:32 2009 +0200
s3-registry: support REG_QWORD.
Guenther
commit 026fae89d6628669ce594493ff7c27485e479603
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 12:02:55 2010 +0200
s3-utils: remove trailing whitespace from profiles utility.
Guenther
commit b75384546ac2300896b58a4474bce5f09dcc924a
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:57:22 2010 +0200
librpc: finally merge ndr_string.c.
Guenther
commit 6d9fe52310d4aedbd66294cecc1d375da46bef39
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:54:44 2010 +0200
s3-libndr: merge in better ndr warnings from s4 ndr_string.c
Guenther
commit 764cde51902da80bf4457e83e3a15641d259b684
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:54:08 2010 +0200
s3-build: add missing prototype for regtype_by_string().
Guenther
commit ba1befd36564cdc580d29be2303d824f9bde6a36
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 13:39:46 2010 +0200
s3-services: move services.h closer to services implementation.
Guenther
commit e7982bbe0b560dcf37beb3995b5ce8c091a9c21e
Author: Günther Deschner <gd at samba.org>
Date: Thu May 20 00:46:47 2010 +0200
s3-lanman: Fix various RAP printing calls according to win98 testing and MS-RAP docs.
Guenther
commit 29629b93907fd32e48d347c109333e9c0ad244eb
Author: Kai Blin <kai at samba.org>
Date: Thu May 20 11:29:03 2010 +0200
s3 smb2: Fix the build without kerberos
Jeremy, please check
commit 33c96e6d3a04a8e2f4a4b794081fe2d2a5dcc742
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 17 14:01:18 2010 +0200
s3-net: Created a migration tool for printing TDBs.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9c7d47fdad5fe82cc7936fef9e905521db841f09
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 23:05:33 2010 +0200
s4-smbtorture: take a TODO note for RAP-PRINTING.
Guenther
commit 4b56aa277193f6f27fdbeb4e9d3939cb093aea98
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 20 10:23:45 2010 +0200
s4:operational LDB module - fix warnings (missing parameters, unused variable)
commit a0b0dc16a6ca63e633f51d079bb76124965d254c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 20 16:51:59 2010 +1000
s4:auth handle addition of nested aliases of domain groups.
The challenge here is that we are asked not to add the domain groups
again, but we need to search inside them for any aliases that we need
to add. So, we can't short-circuit the operation just because we found
the domain group.
Andrew Bartlett
commit 9c6b637ce8a750fa2fef6a5d3a303bf9e6c4eea5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Apr 19 15:51:57 2010 +1000
s4:auth Change auth_generate_session_info to take flags
This allows us to control what groups should be added in what use
cases, and in particular to more carefully control the introduction of
the 'authenticated' group.
In particular, in the 'service_named_pipe' protocol, we do not have
control over the addition of the authenticated users group, so we key
of 'is this user the anonymous SID'.
This also takes more care to allocate the right length ptoken->sids
Andrew Bartlett
commit 3ff2766231625863140434bab18b27d5105deb3c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Apr 19 15:43:33 2010 +1000
s4:auth Push check for messaging context into winbind backend
If we don't use the winbind backend, we don't (for now) need a
messaging context- and we don't have one in LDB at the moment.
Andrew Bartlett
commit feb9ffdac82c0e30ea61b7ac0d3dae2fcd3bcedd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 16 08:42:12 2010 +1000
s4:auth Add dependency from the operational module onto auth
We had to split up the auth module into a module loaded by main deamon
and a subsystem we manually init in the operational module.
Andrew Bartlett
commit 72ccbcacddd2c3fdc6bfb61b8efb78625368365d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 15 11:58:05 2010 +1000
s4:auth Allow the operational module to get a user's tokenGroups from auth
This creates a new interface to the auth subsystem, to allow an
auth_context to be created from the ldb, and then tokenGroups to be
calculated in the same way that the auth subsystem would.
Andrew Bartlett
commit 4fa9aa30996219821d5d2496d574340f14a4a406
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 4 20:07:12 2010 +1100
s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test
We also compare against SamLogon to try and validate the whole thing.
Note that we must represent NULL as "" when comparing between the PAC
and SamLogon, due to different marshalling of the structures.
Andrew Bartlett
commit 5f9024c8a4350792e67e1d8dbe8e45ff5732bd66
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 13 22:11:26 2010 +1000
s4:auth Move BUILTIN group addition into session.c
The group list in the PAC does not include 'enterprise DCs' and
BUILTIN groups, so we should generate it on each server, not in the
list we pass around in the PAC or SamLogon reply.
Andrew Bartlett
commit 564b4c7443b256e002b7ac173d4c5e8870980de3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 19:18:30 2010 +1000
s4:dsdb disable tokenGroups until end of rewrite
I need to change the functions this calls
Andrew Bartlett
commit 612a333d658990aeb4188ee984a53b2e6bc65780
Author: Michael Adam <obnox at samba.org>
Date: Tue May 18 15:25:53 2010 +0200
s3:winbind:idmap_tdb2_set_mapping: untangle assignment from check
commit 2c61c93a51a8e8c41da8a54945dc67d6dc416141
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 21:28:08 2010 -0700
Fix bug 7442 - Samba returns incorrect SMB2 QFS device info.
Add the correct devicetype and characteristics for this info level.
Jeremy.
commit fad5d33bf880bcc137f7cb47e72cd0e07d92eec3
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 21:27:43 2010 -0700
Fix connecting to [homes] share over SMB2.
Jeremy.
commit b7067ee5f786dd2a06172014bbd7cd78d9129b47
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 21:27:17 2010 -0700
Correctly check error code return.
Jeremy.
commit 1ad551ce3079f55d4b21a7853df15efaf5ae19cc
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 20:09:51 2010 -0700
After talking with Microsoft engineers, immediately replying
on compound requests on open being deferred for a sharing violation
is a Windows bug. Re-enable the code that simply delays the compound
response if the delay time is less than 2 seconds.
Jeremy.
commit 7e96db4f50ed84b598deaf0647676c0e8487920e
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 20:09:08 2010 -0700
After talking with Microsoft engineers, the "lock spin time" is
no longer used in SMB2.
Jeremy.
commit af445935555dc3fab3cefc52b375dd18b8d9bb4c
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 19:28:26 2010 -0700
(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 64-bit Vista client
It turns out that the persistent handles are used by the Microsoft
redirector to index files on oplock break requests. So even if we
don't do durable handles (yet) we must set the persistent handle
on create. For now just use the same handle value as we use for
volatile.
Jeremy.
commit ae02691200a2fd20b0c227a875a0997b50fc6612
Author: Simo Sorce <ssorce at redhat.com>
Date: Tue May 18 18:38:54 2010 -0400
tsocket: Improve the language in some parts of the guide.
commit 66cbc62961bad98fa8f0cdb49370b415a1d2b2d2
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Wed May 19 22:13:03 2010 +0200
s4-waf: Replace local includes in header files with proper system names.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b0d7a3d123cb96049dc782b317554448acdae1a2
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 19 10:34:44 2010 -0700
Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the correct way.
No more magic blobs :-). Use ndr_push_struct_blob() to
push a properly formatted VERSION struct.
Jeremy.
commit ac9341245af38fe019c43ad9e413dbc62e26bc7a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed May 19 00:26:56 2010 +0200
pynet: Raise proper exceptions rather than invoking sys.exit.
commit d18fbda0d0bd7d4cd702e1feb80d5803a4afcc39
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 13:30:58 2010 +0200
testprogs/win32: make it possible to specify MINGW_CC
metze
commit 4ce04f6f6fe5c485045cd870cb9ad2e3f2063659
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 13:58:26 2010 +0200
testprogs/win32/spoolss: we don't need absolute pathes to mingw locations
metze
commit 38d1776c794a0a5693d5233a0767c4f5d7440f19
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:51:56 2010 +0200
testprogs/win32/npecho: use 'rm -f' instead of 'del' on unix
metze
commit d133ef997d0e64e25ab7f34ff67af8ffd09e366b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:51:07 2010 +0200
testprogs/win32: explain how to use nmake with NMakefile
metze
commit 64fa63c3e93e254466196b04b128b9057769b405
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:11:50 2010 +0200
testprogs/win32/spoolss: rename Makefile.mingw GNUmakefile
metze
commit b00acc81fb79fcea30710349ef6152d3104f1423
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 19 11:10:36 2010 +0200
testprogs/win32/spoolss: rename Makefile => NMakefile
metze
commit 572e5dec1bbd4af3ccc4b8bfe56a72ded4c9aa6e
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 18:34:54 2010 -0700
Implement missing info level SMB_FILE_LINK_INFORMATION.
Fix bug #7435 - SMB2 hardlink fails (invalid level).
Found at the Microsoft plugsharing plugfest.
Jeremy.
commit c7982074a7ea85219411311ebf31444ea4c501a5
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 17:11:54 2010 -0700
Keep track of credits we're giving out. Set initial credits to 1 (MS-SMB2 spec required).
Jeremy.
commit ad9050a6ff57d847ba7d95f2cb33353d369dc42b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 19 02:29:20 2010 +0300
s4/drsuapi: Add another set of predefined ATTIDs
Very useful for debugging/dumping purposes
commit 799eb535a907ba6b6bad92d85d1ca7ac9f857dea
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 19 02:28:09 2010 +0300
s4/metadata: fix whitespaces
commit 242b41a3d8dfb5fd1cc1923e117f6d33bd145c55
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed May 19 02:18:17 2010 +0300
s4/selftest: fix passwords in selftest-vars script
commit 6a903078cb133a1f46c9d6f24f50d863e31b743c
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 16:32:13 2010 -0700
Fix our NTLMSSP implementation against the Microsoft torture tester.
We need to return a version blob if we negotiate version info.
Jeremy.
commit 829c87634b2aca87789371ad33231e9d4bc518a8
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 18 09:57:29 2010 -0700
Change data_blob() to be based on top of data_blob_talloc(), instead of the reverse (as it is now).
It makes no sense to talloc off the null context, then talloc steal
into the required context - just talloc off the correct context, and
change data_blob() to pass in the null context to data_blob_talloc().
Jeremy.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f6f3bb1813b5f030616e422ed420b938244be84e
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:54:56 2010 +0200
s3-passdb: move get_logon_hours_from_pdb() into samr server.
Guenther
commit 8478770c357f712f1fc3b8a0a9a5f9e730388abb
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:59:45 2010 +0200
s3-rpc_client: move protos to init_samr.h
Guenther
commit 5a6f3a06665ea343e2a212924cfce9edb358876f
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:58:45 2010 +0200
s3-rpc_client: move protos to init_spoolss.h
Guenther
commit cc06133b0a0f3a4a150d587a7d43c678cfba16a0
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:26:48 2010 +0200
s3-rpc_client: move protos to cli_spoolss.h
Guenther
commit 230b880d142eea46d4131f2b44774465c9c214bc
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:26:16 2010 +0200
s3-rpc_client: move protos to cli_lsarpc.h
Guenther
commit 5ed365411278ca19d69216ca969e91c4725c2c08
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:26:03 2010 +0200
s3-rpc_client: move protos to cli_netlogon.h
Guenther
commit 3f2719c20296d55766bf6d9f43dea50ab259e0e6
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 18:25:50 2010 +0200
s3-rpc_client: move protos to cli_samr.h
Guenther
commit 7a8e34fe868158ee5591e1640477d28c62de5b67
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 13:39:42 2010 +1000
s3:split secrets.c to put machine account secrets in a new file
This helps the s3compat effort by allowing these functions to be
replaced by functions that query the cli_credentials and secrets.ldb
APIs.
Also, this changes a couple of DOM_SID to struct dom_sid along the
way.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1ffc65d462ab7ebb61efc30e8305e70789d219fb
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 18 16:58:53 2010 +0200
s4:smb_server/smb/trans2.c - remove unused define "DEFAULT_SITE_NAME"
Obviously this isn't needed and in general site names shouldn't be hardcoded
anymore (except there is a good reason).
commit 864a95fd9c2dc74f2612478e7b7784c9abc37257
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:57:27 2010 +1000
s3:winbind use no_srv_register to avoid needing rpc_srv_register
This pidl attribute avoids the need for this dummy function, which
helps s3compat.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit f5f184a77cfe83498d6e55f10fdf79ca37229696
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:53:07 2010 +1000
pidl: Allow new property 'no_srv_register'.
This Samba-only property prevents pild from emitting the
rpc_wbint_init function, which causes problems because it needs
rpc_srv_register().
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0953087f82ddbd580e9807e0e8d780e78686c03c
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 12 18:36:30 2010 +0200
s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.
Signed-off-by: Andreas Schneider <asn at samba.org>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 20537d65166714f083256cf4f48b96d35786253a
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 18:22:37 2010 +0200
s3-pidfile: set the close on exec flag for the created pidfiles.
Guenther
commit d6a73ad85bff4867b48d12fa68479812f682ec0a
Author: Simo Sorce <idra at samba.org>
Date: Thu Apr 22 19:30:11 2010 -0400
s3-spoolss: Removed the Phantom DeviceMode.
This was a hack that required a special client from HP.
The client code has never been released and was discontinued,
so this code was just dead weight.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 007b9962676efef4cf2230f304ce263ce1e75555
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 15:32:47 2010 +0200
s3-net: also dump security descriptors from ntprinters.tdb in "net printing dump".
Guenther
commit a79b446e11c56de5244ec9b9823c436122fe5ffe
Author: Matthieu Patou <mat at matws.net>
Date: Tue May 11 21:22:24 2010 +0400
s4:smb_server: add dfs smbtorture to selftests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fc94c50a9fe0ef344068feafa21d85adb149b6b3
Author: Matthieu Patou <mat at matws.net>
Date: Sat May 1 22:27:31 2010 +0400
s4:smb_server: Implement GET_DFS_REFERRAL for domain referral requests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 90d768989cff597a5b241ee14ba04024a3bda45a
Author: Matthieu Patou <mat at matws.net>
Date: Sat May 1 22:33:20 2010 +0400
s4:smb_server: fix trailling whitespace in trans2.c
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f01e7af6b5f0ab8022baabf097af6be82f13877
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 10 01:39:27 2010 +0400
s4 torture: Add tests for dfs referrals handling in SMB/trans2 requests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0e4e39c7f51a6fe95485710454b5ced1a6ef7a51
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 10 01:40:31 2010 +0400
s4 torture test: Adapt ndr-dfsblobs torture test to new idl
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 970cbad79ab4b6cad73dd75daae4f896dde92f38
Author: Matthieu Patou <mat at matws.net>
Date: Mon Apr 26 01:31:19 2010 +0400
librpc/idl: fix errors and improve idl in dfsblobs
Fix problems between strings and nstring
Allow get_deferral parameters to be used by ndr_push/pull_blobs
Handle correctly the 16 bytes padding
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6f264106a4476eb138df568f66d0a7a0216fb9fa
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 18 14:49:39 2010 +0200
s4:librpc: fix the autoconf build
metze
commit 9b9def0d724da1b20ca175c84ec03242748e45be
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 18 13:50:33 2010 +0200
s4:dynconfig: let the autoconf build compile again
metze
commit 4108728b7e9e4d53624c81984c4ee8e0e6bc81d9
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 17:04:10 2010 +0200
s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7d363b8922e7ec740858339aaa0052a990b264fa
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 17:03:41 2010 +0200
s3-spoolss: Create a spoolss_map_to_os2_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a3b81a908c9c866066316b01efe5bb0bc8937a86
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 15:05:46 2010 +0200
s3-spoolss: Use better names for set_last_from_to.
Use set_driver_mapping() and get_win_driver(), get_os2_driver().
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9bbf761bfe64b708144fb44b3f726c85efc58238
Author: Günther Deschner <gd at samba.org>
Date: Thu May 13 00:05:40 2010 +0200
s3-net: Added a rather trivial "net printing dump" command.
Guenther
commit f3063d925494b78407e5f694150e5174d0a5d7c4
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 12 10:59:41 2010 +0200
s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4bc46e0f271f3dcf90ee8beb8738a18fffb2a4b9
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 12 10:57:14 2010 +0200
s3-spoolss: Sorted the builtin forms alphabetically.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d4474ba470a70ce0476156a9399193ec024bb455
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:52:18 2010 +0200
s3-secdesc: use SD_REVISION from security.idl.
Guenther
commit a531537341d874ed2bfa7058ec45417e856bed4e
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:51:35 2010 +0200
s3-secdesc: move SEC_DESC_HEADER_SIZE to its only user.
Guenther
commit 7f6bb48bdf230465fd26514ff43d92e2c1f32fe6
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 10:29:34 2010 +0200
s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".
Guenther
commit 8951c8301ac8436d49e1641b2cc7775dda44d914
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 03:30:40 2010 +0200
s3-secdesc: remove "typedef struct security_acl SEC_ACL".
Guenther
commit a8b01d1f3b4025af7e7a9d8b61deec6156737322
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 03:25:38 2010 +0200
s3-secdesc: remove "typedef struct security_ace SEC_ACE".
Guenther
commit 8bc9c343c4fe4e6f6c0283fd15e86caf6b8c1085
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 02:56:17 2010 +0200
s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
Guenther
commit f6445d8f860fa8f771e6c8986b8eda6cc00c7793
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 12:26:52 2010 +0200
s3-build: fix the build.
Guenther
commit c0fb7b8180f7383590f24e84cc3700aa77499112
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri May 14 17:39:07 2010 +0200
s3: Fix some more iconv convenience usages.
commit 390ada6ec79b0480a44da1fa81a63dcaf5c81da7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 10 14:08:38 2010 +0200
Remove more usages of iconv_convenience in files which were apparently not recompiled by waf.
commit b8268cf7b0264ea28f684cbdfbf462e68a018d83
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 10 00:42:06 2010 +0200
s3: Remove use of iconv_convenience.
commit f9ca9e46ad24036bf00cb361a6cef4b2e7e98d7d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 9 17:20:01 2010 +0200
Finish removal of iconv_convenience in public API's.
commit e9f5bdf6b5a1aeb7e2e556cf41f7cbc2abed7856
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 02:27:34 2010 +0200
smbconf: only include smbconf headers where needed.
Guenther
commit 415bd627642bb8f18f180daaf61c4a6ddb62ebbd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 5 12:47:07 2010 +1000
s4:ntvfs Prepare for a possible future sharing of notify.idl
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
commit e11a67de7d2b67f9efe47c471a9b35a14ec8ad47
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 19:54:00 2010 +1000
s4:winbindd Record the privilaged pipe dir
This may help us return an accurate priv pipe dir later on.
Andrew Bartlett
commit b183a30b2b3983a7f827dc6fd44eb16ac64904ce
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 13:41:01 2010 +1000
s4:credentials Add in tracking of the password last set time
We perhaps need a more general API here, but for now extend the
credentials API to return the password last changed time that the
s3compat layer will need.
Andrew Bartlett
commit 6324a0f59f78dff6501627518824e708aa3dc257
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 17 11:52:24 2010 +1000
s4:provision Remove unused 'account_name' parameter
The python glue code didn't even de-reference this element in the
structure.
Andrew Bartlett
commit 00b985def82acfbc4e36121d5879c1ffae2c68a3
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 6 16:47:15 2010 +1000
s4:auth Make it clear to the callers the talloc lifetime.
In other times, we might have used talloc_reference here, but this
isn't used as much these days.
Andrew Bartlett
commit 285b62832779f53b135adae4f2c76c424d193cab
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 17 18:22:19 2010 -0700
Plumb in krb5 to the SMB2 sessionsetup code. First cut of this code.
Jeremy.
commit b481b8e1f52562d21e060ad321f05c9d3c7ede0d
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 17 17:17:44 2010 -0700
Fix the build of bin/smbtorture in source3. Guenther please check !
Jeremy.
commit e22722ae641a43710380faa3e2ca8395e554deb8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue May 18 01:39:17 2010 +0200
selftest: Cope with empty testsuite results in more places.
commit 11ec2916a7ba937aa09057a3a6b990bd29476cc4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue May 18 00:01:48 2010 +0200
selftest: Cope with testsuites without any output whatsoever (probably an error though).
commit f7f1a3a4516528be8722bb416428c8abb4bab652
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 2 20:02:26 2010 +0200
pynet: Remove unused credentials argument.
commit fe31b67d5e9bf5b6c195eddb5f7b42e680a0f36a
Author: Günther Deschner <gd at samba.org>
Date: Fri Oct 2 00:17:06 2009 +0200
s3-registry: only include registry headers when really needed.
Guenther
commit d7d313851aed176d1caf7374a87c5ad327cb00a8
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 00:39:43 2010 +0200
s3-tldap: only include tldap when actually needed.
Guenther
commit e16ed3399adf1e0fb9f6979677711bb0ab7d0409
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 00:18:55 2010 +0200
s3-includes: remove completely unused util_getent.h header.
Guenther
commit 1d2dd47d31e776e5a976069147b33d7c34e5b071
Author: Günther Deschner <gd at samba.org>
Date: Tue May 18 00:16:40 2010 +0200
s3-crypto: only include crypto headers when crypto is done.
Guenther
commit 26c844902c70ea73f43f8e900344c25fb21e607c
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 23:27:30 2010 +0200
s3-samr: move samr helper prototypes outside of proto.h
Guenther
commit 657fd0be1d9e878e98ff9eb79d845a5b6f974cd4
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 23:04:46 2010 +0200
s3-services: move services.h to where it is actually used.
Guenther
commit ca73e03eb7e8690aef68cfafab36b0b9cc205ab7
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 23:04:08 2010 +0200
security: merge builtin rid tables.
Guenther
commit 3b529d50be5613f37cf853714ecf78887df1d01b
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 22:04:24 2010 +0200
s3-rpc_misc: clean out include/rpc_misc.h.
Well known rids don't really belong into an rpc header, just use the ones
defined in security.idl.
Guenther
commit 2deff342b949ef7f91134115aa77c4051e2a4c33
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 17 13:05:22 2010 -0700
Refactor the sessionsetup SMB2 code to make it easy to add
krb5. Fix a memory leak in returning security blobs.
Jeremy
commit 3d5972c43f536b94122100e1e30f92a4f8441768
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 00:07:10 2010 +0200
s3-libgpo: move group policy protos to where they belong.
Guenther
commit ed8a98f6f4547fed6045a4b6793e9a91edd6597c
Author: Günther Deschner <gd at samba.org>
Date: Mon May 17 20:49:31 2010 +0200
s3-includes: remove some unused defines.
Guenther
commit dd5a4e23f8c24564d3fd21bb8d01172321087362
Author: Günther Deschner <gd at samba.org>
Date: Sat May 15 00:34:35 2010 +0200
s3-kerberos: temporary fix for ipv6 in print_kdc_line().
Currently no krb5 lib supports "kdc = ipv6 address" at all, so for now just fill
in just the kdc_name if we have it and let the krb5 lib figure out the
appropriate ipv6 address
ipv6 gurus, please check.
Guenther
commit e3bdff3d67b46277ee59685218bd90f3788b487d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 23:23:34 2010 +0200
s3-kerberos: pass down kdc_name to create_local_private_krb5_conf_for_domain().
Guenther
commit 14ac2bb36ee22be6133ca1d069dc5de6c1891f47
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 23:21:47 2010 +0200
s3-winbind: make the getpeername() checks in cm_prepare_connection IPv6 aware.
Note that this failure was hard to track, as winbind did only log a super helpful
"cm_prepare_connection: Success" debug message.
IPv6 gurus, please check
Successfully tested in two independent IPv6 networks now.
Guenther
commit d040658e1a5a48c6cc33640de37771d601c69a76
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon May 17 12:49:37 2010 +0300
s4-rodc: Set am_rodc flag during provision
commit 26d41c23f69b9e3ee327f159c9164917422d45c5
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Thu May 13 15:07:50 2010 +0300
s4-rodc: Cache am_rodc flag
commit a15b6664389b05ea0cded46de3abe53034a7edef
Author: Michael Adam <obnox at samba.org>
Date: Mon May 17 10:39:00 2010 +0200
s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.
There is no point in checking the ranges this if the record found had an
invalid/unknown type: the mapping is not filled in. If it were initialized
to some defaults before, the check just might replace the status
NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not
as precise.
commit 765e9c7c67058271365521ce415b2ec1483e3c3d
Author: Kai Blin <kai at samba.org>
Date: Mon May 17 10:50:39 2010 +0200
wbinfo: Add better libwbclient error reporting
commit b05faffd00a54520b49722db89ae820284e257db
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Wed May 5 22:43:28 2010 -0700
added documentation for the -I flag
commit 843c6a03c7094a58484fab10e246a8153d976de5
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Wed May 5 22:35:02 2010 -0700
added support for a -I flag
commit 4fee40e2c0700d563386cfab686c0e6e3cb3e8f2
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Wed May 5 22:26:15 2010 -0700
Consolidate all set SEC_DESC into single procedure set_secdesc
commit 2cc612cb6bb72e5dc52d12783aee04d2ef102198
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun May 16 00:21:19 2010 +0200
s3-selftest: Allow overriding the subunit formatter.
(e.g. "make selftest SUBUNIT_FORMATTER=cat")
commit d7123565698fefd16e7696c0e4bb4ec98f6f62ac
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 14 18:56:51 2010 +0200
s4:repl_meta_data LDB module - fix counter types
commit 8608eaef76631666a41109317d2a9b20979c5025
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 14 18:59:36 2010 +0200
s4:net domainlevel tool - fix up the error handling as Jelmer suggested
Sorry, I've copied this from the "ldap.py" test and thought it would work.
commit 6d95a204d7115a10608759eaabcbfbe495ed2802
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 14 14:13:20 2010 +0200
s4:dsdb_cache LDB module - fix a typo
commit da5cd4ba34bfa53d887e80fd2348df5ee6b23c5f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 17:25:24 2010 +0200
s4:samldb LDB module - remove unused variables
commit b5dc39496272cbccdd45152f349362c2b779c326
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 13 07:59:41 2010 +1000
s4:gensec expose gensec_set_target_principal for use outside GENSEC
This allows for the rare case where the caller knows the target
principal. The check for lp_client_use_spnego_principal() is moved to
the spengo code to make this work.
Andrew Bartlett
commit 8da50c8da1527bafbb0ff4e86cc12fb54dd2b4b7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 14 17:31:33 2010 +1000
s4:winbindd Rework some winbind structures to make s3compat easier
By making the winbindd_request and winbindd_response structures
pointers, we can more easily integrate with the winbindd from
source3/winbindd
Andrew Bartlett
commit ad197f6f15054e398c0bf4f27388a86a384c09ba
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 14 21:51:48 2010 +1000
s4:process_model Fix process_standard and process_onefork not to use
multiple event contexts
It is NEVER valid to free an event context that anybody else may have
a reference to, and never normally valid to have two 'live' at once.
We must instead call tevent_re_initialise() to wipe clean an existing
pointer.
Andrew Bartlett
commit 6f859f58afff10f708bf06d55d1cfab575875627
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon May 10 13:47:42 2010 +1000
s4:process_modals Add another process modal - 'onefork'
This will fork off exactly one child to handle some task, ensuring
that if it dies or changes global state, that this does not change
everything.
Andrew Bartlett
commit bb2f7e3aee7e9b8437d7313800be0c2370da5ca1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 12 12:34:15 2010 +1000
s4:credentials Allow setting of an empty Kerberos CCACHE
This allows us to tell the credentials code where we want the
credentials put.
Andrew Bartlett
commit 81407b1bffed137c02790d908893bac7b99ce956
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 5 12:47:07 2010 +1000
s4:ntvfs Prepare for a possible future sharing of notify.idl
I would love for notify.idl to be shared between Samba4 and Samba3
some day, and this seems to be the point at which the structure is
initialised.
Andrew Bartlett
commit 79bd6a6764079e982fb7e1ba1c24a9037e126175
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed May 5 12:40:20 2010 +1000
waf: Make waf handle IDL files from Samba3
For s3compat, we need to handle IDL files not in the current directory
(so the incoming file names have a directory prefix - so we must use
os.path.basename()).
We also need to be able to disable the addition of some IDL files into
the tables.c/tables.h - some of the Samba3 IDL files are in conflict
with Samba4.
Andrew Bartlett
commit 9de745fd5327901846c9b8c6533b7e8156d71a30
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 21:25:01 2010 +1000
s3compat: use right variable for STATEDIR
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 3043c1924d55615e6fc50f7643edc9143814dd8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 18:08:00 2010 +1000
s4-dynconfig: make dynconfig more compatible with s3
commit ba4842a88076133b012cbcef632edb0fb822a56d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 30 18:20:54 2010 +1000
Revert "s4: remove unused references to swat"
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c.
The s3compat build needs the SWAT location to be compatible with
Samba3.
commit 3b8d9cd87e88ad454322b82eb2490477dbc82d8f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 15:18:46 2010 +0200
Revert "wafsamba: use -D_XOPEN_SOURCE=700 for the build"
This reverts commit 3408c942ab09387c399dad03e22233e33fe1e2fc.
This seems to cause more problems than it tries to solve.
And Mac OS 10.4 doesn't need it anymore
(after commit bd6d76d77621c1dc92262c48204b65455a214b62).
metze
commit 3edb95a487b3330408392cb856ae42cde5f679f9
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 14:51:44 2010 +0200
s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.
Guenther
commit a052aa87be3ac8fa6167ade27f756dd44f5fc2c3
Author: Günther Deschner <gd at samba.org>
Date: Fri May 14 14:39:40 2010 +0200
s3-printing: explicitly include "printing/pcap.h" as there is /usr/include/pcap.h.
Thanks metze for pointing this out. Simo, please check.
Guenther
commit bd6d76d77621c1dc92262c48204b65455a214b62
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 13:58:37 2010 +0200
lib/util: fix waf configure tests for xattr functions on Mac OS 10.
metze
commit 348b4b9bab0cd0f87860441218658802e8aba410
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 13 16:24:35 2010 -0400
Make pcap headers private
Signed-off-by: Günther Deschner <gd at samba.org>
commit f36396f90f925ff1f41e6e58c0a51245eab21784
Author: Simo Sorce <ssorce at redhat.com>
Date: Thu May 13 14:23:23 2010 -0400
Move standard printcap parsing to print_standard.c
Signed-off-by: Günther Deschner <gd at samba.org>
commit 566418f1a1c6514333965069cda435598fb0a2d4
Author: Günther Deschner <gd at samba.org>
Date: Wed May 12 00:26:24 2010 +0200
ntprinting: add ntprinting.idl.
This generates convenient unmarshalling routines for pulling out spoolss related
information out of ntprinters.tdb, ntforms.tdb and ntdrivers.tdb.
Guenther
commit 3408c942ab09387c399dad03e22233e33fe1e2fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 13:21:30 2010 +0200
wafsamba: use -D_XOPEN_SOURCE=700 for the build
Some systems set this automaticly via -D_GNU_SOURCE=1,
but on others we need to set it ourself (e.g. Mac OS 10.4)
metze
commit e92f9c57b4347c17c5ef216d1b64caddcd2e8f54
Author: Günther Deschner <gd at samba.org>
Date: Wed May 12 21:41:52 2010 +0200
s3-libsmb: fix typo in remote_password_change().
Guenther
commit c94f1c16bd6fff25f582ecfa920513b9c9665629
Author: Günther Deschner <gd at samba.org>
Date: Thu May 13 02:27:29 2010 +0200
s3-libndr: make sure ndr_pull_string_array() only inspects string termination flags.
Otherwise the NOTERM case is not reachable for ascii strings (only utf16).
With this patch we now can have:
[flag(STR_ASCII|STR_NOTERM|NDR_REMAINING)] string_array array_name;
Guenther
commit edecdab58f49481a2f9ef0ca59ef1407adba8e05
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri May 14 10:35:46 2010 +0200
s4:heimdal_build: move #undef __APPLE__ to the end of roken.h
Some system includes need __APPLE__ defined.
metze
commit 0d51bab61efd13d54dd2644380ce24fe9124d789
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 21:27:24 2010 -0700
Now we behave as Windows does, remove a Samba3 specific test return.
Jeremy.
commit 056f24ce24ab395cb6fff15cb068c8d8b1affef9
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 15:59:09 2010 -0700
Fix bug 7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
The end_data argument to smbd_dirptr_lanman2_entry() must include
the safety margin, as internally it's actually used to allow detection
of string name pushes that were truncated. Ensure space_remaining can
never go negative due to padding.
Jeremy.
commit 49c8c130a0d08be7c869b9a63b5a37488003eac2
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 22:35:06 2010 +0200
s4:domainlevel - handle exceptions more precisely
LDB_ERR_UNWILLING_TO_PERFORM should be the right error code when the
"msDS-Behavior-Version" was already raised by the first change as it is on
Windows Server.
When s4 itself does implement this trigger then we don't need to do the
second write operation anymore (they're kept in sync).
commit 895b99fd6bfb1a65c3ae408bdf381e66783ac385
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 11:33:02 2010 -0700
Be more forgiving on client oplock break failure (as Windows does). Remove a global.
Jeremy.
commit ed6fa379ef6e1f5d7ca3d5c42e4e97a2c7604683
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 13 10:54:15 2010 -0700
Treat an open of stream ::$DATA as an open of the base file.
This fixes a class of SMB_ASSERT failures when doing stream tests.
Jeremy.
commit 6427484f84e3437bdabb90a2672ec7c037cedf0d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu May 13 19:30:46 2010 +0200
s3:build: build smbtorture4 when the merged build is selected
metze
commit b4cfa3b9e419268e99e54f4ecb8a4f7ad007f218
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Thu May 13 19:23:37 2010 +0200
buildtools/wafsamba: fix build group ordering
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f45cbb0a0d26b9126be1057e1856a04cd6113bea
Author: Matthieu Patou <mat at matws.net>
Date: Mon May 10 01:45:01 2010 +0400
s4: Do not display by default the message Failed to send DsReplicaSync is other host is just unreachable
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 11730520a742df0f584a9a25762756763517dc4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 17:34:02 2010 +0200
s4:dsdb: fix samdb_result_logon_hours() and don't hardcode units_per_week
metze
commit 9ad9fd5b7120b4fe1bc4296795b5e007a85d1387
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 22:52:55 2010 +0200
ldb:ldb_msg.c - use result constant
commit 4da42b4e80caba436e44a7f6e6583028d0225da3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 15:29:20 2010 +0200
s4:domainlevel.py - update the script to handle both domain level occourrences on s4
The second "modify" is located under a try-catch block to ignore the change
failure against Windows Server (there only the first change is required).
commit 38e9a7f5778eeff9c87cbb3812c8b0261b018b69
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 15:11:29 2010 +0200
s4:domain functional level - it is also specified in the domain object under partitions
Discovered by the "ldapcmp" tool
commit 92aa194145d6b75316c6d544afae290957022625
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 15:06:35 2010 +0200
s4:provision_configuration.ldif - add more extended rights objects
commit 9005227e7220d5dcd4aa474d2c074109a6a0f89c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:51:10 2010 +0200
s4:provision_users.ldif - fix up and reorder the well-known security principals
commit c715f6d3f9b180bd6ad2ad5323cf69f0fe092b35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:43:10 2010 +0200
s4:provision_configuration.ldif - add more Windows 2008 forest operations
commit eaea67691695498761b22176af02662b65ff91e8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:33:40 2010 +0200
s4:provision_configuration.ldif - the revision level of "Windows2003Update" should obviously be 10
Compared against my Windows Server 2008 and Zahari's output.
commit 025eaceb5c042eeda873db3da2f66a9c9973f953
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:24:02 2010 +0200
s4:provision_configuration.ldif - "CN=94fdebc6-8eeb-4640-80de-ec52b9ca17fa" operation is of version 3
commit 47818b19fcd7248a2e95171a4e95c60c339da700
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:22:14 2010 +0200
s4:provision*.ldif - always set the "msDS-NcType" attribute correctly
commit 1885327b309992698331be51926eb89160883d4f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:18:20 2010 +0200
s4:provision_configuration.ldif - set the right schedule on the default site in the NTDS site settings
commit 8acd8b97a6af9af781dc816642ef108c74d8e50a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:14:31 2010 +0200
s4:provision_configuration.ldif - The "NTDS Quotas" object is system-critical
commit 79ac53eb3b775a78806f307e254b19f3c4280aa6
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 14:08:55 2010 +0200
s4:provision_configuration.ldif - "sites" object
- The default site doesn't contain a licensing object
- Adequate two other values (a "showInAdvancedViewOnly" and a "systemFlags" one)
commit f57bcc92b5b06465974a3276fde86d553fd78c04
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 12:10:54 2010 +0200
s4:provision.ldif - add IP security objects as they exist on Windows Server
commit 44e05dfb735467013d9bbe8c3c9f30c57ec249c3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:45:43 2010 +0200
s4:provision.ldif - add more Windows 2008 domain operations
commit cc2bd1f7779bfa587bbc5e56ecfe2e5e77a6e6f7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:32:36 2010 +0200
s4:provision_users.ldif - On Windows Server >= 2008 security principal S-1-5-20 doesn't exist anymore
commit 350c61922e8fd535812d00573929e2c67446f14c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:28:56 2010 +0200
s4:provision.ldif - "passwordSettingsContainer" add "showInAdvancedViewOnly"
commit bbb5825a6f94ed49f4d6dd8dc76e4947c7de0a8e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:24:20 2010 +0200
s4:provision.ldif - fix up "NTDS Quotas" "systemFlags"
commit b2bd02e11e5d83ff2e0a1c7b4ed1cedca772ce4b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:22:43 2010 +0200
s4:provision_users.ldif - fix up Administrator's "userAccountControl"
commit 8c796715c1c825e6fb21ed29440f6c8ca6c4bf6a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:21:39 2010 +0200
s4:provision_basedn_modify.ldif - fix up "maxPwdAge"
commit 5e4d91f7aa44c06d8b464f5a65b08bb1b7af9da4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 13 11:13:26 2010 +0200
s4:provision_users.ldif - Fix typos in user/group objects
commit 72e65a05213e857b4aaef9951df318c10e9774ae
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 21:37:30 2010 +1000
s3:winbindd Provide a winbindd_register_handlers() helper function for s3compat
This function provides a useful entry point for s3compat to set things
up in winbindd.
Andrew Bartlett
commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 21:31:18 2010 +1000
s3:winbindd Split helper functions to allow s3compat to call them
This provides a more useful entry point for s3compat.
Andrew Bartlett
commit 7f70b53dd65941ad7c2153947e3c6ea13b28b281
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 20:24:42 2010 +1000
s3:Winbindd Move winbindd_event_context to a different file
This allows this function to be easily replaced in s3compat
Andrew Bartlett
commit cdf07042728efc2d2bfeb56d1a8cdecc516a2411
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 20:22:06 2010 +1000
s3:winbindd Rename 'children' to 'winbindd_children' and make static
commit 4ef847a3b7031147711751f96e002f120bb05f04
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 10:04:30 2010 +1000
s3:libsmb/namecache Remove namecache_enable()
No caller honours the return value, and this call only prints a
DEBUG(). Removing this reduces the number of initialisation
boilerplate calls s3compat has to make.
Andrew Bartlett
commit 426d92eedbe002624ab8553d23ec9ea1465acefa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 10:02:52 2010 +1000
s3:smbd Remove calls to namecache_enable()
This only prints a DEBUG()
Andrew Bartlett
commit 82fb4ebca761521bddf3a8a76b41b061569995e4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue May 11 09:59:48 2010 +1000
s3:winbindd Remove call to namecache_enable().
This call only prints a DEBUG()
Andrew Bartlett
commit 468fb4fee49aa0cd1919fcd3803d2490e2ac568d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Dec 14 19:43:59 2009 +1100
s3:auth Make get_ntlm_challenge more like Samba4
This helps with the upcoming NTLMSSP merge, and allows errors to be returned.
Andrew Bartlett
commit 1101c6214415675fbd32377d539276ca19c4407f
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 12 15:19:45 2010 -0700
Pass more SMB2 oplock tests. Only oplock stream tests left to fix.
Jeremy.
commit 9cddf891ad2a09ed1de83f3b51b4f2fc3e6855e8
Author: Julien Kerihuel <j.kerihuel at openchange.org>
Date: Wed May 12 12:55:56 2010 +0200
Choose between local tevent_status.h header file and installed one
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 693995c1c4d36e03537d66db9fa3823baf3e6002
Author: Julien Kerihuel <j.kerihuel at openchange.org>
Date: Wed May 12 12:34:54 2010 +0200
Install util/tevent_* public headers. Required by OpenChange for compiling IDL
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e8139ac14ab3041109cc593a4fa32ea39a330901
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 19:18:36 2010 +0200
s4:librpc: remove explicit ../librpc/gen_ndr/ndr_drsblobs.o from python_drsblobs
It already comes via RPC_NDR_DRSBLOBS.
metze
commit da64913f55fa2c3d0b34cda3b8c4953894c4ed66
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed May 12 16:21:56 2010 +0200
s3-docs: Unify capitalization.
Karolin
commit ad6f63822915463011074c9e5f3ed938b48579f4
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed May 12 16:17:33 2010 +0200
s3-docs: Add documentation of the net g_lock subcommand.
Karolin
commit da5c49d727150eea7d2a4b83da1a02ac1f26e77c
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed May 12 11:24:57 2010 +0200
s3-docs: Move -D option to the right paragraph in man winbindd.
Fix bug #7260 (Command line option documentation in wrong place in winbindd man
page.). Thanks to Ged Haywood <samba at jubileegroup.co.uk> for reporting!
Karolin
commit 1f9bce1c0d7081c14ee20750b7d3f6910c285d80
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 09:42:44 2010 +0200
s4:heimdal_build: undefine __APPLE__ as we don't need that magic
This hopefully fixes the build on Mac OS 10.
metze
commit 825b59506ba92cbe875a6392c279c31b934f288e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed May 12 09:08:32 2010 +0200
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from autoconf build
metze
commit d5c3db6f8873fc9e1b30f982206f337892cc962f
Author: Olaf Flebbe <o.flebbe at science-computing.de>
Date: Tue May 11 11:30:04 2010 +0200
work around AIX6.1 name space pollution rename mod_name to module_name
commit 70f707c2196aa503909678dd891ab4b249f1241e
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 12:16:52 2010 +0200
s3-rap: fix cli_oem_change_password() and give room for the convert reply word.
Any servers I could find so far return it.
Guenther
commit 99a7ebc5569e6d4d9128d17431b567516084f8a1
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 19:20:09 2010 +0200
s3-lanman: use samr for api_SamOEMChangePassword().
Guenther
commit 73d654ec2fcadf3c195017349ad4a727c8179f35
Author: Günther Deschner <gd at samba.org>
Date: Wed May 12 00:18:42 2010 +0200
s4-smbtorture: create/delete testusers via SAMR in RAP-SAM.
Unless we spent time researching the RAP useradd calls (and implement them in
s3) it is far more easy to use existing SAMR calls to create and delete test
users that are used for RAP change password operations.
Guenther
commit b73b237a6b5e2a596c89608301454f0577f650ab
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:58:42 2010 +0200
s4-smbtorture: add test_oemchangepassword to RAP-SAM.
Guenther
commit 1cee92caaaca9f98e4e18aa597666297c2d347e1
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 12:14:58 2010 +0200
s4-selftest: skip RAP-SAM tests against Samba 4.
Guenther
commit 3ce8bcdd83d0758b2da6da2e89afb4923801406c
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:18:30 2010 +0200
s3-selftest: enable RAP-SAM against Samba 3.
Guenther
commit 931b7fcc8ae1d382c5402deb3baeafb9025056b2
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 15:45:23 2010 +0200
s4-smbtorture: add RAP-SAM testsuite with a rap_NetUserPasswordSet2 test.
Guenther
commit 84ab762fd55c1f02ec0e810813b51a0cae32b62b
Author: Günther Deschner <gd at samba.org>
Date: Sun May 9 01:08:11 2010 +0200
s4-smbtorture: getting serious about checking rap status return codes.
Guenther
commit 19d99a64262735581c20d88ca449ca14f247f361
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 23:55:53 2010 +0200
s4-smbtorture: add torture_create_testuser_max_pwlen() that allows to set maxpwlen.
required for upcoming rap pwd tests.
Guenther
commit 40e7a5879c3cca212d302d3bce78e1c6e588849c
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 17:46:18 2010 +0200
s4-smbtorture: autolookup domain in torture_create_testuser() if none was given.
Guenther
commit 4955ccfff52c18a37cf0ec6e547bb8da0f7269a2
Author: Jeremy Allison <jra at samba.org>
Date: Tue May 11 14:00:38 2010 -0700
Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to go on this test.
Jeremy.
commit 454b0b3f20ee8bdf56a12930261391e06567169c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu May 6 12:45:14 2010 +1000
s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATA
All the callers just want the PAC_LOGON_INFO, so search for that in
ads_verify_ticket(), and don't bother the callers with the rest of the
PAC.
This change makes sense on it's own (removing boilerplate wrappers
that just confuse the code), but it also makes it much easier to
implement a matching ads_verify_ticket() function in Samba4 for the
s3compat proposal.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd at samba.org>
commit d0a87f0098073b2b7c8b637eccbb9bd91aaa8a80
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 13:39:37 2010 +0200
s4-smbtorture: test netservergetinfo level 1 also against s3.
Guenther
commit 1a441113efae9444e643f69980aa8faed540b62e
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 11 20:46:19 2010 +0200
not all versions of env like more than one argument...
commit 5d5e3920dce453369de433d805623b0761268416
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 11 19:11:38 2010 +0200
pidl: fix build on systems that don't have perl in /usr/bin/
commit 7e49fd92ca8dca87cc13fade08c1aa5d95df55a6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 10:34:19 2010 +0200
s4:dsdb: cached results of samdb_rodc()
metze
commit b81887f2d97969d98023896c90ec8aa98f30242c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 16:42:14 2010 +0200
tdb: commit ABI/tdb-1.2.2.sigs
metze
commit 5797b9a913f6a7f751485b42ecb4206fb589137a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 18:10:32 2010 +0200
s4:heimdal: remove unused heimdal/lib/hcrypto/evp-cc.c
metze
commit 33494074582b70a96e7762c4854003f65790aef0
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 16:21:45 2010 +0200
s4:heimdal_build: remove heimdal/lib/hcrypto/evp-cc.c from the build
This is not needed and contains one big #ifdef __APPLE__
and breaks the build on Mac OS 10.
metze
commit 04e19542245418e875b600c6fd4729283bcd5b73
Author: Michael Adam <obnox at samba.org>
Date: Wed Mar 24 17:00:01 2010 +0100
s3:configure: fix a message
commit 313add8fa944b2df915c1efdd68b0c9e267394fa
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 16:13:45 2010 +0200
s4:torture/rpc/netlogon.c - don't use constant "AF_LOCAL" but do use "AF_UNIX" instead
"AF_LOCAL" isn't portable but has the same value as "AF_UNIX".
commit 4fcd5446d3cd538cd79ed308c3e60631030fe2cc
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 16:07:19 2010 +0200
s3:Makefile: build smbtorture4 as static binary with socket_wrapper support
metze
commit eff3a41bb8206d183d8228592341dcb70b26eabf
Author: Björn Jacke <bj at sernet.de>
Date: Tue May 11 15:23:54 2010 +0200
waf:libreplace: set _OSF_SOURCE to fix build on Tru64
commit 82bedb5cb43da126f49352c8e70a54961143258d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 11 14:58:19 2010 +0200
README.Coding - cosmetic changes
- Fix typos
- Wrap lines
- Remove trailing whitespaces
- use ":" instead of "::" - one colon should in all cases be enough
commit eda58884928845702e210afd75d0c0ece8f3dbfe
Author: Kai Blin <kai.blin at biotech.uni-tuebingen.de>
Date: Tue May 11 14:24:47 2010 +0200
build: skip missing executables in testwaf.sh
commit 2eab1d7fdcb54f9ec27431ca4858eb64cb1bd835
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 13:40:12 2010 +0200
tdb: remove unused variable in tdb_new_database().
Guenther
commit 7200c25646d1c34dd1ce723ab4fba3c40c89b6b0
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 11 11:35:54 2010 +0300
Revert "s4-rodc: Fix provision warnings by creating ntds objectGUID in provision"
This reverts commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96.
The fix is not correct, we should cache a bool to answer amIRODC
commit 8489934ce3cb1d11f94abab81ccdd00ee74d3d44
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:34:35 2010 +0200
Revert "s4:password_hash LDB module - don't break the provision"
This reverts commit 6276343ce1b7dd7d217e5a419c09f209f5f87379.
This is not needed anymore.
metze
commit ad5b9ae8dc5c410ac3d9a510a82aaef2551efb57
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:38:02 2010 +0200
Revert "s4:password hash LDB module - check that password hashes are != NULL before copying them"
This reverts commit fa87027592f71179c22f132e375038217bc9d36a.
This check is done one level above now.
metze
commit 8ff38004e8d7bd09e435901c315622e8d6af2403
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:32:40 2010 +0200
s4:dsdb/password_hash: only try to handle a hash in the unicodePwd field if it's given
Sorry, I removed this logic while cleaning up indentation levels...
metze
commit b8c414b35f1bd37a70af7746ee5cc9427e4e31ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue May 11 08:03:56 2010 +0200
README.Coding: fix good example
metze
commit 9e643f0784c9af1c60b3fb879a46059a1355862b
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 23:41:08 2010 +0200
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
commit 36b0fed567bc50324559bd2f72b51913eb4ba5d6
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 21:48:10 2010 +0200
s4-smbtorture: fix smbcli_rap_netoemchangepassword.
Guenther
commit fc6a22983b695e50f5da19000031be64764b32b7
Author: Günther Deschner <gd at samba.org>
Date: Tue May 11 00:53:41 2010 +0200
s4-smbtorture: correctly fill in trans.in.data in rap_cli_do_call().
Guenther
commit 56421886de87aa32ba6ea2badbc2d40b2ca8011d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 23:46:21 2010 +0200
s4:password_hash LDB module - we might not have a cleartext password at all
When we don't have the cleartext of the new password then don't check it
using "samdb_check_password".
commit ae9fe3cc8e8dbdb40853e62f3ea7d9e4e4809850
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 14:23:44 2010 -0700
SMB2 always have level2 oplock capability. Correct mapping from break messages to SMB2 oplock levels.
Jeremy.
commit a776933de68955ce7356b03a7c5ae83da0e7961c
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 13:58:41 2010 -0700
Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding immediate event.
Jeremy.
commit 983606dbe0a23cab28d0f33a32a0e4ab0acf99a7
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat May 8 10:20:00 2010 +0300
s4/tort: Add test for comparing special DNs
commit 1f3faea0463782d16bdbfd34b3b51624aca2bc90
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat May 8 10:19:14 2010 +0300
s4/dn: handle case 'base' dn has no components
This could if the 'base' dn is special for example.
commit 7cf1a2986fcc1654f254f22edf29bcde1e393c1d
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:10:51 2010 +0200
s4-smbtorture: add smbcli_rap_netoemchangepassword().
Guenther
commit 732a132c4f9699de629d3d12a14b4345ac51fb9a
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 19:26:43 2010 +0200
rap: add rap_NetOEMChangePassword() to IDL.
Guenther
commit 0085a3bd2e60cc6c539259d8d83e97e852ef5e52
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 11:29:34 2010 -0700
Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.
Jeremy.
commit a9a3c83b413cf3f853845c9e9b6069ed3d7c1cde
Author: Jeremy Allison <jra at samba.org>
Date: Mon May 10 11:09:41 2010 -0700
Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.
Jeremy.
commit 4f25baecc14f977711ea5e3ddc226113e387fba3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 20:04:37 2010 +0200
s4:password_hash LDB module - quiet a warning
commit fa87027592f71179c22f132e375038217bc9d36a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 20:02:21 2010 +0200
s4:password hash LDB module - check that password hashes are != NULL before copying them
commit 6276343ce1b7dd7d217e5a419c09f209f5f87379
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 19:51:31 2010 +0200
s4:password_hash LDB module - don't break the provision
This is to don't break the provision process at the moment. We need to find
a better solution.
commit 6131caad8f35b6fb3d3fe79c67f59ee228bef6c1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 20:04:13 2010 +0200
s4:passwords.py - add a python unittest for additional testing of my passwords work
This performs checks on direct password changes over LDB/LDAP. Indirect
password changes over the RPCs are already tested by some torture suite (SAMR
passwords). So no need to do this again here.
commit 029351571a5bd65a467ff9e7844a7a1ef3d688a0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Dec 3 10:48:44 2009 +0100
s4:samdb_set_password - adapt it for the user password change handling
Make use of the new "change old password checked" control.
commit 6e8098b261b9357204c8fa5534871a4c137ca1c5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Sep 26 12:09:07 2009 +0200
s4:samdb_set_password/samdb_set_password_sid - Rework
Adapt the two functions for the restructured "password_hash" module. This
means that basically all checks are now performed in the mentioned module.
An exception consists in the SAMR password change calls since they need very
precise NTSTATUS return codes on wrong constraints ("samr_password.c") file
commit fc8e3ffb5f261e7efdcbcef46b1f13c3b5599730
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 10 17:36:54 2010 +0200
s4:password_hash - Implement password restrictions
Based on the Patch from Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>.
metze
commit 6a69ec2f5a046194c9f4dc108c0680ab263790c4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Sep 23 19:25:54 2009 +0200
s4:password_hash - Rework to handle password changes
- Implement the password restrictions as specified in "samdb_set_password"
(complexity, minimum password length, minimum password age...).
- We support only (administrative) password reset operations at the moment
- Support password (administrative) reset and change operations (consider
MS-ADTS 3.1.1.3.1.5)
commit 12c4b09fd511eaa0671ccf0b05d8407f97167105
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 23 12:51:47 2009 +0200
s4:password_hash - Rework unique value checks
Windows Server performs the constraint checks in a different way than we do.
All testing has been done using "passwords.py".
commit 3ce4a0c5f26faad40f0b77f2da11b918b11ef3d2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Oct 23 12:51:47 2009 +0200
s4:password_hash - Various (mostly cosmetic) prework
- Enhance comments
- Get some more attributes from the domain and user object (needed later)
- Check for right objectclass on change/set operations (instances of
"user" and/or "inetOrgPerson") - otherwise forward the request
- (Cosmetic) cleanup in asynchronous results regarding return values
commit 726fb35f9f226a488c2b9793e4daa6cab63daa73
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Sep 23 19:25:54 2009 +0200
s4:dsdb: add new controls
- Add a new control for getting status informations (domain informations,
password change status) directly from the module
- Add a new control for allowing direct hash changes
- Introduce an addtional control "change_old password checked" for the password
commit 1913e03bd418808193e6ff0d595a6ce827d1e22e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon May 10 12:25:32 2010 +0200
s4:setup: mark DSDB_CONTROL_DN_STORAGE_FORMAT_OID 1.3.6.1.4.1.7165.4.3.4 as allocated
metze
commit 658dac9e7e037e171cf5d267b404e82768e2ea9e
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Mon May 10 13:53:56 2010 +0300
v2 Latest enhancements in ldapcmp tool
- Added support for replicating hosts versus hosts in different domains
- Added switches for the following modes:
= two - ignores additional attributes that cannot be the same
in two different provisions (domains)
= quiet - display nothing, only return code
= verbose - display all dn objects through compare fase
= default - display only objects with differences
- Added more placeholders for nETBIOSDomainName and ServerName
commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon May 10 13:52:27 2010 +0300
s4-rodc: Fix provision warnings by creating ntds objectGUID in provision
commit 83736066a3f94eaadb422016c9f22cb18bec2cd7
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 14:44:30 2010 +0200
s3-rpcclient: fix two more invalid typecasts in spoolss commands.
Guenther
commit ed39e9b67f38312b6786172e80b4d7057dbd513a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon May 10 14:48:41 2010 +0200
s3: Work around dependency bug in Samba 4 waf build in merged build.
commit aa8d91ae8e6b4b813c0479f09be9e090aff047a9
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 10 12:05:01 2010 +0200
libwbclient: Fix a fd-leak at dlclose-time
__attribute__((destructor)) makes winbind_close_sock() being called at
dlclose() time.
Found while testing apache on Linux with mod_auth_pam.
Other platforms will have to find a different fix. One possibility would be to
always close the socket after each operation, but this badly sucks
performance-wise.
commit 36e736871e28665ffcbbc4d0c87e1a2b60fcf0e0
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 10 11:53:03 2010 +0200
s3: Test for "__attribute__((destructor))"
commit e2806f9e4d027439c983bcede714f5eed5bcf668
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 12:37:50 2010 +0200
s4:acl ldb module - fix typos
commit 946993238fbb0e4920bf3c6c1178236b4f039b3b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Oct 4 19:30:53 2009 +0200
s4:dsdb/util.c - Add a new function for retrieving password change attributes
This is needed since we have not only reset operations on password fields
(attributes marked with REPLACE flag) but also change operations which can be
performed by users itself. They have one attribute with the old value marked
with the REMOVE flag and one with the new one marked with the ADD flag.
This function helps to retrieve them (argument "new" is used for the new
password on both reset and change).
commit 6ee53309a180d32cf6df1a72fde30c9455d5364d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat May 8 13:55:09 2010 +0200
s4:blackbox password tests - more complex passwords
commit 01347844f5b224d567195f5a2e235491b6b174f5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Sep 30 20:59:42 2009 +0200
s4:selftest - change test passwords
The passwords need to be more complex to meet the new complexity criteria.
commit 47f74c89c99f6620e9029e87516aceb28f991ed0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat May 8 13:55:25 2010 +0200
s4:selftest: add --socket-wrapper[-keep]-pcap options to "waf test"
metze
commit f754942862f0405454834154154c4b3b737ba53a
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:22:32 2010 +0200
testprogs: update Makefile.mingw (although mingw current cant build it).
Guenther
commit 86ec5fe3ee843f35a4577203b1c9f7d8739b80e3
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:15:59 2010 +0200
testprogs: update README to reflect the util rename.
Guenther
commit cda0c75e18f78022b94cb2c13f83342e0db7a8bc
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:06:03 2010 +0200
testprogs: add readme for testspoolss.exe.
Patch from Kurt Pfeifle <Kurt.Pfeifle at ricoh.de>.
Guenther
commit e94825d159db49da0bc7e6e68014ce0afbbfb167
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:03:49 2010 +0200
testprogs: add vcproj and sln files for testspoolss.exe.
Patch from Kurt Pfeifle <Kurt.Pfeifle at ricoh.de>.
Guenther
commit eb28a761e910f0ffec118ffd3a16ef4971da1232
Author: Günther Deschner <gd at samba.org>
Date: Mon May 10 11:01:54 2010 +0200
testprogs: rename spoolss.exe to testspoolss.exe.
Patch from Kurt Pfeifle <Kurt.Pfeifle at ricoh.de>.
Guenther
commit 7887d99a60387e93ce5ce4a3bfe9117939d1e4c8
Author: Günther Deschner <gd at samba.org>
Date: Sat May 8 02:16:37 2010 +0200
s3-net: Fix Bug #7417. 'net rpc user password' can set the wrong password.
Guenther
commit 3addebee349d0122781410eea8166f964f885568
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 10:27:42 2010 +0200
tevent: Added a description for tevent queue.
commit d596bb1a1db8cc2851a51525e232bdba984342d6
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 10:24:53 2010 +0200
tevent: Added an introduction to the tevent_queue tutorial.
Thanks Volker.
commit b2e520a28b0d4b4285b177925a480ef2df89a345
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 09:56:18 2010 +0200
tevent: Fixed a doxygen problem with PRINTF_ATTRIBUTE.
commit 876ed034c8c6c6e8ac4b2115a372bfcb244f1859
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 10 09:55:44 2010 +0200
talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE.
commit 7c68512a216c63eb151bd8600c4aa5d1ad1bc729
Author: Kai Blin <kai at samba.org>
Date: Mon May 10 09:58:57 2010 +0200
build: Update the waf build to fix python header checks
commit e4ce727c8d4a39774b7e4b9687ee665ec286998e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 10 09:21:17 2010 +0200
s3:provision_basedn_modify.ldif - add "msDS-NcType" attribute and fix comments
commit 8a2a8217f8ce439b310571a3df98559a03fa5ed0
Author: Günther Deschner <gd at samba.org>
Date: Sun May 9 23:47:56 2010 +0200
s3-proto: add missing protoype for dcerpc_fault_to_nt_status().
Guenther
commit e6c4df43c8bf3fab146ab373688bc38ea3f34844
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:01:54 2010 +0100
s3-lanman: use srvsvc for api_RNetServerGetInfo().
Following MS-RAP 3.2.5.3 NetServerGetInfo Command.
Guenther
commit 3c1e9a8c3367733724b7e89e930f9ac0b3348fff
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri May 7 09:26:41 2010 -0400
s3-spoolss: Make spoolss_Time_to_time_t public.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1cdc46a90afed2b6f0e85427850f62b3b7ef1bc3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 6 12:17:08 2010 +0200
s4:samldb LDB module - make "samldb_member_check" synchronous again
commit 4153da4069da6d8a0aad201085315c71730ddf12
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 6 11:55:11 2010 +0200
s4:samldb LDB module - make "samldb_prim_group_users_check" synchronous again
commit d91ee0b095db1c0cd15b117991aa476f99e65831
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu May 6 11:35:46 2010 +0200
s4:samldb LDB module - update the copyright notice
commit 088a25912e8c306a82805b51a15f3ebe1e015934
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 11:45:24 2010 +0200
s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" syntax
commit ce4c0261f69732917ac7401dd123a03d4c13b030
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 11:24:10 2010 +0200
s4:net utility - make outprinted description comments more consistent
I've added a [server connection needed] when commands won't work on the local
SamDB.
commit b703481ef78b4f2234cf0d6c087c25fcbe3bd65c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 10:57:03 2010 +0200
s4:net utility - remove unixname parameter of samdb.newuser
We don't handle the id mapping stuff manually anymore.
commit cde9ec4af673a658777596f56dcba055458a4b35
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun May 9 10:54:19 2010 +0200
s4:samdb python bindings - remove idmap creation stuff from this call
The id mapping should now be handled automatically by the s4 daemon.
commit 544dc4465c5ade3c5ed8417ddd5f09d4af0c2b31
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sat May 8 00:48:33 2010 +0200
s4:net utility - add an optional password attribute to "net user add"
To make it behave similar to "net newuser".
commit 6dfa851ce95b372c6c4bdd7a6c07c1ee183d1f7a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 7 22:43:36 2010 +1000
s4:dsdb Provide an intelegent fallback if not CN=Subnets is found
We may as well fall back rather than return NULL (which callers don't
do useful things with).
Andrew Bartlett
commit 23cafd5569729fe15f0c390cf5a276945662d8e8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 7 21:09:40 2010 +1000
buildtools: Add 'make testenv' to Samba4 make targets
I'm still too addicted to this as my standard debugging environment, and while I can learn the new command, this helps the muscle-memory.
Andrew Bartlett
commit 435ce8ebd7122a4a2d166acef6a83c21b7bd11a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat May 8 00:59:12 2010 +0200
dsdb/password_hash: remove usage of msDs-KeyVersionNumber
metze
commit 7b11ce738dbc94516350e1e64116be6bedd3b001
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri May 7 21:56:15 2010 +1000
s4:dsdb Use replPropertyMetaData as the basis for msDS-KeyVersionNumber
This means that the existing kvno will no longer be valid, all
unix-based domain members may need to be rejoined, and
upgradeprovision run to update the local kvno in
secrets.ldb/secrets.keytab.
This is required to match the algorithm used by Windows DCs, which we
may be replicating with. We also need to find a way to generate a
reasonable kvno with the OpenLDAP backend.
Andrew Bartlett
commit f1974fbdf975fbbed15ce223efa629a74c902b3b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri May 7 23:51:06 2010 +0200
librpc:dcerpc_error.c - fix a warning
commit ecc3413bf5aa36250bba1969cb57d6af4c7d09d5
Author: Günther Deschner <gd at samba.org>
Date: Sun May 9 00:42:54 2010 +0200
s3-libsmb: fix argument order for tevent_req_default_print in cli_pull_print().
Andreas, please check.
Guenther
commit 0798ddf63a72e4259ce406ac199490eb5cb1f359
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 22:54:08 2010 +0200
pidl: add NDR_PRINT_DEBUG output to generated s3 server dispatch tables.
This dramatically helps tracking and debugging usage of the
rpc_pipe_open_internal users.
Guenther
commit 58b5a164440368d55e0a05ddfc4e772d6711513e
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 8 22:03:23 2010 +0200
s3: Fix the build
commit e065ecc6b3680473cce46136af0772850fc0aee9
Author: Günther Deschner <gd at samba.org>
Date: Fri May 7 15:40:49 2010 +0200
s4-smbtorture: add smbcli_rap_netuserpasswordset2().
Guenther
commit 93d2e91b901a2fea3ea87667fbb2e609029ae2c5
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 18:08:41 2010 +0200
rap: add rap_NetUserPasswordSet2() to IDL.
Guenther
commit 4afdb5a2a713985aed758a49144e23b2d0de842b
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 17:49:36 2010 +0200
s3: move BASE_RID to main includes.h (in preparation to separate passdb).
Guenther
commit b83ab96b16cd322d90bf84d8b71b523a2fda4aed
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 17:17:37 2010 +0200
s3-passdb: moving account_pol.c into passdb.
Guenther
commit 961993bc9126a85338303034718341576e783761
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri May 7 18:30:46 2010 +0200
s3-merged: Make sure bin/ exists when copying in bin/smbtorture4.
commit 169aabae702c2ff7d5c59d387265dd842784bd36
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 15:31:48 2010 +0200
s3-merged: Use newly added waf reconfigure subcommand.
commit 95421552be87d17353ba5a351a096e2b4bfdfae8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 14:08:49 2010 +0200
Reintroduce merged build, using waf to build smbtorture4.
commit 674a78d60a7dbc4d2af1b229a6b3b2a96c2517f3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 12:00:01 2010 +0200
Revert "Revert "s3-build: Remove --enable-merged support.""
This reverts commit 8f8e7c788a12d1e0bda9183ed765cc1048e105f7.
commit c18d58b854836fc8df56883f7197d6fce0d70c1d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 11:49:10 2010 +0200
samba3: Generate C files from IDL in source3/librpc/gen_ndr rather than
librpc/gen_ndr.
This is done to make it possible to run waf in the source4/ tree at
the same time, since waf has problems with files that were generated by
something else.
commit 5b7163a23d92e0a0b00939218edfd685814d7881
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 07:25:13 2010 -0700
Only MULTIPLE-UNLOCK test left to fix !
Jeremy.
commit 31b12622cf87dc6f7263550120973b6c56e17ba4
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 06:54:16 2010 -0700
When tearing down the connection make sure we close all files before
freeing the global context, as we close access to the locking db
before freeing the global context.
Jeremy.
commit adf4833792f36653bc8a854aeff47598a046dad6
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 06:20:50 2010 -0700
This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context.
Jeremy.
commit 6fd4861d9def34c4dccce214c78bfbcc0fa291fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 7 13:47:37 2010 +0200
s4-devel: a very useful script when dealing with library/linking issues
I use this all the time, so I thought I'd put it in the tree for
others
commit 022266566d7b87fe3aea0c7080f6374c7740b11c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 7 11:41:50 2010 +0200
build: fixed pc file variable substitution
We should not substitute for the first use of each variable
declaration in the pkgconfig file
commit e8c3da1fc09c3b0a2213952ec96294b3b5d8d4c0
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 13:45:00 2010 +0200
idl: get the logic of the prevous commit right
commit 10e0641e3466ba765174a5036816f6ccef11922f
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 13:38:00 2010 +0200
idl: fix Unix builds by replacing bashism
test -nt is not portable - tridge, please check!
commit 5910f4cadea4f2564fe360602e5077c388a8c8cd
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 12:53:53 2010 +0200
s3:configure: search fdatasync also in librt
Sun^W Oracle Solaris has it there ...
commit 358a3855c20153d7fe742ca2e6b9bd8a9c92e525
Author: Björn Jacke <bj at sernet.de>
Date: Fri May 7 11:56:38 2010 +0200
s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is being used
commit 4ad1943d29a273ad3770e7abd5f266c25608eb39
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 01:20:26 2010 -0700
Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them next :-).
Jeremy.
commit 882fb1828f766f2c532c32472ab7ab81f03cd906
Author: Jeremy Allison <jra at samba.org>
Date: Fri May 7 00:33:59 2010 -0700
Fix crash in cancel-tdis lock test. Correctly shut down connection.
Jeremy.
commit 815fcfba48ecf2596d989c646cd59c305b0d38ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri May 7 09:00:53 2010 +0200
build: treat a blank --build or --host as not a cross-compile
This matches autoconf behaviour
commit 1c7a60ef41d76526384d6b9e4ba03d3df251fe06
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 6 15:39:21 2010 -0700
Fix cancel by close lock test.
Jeremy.
commit 82900073fb38b8d86fe2b9ef2ef5cd9fabfbaec7
Author: Andreas Schneider <asn at samba.org>
Date: Thu May 6 17:50:26 2010 +0200
talloc: Documented the missing string functions.
commit 516f7c571e4499a3707505733941b396caad7edd
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 6 09:07:49 2010 -0700
Fix SMB2 lock tests up to cancel-by-close.
Jeremy.
commit a77a8a5e351bf9aeaeda571d753775c8d2977184
Author: Jeremy Allison <jra at samba.org>
Date: Thu May 6 08:22:13 2010 -0700
Fix more SMB2 locking. We still crash but this won't last :-).
Jeremy.
commit e0f602f2c9252e4df81814fc8aa22641620f381b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu May 6 15:23:07 2010 +0200
s4-devel: auto-delete any leftover IPs
remove IP from a previous vampire_ad.sh run
commit 9ba08c22e807b8b3e744dc3146dbca4083e3e2f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu May 6 15:22:11 2010 +0200
s4-devel: a useful script for giving DRS replication demos
commit c61f4dcc0f9611448e726e203d65c674e4d74427
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu May 6 14:51:28 2010 +0200
build: added a reconfigure target
this is meant to be used by the s3 build, to allow jelmers work on
smbtorture4 in s3 to avoid re-running configure unless its needed
commit 049416c285026c03fffc2e27225bfef5c2f16469
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:38:08 2010 +0200
s3-spoolss: make several notify functions static.
Guenther
commit d2d7174394c1283a3ae8e313f9a6d97df8708334
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 11:42:52 2010 +0200
s3-eventlog: move all eventlog headers to lib/eventlog and only include where required.
Guenther
commit 0dfe1b9b13d9caec4ebda37a792e7eaa0b9c7200
Author: Björn Jacke <bj at sernet.de>
Date: Thu May 6 12:26:43 2010 +0200
s3: fix the merged build - it required $LD
Thanks to Jelmer for pointing that out!
commit fc336590dc35f1737ddc74333b959bdd32ee22d3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu May 6 10:41:43 2010 +0200
Remove the copy of ldb from Samba 3.
There were two utility functions that other parts of Samba 3
still relied on; they have been moved to lib/ldb_compat.[ch].
commit 24b2dddae424215ab707029d30ec7bcd8f0e9a8e
Author: Günther Deschner <gd at samba.org>
Date: Thu May 6 10:25:47 2010 +0200
s3-build: fix the build of vfs_notify_fam.
Guenther
commit d58b7955871213a4d0d4b77d080f6fc716350054
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 15:57:57 2010 -0700
Move to MS-FSA algorithm when checking for invalid lock range.
Satisfies SMB and SMB2.
Jeremy.
commit c6ebab846d25563d051b1a1248ea288ba7eb0bcb
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 01:39:16 2010 +0200
s3: only include gen_ndr headers where needed.
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
commit d6a6362752b7a46178e80d36e4c3d69658d4f273
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 14:54:31 2010 -0700
Get closer to passing SMB2 lock test. Still crashes but we get further.
More work to follow later.
Jeremy.
commit 67fb18adb072199d74c3a4b6caa6028be6b0f11e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 16:27:52 2010 +0200
s4-ldb: check for ldap_initialize
HPUX 11.0 has a ldap library that doesn't have ldap_initialize
commit 1969b4acc3fd7c124e288d0495b9b4665d4b42db
Author: Björn Jacke <bj at sernet.de>
Date: Wed May 5 20:17:39 2010 +0200
s3:configure: not simply check for "ld" but for the linker used by $CC
this hopefully fixes Solaris' gcc build which uses the system ld by default.
All in all we should clean up most of the compiler and linker flags depending
on the actual compilers and linkers we use. Only some tweaks are OS-specific.
A cleanup in this area should be done along with the move to a new build
system (whensoever that will be ...).
commit d8ba02b73d53863d604ccbe0a4391d7b38590c1c
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:50:48 2010 -0700
Return correct error on read request on directory.
Jeremy.
commit 19758b354d835546fd9ba9cb8b9299dcea91b723
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:47:49 2010 -0700
Get in_minimum and EOF errors right.
Jeremy.
commit 4a97912baffd4c224677dd15da11c85c92901e4a
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:42:45 2010 -0700
Client ignoring max write is a warning, not an error.
Jeremy.
commit 44e9a90b512cd9eeaaa59fa1756a235621819f88
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 09:39:31 2010 -0700
Start to pass the SMB2 read torture tests.
Jeremy.
commit 8528e347cb1f16a195bfb66b740d16d2421b07fa
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 15:39:47 2010 +0200
s3-lanman: use srvsvc for api_RNetShareAdd().
Guenther
commit 65105aafb45dbb6d59da411a98b41dbdc4c1a0c7
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 18:23:45 2010 +0200
s3-spoolss: remove unused winreg_enumval_to_blob().
Guenther
commit 386c1fffacb712ed86d7665640ecaa2e764ab322
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 10:01:10 2010 +0200
s3-spoolss: Create default DsSpooler values.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 92df015e3009862a7e4f9fc9e3255ef47f1191fb
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 12:24:00 2010 +0200
s3-spoolss: Fixed the DeviceMode handling in winreg.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 859a1e04fb2cb05144c91d30cc5f88a6bfd16596
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 11:44:12 2010 +0200
s3-spoolss: Added winreg security descriptor functions.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a76cc0a18c6b3d0679bd1edae1cd0b6bef94d1a3
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 12:07:26 2010 +0200
s3-spoolss: Migrated winreg to spoolss_create_default_secdesc.
Signed-off-by: Günther Deschner <gd at samba.org>
commit ed3852c2c2390c4817f76667d7605aada74d8666
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 21:02:12 2010 +0200
s3-spoolss: make sure to return success in winreg_get_driver_list() for a
non-existing architecture / version combination.
Guenther
commit 83e324c4177f7c493c7181c8f81f6f1e02a7ad95
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 21:00:45 2010 +0200
s3-spoolss: talloc_steal the returned driver_list in winreg_get_driver_list().
Otherwise the function would return a pointer to a freed list.
Guenther
commit 24225bf032fb99e8949a741007cc6d199ee4702c
Author: Simo Sorce <idra at samba.org>
Date: Tue Apr 27 11:52:26 2010 -0400
s3-spoolss: Fixed winreg_printer_query_XXX.
A cast to an incorrectly sized pointer was breaking
on 64bit architectures where size_t is 64bit.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 740418a150ff0ccccf47b4a40783c35f81723a89
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 11:43:27 2010 +0200
s3-spoolss: Added a winreg_printer_query_binary function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 66f76995114c01c619953d1c0c9f3f069ea91da1
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 12:07:10 2010 +0200
s3-spoolss: Added a generic spoolss_create_default_secdesc function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b2ea8fbcce849f2fb41f381ab3d7af35e9778c9f
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 5 17:44:22 2010 +0200
s3-spoolss: Added a function to create a default spoolss_DeviceMode.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 5a56bc948ecf740591e898cdb45f0f0c2b0a4c84
Author: Volker Lendecke <vl at samba.org>
Date: Wed May 5 17:44:00 2010 +0200
s3: Fix bug 5972 -- remove -L testparm parameter
Thanks to TAKAHASHI Motonobu <monyo at samba.gr.jp> to point out that this does
not work and to agree it's not worth fixing :-)
commit 3f0562f4b4cfe770baf2e529a445404a7b8f1141
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 28 11:26:08 2010 +0200
s3-spoolss: Fixed memory error in winreg_get_driver.
The strings in the structure need to be initialized with an empty
string.
Signed-off-by: Günther Deschner <gd at samba.org>
commit c95a79aae9f67dd476b7f6d1d12ad574b54c15ba
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 11:37:42 2010 +0200
s3-spoolss: Added a sharename arg to winreg_update_printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 053ed7d554fe8822ceabda48968da5a87030104a
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 13:36:19 2010 +0200
s3-spoolss: Added missing servername option to winreg_{create,get}_printer.
This is needed to be able to pass the correct servername from
Printer_entry.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a5fb4117e18cfa334a455ff0ab37ab71ef23dfd2
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 23 21:37:13 2010 +0200
s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6659a0fe92ce67ff5edab1618d8809e745ab6354
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 17:17:12 2010 +0200
s3-net: fix crash in rap_share_add().
Guenther
commit d3bd9de0878f532f1ed3448d1632605264229f82
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 16:58:46 2010 +0200
s4-smbtorture: remove unused variable from smbcli_rap_netprintdestgetinfo().
Guenther
commit e90c874b256e9a0b3f2ae7063b499622dd49f721
Author: Günther Deschner <gd at samba.org>
Date: Wed May 5 16:56:52 2010 +0200
rap: add IDL for rap_NetShareAdd (undocumented in MS-RAP).
Guenther
commit 10469d6606b79894f7f7cf83fb64002698a7c023
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 16:12:59 2010 +0200
s3-build: don't rebuild/link on every make run
commit ed2941ba3d59ca7f043583a36582e2d5cdee65fe
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 15:16:26 2010 +0200
build: added configure test for inline
commit 20d77705cece08ae5bebeca77db1f467d436748e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:12:26 2010 +0200
build: update version of waf
this fixes a slow configure problem on HPUX
commit 3d2819bd8605b02f2b1053ed0dabb906e9b78db3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:11:56 2010 +0200
build: use the wrapper commands in testwaf.sh
this ensures they are well tested
commit f8120ab6977074266cce6b665ed6aa3ef15953c2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:09:37 2010 +0200
build: added a distcheck target
commit 47fb7dfd1c0b5917219a199d45b3d2fdded954c5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 14:09:26 2010 +0200
build: mark cloned task generators as not posted
this solves an incompatibility with a newer version of waf from svn
commit fa172c494f8d78838a33820e413f0528f83b2db9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 12:41:07 2010 +0200
build: exit with an error if waf configure fails
We don't want configure in the build farm to show green when it fails
commit b4c46bd7dfd268cf6f9390374a7638a548308064
Author: Andreas Schneider <asn at samba.org>
Date: Wed May 5 15:33:09 2010 +0200
libwbclient: Fixed doxygen errors.
commit 62143543cedd4fc0257d09fa656391479505740b
Author: Jeremy Allison <jra at samba.org>
Date: Wed May 5 06:09:03 2010 -0700
Fixed issue with return in a void function found by Björn JACKE <bj at SerNet.DE>
Jeremy.
commit 7f2e59e4c198f9e2cfa45cf3c5727e39d5ec7c99
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed May 5 11:41:09 2010 +0200
s4-ldb: add msg saying which build system is being used
(this is a gratuituous commit to trigger the build farm to rebuild
ldb on all systems)
commit dc2f962aacf018cefcf857b3ab05fdfa1aa1250c
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 23:07:03 2010 +0200
tevent: Started a tevent_queue tutorial.
commit 239d59feab872a889268497ab6cfc88eb60ed42e
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 17:18:22 2010 +0200
tevent: Document the tevent_queue functions.
commit 6c1bcdc2e200d8170da1a4080bdc8e5dafa68bb5
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 16:57:42 2010 +0200
tevent: Document the tevent helper functions.
commit 78fbedf3695761d9966d3dea6c1fe5adb8b18196
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 3 21:04:54 2010 +0200
tevent: Document missing callback typedefs.
commit a8e575ac2236f4542a0979a8f0d6f88576b772e4
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 3 20:29:54 2010 +0200
tevent: Document the missing tevent async request callback functions.
commit d8a6b23b072f59bb2568d3cca9d496d47181292d
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Feb 8 21:10:55 2010 +0100
tevent: Create a typedef for the debug function callback.
commit e286966bbabf41a7b1ef45da52b789c716ea9940
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Fri Jan 15 10:38:24 2010 -0500
tevent: Added more documentation.
commit 098221e8860d22b590671eddd6af6c143fca49b4
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Fri Jan 15 10:33:14 2010 -0500
tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
There is no such flag.
commit 49c89b60e64b5d000b0d9fa8a6eada0d7ae1a814
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 14 15:42:26 2010 +0100
tevent: Add doxygen tevent config file.
commit 4263983cad2d9e3f0f536a3aa41352552ffa5ef8
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 14 14:41:49 2010 +0100
tevent: Added basic doxygen documentation.
commit 9e94354a4e193516b789f2027e223740fc2c9be9
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 23:18:26 2010 +0200
s3-libsmb: Fixed a recursion in cli_pull_print.
commit 04327e280984517b1afd38e0fd49696f8b891e3f
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 22:38:23 2010 +0200
tsocket: Added the warning again to tsocket_address_bsd_sockaddr.
commit 91e4a1760dee22e9a40ca52f1e5a1b549d9e066d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed May 5 15:37:18 2010 +0930
tdb: fix short write logic in tdb_new_database
Commit 207a213c/24fed55d purported to fix the problem of signals during
tdb_new_database (which could cause a spurious short write, hence a failure).
However, the code is wrong: newdb+written is not correct.
Fix this by introducing a general tdb_write_all() and using it here and in
the tracing code.
Cc: Stefan Metzmacher <metze at samba.org>
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a9e008ee36c8fd9ca79b3bdfdc78111939c3e539
Author: Luca Olivetti <luca at wetron.es>
Date: Tue May 4 15:07:57 2010 -0700
Fix bug #7263 - Unable to print using Samba 3.5.1 and cups-1.1.23-40.46 on SLES10.
Fix cups encryption setting
I had the same problem and it's due to the fact that samba doesn't respect the
"cups encryption" setting since lp_cups_encrypt changes the value: if you set
"cups encryption=no", the first call will change it to HTTP_ENCRYPT_NEVER,
since that is 1 (i.e. true), the next call will change it to
HTTP_ENCRYPT_ALWAYS and after that it'll remain set as HTTP_ENCRYPT_ALWAYS.
This patch fixes this problem.
Don't mix up the HTTP_ENCRYPT_XXX constants up with the
enumeration constants (True, False, Auto) used in the
loadparm code.
commit 17ce20ba960747b863e9c476ee7e46e051697fb2
Author: Simo Sorce <idra at samba.org>
Date: Tue Apr 27 11:15:17 2010 -0400
s3-spoolss: Remove duplicate macro.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9c5a59b11e22104787fe7bd4b872a9b9c93c77a3
Author: Andreas Schneider <asn at samba.org>
Date: Tue May 4 10:21:52 2010 +0200
s4-torture: Added the printername to the AddPrinter comment.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f5e41c5cde30e72a7f3597814cebaee4c1f0f9b4
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 30 14:38:07 2010 +0200
s4-torture: Fixed spoolss dsspooler printername test.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 6683b0d4b6908e54af501701bd20a12990e3e77f
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 26 17:38:56 2010 +0200
s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit efb1aea909fc088cc08b6d892d7dd1031fb79fdf
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 4 11:49:52 2010 +0200
s4/waf: ABI update for lib/ldb
commit f84aeea7399eec38f7906dedaf3652af48c3d184
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 4 11:49:18 2010 +0200
s4/rodc: Support read-only database
Check on modify if we are RODC and return referral.
On the ldap backend side now we pass context and ldb_modify_default_callback
to propagate the referral error to the client.
commit bcdaa23798f74cdec8973201a849f562929ea416
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Tue May 4 11:48:18 2010 +0200
s4/rodc: Fix the callbacks up the stack to handle referrals on modify requests
commit b57d11f1b36389c2dba025912db32d465ef6e7c8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue May 4 17:21:30 2010 +0200
s4:py_nttime2string - removed unused variable "nt2"
And add some linespaces to look better.
commit 7e5fee98be728eab1c20a2da12c1eb0bab9a8ac2
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 17:18:22 2010 +0200
s4-smbtorture: fill in test_rap_print().
This tests pauses a printer over RAP, prints a file, enumerates the job, deletes
the job and resumes the print queue.
Guenther
commit cc46f4a319bec75856efedf9bb3f1eb8c4f9cc51
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 16:31:34 2010 +0200
s3-libnetjoin: omit admin password in generated ndr_print function.
Guenther
commit 1056a081000b9bc3efb8040a7384042b2e2ea976
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:39:21 2010 +0200
s4-smbtorture: add test_netprintdestgetinfo() to RAP-PRINTING.
Guenther
commit ff256b41b81b4a22187abdfd2cf80e977eeb2a4a
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:29:53 2010 +0200
s4-smbtorture: add smbcli_rap_netprintdestgetinfo().
Guenther
commit eee803372ae948a578fdda668fb8a2fe3c195788
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:24:54 2010 +0200
s4-smbtorture: add test_netprintdestenum to RAP-PRINTING.
Guenther
commit ab1d9a923c0e6b5b2df56adad7c915edfbcbc15d
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:23:53 2010 +0200
rap: add rap_NetPrintDestGetInfo to IDL.
Guenther
commit 990361a38c789685708c75d50695100cfad059da
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:23:08 2010 +0200
s4-smbtorture: add smbcli_rap_netprintdestenum.
Guenther
commit 5455e9d77d9375a34a6e82b386fbceeb38a5233a
Author: Günther Deschner <gd at samba.org>
Date: Tue May 4 15:22:36 2010 +0200
rap: add IDL for (undocumented) NetPrintDestEnum.
Guenther
commit f4000eecf45b160d3d1d1e6147537d59b05b39a8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 07:48:54 2010 +0200
s3-idl: update the 2nd build_idl.sh script
commit 2d13259aeff6bc5768404e5502890218bce128cd
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 07:34:32 2010 +0200
s3-idl: rebuild IDL files based on all outputs
commit 6f895fedf352ad49f4d438127ad1af4afb1cce98
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 06:59:08 2010 +0200
s3-idl: auto-build IDL files in Samba3
commit f00a9b57159065b188277e1f6d0f7d9ed2817f9b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:28:23 2010 +0200
s4-waf: we don't need the symlink hack for gen_ndr any more
we can now generate files into the build directory
commit fd4dd2e2c6b1f8c29db72cffa6a17600757bd6bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:25:56 2010 +0200
.gitignore: simplify the .gitignore after gen_ndr removal
commit 5bff08d9a9660ba955c3ead669458a68b923d41a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:22:18 2010 +0200
s3-idl: removed gen_ndr files from source3/ as well
commit 09eb1e3e458a5060fe28958867375abc292577fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 17:17:43 2010 +0200
idl: removed the generated gen_ndr/ files from pidl
Samba3 will add these to the release tarball instead. See the mail on
samba-technical
commit 6ed45442c4b7ea4e3b22aae3d574ca4149940dcc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 11:58:28 2010 +0200
build: enable python 3.0 and 3.1 in testwaf.sh
try to ensure that we don't let support for python 3.x bitrot
commit ce67027c0705159d25ec616caf737736b4ea7ea8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 11:57:50 2010 +0200
build: fixed wildcard handling for python 3.x
print must take parentheses
commit ad32fabc542f99f8501a0db4f9e2f32731931f1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 11:57:13 2010 +0200
s4-waf: fixed indentation for python 3.1
python 3.x is very fussy about tabs/spaces
commit a7b06f4c0d62b570e77360e7e29b805410379b78
Author: Volker Lendecke <vl at samba.org>
Date: Tue May 4 13:54:51 2010 +0200
s3: Fix a memleak in check_pac_checksum
commit 6eb839cd1695ce8da991c19611210eefda902c0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 10:30:39 2010 +0200
s4-script: added a --waf option to minimal_includes.pl
This takes advantage of the new waf target syntax
commit 7281b021814379b9c477b42bcf1f2215014d88ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue May 4 10:08:43 2010 +0200
build: allow use of target names as commands in waf
This allows for the following types of commands:
waf smbd/samba
waf smbd/server.c
waf ../lib/util/util_file.c
waf ../lib/util/util_file_*.o
this will be used as part of an updated minimal_includes.pl script
commit 727a1acd917baa1d8a5490569782ca41b7136215
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 20:23:45 2010 +0200
s4-smbtorture: add extraformat to smbcli_rap_netprintqgetinfo() as well.
Guenther
commit f181281c89a395f4efbcee7f984e13faa69df749
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 20:02:37 2010 +0200
s4-smbtorture: use RAP extraformat for smbcli_rap_netprintqenum().
Although w2k3 happily ignores it, the spec (and s3) enforce the addition of
that.
Guenther
commit 99e3b9a3672d4d847aea5e1ca446f543f810c84c
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 20:04:12 2010 +0200
s4-smbtorture: add rap_cli_expect_extra_format().
Guenther
commit dda0ebd0ac24f31e32fe3c145137641ae813afff
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 20:53:02 2010 +0200
s4-smbtorture: make all smbcli_rap_* failures critical.
Guenther
commit 6dafd5f8c72ef48fdf6da73aab4da0dbd66a7b6f
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon May 3 18:12:45 2010 +0200
s4/test: Implement tests for msDS-isRODC constructed attribute
This attribute will be returned for objects with
objectClass=nTDSDSA,server and computer
commit d3081741c9d3fa6536e9427d75697bdf2295aaed
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Apr 28 17:02:55 2010 +0300
s4/rodc: Implement msDS-isRODC constructed attr
commit a4e35df3f5acd959d009f618f7bb00a6f18b4e19
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 3 17:15:25 2010 +0200
s4:LogonGetDomainInfo - fix a potential crash source
commit e8a001c51617cc19a2d8fc7d7f86093e6e92952c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 3 16:59:53 2010 +0200
s4:LogonGetDomainInfo - fix indentation
commit 8ed5e8ac9db6e68a1cb0acbd59b89b3f4958341d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon May 3 16:47:03 2010 +0200
s4:LogonGetDomainInfo - remove singular "dNSHostName" check - this doesn't belong here
I'm not really sure if this check is really done on Windows Server. And if it
is done, then it's on the LDB level (module).
commit 6d1e8c58350803f2c380a332c13edc4528faa417
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 16:37:33 2010 +0200
build: use the waf patterns for RPATH
Use the self.env.RPATH variable to set the RPATH for each target. This
gives consistent ordering of the link command, ensuring that we don't
get rebuilds if we ask for a --targets= build after a normal build.
This also means we are now using the RPATH_ST pattern, which means we
can potentially support compilers that don't use -Wl,xxx as the
command line for rpath support
commit 0003bb460bf25b894ddb0f864f22feaa25eb49e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 16:05:19 2010 +0200
s4-waf: fixed target group for SOCKET_WRAPPER
commit b3d8a7136a4c71fa73baa745f7e2ef137d82ce46
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 16:04:56 2010 +0200
build: added a check for group ordering within target dependencies
If target A depends on target B, then target B must not be in a later
build group from target A
Pair-Programmed-With: Thomas Nagy
commit 8bc5194b048d050b2d3ff30a5636f1567ec19e1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 15:12:29 2010 +0200
build: fix for combined configure/build in one command
This is a fix from ita for "waf distclean configure build". Running
it as one command failed with missing config.h
commit 4affc58c6a757c379aeb22d0b71cfa06aa926761
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 17:02:21 2010 +0200
s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a connection.
Guenther
commit e2e39117bcea5264c913383ccc68e23307264c63
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon May 3 16:47:56 2010 +0200
Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.
commit 9cc10e6a5742f09261f01a2c0b3a94b7b772e573
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 15:54:14 2010 +0200
s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing cupsaddsmb to fail.
Guenther
commit fcb53828dfade06c9b9b644d4fb3e074354947f9
Author: Andreas Schneider <asn at samba.org>
Date: Mon May 3 11:25:26 2010 +0200
tsocket: Fixed the documentation of tsocket_address_bsd_sockaddr.
commit 54e68b4949b8d7aadefe0eff8ea6b8c949a2ceb8
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon May 3 15:38:46 2010 +0200
Added a couple of systemFlags, needed for determining filtered attributes.
commit 15b42d6515504862184f33ad8002135ec1e63158
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Mon May 3 14:50:10 2010 +0200
Added a function to check if an attribute can belong to a filtered replica.
commit fe1617a818b13b2ff2289e3afd33f2ddcfa76124
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 13:42:32 2010 +0200
s3-lanman: fix api_DosPrintQEnum().
This was a subtile bug where the OpenPrinter call (called directly via
dispatcher table) was modifiying r->in.printername in a way that all printers on
a server had the printername stripped off the server unc. Once we switch to full
NDR marshalling in inter RAP<->RPC server communication there is no danger
anymore to have these kind of nasty effects.
Guenther
commit 84aea4784a1798f2585cfa98b6126e21e830ae82
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 12:51:26 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 094ee6cb433ab76e1f6a82476886a7d74e1036cb
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 12:48:55 2010 +0200
pidl: indent cosmetics for s3 server stubs.
Guenther
commit 5efdd13d12a0c4daf0d659556ea0eba4625499f4
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:57:06 2010 +0200
s4-smbtorture: add test_netprintjobsetinfo to RAP-PRINTING.
Guenther
commit 44fdec02fc03f5af5a081e80e8eda12ebc5f31ba
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:46:57 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjobsetinfo().
Guenther
commit 457826947f97ad914e5e4543a9c668bd8b4fa019
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:45:52 2010 +0200
s4-smbtorture: add rap_cli_push_param() and rap_cli_push_sendbuf().
Guenther
commit fe33db6c06e107fef575da670d026c7303472e9b
Author: Günther Deschner <gd at samba.org>
Date: Mon May 3 11:58:06 2010 +0200
s3-lanman: exit early for unsupported levels in api_PrintJobInfo().
Guenther
commit d1fe325a7681b7d9ca4ac354f0d43879c4615987
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:37:34 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit fced9445d9c73d2e519d1887503283fdfb2c08e5
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:37:16 2010 +0200
rap: add rap_NetPrintJobSetInfo to IDL.
Guenther
commit 51dcaf0e8e084e53bdbc85fd9632d1ba9c541ef6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 10:22:22 2010 +0200
s4-waf: fixed symlink path for autogen.sh
thanks to Nadya for noticing :-)
commit baffc1e89f424ed6f9478b4cd8c9de1601b51266
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon May 3 09:12:43 2010 +0200
s4-waf: switch Samba4 over to the waf build by default
the old autogen.sh is now calld autogen-autotools.sh
For now autogen.sh is a link to autogen-waf.sh. We can remove
autogen-waf.sh in the future, but for now I'm leaving it in place so
as not to break existing scripts (both build farm, and the scripts for
the standalone libs)
commit 6be5bc8e8009ef19473f25b7c4841bf56c4d13c7
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Sun May 2 18:08:29 2010 -0700
Consolidate all get SEC_DESC into single procedure get_secdesc
commit 0a8b2b2119e40e72764f6a47f85007d6c0029849
Author: Matthew McGillis <matthew at mcgillis.org>
Date: Sun May 2 18:08:02 2010 -0700
always pass filename as const char
commit d83850abe2c393352ec65c32b3bcec7c33be7cd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun May 2 16:12:14 2010 +0200
build: uname on opensolaris returns 1 for success
check for -1 as failure, not 0 for success
commit 7cbcf652c51d283ac55b898c60ea39e45a48e5dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun May 2 15:53:14 2010 +0200
s4-ldb: use a parent context in the ldb utils
This avoids a talloc free with references error on exit
commit df6d0db21d31dee1bc51c3a0703e1ad9ab5f028b
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 00:58:50 2010 +0400
s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
commit f534080367ac886391efe1a5570a48400a1a66b0
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 15 00:18:14 2010 +0400
s4 python: fix glues functions manipulating NTTIME
The fix include reverse function (from NTTIME to timestamp) + fix
on the transformation of a NTTIME to a PyLong object
commit 831336293dfd9ab3771c2eb0f155b7423e71ec94
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 15 00:18:46 2010 +0400
pidl: Fix the generation of py helper for 64 bit integer
Up to now the generation of code for python helpers dealing with 64 bits (NTTIME,hyper, ...)
was broken because they were assumed to be Int (PyInt_From ...) as Integer is always 32 bits
in python.
This fix use PyLong and states that the incomming data is a long long as it should be 64 bit at least.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 668e28b80e47876bf32ac49abcb1e8f5e0c2cef0
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 1 14:51:15 2010 +0200
s3: Unify DEBUG_KRB5_TKT_REGAIN and DEBUG_KRB5_TKT_RENEWAL
I don't think it makes sense to #ifdef this one case separately.
Metze, Bo Yang, please check!
commit ef0adbff93d0fd2aa05bd73da8774db47903c74d
Author: Volker Lendecke <vl at samba.org>
Date: Sat May 1 14:39:01 2010 +0200
s3: Fix a typo
commit 685b4625bcbae46b332a8c3dbb02d59812084519
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 15:36:02 2010 +0200
s3: Fix the code order in append_auth_data
This is to comply with the comment
"currently, anything from here on potentially overwrites extra_data."
Günther, please check!
commit 44e7ea692708c1c956fc9bd20ed9a6d5de9479a4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat May 1 10:33:08 2010 +1000
s4:credentials Make the CCACHE in credentials depend on the things that built it
This means that we consider the ccache only as reliable as the least
specified of the inputs we used.
This means that we will regenerate the ccache if any of the inputs change.
Andrew Bartlett
commit 485def3b5dae7c77fb0c01ed99b6865b7c5ceeb8
Author: Holger Hans Peter Freyther <holger at freyther.de>
Date: Sat May 1 15:18:45 2010 +0200
talloc: Documentation fix for talloc
commit dfd7ad20832d848349ba2974e43a1d545df2aded
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat May 1 18:22:20 2010 +1000
s4:dsdb Fix use of memory after free in repl_meta_data
The upgraded link values are were allocated on tmp_ctx, and need to be
kept until they are written to the DB. If we don't give the correct
context, they will be gone after the talloc_free(tmp_ctx).
Found by Matthieu Patou <mat+Informatique.Samba at matws.net>
Andrew Bartlett
commit f4092ecec722d7e2c04f3049630975af9e96bc07
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 30 21:03:20 2010 -0700
Plumb the SMB2 front end into the blocking lock backend.
Metze, you'll probably be happier with this work as it
doesn't abuse tevent in the way you dislike. This is a
first cut at the code, which will need lots of testing
but I'm hoping this will give people an idea of where I'm
going with this.
Jeremy.
commit dffeb12f3dcb339bc258a7fbc38bbf9ec8dd928e
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 28 19:42:04 2010 -0400
smbd: move printfile_offset() within write_file()
commit b9a97cf8649141dcd13f09cd1866d60f090d0bbe
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:06:29 2010 +0200
s4-smbtorture: add test_netprintjobgetinfo().
Guenther
commit 7c88d30836f7a1a817bf32e2c5aa200e8808cdf1
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:06:03 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjobgetinfo().
Guenther
commit 60736f1e055292aa9f318d71f97d3896f3570f4a
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:04:42 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 24a2ddb6e367f18afb3923b344d268399c36a5b9
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:04:14 2010 +0200
rap: add rap_NetPrintJobGetInfo to IDL.
Guenther
commit 82d4e858eaa443a17511d2d6be1c627b2b1c5072
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 17:05:17 2010 +0200
s4-smbtorture: fix smbcli_rap_netprintjobenum().
It is just fine for a printq to have no pending jobs.
Guenther
commit 400c07f0de19b6cc7da39b9c6d0a42eeed0b4ea1
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 14:57:19 2010 +0200
s4-smbtorture: add test_netprintjobenum to RAP-PRINTING.
Guenther
commit 753fde9c19ed2767b9da22d02a650732612c1843
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 14:52:48 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjobenum().
Guenther
commit 3d5c7909ea34d7d3d1d668738cf8be60033f9f14
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:52:56 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit cd90e002bdc3e84c1f09994bd458bc3a420ae195
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:52:14 2010 +0200
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Guenther
commit 52b669b68e7de2ffa2b55ebfde90f9419f3b068b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:38:49 2010 +0200
s4-smbtorture: pause and resume printq in RAP-PRINTING test.
Guenther
commit af2482989b3a55e7d0836a12b4464de98d541d0f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:36:59 2010 +0200
s4-smbtorture: use rap_status in smbcli_rap_* functions.
Guenther
commit 4da66a36451a4f469f577a916cf869c7bc31ecd2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:42:02 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit fc9c004e7d7bdf552de0ab584179a416bb23ec5e
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:38:04 2010 +0200
rap: use rap_status in IDL.
Guenther
commit 3bfceafed7ad33d7bdf4cf9391f71b57dbe54220
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:35:41 2010 +0200
rap: add rap_status to IDL.
Guenther
commit 7cdd6a15afb58b05f524ec859776ee02a41cf582
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 13:34:20 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqueueresume() and smbcli_rap_netprintqueuepurge().
Guenther
commit 2df2cef437d19d2cb7675aa8297eaa24a8706bee
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:57:40 2010 +0200
s4-smbtorture: add test_netprintq to RAP-PRINTING.
Guenther
commit 7f1775e8604b405d89b578b0f04081c8273c7217
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:57:14 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqueuepause().
Guenther
commit 3b3e19724cf178c916c6868c82f097000b79a1e2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:56:47 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 1cdb1a9df61274adaee90a32a7376635c29fc689
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 11:55:18 2010 +0200
rap: add IDL for rap_NetPrintQueue{Pause,Continue,Purge}.
it seems like they are not documented (at least not in MS-RAP).
Guenther
commit 0f57a3991644d69f22ef7303aad03343bdf1ab3c
Author: Jeff Morriss <jeff.morriss.ws at gmail.com>
Date: Fri Apr 30 00:11:54 2010 +0200
pidl: Fix display field for time fields with newer versions of Wireshark.
Pidl generates some Wireshark dissector fields of type FT_ABSOLUTE_TIME.
Starting some time not too long ago, these fields need a 'display' field
other than BASE_NONE or BASE_DEC. This commit fixes this,
*assuming* that all the times are "local."
commit e90444319c37c413ffc4e3a02531309dfa3ff565
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 29 17:08:12 2010 -0700
Carefully label SMB1-specific locking calls.
Jeremy.
commit ebf6340bb568f279fc8b94856e01de473bd08575
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 29 16:50:15 2010 -0700
Move the global blocking lock records into the smb1 state.
Jeremy
commit f2ccff806a5118ff1ff8a24aa85f56be61906d3a
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:45:44 2010 +0200
s4-smbtorture: fix rap_pull_rap_PrintQueue2 and 4.
Guenther
commit 93a9563a42cd0b1a81bb2cc3bd2c9f3473043463
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:45:24 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit a11745f21d237060b47549f8fba15df4e49adb8f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:44:58 2010 +0200
rap: fix rap_PrintQueue2 and rap_PrintQueue4.
Guenther
commit 6a13c028a94772b66788f2a213e8c09707ee6596
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:11:44 2010 +0200
rap: let the rap print function be autogenerated again.
Guenther
commit 16e2185731afe482b3f12427253101efd3ad36c5
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:21:13 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 62ef9ad581df87012858d88dcc30192ad29f46dc
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 23:27:27 2010 +0200
rap: use astring in IDL.
Guenther
commit 6156a4b73b6cb90bb31d927f0c07e6d53442481b
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:26:12 2010 +0200
s4-smbtorture: test all levels in test_netprintqgetinfo and test_netprintqenum.
Guenther
commit e8aaf4087b10a5aa88f3a3d2810a6a332fa2697e
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:24:20 2010 +0200
s4-smbtorture: add rap_pull_rap_PrintQueue4.
Guenther
commit e85824d9170644493e839c1ac2a82f7bd8345994
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:23:53 2010 +0200
s4-smbtorture: add rap_pull_rap_PrintQueue2.
Guenther
commit e13f2ed296f8f0432fb2f5035f724c4ad917f42c
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:20:34 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 7dd67f6d035c827f3917f3ddcb056ec43fe37cb1
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:21:59 2010 +0200
rap: fill in rap_PrintQueue4 IDL.
Guenther
commit 131c51db382ddbeff61492f9b82b4bc283a9b0b3
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:19:53 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 696e554e80a8ac9b3caea6c1afead14d1555ee95
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:20:07 2010 +0200
rap: fix jobinfo IDL.
Guenther
commit 9d9fc4cfe7f058baaf7d251a4d468d72e681e62c
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:21:40 2010 +0200
s4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.
Guenther
commit 1cb7b8ded66e0f9a7204b850ca2132d1392dfc6e
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 30 01:19:20 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 4fc3aefc518af94de8c985ad177ff70c5df229ad
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:20:56 2010 +0200
rap: fix some rap_PrintQueue IDL structures.
Guenther
commit 37901bb96a7436f9b34e198d7de0b754b09612da
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 19:24:50 2010 +0200
s4-smbtorture: add test_netprintjob() to RAP-PRINTING.
Guenther
commit 1f69a7a80eb9057498a4805b883158dc1ce25901
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 29 13:40:25 2010 -0700
Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
Based on an initial patch from Ira Cooper <samba at ira.wakeful.net>.
Jeremy.
commit ca860e4279a247a852f55d5226f916d1e956820a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 29 12:14:08 2010 +0200
s3: range-check idmap script output
Not doing so results in the id mapping succeeding once unchecked and later on
being refused, because when reading from the tdb we do the checks.
commit fcdba1b36ffc3cfdeac71863f26a1605d3b24fa5
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 29 12:11:04 2010 +0200
s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()
When we find an invalid record in the database, there's no point in checking
the non-existing value against the range limits.
commit 81e75bacd346384a3e0ac3b2d73cb1981fe278d1
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 29 12:09:48 2010 +0200
s3: Fix some nonempty blank lines
commit 99518bc1ea330474ba27dcce0dde141026ebaae2
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 14:22:55 2010 +0200
s4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.
Guenther
commit d266af79b3e96e534c8d0b41e22fa758387c8727
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 14:12:14 2010 +0200
rap: add IDL for NetPrintJob{Pause,Continue,Delete}.
Guenther
commit 9a313bbac02a808b3cd7c3d1308919f4acfac874
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:27:58 2010 +0200
s3-lanman: fix api_DosPrintQGetInfo().
Found by torture test.
Guenther
commit 5e8db42d50809b7664bc7c477010b689918e62c8
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:19:23 2010 +0200
s4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.
Guenther
commit 0df8c9ffde0e8692e5fa3898b2f559aa9f0e0fe6
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:18:33 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqgetinfo().
Guenther
commit 169b72dce432bc6c5afc6a14ddf80dedcb467178
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 12:16:17 2010 +0200
rap: add rap_NetPrintQGetInfo to IDL.
Guenther
commit 2a9e8e348a0217fd6fbd41c95a3ed6083a6c4ecc
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 13:17:27 2010 +0200
s4-smbtorture: rework smbcli_rap_netprintqenum a bit.
Guenther
commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 29 07:51:32 2010 +0200
s4: remove unused references to swat
metze
commit 8e792d7b9bd1f9ce35fdaf6db4fc1d08e2ba8bda
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 29 08:29:56 2010 +0200
s4:dynconfig: fix fhs variables and list them all explicit
This adds 'samba' subdirs to smb.conf and setup.
metze
commit 48fb78eba6cfe8ddccc6af10170c0537a260c6b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 29 08:29:45 2010 +0200
s4:dynconfig: reorder non fhs variables
metze
commit ce9fde439b2d35ad0ba5c21a7796d05c0cf49c14
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 02:41:51 2010 +0200
rap: fill in rap_PrintQueue2 IDL.
Guenther
commit 2b1dae366217528dde13757fa64cf6b9d408a342
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 02:39:44 2010 +0200
s4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.
Guenther
commit 1467b0e6f6162e67087374d0f78e16a38794a41a
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 01:13:06 2010 +0200
s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Guenther
commit f5ac746091db768572d10997de05aa5f7e01d805
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 00:52:17 2010 +0200
s3-pdb_ldap: fix memleak.
Guenther
commit 7e678ef0cf22fa450ec6af16992d8992c5a13728
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 29 00:29:05 2010 +0200
s3-lanman: fix api_DosPrintQEnum.
Found by torture test.
Guenther
commit f85a4ab778f693d605301b761596f43092c9d618
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:42:00 2010 +0200
s4-rap: add rap print helpers.
Guenther
commit 084c8065f871c1aa31f5d157f1843437db449603
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 29 08:51:01 2010 +1000
s4:libnet Make 'net vampire' more robust to command line arguments
When we have just joined a domain, we know a bit about that domain.
Use these to override previous guesses as to what domain and realm to
use for the rest of the join.
Andrew Bartlett
commit 716ae7b4c829c811eb8a7fe03b702afd51d448b4
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 29 07:58:48 2010 +1000
s4:howto Improve OpenLDAP backend instructions
commit dbbbc7d1f8a86bd0535c46f50fae8223c26afd9a
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Apr 26 09:56:59 2010 +0300
s4/rodc: RODC FAS initial implementation
commit 5a4ee75289e8394ea2f2de0b0415ed7f7ee54575
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Apr 24 01:21:15 2010 +0300
s4/tort: Add simple unit test for dsdb_schema_info object creation
commit 59830d0a6effa6509eae384f08cf3df32cd53359
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Apr 23 16:35:21 2010 +0300
s4/dsdb: schemaInfo revision may be 0
In case schemaInfo value is still not set, WinAD supplies
schemaInfo blob with revision = 0 and GUID_ZERO
commit a8438015cae6d426bf140feffec46e129688ec8e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Apr 23 15:37:10 2010 +0300
s4/dsdb: remove unused dsdb_schema_info_create() function
commit 2264d917ae626d6f2d8f5d2c128a4a95a4066665
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 18:11:39 2010 +0300
s4/dsdb: Update Schema cache with updated schemaInfo value
Error checking is simplified and my leave leeks.
I did it this way to make code more readable, and if we
get error in those lines, it will be WERR_NOMEM in which
case we are in a much deeper troubles than delayed freeing
of few bytes.
commit e41eac96afb1d6d465faeb1e4e9a669cff1b8bc1
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 17:59:22 2010 +0300
s4/samldb: Create initial schemaInfo value if it doesn't exists yet
commit 546a727bd326464c6fac3c6454e4e98314e0e75a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 17:24:15 2010 +0300
s4/dsdb: Use default schemaInfo value when no such value is given
Having no value for schemaInfo is totally OK as it turns out.
In such cases, we should use a default value with
all fields set to 0.
commit da127d44e31306b4865e682be362fd9672d8201f
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 04:39:04 2010 +0300
s4/test: schemaInfo may not to be set yet
On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification
commit 5bf12e101aa729619758c38af5c682b2cd06ea70
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 22 02:55:03 2010 +0300
Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"
This reverts commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26.
Windows implementation does not set schemaInfo attribute value
until first Schema update request.
This way, newly provisioned forest returns no schemaInfo value.
I think it won't be bad for us to have this value preset, but
I want to mimic Win AD behavior as close as possible.
commit 2bf23735fa9d50954086d09f2e3ebd32390e2fa9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 09:22:12 2010 +1000
idl: we only need ndr_rap.[ch] and rap.h
commit 66e47f393c9867c2c040b5310706f31b2bb5f314
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 08:26:19 2010 +1000
s4-idl: added generated files from rap.idl
commit 4a87ca2028fe301d1d61e5cd365df49ff1f2dd22
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 07:47:57 2010 +1000
s4-waf: added --enable-build-farm configure option
this adds a smbtorture.static binary which s3 will use in the build
farm
commit 08c3ce25c6d0571c6271645ef4dae3c5ca2b0e33
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 29 07:47:19 2010 +1000
build: added enabled=True/False option to SAMBA_BINARY()
commit 4e7195be362ed51eeab26f7b07dfb7e4dd730d59
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 28 14:56:12 2010 -0700
Update (C) for 2010.
Jeremy.
commit db3a1b9d515dadc43bca5b2fc3217ca2ef2f00a6
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:20:46 2010 +0200
s4-selftest: skip RAP-PRINTING tests.
Guenther
commit 8878be3c456c8562558024c1fef3a73e9eb71d82
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:19:33 2010 +0200
s3-selftest: enable RAP-PRINTING against s3.
Guenther
commit d53544800fffd07b01ae77dac0d391c8e0c3dd79
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:11:37 2010 +0200
s3-lanman: support level 0 NetPrintQEnum RAP query.
Guenther
commit 2c5b3fc40b4b8e288463a98c9edbcf07f2cfbd73
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 23:08:14 2010 +0200
s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
Guenther
commit bdfb9a43d33ab0bff84591914566a8dff3f4cb46
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 18:29:18 2010 +0200
s4-smbtorture: add test for rap_NetPrintQEnum.
Guenther
commit 03d83128dd9d24d9aabeef51895f8995ae5a3b81
Author: Günther Deschner <gd at samba.org>
Date: Sat Apr 24 00:45:40 2010 +0200
s4-smbtorture: add RAP-PRINTING suite.
Guenther
commit 1764bcecf2f0fd388a888835019a8e064e6c30fa
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 12:50:58 2010 +0200
s4-smbtorture: add smbcli_rap_netprintqenum.
Guenther
commit 42003e5661549ed9c4f34174509c0f4977510f30
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 17:43:47 2010 +0200
s3: re-run make samba3-idl
Guenther
commit b66602898a2b99bc1628b7a3f7571926959d8e21
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 12:50:45 2010 +0200
rap: add rap_NetPrintQEnum to IDL.
Guenther
commit ac09506d36ea3018f888775058901498ab6aa370
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 28 14:13:22 2010 -0700
Connect set security descriptor into SMB2 code.
Jeremy.
commit 37e9019119326aca374d55c6379b13b5cd0f564a
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 17:03:30 2010 +0200
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
query some existing values.
Guenther
commit 6cb21806e8f6c811e4b0255851deaa655455469a
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 17:00:53 2010 +0200
s4-smbtorture: add a test that adds a printer incl. devicemode.
Guenther
commit d5cc067367ec58a011c69570d3fe6bf778c565e2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:20:25 2010 +0200
s3:smbd: make fsp->fake_file_handle a talloc child of fsp
metze
commit 4783f84264d850bbceb995a1454eb01671e0c026
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 14:36:10 2010 +0200
s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
metze
commit ae1c040b518273fd83797fcde170141aec9fe182
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 12:27:09 2010 +0200
s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
metze
commit 21ec116bbf51b76f17b9e4054969ef315f5e2dd0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 10:43:19 2010 +0200
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller
metze
commit 6129aa0cf5567c793ed65d1402a7e7fd7e5f6a92
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 28 14:52:40 2010 +0200
s4:web_server: use tsocket_address functions to get the local ip and port
metze
(cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)
commit a53b09141cd57d7dc94bd0d0e05d7d25ee110857
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 13:34:31 2010 +0200
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
Guenther
commit eed665d653828832ec57642126c4040c47dd6e90
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 26 15:48:18 2010 +0300
s4/net_drs: Fix Connection name printed
commit bf49ac99c94e4d937fd8d0532761b5635e372d84
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 26 00:22:53 2010 +0300
s4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID
This function is used in DRSUpdateRefs() implementation where we
get DSA's objectGUID rather than invocationId
commit 5197d76faa6316d7e80b1c714c7a6f028ce527d2
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 28 10:54:57 2010 +0200
s3: Make a debug msg more readable
commit c9a3661c4b0997172782c55de4a3b15dff2c6ea4
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 22:15:17 2010 -0700
Fix the "allow_smb2" bug being set to false that was driving me mad :-).
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1
negprot...
Jeremy.
commit 3c585e9a8068d5065b1a5f320ffd130290c1cd07
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 28 10:39:05 2010 +1000
s4:provisionbackend Don't loop forever waiting for OpenLDAP
We need to give a good error when we can't get OpenLDAP to accept our
connections.
Andrew Bartlett
commit 4d1f0436bd4f63887173473541efa205fb98210f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 17:09:40 2010 -0700
Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.
Jeremy.
commit 33256e41e1ed7a4a2caeef2f0cf26d0abb9032ca
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 17:07:44 2010 -0700
Add debug statements so I can track the flow of RPC data.
Jeremy.
commit f56d9006d5790b8b752c72600ccd3942a2742f17
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:11:19 2010 +0200
s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().
With this, I think, all implemented RAP printing calls are routed over SPOOLSS.
Torture tests to follow...
Guenther
commit c88ff10d690094617ed382a6ff16921a7bef2a63
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:10:49 2010 +0200
s3-lanman: fix debug message in api_WPrintJobEnumerate().
Guenther
commit 566ea59b27b97038f7fd4315746019eab002a599
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 01:07:08 2010 +0200
s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().
Guenther
commit fe1f503a957aa0041ae101e27950b7e31a965548
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 23:12:40 2010 +0200
s3-lanman: remove unused code.
Guenther
commit f23bcb5c5e64cfd6b8a4b19568d40919c28610f1
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 22:55:11 2010 +0200
s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.
Guenther
commit f11a5d196d6beaeb8445d759559ff684045776f5
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 16:07:12 2010 -0700
Don't return an intermediate reply on async on a pipe call (Windows doesn't).
Jeremy.
commit f4f9d54721a3b6b9bf61ba84eaf144cbecbcf937
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 19:58:32 2010 +0200
s3-lanman: use spoolss for api_PrintJobInfo().
Guenther
commit d6d8c3ffe3a235fe6b55a79989e1734d229ca8f1
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 28 00:05:41 2010 +0200
s4-smbtorture: also try renaming jobname in test_DoPrintTest_check_jobs().
Guenther
commit b87b1de83432611e511e511d0320b8c1c1a8b323
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 23:33:05 2010 +0200
s4-smbtorture: allow to pass down spoolss_JobInfoContainer to SetJob functions.
Guenther
commit 2af449391b28dda10ebb797fcf61e2319b36a0b0
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 23:31:25 2010 +0200
s4-smbtorture: be more liberal when spoolss_SetJob fails.
For some reason, spoolss_SetJob pausing and resuming of printjob is still racy
on the buildfarm. Converting the fatal assert to a warning for now.
Guenther
commit 1691eb73da62f3a50c12031d0a76cc6d4deed955
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 19:57:47 2010 +0200
s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
Guenther
commit 2b7002f38571a920244d9ad309c606caaf2c0411
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 19:30:49 2010 +0200
s3-lanman: remove unsupported print_job_set_place().
Guenther
commit ce8595f68e3ca6fd8be0d4777aa8157e29597444
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 27 12:10:20 2010 -0700
Fix more S3 build breakage. Matthias, please ensure S3 builds when
changing common code.
Jeremy.
commit e6f59613fec82710914c429d97a1e1144723b0f9
Author: Marcel Ritter <Marcel.Ritter at rrze.uni-erlangen.de>
Date: Tue Apr 27 13:53:04 2010 +0200
Install spn_update_list to setup/ dir
Signed-off-by: Matthias Dieter Wallnöfer <mdw at samba.org>
commit 079897709ed99dac049d7b2b5f0c1958527462c4
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 20:45:06 2010 +0200
s3:libads/ldap.c - fix a build breakage
commit d1db751ff8e6b15c059db254b57c72dfda8d4bfc
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 18:25:21 2010 +0200
Revert "s4:web_server: use tsocket_address functions to get the local ip and port"
This reverts commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405.
This broke the build.
commit 79a29a8cd65534884934c60ae2fb2854e064722b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 18:07:09 2010 +0200
s4:cldap_server/netlogon.c - handle the domain SID correctly
commit eceffe690912b1fbce4ecddaffd29b52e2cf9cd1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 16:56:36 2010 +0200
nbt: samlogon/netlogon structures - unify denominations
commit 3f1bd92306b2f11b5c8086ef9e0a311d9e99da89
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 16:32:46 2010 +0200
s4:fill_netlogon_samlogon_response - reorder assign operations (to be consistent)
commit a89ba9e21d53ae2c163e6cdaf4198d3148d5019e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 16:31:07 2010 +0200
s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short netbios domainname
This call is only for the DC mode.
commit 7efb43669838245cd240ac2c5aa443ba0d285b9c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 15:27:40 2010 +0200
s4:torture - DsRAddressToSitenames[Ex]W testsuite - make it IPv4-only compatible
commit 8f8e7c788a12d1e0bda9183ed765cc1048e105f7
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 18:00:43 2010 +0200
Revert "s3-build: Remove --enable-merged support."
This reverts commit f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c.
Was that pushed by coincidence ? merged build is really, really required over
here.
commit 158d41b6b4264e7ece93cf77a15e70ccbf8673b8
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 17:52:47 2010 +0200
s4-smbtorture: make sure to zero the add driver info 8 struct before adding drivers.
Guenther
commit 7532640a74bbdd3c815e29732785350e9622925e
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 17:32:34 2010 +0200
s3-spoolss: publish "Monitor" in winreg for drivers.
Found by torture test.
Guenther
commit 70ec7e07001d0308cb3902b13378a1ef61b2acb9
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:48:29 2010 +0200
s3-spoolss: fix winreg attribute for storing datatype.
Found by torture test (and checked with w2k, w2k3 and w2k8).
Guenther
commit 03a9ac4e2bb28620c773104f4b3dd23798b7146c
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 17:55:55 2010 +0200
s3-spoolss: fix some uninitialized variables.
Guenther
commit b764145ac8523f6e44d22adfef1bcd6cecbbed48
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 13:36:21 2010 +0200
s3:smbd: keep local and remote tsocket_address per connection
metze
commit 8f74d38c3a4a853f608fed0bed1b55915d01555a
Author: Björn Jacke <bj at sernet.de>
Date: Tue Apr 27 17:06:55 2010 +0200
s3/packaging: make rpm build work by overriding strict linker flags
commit 7ca576e5c4a0da616c2a6738859c9c989f76202e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:49:00 2010 +0200
s4:rpc_server: remove unused socket_address based functions
metze
commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:36:26 2010 +0200
s4:web_server: use tsocket_address functions to get the local ip and port
metze
commit 41d970718a105a1321cf80bc1004b51b7af7cc69
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:05:08 2010 +0200
s4:smb_server: use tsocket_address_string() for debugging the client address
metze
commit b7782514b91b365ec07426d4adfc8f59c53c372e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:17:28 2010 +0200
s4:wrepl_server: use tsocket_address functions to get the peer ip
metze
commit 0a70788e190ca00cab27c67000abf77617141b5e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 17:04:32 2010 +0200
s4:lib/registry: fix the waf build
The pass to a source file is relative to the wscript* file.
metze
commit a2b8e28aef1799cac45809bfe38c9b0980aef68f
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 15:56:09 2010 +0200
s4-smbtorture: upload the full cups driver, otherwise windows will not allow using it.
Guenther
commit f44cec7b60f3b6449fe2844a1600438b7b13682c
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 15:48:03 2010 +0200
s4-smbtorture: only compare level 3 for s3 when checking winreg and spoolss_Driver.
Guenther
commit a0fd53e388466c4866f96d2ca728eec28181e42f
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 14:13:12 2010 +0200
s4-smbtorture: mention architecture of added drivers in debug output.
Guenther
commit b40d2815cd3495b66ed2b469e3495baf1a7a6256
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 15:48:52 2010 +0200
s4-smbtorture: make sure to not attempt to remove a driver file twice.
Guenther
commit ad80131bb176b17fda15e9a76f3934913829a0bb
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 13:15:04 2010 +0200
s4-smbtorture: setup all members of level 3,4,6,8 driver add.
Guenther
commit fc3e9595060db116cd6661baa311ba6fe992162a
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 11:30:35 2010 +0200
s4-smbtorture: use a torture_printer_context and upload own driver for RPC-SPOOLSS-PRINTER test.
Guenther
commit 12cf6dc8ee649e5888dd7210bd279931fa2ff4e0
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 10:38:36 2010 +0200
s4-smbtorture: split RPC-SPOOLSS-PRINTER into more tests.
Guenther
commit b062cac6c4b15569ae42dc7e4fea9ee709fce337
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 23:35:19 2010 +0200
s4-smbtorture: finally test REG_MULTI_SZ in winreg/driverinfo consistency tests.
Guenther
commit 6864828d9d85dacff0ca9df73761a98d2ceb9f2e
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:38:40 2010 +0200
s3: use shared registry functions.
Guenther
commit a833be0c4e44135e4f45b3d460586762da04cf32
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:37:56 2010 +0200
s4: use shared registry functions.
Guenther
commit ee1b8e5edeecd5a6a3526e88265a5ad28522a45d
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 27 16:37:06 2010 +0200
registry: add some shared registry helper functions.
Guenther
commit c2c56722b5588206fefaa0fdfa1ea9a8b557750d
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 23:21:07 2010 +0200
s4-smbtorture: remove some typecasts in rap tests.
Guenther
commit 91bb4893c486275602242b67c810f02adb7ce9ba
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 23:39:57 2010 +1000
s4-netlogon: fixed getDcNameEx2 for blank inputs
w2k8r2 returns the local DC information on no inputs for
getDcNameEx2. This is needed for starting dsa.msc (ADUC) on
Win7.
CDLAP on the same call returns an error. This uses a parameter
fill_on_blank_request to distinguish the two cases.
commit 7f25723cf504b3cdc0db68ff4125539baa486975
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:17:28 2010 +0200
s4:wrepl_server: use tsocket_address functions to get the peer ip
metze
commit 9dd4419ebe12d8a4eb467cf26640de5575e04e83
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 16:05:08 2010 +0200
s4:smb_server: use tsocket_address_string() for debugging the client address
metze
commit 54abb0724b5577eb7a9a132f647649dc30931b18
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:45:12 2010 +0200
s4:smb_server: use tsocket_address_string() to display the client address
metze
commit 8fce492ffc0f276d433825ebc1ec4c7ad4c33cfa
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:44:40 2010 +0200
s4:smb_server: remove unused socket_address functions
metze
commit 7c4d9fa0e9f45ddf789fe6c90227d8a67273d9d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 15:06:33 2010 +0200
s4:ntvfs/ipc: remote // debug comments
metze
commit 1cd4f50079290e20bbe6be21d71ea654b6afb032
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 21:56:51 2010 +1000
s4-torture: not all platforms have defines like AF_AX25
all we need are invalid values here, so just use fixd high values.
commit d94c94fcb94ae0dfd221b5c807ec310f9c0fd8ed
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:38:00 2010 +0200
s4:ntvfs: remove socket_address based functions
metze
commit bb04e90259315fd49fe1222b7c8f7fce23f1a2b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:37:12 2010 +0200
s4:ntvfs/ipc: pass the already given tsocket_address structures to the named_pipe_auth code
metze
commit 8fb3292c993302b74247d6fa4795b279b131abcf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:34:44 2010 +0200
s4:smb_server: pass tsocket_addresses to the ntvfs layer
metze
commit c04d809ba001ebca17b68eae3a9f7d37454a290c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:40:15 2010 +0200
s4:ntvfs: add tsocket based addresses to ntvfs_context
metze
commit 7bbaab8dffcfe55b5da099840ec200be4d098b69
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:39:36 2010 +0200
s4:rpc_server: remove 'socket_address' based functions
metze
commit 32bcc73cf8b59e2254967d55ebeb2715d4287840
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:27:51 2010 +0200
s4:rpc_server/srvsvc: pass tsocket_address to the ntvfs layer
metze
commit 772cf15eb969591d65598a03fee24a4e559158ea
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:22:01 2010 +0200
s4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()
metze
commit 606025f11de9e1b9fa7c6d69a6fc346ca984dd93
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:18:41 2010 +0200
s4:rpc_server/netlogon: use tsocket_address in dcesrv_netr_DsRGetDCNameEx2()
metze
commit c42bb8e49c77517729f9b57a81fd07815b5b493a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:06:07 2010 +0200
s4:rpc_server: remember the local and remote address
metze
commit ba703cb8e90070447dda46a3356f6a49b2fee537
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 26 13:56:06 2010 +0200
s4:service_named_pipe: use the passed client and server addresses
This gives the rpc server code the correct client and server
ip addresses for ncacn_np.
metze
commit cf3c595b9c6778ee4dea28176936013bc1f1e876
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:22:25 2010 +0200
s4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response()
If we don't have the client address, we assume it's a local call,
maybe ncalrpc.
metze
commit 4d191b6fa7b96ed56912bf68e6771ffb8e3cfe12
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:21:28 2010 +0200
s4:dsdb/common: if we don't have the ip of the client return the server site as client site
metze
commit 2436ec2928d1aac0e6fd885ca1b9cdecef8bf89a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:41:46 2010 +0200
lib/tsocket: add tsocket_address_is_unix() function
metze
commit e1596bbf27ee636d8ab47e39eda21c64ef49b671
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 27 10:34:15 2010 +0200
lib/tsocket: add tsocket_address_is_inet() function
metze
commit 3dd50b29228994c8dd5162cb300d234316126586
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 19:45:49 2010 +1000
s4-test: make spnupdate work without make install
thanks to metze for noticing this
commit ef1326412573777b0a5457c06d130c6455932af7
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:38:47 2010 +1000
s4-provision: setup spn_update_list in provision
commit b5b8e6b6adc0abcb833c034f8dc33f338dd6b815
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:38:25 2010 +1000
s4-dns: install samba_spnupdate
commit ff2edd52cba6e99763be5193847900119670ad7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:38:04 2010 +1000
s4-dns: call spn update command alongside dns update
call samba_spnupdate at the same time as samba_spnupdate
commit 37dfaff82cb554492fb0a3ddc95d3144d0508bc6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:37:12 2010 +1000
s4-param: added a "spn update command" option
used by SPN update code
commit fa26383884751c5775ccb65e3fbbf9ec7eeda28c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:25:55 2010 +1000
s4-dsdb: added samba_spnupdate
this script adds all our required servicePrincipalName entries at
runtime. The admin can add more entries to spn_update_list as needed
commit 570c89287e3f5e424db65098d5e60c9e37a5b6f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:25:06 2010 +1000
s4-dns: explain what the file is for
commit 7872efcbc0d02ef5ca79abf08f3274463ff3ec26
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 18:24:52 2010 +1000
s4-dns: cope better with comments in dns_update_list
commit 1ae9044b8e2347a0c8c948a65a22fae6ec1ef385
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 15:00:50 2010 +1000
s4:gensec Use a different form of 'name' in GSSAPI import_name()
The idea here is to make it not dependent on the system's default
realm.
Andrew Bartlett
commit 6be72df7362c27c973a63a960d0b87eefa22db15
Author: Marcel Ritter <unrzl1 at linux.rrze.uni-erlangen.de>
Date: Thu Apr 22 14:29:52 2010 +0200
Simple fix to prevent crash for non-pac principals
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 8c6147715371e88c425ff8530f9bd7f44cd4cafb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 27 13:57:39 2010 +1000
s4:kerberos Give a better error message than "Could not allocate memory"
Andrew Bartlett
commit 8219c4f69c2fd2d1f0f795a5dc28dec6dfeb0079
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 08:19:10 2010 +0200
s4:kcc_periodic.c - fix counter types
We are counting LDB objects here -> therefore "unsigned"
commit 2f339f71bd40484959a7008982b243cef0b06bea
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Mon Apr 26 20:19:36 2010 +0200
s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct "GetAnyDCName" behaviour
We get back "NO_SUCH_DOMAIN" when we query the PDC. This is fine and therefore
we use the "logon_server" variable as "dcname".
commit 2654e34cf092f1ec49e1462b67a10c681da4d3df
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 22:49:48 2010 +0200
s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the client site information
This behaviour should be similar to the one of Windows Server (in my case 2008)
commit bb91afe50c2fb1ab8dc102ddef339bd7d46ff84a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 08:08:42 2010 +0200
Revert "s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the client site information"
This reverts commit 908d982980846257b65ab576d31131e8793e9399.
I need to merge the improved version of this commit.
commit 581f86ba73b773f08996d473aaf0fad3e94ae2f3
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 27 08:07:19 2010 +0200
Revert "s4-netlogon: fixed breakage of dcesrv_netr_GetAnyDCName in sites patch"
This reverts commit e88a54a87e185b44e2d216bd853e6a87bf950be6.
This isn't the correct behaviour. See MS-NRPC documentation under the
"GetAnyDCName" section.
commit 280d06f8b5734555eb3cb8423d7f9ad1bdc83792
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 15:02:29 2010 +1000
s4-libnet: cope with an empty client site name from CLDAP
We fall back to the server site name in a vampire
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e88a54a87e185b44e2d216bd853e6a87bf950be6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 14:25:14 2010 +1000
s4-netlogon: fixed breakage of dcesrv_netr_GetAnyDCName in sites patch
We should respond when we are the PDC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 449708017377c3cdf814642af75d7c7f8b554a3e
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 19:30:37 2010 +0200
s4:knownfail - remove tests which should pass
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cfbd5ef8c401e316fe5659bb4360e30b6b8096d1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 17:54:06 2010 +0200
s4:netlogon RPC server - we don't need "are we DC" proofs
When we aren't a DC we shouldn't have the netlogon pipe available.
[MS-NRPC 1.3] says that we can only have DCs on the server side.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ca1f7c9b7332be2f7136094953eef43c65ee1462
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Apr 22 10:37:45 2010 +0200
s4:torture - DsRGetDcSiteCoverageW - adapt test to check for the sitename
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4686305feb13f6c824843cb2ab8d55f59254303c
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Thu Apr 22 10:28:37 2010 +0200
s4:dcesrv_netr_DsrGetDcSiteCoverageW - provide a basic implementation
Does for now only return DC's primary site.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a66bdbec86f2da8b53518b05018f2c17261b9003
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 19:13:11 2010 +0200
s4:torture - DsRGetSiteName - move "skip" statement before the "computer_name" check
We don't support the check for the computer name on the RPC server side.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 3b4137c7be94678e3bd3553fa05feea1efe0f5fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 19:01:18 2010 +0200
s4:dcesrv_netr_DsRGetSiteName - provide an implementation according to the MS-NRPC docs
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 2780a18a9fc3aac355c141fe0393e1f8008e242f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 20 16:59:48 2010 +0200
s4:torture - GetAnyDCName - adaptions
- Check for the various domainname set modes (on NULL and "" the domain should
be the default domain on the server)
- support return value "WERR_NO_SUCH_DOMAIN" (the server is the PDC of the
domain)
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 5fc71186751da3fc2388021630b16279cb949017
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 15:02:06 2010 +0200
s4:dcesrv_netr_GetAnyDCName - improve the call according to the MS-NRPC documentation
This implementation checks if the domainname is valid for us or a trusted domain.
Then I've also added the PDC location functionality. That means that we should
return "WERR_NO_SUCH_DOMAIN" (MS-NRPC 3.5.5.2.5).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cf93634ec5bc4a87c58fccbf2c04c8625013946f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 21:39:20 2010 +0200
s4:torture - DsRAddressesToSitenames - enhance the testsuite
This shows the Windows behaviour of these two calls which we should match.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 908d982980846257b65ab576d31131e8793e9399
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 22:49:48 2010 +0200
s4:netr_DsRAddressToSitenames[Ex]W calls - implement them correctly with the client site information
This behaviour should be similar to the one of Windows Server (in my case 2008)
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cf73bc63e5c9335a2af8e0b46d2b12de5607f506
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 13:17:05 2010 +0200
s4:CLDAP server - make use of the new "samdb_client_site_name" call
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 093d35661d25d7fd89ce46fef5922768c0c0ace7
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 18:28:53 2010 +0200
s4:util - add a function which finds the matching client site using the client address
The lookup of the client site is done using the subnets in the configuration
partition. If no one matches we use the Windows Server fallback mechansim.
This means: if only one site is available just use it. If they're more set the
output variable to "".
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 725e48c22c92e284bb55567f2116c8ddc82a0529
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 12:18:02 2010 +1000
s4-drsdevel: support sites in drs developer scripts
commit 4679bb731b3620006249abb0f9808c755266d87a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 12:17:36 2010 +1000
s4-vampire: show main CLDAP response attributes during vampire
commit 7e2b3ab14f84fb369a8fc00839feebd70b85426b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 12:17:08 2010 +1000
s4-repl: added a workaround for WERR_DS_DRA_NO_REPLICA DsReplicaSync errors
The 0xc0002104/WERR_DS_DRA_NO_REPLICA seems to be spurious, and can be
avoided by setting DRSUAPI_DRS_SYNC_ALL in the DsReplicaSync request.
We need to investigate this further, and find out from MS why this is
sometimes being sent, even when the target DC has the right repsFrom
entries
commit 3f643f18d911888d69bba7f03813b3bde816326e
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 21:36:01 2010 -0700
Correctly report share types (now Win7 makes RPC calls against us).
Jeremy.
commit a94a4b788c3056068d0c8e42c55e990f418db666
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 20:11:59 2010 -0700
Plumb in get_nt_acl into SMB2.
Jeremy.
commit be35a40e037202af4b30cc76e6e986499771e2e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 27 11:01:12 2010 +1000
s4-dns: fixed dc.dc duplication in DNS update list
commit b0aa4769483a1d2084191b70b2ffa3b0c65696ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 23:21:10 2010 +1000
s4-drs: add entries to repsTo based on calculated repsFrom
This is based on the documentation: "the KCC will automatically create
the Reps-To attributes on destination DSAs based on other DSAs
Reps-From entries."
commit 3119296e425a4c640fe9bd2bb97f09bab8a9ccf0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 22:51:11 2010 +1000
s4-drepl: don't setup a repsFrom from a DC that isn't a master for a NC
use hasMasterNCs to see what NCs we should be pulling from each DC
commit c375b90f5d1b1cbef2896f9a9d5964126ce82022
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:49:37 2010 +1000
s4-getncchanges: honor DRSUAPI_DRS_REF_GCSPN
this is an alternative way of establishing repsTo
commit 5b81962ed1c5b0c92e735ae12b853a63a9513a3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:49:06 2010 +1000
s4-repl: these messages are common, and don't deserve debug level 1
getting older attributes is quite common
commit 8aa30f958073203588a4faa75b963bad83a0db41
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:48:29 2010 +1000
s4-repl: on a failed request, clear the current ptr
this prevents the queue being stuck on failure
commit 9b18b339c00953490158b40d291032b14e6fc645
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:48:06 2010 +1000
s4-repl: end repl request when not doing an UpdateRefs
otherwise the queue is stuck forever
commit 5fb60bc311dde5642b022d28a9d7af8cf6f4a5f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 21:47:29 2010 +1000
s4-repl: don't delete repsTo entry on DsReplicaSync
we rely on the highestUSN counters instead. W2K8 does not resend
DsUpdateRefs each time, and the WSPP docs do not indicate that repsTo
should be deleted
commit f8fc7fcbeb8141c5b2775e2219bae17c55ad4a3c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 26 23:50:16 2010 +0200
s3-build: Remove --enable-merged support.
commit 44b0a0c14dbf8822e9c17968b7203557eb6e905f
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:09:00 2010 +0200
s4: remove unused rap.h.
Guenther
commit 232b9e556c176b351bd0dd3b8dcaef172d5d9f83
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 15:48:50 2010 +0200
s3: remove unused rap.h.
Guenther
commit aae716d044081e5e1315de4abf22dbeb9d32a18e
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:09:44 2010 +0200
s4: fix some build warnings.
Guenther
commit dbfff90185daecfa452520276c8cabdce3b1c616
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:09:21 2010 +0200
s3: fix some build warnings.
Guenther
commit 725976290939e82bd43a0b8bce07df6068e65496
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 15:42:47 2010 +0200
s3: use generated rap header.
Guenther
commit 1983d0dde7c33666c5e0c1082d0c2604e6d1e860
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 15:41:17 2010 +0200
s4: use generated rap header.
Guenther
commit 874335c48d4132a4b41acd45dc2c5dc11df18b7a
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 13:23:03 2010 +0200
s3: re-run make samba3-idl and add generated header file.
Guenther
commit 8b287b92fda1ad7439191edd9b417e31e90a9230
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 13:19:56 2010 +0200
rap: add rap idl.
Guenther
commit 1ede2a0577fa85100f95526386bc5298b565da8c
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 26 22:06:47 2010 +0200
s4: rename RAP share_enum_info to share_info.
Guenther
commit 1055b3c229f9ab8b4d43a73346090bb72b88d607
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 12:29:03 2010 -0700
When walking the SMB2 requests queue, ensure the request is still "in flight"
before examining the details.
SMB2 requests stay on the queue until their out.vector has been
send, only then are they talloc_free'd.
Thanks for Ira Cooper <ira at wakeful.net> for giving me the
backtrace showing this.
Jeremy.
commit 6beba782f1bf951236813e0b46115b8102212c03
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 26 10:54:33 2010 -0700
Fix crash when rescheduling oplock open.
Jeremy.
commit abdb96b8ff373b78ffbf24c66c4e6b69886e87c4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 26 16:44:34 2010 +0200
s3: Implement "net rpc user setprimarygroup"
commit 5ce1dbf2e328b8bf9987746bbd9ea10e6db58760
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 15:46:37 2010 +1000
s4-ddb: don't create partitions with the UNINSTANT flag set
these partitions and not on the server we are replicating from. Also
check for deleted partitions.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a31c711ba7dcd7516fd7b4de8c602a2fc30672db
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 16:44:44 2010 +1000
s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended ops
Needed for RID allocation
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6ee1c503bf90abbea137ce789ce5a8a54b437629
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 17:02:25 2010 +1000
s4-drs: don't send uninstantiated objects in getncchanges
This includes deleted partitions
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 159de40b0b5c2c3efc7bd4de83a15dc63299b730
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 18:43:46 2010 +1000
s4-drepl: don't send an UpdateRefs unless its a plain replication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f66fcd96087fc0a65a214c0fa62b03048ff0c6d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 19:04:33 2010 +1000
build: cope with realname for install of non-python libs
this fixes the install of mit_samba.so
commit 267e0b361693a94be258a21b2b305c5a97de3dda
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 14:39:15 2010 +1000
s4-drs: make links to foreign partitions non-fatal
DN links outside the set of partitions we are replication should be
allowed.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0a47bf5f15c8fc083125a90cf73ad1a04dc61e48
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 13:24:10 2010 +1000
build: automatically run autogen-waf.sh when needed
commit b0396807d0b357d238ef211275d25cb1852e7fdf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 11:12:05 2010 +1000
s4-heimdalbuild: remove LIBNETIF dependency from HEIMDAL_GSSAPI
this avoids the s3compat layer from getting duplicate interfaces code
commit c6b8ffd3a507854c0a9379f83c37fa63de4816ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 26 11:11:21 2010 +1000
build: normalise paths in unique source checking
commit a241daae2d2c2acf150993dc90e234a851539963
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 21:00:44 2010 +1000
build: a library is only empty if it has no deps
commit c8824fd9b4cfd5a5925671ce41063764f27d50e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 12:58:52 2010 +1000
build: use option_group() not add_option_group()
option_group() ensures we don't end up with duplicate groups
commit 6c79b9f4807f932ad9d09ebfa708d7a75fa35f45
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 25 12:41:41 2010 +1000
build: cope with duplicates in source lists
commit fd3eeb3878c94bfb8d2134dbdc17cfb5279d088c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 11:42:44 2010 +0200
s3: async_domain_request is no longer used
commit d53e3450c775a4eae9f5237ec85ed212479fbcbd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 11:40:30 2010 +0200
s3: Convert add_trusted_domains() to wb_domain_request_send()
commit d41836fb62e3059e042bf72d4392c2e85b55c582
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 10:36:58 2010 +0200
s3: Simplify trustdom_state
Don't store information explicitly as boolean flags that can be easily
retrieved from the domain when it's actually needed.
commit 13cdaf9417ab08425d9b7e244a6830d34147b889
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 10:25:55 2010 +0200
s3: Make "struct trustdom_state" its own talloc context
commit d61b07253b04a17226cfd92ef8bf785c93263ce3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 25 10:15:43 2010 +0200
libwbclient: Talloc is no longer used
commit b29f3f497bdcd4830ffbb615ad0dbc9f5d0af53c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 19:36:01 2010 +0200
Revert "tsocket: not all systems have IPV6_V6ONLY"
This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7.
We now don't support IPv6 when IPV6_V6ONLY isn't available,
as we rely on the behavior.
metze
commit 26e6fb0efe461d55e72da637b1b921b77f28af73
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 13:07:50 2010 +0200
lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 support
We really on IPV6_V6ONLY being supported.
metze
commit 41cd6f992829c45c890f5daf78eb3019633f3620
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 13:07:50 2010 +0200
lib/replace: make sure IPV6_V6ONLY is available for IPv6 support
We really on IPV6_V6ONLY being supported.
metze
commit db29b2d6d2dfdebb91292b0640642c545fbce025
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 19:28:48 2010 +0200
lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with broken headers
This is needed on SLES8.
metze
commit e06cf3950252a46486aa046a4552ed6ebff175b3
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 19:02:22 2010 +0200
lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken headers
This is needed on SLES8.
metze
commit 051535f196305f5ded4d786a2db977b0626ee0b9
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 18:10:37 2010 +0200
buildtools/wafsamba: inline defines during configure into the tests
There 2 reasons for this change:
- This is how autoconf tests work and it makes config.log much more useful
- The waf c preprocessor ignored changes in bin/default/__confdefs.h when using
waf configure -C, because is outside of the configure tests project path
and handled like a system header.
Many thanks to ita for pointing out the fix.
metze
commit 1ed5f7182074768a84eefc00bd2af64933799b4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 24 20:02:44 2010 +0200
buildtools/wafsamba: make sure we create bin/default/ before trying to create symlinks in it
metze
commit c88b83b7c1abc53866cda4e67c5183e11e31a910
Author: Matthieu Patou <mat at matws.net>
Date: Fri Apr 23 17:27:05 2010 +0400
s4 dns: Allow to specify static grant entries to be added to the dynamicaly generated named.conf.update
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit f25ebe37281f84608f13891e08d555e3db817963
Author: Tim Potter <tpot at samba.org>
Date: Sat Apr 24 11:04:32 2010 +1000
s4-smbd: Fix compiler warning in prefork smbd.
My first patch in a while...
Tim.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 92449412dcb1c809689eebd0ab7e2ebee3de6fbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 23 08:11:44 2010 +0200
lib/zlib/wscript: fix system zlib detection
metze
commit 4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 24 12:40:10 2010 +0200
Revert "nsswitch: Fix a memleak in wbinfo"
This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c.
This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
commit dbb7db6c2532bb18674c6acea27688f22c41efb8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 24 11:11:45 2010 +0200
s3: sendto_domain() is lo longer used
commit 678a3c4e6dd68f3b2f81a3ad381be017e15de44d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 24 10:49:06 2010 +0200
s3: Simplify (bool != True) to !bool
commit a796542a930dec93c2a747c4b015d8d650a081fd
Author: Jeremy Allison <jra at samba.org>
Date: Sat Apr 24 00:29:41 2010 -0700
Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system.
Seems to work but needs more tests (to be added).
Jeremy.
commit 247273196ff8035ef16805f04fe7c32ef9a8be50
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 15:35:34 2010 -0700
When sending the initial async response, this is never part of a chain.
Get the reply flags correct.
Jeremy.
commit 0e6f4ed7035a3536c94d248b2ca9f890b0f07fb3
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 15:34:58 2010 -0700
Don't free the entire tevent_req on cancel, only the part we need (the immediate event).
Jeremy.
commit 328ca041e0bd2657b6f5c1e9ea57684da5b68312
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:46:03 2010 +0200
libwbclient: Test WBC_CHANGE_PASSWORD_LEVEL_RESPONSE
commit 7099a3c446aa7a4de42c7cffa9b409f319f0ec76
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:44:05 2010 +0200
s3: Allow pdb password change using WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP
commit f43d1827f389e458d9430bddac7344c8117515c1
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:42:33 2010 +0200
s3: init_dc_connection() can't init for internal domains
This fixes a crash in winbindd_dual_pam_chng_pswd_auth_crap when given
global_sam_name() in the domain field
commit 03115efae89c8c4f51dea1ce82613817bd9fcf5b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 19:41:29 2010 +0200
libwbclient: Actually copy something in wbcChangeUserPasswordEx
The length argument for memcpy was initialized to 0 and not initialized
commit 6eec46ec44480db77d16bbd3332b8b10306f64f0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 20 20:37:35 2010 +0200
s3: replace some data_blob_talloc by data_blob_const
commit 7574347e68b258456179614d65ecb5549dfe97a5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 20 16:07:13 2010 +0200
libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro calls
commit f2f0fed8aad21e09837f256e00bb38f33dc73e44
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 20 11:11:19 2010 +0200
s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async API
commit 168b86c3847a5b575eef36cc2308802cbd25bb4a
Author: Simo Sorce <idra at samba.org>
Date: Fri Apr 23 14:26:33 2010 -0700
s3-smbd: group print relate data in own structure
commit 2bbb8c917e372ceeb1e144259d9d2b0eab7cc212
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 13:10:15 2010 -0700
Allow smb2 create requests to be cancelled.
Jeremy.
commit dd2025947136f28b22b70de59309e149a1f45f3d
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Fri Apr 23 10:55:46 2010 -0700
Fix bug #7384 - dptr_Close has a bitmap leak.
s3: Fix to dptr_Close
This fixes a bitmap "leak" in dptr_Close by making it use the same internal
routines the rest of the code does.
commit 350f4e348c192dd9986c5d948cd5d94a777419d4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 10:53:44 2010 -0700
At simo's request return struct tevent_req *treq -> treq. For consistency :-(.
commit 2b13a8d6506bb06f2464a0ed70fb505e43ea5b5b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 23 10:29:48 2010 -0700
Rename - no functional change. Stop all variables being called "req".
tevent_req -> treq
struct smb_request -> smb1req
struct smbd_smb2_request -> smb2req
Jeremy.
commit 251cd42ed5b62afe8272099707347c1b0f61023e
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 17:13:02 2010 +0200
s3-spoolss: Added a winreg_get_printer function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit e15d624c0ae539460de367ab2b33f83f41d81393
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 12:56:39 2010 +0200
s3-spoolss: Added a winreg_create_printer function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a61297647db696d193c081522f44ff09bf260bce
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 17:53:39 2010 +0200
s3-spoolss: Added a winreg_update_printer function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8cb79bf4cd577468dd891106ce6e0d01969b2233
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 19 21:50:52 2010 -0400
s3-spoolss: Added a winreg_get_driver_list function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8db203a4a60a8d043e36138873ed457f48acce72
Author: Simo Sorce <idra at samba.org>
Date: Mon Apr 19 21:01:38 2010 -0400
s3-spoolss: Added a winreg_del_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 16e0f806872eaf620b12c375d25f0043d5dea704
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:38:39 2010 -0400
s3-spoolss: Added a winreg_get_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a91f6f8b03b5c9342853229dc634bd217e289d5d
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:37:08 2010 -0400
s3-spoolss: Added a winreg_add_driver function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8f56cdfaee571a5b4bb735290dfd668ef8c4d730
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 14 20:46:55 2010 -0400
s3-spoolss: Move info_ctr conversion to a public helper.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 94a8482261526c7bb3ae15194bf3939978b324b6
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 23 14:45:48 2010 +0200
s3-spoolss: Fixed winreg_delete_printer_key if key is NULL or emtpy.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 96a04b067efe34d16ab14339703be89d27e64b0b
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:58:51 2010 -0400
s3-spoolss: Add date and version winreg helpers.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b33e877aad0485c88ba4ff0223004e92c4cb78e2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 18:12:50 2010 +0200
s3-spoolss: Added more winreg hepler functions.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d4f563d9d4fcefc0523cfdc5c75b2256e4f28aeb
Author: Simo Sorce <idra at samba.org>
Date: Wed Apr 21 09:51:37 2010 -0400
s3-spoolss: Added winreg helper functions
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0ed5e36c67020f11c865f66584c0f800f5b27cf3
Author: Andreas Schneider <asn at samba.org>
Date: Mon Apr 12 15:54:01 2010 +0200
s3-spoolss: Added a winreg function to query a dword.
Signed-off-by: Günther Deschner <gd at samba.org>
commit e7d674282191152f29d0fe812af9c5afcba084b9
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 21:51:16 2010 +0200
s3-spoolss: Added a function to get the ChangeID from a printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b04a260e4e8b5d317e36d758f16aff090d567d7c
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 15 15:18:26 2010 +0200
s3-spoolss: Added a function to update the ChangeID of a printer.
Signed-off-by: Günther Deschner <gd at samba.org>
commit a18cd32a3478d533b679bc134b7dda66e1869521
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 9 12:36:37 2010 +0200
s3-spoolss: Added winreg helper functions to write registry values.
Signed-off-by: Günther Deschner <gd at samba.org>
commit b320fad6e4c6991f636e3635aeba3d5e1a7a9ed5
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 9 09:26:24 2010 +0200
s3-spoolss: Fixed return values of winreg_printer_deleteform1.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 012c1feda5dc4b0841724e914a8ad30e0d2f1e91
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 9 09:26:08 2010 +0200
s3-spoolss: Added missing return value to winreg_printer_enumforms1 docs.
Signed-off-by: Günther Deschner <gd at samba.org>
commit d65485b3c5b9168609069e0d771db11424fcddb4
Author: Andreas Schneider <asn at samba.org>
Date: Wed Apr 21 17:59:55 2010 +0200
s3-spoolss: Use const values for notify functions.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3f1cc29814c62b60a5615bb05c13addd171cc141
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 22 12:33:29 2010 +0200
s3-time: Added a function to get the startup time of the server.
Signed-off-by: Günther Deschner <gd at samba.org>
commit bb22855af51d27eed1b18b33689f6dc39e09f068
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 15:31:21 2010 +0200
s3-lanman: fix uninitialized variable in api_RDosPrintJobDel().
Guenther
commit 30b1e44382e1b81999c6388866305fb0324252a3
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:52:57 2010 +0200
s3-selftest: enable RPC-SPOOLSS-DRIVER against s3.
Guenther
commit 6beec1a04df635c9c8539e4837cc783e76b3c562
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:52:19 2010 +0200
s4-smbtorture: skip tests when no local driver directory is around.
Guenther
commit 14bb3f71aa3a2c23c5a0396deae4af9ab1e3ac5d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:51:33 2010 +0200
s3-selftest: add print$ share with two arch dirs.
(make test variant)
Guenther
commit 2a2de10ac690ad13d3474a252729fc36c79321fc
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 13:51:02 2010 +0200
s3-selftest: add print$ share with two arch dirs.
Guenther
commit 4b1dab5b11d77d9fcac0ff5541ae5713db9106ec
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 12:17:04 2010 +0200
s3-winbind: fix setup_domain_child() callers.
Volker, please check.
Guenther
commit ca0e5ea8331857bca5207105c6bb4b6aaa8edadb
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 11:39:12 2010 +0200
s4-smbtorture: use server_name for all printerdriver delete and enum operations.
With this s3 passes the RPC-PRINTER-DRIVER test.
Guenther
commit 698b7780c90687e9c1744e2435865dba1f18b274
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 11:33:51 2010 +0200
s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear.
Guenther
commit 4be5d59c4f034ef9a125fe813e9e02ba5c2c833b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 11:27:51 2010 +0200
s4-smbtorture: allow to upload or remove any file belonging to a driver.
Guenther
commit c82fd3ed30ef2c804b6370d9d2ff1e1a6d2797f5
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 21 17:04:49 2010 +0200
s3: Fix a winbind crash when scanning trusts
add_trusted_domain() for a new domain always needs to be followed by a
setup_domain_child(). This was not always done, in particular not when walking
to the forest root for additional trusts.
This is a minimal patch, we need to fix add_trusted_domain().
commit 8f67f873ace91964da066c421986e260aceba75b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 22 23:52:19 2010 -0700
Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.
Makes SMB2Create call re-entrant internally.
Now this infrastructure is in place, oplocks will follow shortly.
Tested with Win7 client and with W2K8R2.
Jeremy.
commit 9cd712d1bc1ac5140597e86b5c634d2c820d86de
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 23 07:06:03 2010 +0200
s3: Fix a cut&paste error in a debug message in check_oem_password()
commit a14938377e42344eb04a3d3003199b231e88dc8d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 03:04:47 2010 +0200
s3-spoolss: make sure AddPrinterDriver calls into AddPrinterDriverEx.
Not vice versa. Also disable some info levels in AddPrinterDriver according to
MS-RPRN 3.1.4.4.1.
Found by torture test.
Guenther
commit 587921b7da93cc02386193ac4c3354db4717fa3f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 03:03:59 2010 +0200
s4-smbtorture: fix test_EnumPrinterDrivers_findone().
Guenther
commit 20133cfe560f2bd84b5c2ebab9dc25b0c98efeb9
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 02:49:42 2010 +0200
s4-smbtorture: samba currently supports level 3 and 6 driver adds.
Guenther
commit 413ffe9adb8eea488133da0249dcb2eca08fd69d
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 02:34:43 2010 +0200
s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.
Found by torture test.
Guenther
commit f6bdfd94239baede6b485ca45ee8365f33fd3008
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 23 01:58:02 2010 +0200
s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER.
Guenther
commit 74592f47f5f4d7646527d5788eadf2c6ebc7e950
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 22 18:47:27 2010 +0200
s4-smbtorture: allow to upload and later remove printer driver files in RPC-SPOOLSS-DRIVER.
Guenther
commit 29775e39b18270e2345097c3fc80a87efd69484d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 2 21:49:15 2009 +0200
s4-smbtorture: add RPC-SPOOLSS-DRIVER test.
Guenther
commit 431faed5f4b2a21d05ca023ae5c56b1c6d741f44
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 21 15:08:40 2010 +0200
s4-smbtorture: rework EnumPrinterDrivers tests a bit.
Guenther
commit 93c86fe6155bea76818b569bbc883cecc7130dd1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 23 08:24:34 2010 +1000
build: give a more useful error when the source dir has moved
you need a distclean if you mv the source directory
commit a36c7b8b74c209b010e763487a750472d9c2e0a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 23 08:24:02 2010 +1000
build: use 'waf distclean' for make distclean
this cleans up the more than rm -rf bin
commit bd08249d683fd2f5ce6358ec2a9cebf2d03db1c6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 19:35:54 2010 +1000
s4:provision Remove moduleload for 'hdb' (wrong name).
The backends are not normally modules anyway
commit 440075247d11a7852d8567753f426fa67f41d875
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 22 11:42:45 2010 +0200
spoolss: pretty-print a struct spoolss_Time.
Guenther
commit 404f7ac0292c91ef3101e9bc32b8aea3b2aec4be
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 17:53:25 2010 +1000
s4-cldap: we should set the w2k8 flags even if not the PDC emulator
these two tests are independent
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e7262b51d1a8905ba3b874f5d48eab4292ebca4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:56:40 2010 +1000
s4-drs: validate RODC credentials via the user_sid
This checks whether a replication client is a RODC by inclusion of the
the DOMAIN_RID_ENTERPRISE_READONLY_DCS sid in the users token
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit bb1ba4ff76eb90d0d62dd3edbe288f45cf7a0a1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:48:01 2010 +1000
s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER level
This is used for allowing operations by RODCs, and denying them
operations that should only be allowed for a full DC
This required a new domain_sid argument to
security_session_user_level()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit ec0bb2f46b855d44cccb71a5511c2acb7d8eae09
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:44:53 2010 +1000
s4-net: fixed two compiler warnings
commit ec3d1de61dd81f042b9ac65ff4f94db5b4ae643c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:44:30 2010 +1000
s4-torture: fixed a initialiser
we were not initialising the whole array
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 47712ab3dd63d3da408d37f6efea08cc34407b1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:43:21 2010 +1000
s4-libnet: fixed two compiler warnings
commit 1f92df90fdb0ade233af52df1fbc9e76bddb4fd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 16:41:32 2010 +1000
s4-drs: removed dsdb_validate_client_flags()
This test is in the wrong place. We end up validating our own flags.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 90230ce27eaa81e02273f0120b7cdc99879514ac
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:56:19 2010 +1000
s4-drs: only allow replication with the right invocationId
Non-administrator replication checks the invocationId matches
the sid of the user token being used
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0d3823b15248ed6269bb0a513d862ef694bfde64
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:55:54 2010 +1000
s4-dsdb: removed an unused variable
commit a06b537cc30cb21e77f58b5e9ea2a8f89c4683e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:54:52 2010 +1000
s4-dsdb: added dsdb_validate_invocation_id()
this validates that a invocationID matches an account sid
This will be used to ensure that we don't allow DRS replication
from someone a non-DC or administrator
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1ecefd74a2b7a6cec0c6ef765669eab0635e5568
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:53:53 2010 +1000
s4-dsdb: added dsdb_get_extended_dn_sid()
This will be used by the RODC code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6669152a4a5919ecad633b594708d6b95577b4dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 14:52:19 2010 +1000
build: we don't need this makefile magic any more
The waf build now checks for all A=B variables passed via make
and sets the same waf internal variable. This means all waf options
are available via make.
Removing this from the Makefile makes us less reliant on a modern
version of make.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 70cc9fd5c62f385d6e94380597f02da80cea3649
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 13:32:55 2010 +1000
s4-dsdb: moved rodc schema validation to samldb.c
This means we are only doing the checks for schema changes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 73513fb7e7145e9abe1a155acd47c27bc09c5092
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 18:54:13 2010 -0300
s4-drs: Use new samdb_rodc() function in s4 code
This patch fits the calling to the new samdb_rodc() function and
fix a little bug in this function.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit d940a44496f184073fe036fc1977796c901ec96d
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:42:08 2010 -0300
s4-drs: Do not send RODC filtered attributes to RODCs on GetNCChanges reply
During building an object to send it on a GetNCChanges reply, it checks
the attributes and if any of them is a RODC filtered and the recipient
is a RODC, then such attribute is not sent.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 59aa0a07d24bfb9ff9795ffe90801577043058a5
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:39:54 2010 -0300
s40-drs: Do not send GetNCChanges messages to RODCs
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fbdbd67c7640757f80a2ffd70a17c6ab50491844
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:38:47 2010 -0300
s4-drs: dsdb_validate_client_flags() function
This function is intended to check if some client is not lying about
his flags. At this moment, it only checks for RODC flags.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 57bcdf008fa44d4c550819cbceada968b11be63c
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Apr 15 17:37:40 2010 -0300
s4-drs: samdb_is_rodc() function and new samdb_rodc() function
This patch creates the samdb_is_rodc() function, which looks for
the NTDSDSA object for a DC that has a specific invocationId
and if msDS-isRODC is present on such object and it is TRUE, then
consider the DC as a RODC.
The new samdb_rodc() function uses the samdb_is_rodc() function
for the local server.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit c023fc217ed370e5c890c1984da533e0133060d9
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Mar 25 16:58:58 2010 -0300
s4-drs: Do not allow system-critical attributes to be RODC filtered
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e11f92ba73028b608207ed91aaa22376756d7a73
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 17:20:21 2010 +1000
s4:provision Make OpenLDAP backend more robust
With the extra moduleload lines (which succeed if it's already
staticly linked), we now work with OpenLDAP overlays as modules.
Andrew Bartlett
commit 47e7e487469fa1f3fafe0a52560e0049801a5ac7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 11:39:21 2010 +1000
s4:ldap-backend Fix LSA test failures with OpenLDAP backend - convert SIDs
The SIDs in some queries were not being passed as binary, but as
strings in comparison with the securityIdentifer object. We need to
recognise that these are SIDs in the simple_ldap_map.
Andrew Bartlett
commit 466fbe278a6f96f1b9942954a164262a14894bfe
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 11:38:43 2010 +1000
s4:provison Pass nosync in for the OpenLDAP cn=config too
commit fe3d872656ff68de60c1af91ccf292e2565fde8b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Apr 22 11:37:41 2010 +1000
s4:selftest Ensure we don't fsync() all day in the LDAP backend test
Passing this option greatly reduces the time spent in the test.
Andrew Bartlett
commit cbb818222aea20b47adbcd5e4461949d7e5d5107
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 15:35:51 2010 +1000
s4:OpenLDAP-backend Use the new rdnval module in OpenLDAP
This is rather than rdn_name, which tries to do the job on the client
side. We need to leave this module in the stack for Fedora DS (and of
course the LDB backend).
Andrew Bartlett
commit 9eacde808ee464343620a311bb2bdea5ac7b5ee8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 14:49:30 2010 +1000
s4:dsdb Revert accidentilly commited change for LDAP backends
In the future, LDAP backends will be resposible for maintaining the
'name' attributes.
Andrew Bartlett
commit a50f6aad85b5fcbefafa52869651eb503b719cc6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 21 08:00:44 2010 +1000
s4:provision Use more reasonable values for DB_CONFIG
With the OpenLDAP backend, the old DB_CONFIG caused OpenLDAP to abort
on startup, and was very inefficient. This new one, kindly supplied
by Matthew Backes <mbackes at symas.com> uses a more reasonable set of
buffer sizes.
Andrew Bartlett
commit d950e9e6f31c8657aee951728ef5d63ca572b01c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 22 12:03:22 2010 +1000
build: added --enable-auto-reconfigure
this is off by default until some issues are resolved. See my mail to
samba-technical for details.
commit 3a8b67fd3604ed4f129df42543824d04b7197089
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Apr 21 18:04:53 2010 +0200
s4:netlogon RPC server - fix a counter variable type
commit adb5f943de841e00b5aabe67b0b4c58b692f9078
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 17:29:00 2010 +1000
build: recalculate project deps when NONSHARED_BINARIES changes
commit 681f3dad7c32fc5dcf51ceda889d1f115a641aaa
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 17:13:16 2010 +1000
build: added --nonshared-binary=LIST option
This allows you to specify some binaries that should be built without
shared libs. A non-shared smbtorture will make testing s3 in the build
farm easier
commit 1d5aee6b91004d71609b3203c919ef39888c86cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 16:21:30 2010 +1000
s4-waf: python devel headers are mandatory for the source4 build
commit 06fa4c8ebcd5a3e4ef5c9d9a3b3d9516d3b94ce7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 16:17:08 2010 +1000
build: make python development headers not mandatory in standalone libs
This needed an update to the python tool in waf
thanks to Kai for spotting this
commit ab2555faac253bdea46540aa1251977c46b02f35
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 15:36:26 2010 +1000
waftest: updated the cross compilation environment I test with
commit 612a34ad69c043e42970e01f2f026dff7dc07728
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 15:35:55 2010 +1000
s4-server: show build host in samba -b output
commit 667f672c94eb3e935ae3463a203dfa85b900726a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 15:15:55 2010 +1000
build: fixed uname output to be on target machine when cross compiling
this also makes the output of define_ret configure tests show up
in the configure output
commit 5e695dec2af347dd9211a1dec45f10f751bbafb5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 13:35:52 2010 +1000
s4-upgradeprovision: fixed --realm option duplicate in upgrade_from_s3
commit 2edff9f5ff2e61f2d6c2705f05ebcab4d61b4307
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:39:32 2010 +1000
s4-drs: accept zero revision in drs selftest
Kamen, please have a look at this. We need to accept revision zero as
w2k8r2 sends it during initial schema replication
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8fdfcde56cc78e8ea5c0bc2aa6c1dfa5515ff2c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:32:26 2010 +1000
s4-provision: cope with --realm being in getopt.py
we still need to allow for interactive querying of the realm
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b0a73fbf30ca73934be670c812acebc88255ba2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:02:33 2010 +1000
s4-waf: create the smbd.tmp/messaging directory
this prevents a warning when we run net vampire from the install dir
when samba has never been run previously
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 1a68311d41665b7f3ca1209ca1edf1bb92673bc4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:01:47 2010 +1000
s4-python: added --realm option to python scripts
this is needed for net vampire
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0c0bbf2932edc55a897029f34faee105e5b694aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 12:01:16 2010 +1000
s4-provision: set "setup_dir" to the right path
This needs to cope with both running from the build tree or running
from the install tree. We use the provision.smb.conf.dc as a sentinal
to detect if we are in the build tree.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2dcc84432ec264d6b322c281d0db1d731ce16b1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:34:24 2010 +1000
s4-schema: allow revision numbers of zero
w2k8r2 sends a revision of zero in the initial schema replication
during a net vampire
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 024b53755c88855d7e88f256af03bd24280999f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:33:43 2010 +1000
s4-python: accept --option arguments in python cmdline parsing
also fixed the -d option to use lp.set() which calls lp_set_cmdline()
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 899fa60dd2cf24fc32c83f17080fa5f221861541
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:32:58 2010 +1000
s4-devel: allow extra net command line options and gdb
This allows you to run:
GDB="gdb --args" vampire_ad.sh
and also to add higher debug levels like this:
vampire_ad.sh -d100
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 7ccebb49af8d7d77ce2f3e9124148e1f4100165c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 21 11:31:59 2010 +1000
s4-pynet: accept None for target_dir in vampire
commit 61bdffbf8e6789e7fbac3f0432840059fe98ab17
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Apr 20 17:45:06 2010 -0400
Fix i18n of net conf import error message.
Thanks gd
commit a22f03e02c99c78642978c8e7a06ae92f97ad41f
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Apr 20 16:28:47 2010 -0400
Display an error on net conf import failures.
When something goes wrong, such as a typo in a parameter
name, we'll now display the failure instead of just returning
with -1 and no message.
commit 6bf4dbb955a1d769008291b31f859c3352f02ad8
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 19:50:37 2010 +0200
s4-smbtorture: add spoolss DriverInfo and winreg consistency test.
Guenther
commit 0833c9639e3e7fb7e14dc25d90f4a9973e717cbc
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 19:29:12 2010 +0200
s4-smbtorture: add function to get a printserver's environment.
Guenther
commit 545ef2ca7636507f86f370ae57937de7a6bd5d2e
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 18:16:03 2010 +0200
s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.
Guenther
commit e647b8c61f9b65e4c4d07eae7f1a4c2be711b8de
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 16:25:27 2010 +0200
s4-smbtorture: refactor test_GetPrinterDriver2().
Guenther
commit 7e9e5291de3e3a44491a482754515d2e76a99a83
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 20 15:58:02 2010 +0200
s4:dynconfig: fix the autoconf build and pass -DPYTHONDIR=\"$(pythondir)\"
metze
commit 135208d99067a7c84920ef7ce85955021f7be997
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 20 16:00:52 2010 +0200
s4:rpc_server/netlogon: add no memory checks
metze
commit b4b43fcb4c3e8b046489ea03b70f7c0a77bc5065
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 23:42:28 2010 +1000
s4-netlogon: fixed dc_unc and dc_address_type
These are needed for dcpromo from w2k8r2
commit 5e69259671d317aebaae54ec9adc30e58f70076f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 23:17:32 2010 +1000
build: added uname display and SYSTEM_UNAME define
suggestion from Metze
commit a9f5bfb3a5324f09a07657a8bb28bb4510485d31
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 21:45:33 2010 +1000
util-runcmd: ignore spurious ECHILD errors
when we get ECHILD in samba_runcmd it is because the parent has set
SIGCHLD to SIG_IGN. In that case the child status information is
lost. We then have to fallback on the logging of child error messages
for any useful information on what happened to the child.
A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard
process model of s4.
commit 4f5298cbb4c044b6bde0cda04d182651f826ee53
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 20 14:15:24 2010 +0200
s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.
Suprisingly, that value is always 0 (at least on w2k8r2).
Guenther
commit ac11b616dd67847be4f54f6fc08b64bacc0802f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:30:41 2010 +1000
s4-net: don't show a full python exception when you can't open sam.ldb
commit 9b66b7abcc828d864d2049133f2f0a5b41994ddd
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:27:41 2010 +1000
s4-net: show a list of commands when someone runs "net" with no arguments
commit 1f7da85c77f47b28a971374f42a1668a92398eb4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:24:08 2010 +1000
s4-python: added PYTHONDIR to python search path
we put it after the scripting/python dir, so we look in the build
directory (if applicable) first.
commit 6072ab0d57487fcb9b00706b37898be003ff211b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 20:23:04 2010 +1000
s4-dynconfig: added dyn_PYTHONDIR
commit 58549ab44a478dc0f896244579589e11aad8296c
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 18:51:26 2010 +0200
s3-spoolss: fix winreg spoolss helper call documentation.
Guenther
commit 7e4eb13ba40fbe0d2df9d7633f24cc70b74905c2
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 18:34:36 2010 +0200
s3-spoolss: avoid passing down full "struct pipes_struct".
Guenther
commit 41716a8c137946728085b897cd2217e0d0431e7f
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Sun Apr 18 18:49:51 2010 +0200
s4:netlogon RPC - "fill_one_domain_info" - use "lp_workgroup" for the DC short domainname discovery
Here we don't need to use "lp_sam_name" since in this function we are always a
DC.
commit 39d612ff4c9131d0f06894da80e739aedf6ffe14
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 20 09:01:22 2010 +0200
s4:torture/rpc/netlogon.c - fix typo
commit f1c523939b88aee0b1ce7375d68b06a0b8cf5d28
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 15:33:00 2010 +1000
pytalloc: ensure talloc_ctx is directly after PyObject_HEAD
the talloc python interface for tp_alloc and tp_dealloc relies on a
cast to a py_talloc_Object to find the talloc_ctx (see
py_talloc_dealloc). This means we rely on the talloc_ctx for the
object being directly after the PyObject_HEAD
This fixes the talloc free with references bug in samba_dnsupdate
The actual problem was the tp_alloc() call in
PyCredentialCacheContainer_from_ccache_container() which used a cast
from a py_talloc_Object to a PyCredentialCacheContainerObject. That
case effectively changed the parent/child relationship between the
talloc_ctx and the ccc ptr.
This patch changes all the structures that follow this pattern to put
the TALLOC_CTX directly after the PyObject_HEAD, to ensure that if
anyone else decides to do a dangerous cast like this that it won't
cause the same sort of subtle breakage.
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit 45be1c7ba4382d85c742a241687bbc6d5a2ebd8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 15:30:57 2010 +1000
talloc: there is no ambiguity when freeing a ptr with a null parent
when a ptr has a single reference and a NULL parent, then
talloc_free(ptr) is not ambiguous, as the caller could not have done a
talloc_free(NULL) to free the memory
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit 773a8afbba27a5e2e48577100f3ca9873b506615
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 13:53:35 2010 +1000
tdb: update tdb ABI to use hide_symbols=True
We now use -fvisibilty=hidden to hide symbols from outside the tdb
shared library.
This also moved tdb_transaction_recover() into the tdb_private.h
header, as it should never have been a public API. For that reason we
are changing the version number. We're only doing a minor version
increment as it is extremely unlikely that anyone was actually using
tdb_transaction_recover() as its locking requirements were rather
unusual.
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit cdaac0afc12d155417764baa135bf29067103da4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 13:51:16 2010 +1000
build: include uninitialised data in the ABI symbols
This is needed for symbols like tdb_null in tdb, which are part
of the public ABI
Pair-Programmed-With: Rusty Russell <rusty at samba.org>
commit 0e56037129fb9ddca1ace8b18126e56cd587c5a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 12:51:43 2010 +1000
build: quote cross-answer strings
This allows for spaces and special characters in cross-answers
commit f2bd78cb2652d3db69d0016b94c4506ada4b61c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 20 12:49:50 2010 +1000
build: allow "waf --abi-check" to force a re-check of the ABI
commit 538a07a80aae72b57e5c23133158c7f214d0c27a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 14:24:22 2010 +1000
s4:provisionbackend Print the command we failed to start slapd with
This makes it easier to put failed startups into a debugger.
Andrew Bartlett
commit ea5cf7ce05f295c34d0fca194ed7d8691f1e04ab
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 20 11:48:51 2010 +1000
s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()
By putting these values into the cache on the LDB, this reduces some
of the noise in provision, particularly with the LDAP backend.
Andrew Bartlett
commit 60d36929189eb8c5749431a4d90266b34c26b0c3
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 14:32:08 2010 -0700
Now SMB2 error messages are correctly being returned with the 1 byte data area, smbd_smb2_request_error_ex() must call smbd_smb2_request_done_ex() in order to do the padding correctly on compound replies.
Jeremy.
commit 8bf7942fa4a5aceda3b01e9d5ad555a444b80faa
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 13:43:42 2010 -0700
Ensure vectors are always allocated with consistent size. Removes one byte alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes.
Jeremy.
commit eacf5b235dd27ef844ebee80ded37ec7ecdf8ab2
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 13:42:55 2010 -0700
Fix valgrind error where a strdup of name reads one byte beyond the end. Ensure buffer returned from inotify is null terminated.
Jeremy.
commit 4fc59089c81b251b4fab17f170e96bd6dac02490
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Tue Apr 20 00:23:42 2010 +0300
Removed more excess looping and fixed problem with incorrect IO flag handling.
commit cea24c4620a782fec4a5e6da0892c9fa6d712d6a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 19 11:38:49 2010 -0700
Remove an unused auto variable.
Jeremy.
commit ba537079cff577237b7df50ab15fabb5b0086166
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:56:30 2010 +0200
libwbclient: wbcFreeMemory deals fine with a NULL pointer
commit 89bbc41d029e2327a9b9a3408c7552ce3e75e855
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:50:11 2010 +0200
libwbclient: Fix wbcListGroups against too small num_entries
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
commit 6d898b45a381b3a93da4ac2c4e1af0487dd838ef
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:50:11 2010 +0200
libwbclient: Fix wbcListUsers against too small num_entries
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
commit 23fd76433ab3f1fe4462e39633bc55e26bf050fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 19 16:08:59 2010 +0200
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERS
metze
commit 629e73eeedb2aea2bda016bbc5559a66e3a86b59
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 19 16:08:41 2010 +0200
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPS
metze
commit da17719241b33f97ecb7e36104d7e8869f3e71e9
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 19 16:07:28 2010 +0200
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOM
metze
commit c293359daf502543fb682fb0c925514c54dbdaf7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 19 15:24:59 2010 +0200
s3: Remove a leftover of my lua experiments
commit 56b4aa326626128c178c838977ef9e3d564b7bc7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 18 14:14:43 2010 +0200
s3: Move the in-memory ccache to the parent
None of this blocks, so there is no reason to keep this in
a winbind child process
commit c04ce964e970b6f08fc768e93f5df2c5cbd09746
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 18 14:10:35 2010 +0200
nsswitch: Add wbinfo --pam-logon
This does a wbcLogonUser with credential caching
commit e0d7a8424264bb9a240409b67d4c363e154097dc
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 21:31:57 2010 +0200
s3: Test for wb ccache access by smbclient
commit 5aa88782ce0615a3d171682fbb13a182e586ec69
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 15:15:00 2010 +0200
libwbclient: remove async libwbclient and talloc from libwbclient.so
Except for tests there is right now no active user of this. We can easily
re-add this when smbd makes more use of it.
commit 76972533da513f8b7a1bca5f6a401d1476a9dba5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 14:20:15 2010 +0200
libwbclient does not need talloc_free anymore
commit 7072cc0c9d6b64f286bdb325bdc78aa7dba62ada
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 22:11:08 2010 +0200
libwbclient: Make wbcListTrusts not use talloc
commit d582caa1755114bda9e8789c444bb28c663a7e6b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:52:08 2010 +0200
libwbclient: Make wbc_create_error_info not use talloc
commit f4c8f5146c6ee06e9ca77d77cb7f19e522ca31ff
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 14:01:23 2010 +0200
libwbclient: Make wbcCredentialCache not use talloc
commit 802876af3b29a628f9489f17424b83cb17b194e0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 11:58:04 2010 +0200
libwbclient: Make wbcAuthenticateUserEx not use talloc
commit 406e55fafb54059a3fe91aa0111e83dad2fac6d5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 11:57:39 2010 +0200
libwbclient: Make wbc_create_logon_info not use talloc
commit d36829c108eb161fd20894c6b03a0f0f0e73a1be
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 23:08:20 2010 +0200
libwbclient: Make wbc_create_auth_info not use talloc
commit 1ecdff2bf8fcf857c3b452f7259cbc1078954c06
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 22:22:17 2010 +0200
libwbclient: Make wbc_create_password_policy_info not use talloc
commit ac8860d83d85ee80db510fe214abbfdc2bfdbef8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 20:16:14 2010 +0200
libwbclient: Test wbcGetGroups
commit fc2cca5c28a603dc656b405019f82cafbe0c1d6a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 22:20:04 2010 +0200
libwbclient: Make wbcGetGroups not use talloc
commit f6a34cb0e0305e0b5d393e4ee7a8ae86bde1e9a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 19:57:48 2010 +0200
libwbclient: Make wbc_create_domain_controller_info_ex not use talloc
commit d959fec39e636b531c36e4be88d7c97a86a8a1ce
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 19:57:11 2010 +0200
libwbclient: Make wbcLookupDomainController not use talloc
commit df831df6668dcdf3ccc1681383d085f38f402e9c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:45:36 2010 +0200
libwbclient: Make wbcLookupUserSids not use talloc
commit 460e2d5dada63786cce168b704ea1c005be6db2e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 15:51:27 2010 +0200
s3: Change the make test password to "testPw"
This way we can change back to it when testing testing wbcChangeUserPassword,
"test" is too short (<5 chars)
commit 3aaa07afea4fa66e2767fd3fb8f06b0018aaefa8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 15:50:31 2010 +0200
libwbclient: Test wbcChangeUserPassword
commit 496c459388f56f9c79a3ca1cc1a913946d4e62be
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 14:05:57 2010 +0200
libwbclient: Abstract out test_wbc_authenticate_user for reuse
commit 9d0629d1552cac93ad8b746fa60122432762e6ac
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 16:28:05 2010 +0200
s3-winbind: Allow changing the password for pdb
commit 45eeed2893e569483136c3f998eacb776d52e1ce
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 16:44:16 2010 +0200
s3: Convert WINBINDD_PAM_LOGOFF to the new async API
commit 518a4f5423bb360cf886aa1ce951f5323f4b12f9
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 12:35:14 2010 +0200
s3: Convert WINBINDD_PAM_CHAUTHTOK to the new async API
commit d869e7a0d85a4719078437539267c4acdf97dece
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 30 23:02:36 2010 +0200
s3: Convert WINBINDD_PAM_AUTH_CRAP to the new async API
commit 61ec0f571ad81dc101fe6de7a8e9674a7119cf2b
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 17:52:38 2010 +0200
s3: Convert WINBINDD_PAM_AUTH to the new async API
commit fddef8fd0ae169ebd2f20d9cc2458d2df44110a0
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 13 22:52:17 2010 +0200
libwbclient: Test wbcLogonUser
commit 8869480f015215a8c9bf77cc6c646a4a02979f1d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 19:50:25 2010 +0200
libwbclient: Make wbcAddNamedBlob not use talloc
commit 8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 15:03:49 2010 +0200
libwbclient: Make wbcResolveWinsByIP not use talloc
commit 1637be5c557e2e902568338c69967da6b0e7da27
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 15:03:20 2010 +0200
libwbclient: Make wbcResolveWinsByName not use talloc
commit f3e87ecd2c18c5ed56fa018925685d10f9804af0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 15:02:40 2010 +0200
libwbclient: Make wbcDomainInfo not use talloc
commit 7f454c3078d27d14395fbb9b38a08b869e49d6a6
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:59:07 2010 +0200
libwbclient: Make wbcInterfaceDetails not use talloc
commit b62e57cec21fd8428ceb66e13a1e9856f8c6d40e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 21:38:38 2010 +0200
libwbclient: Test wbcAuthenticateUser[Ex]
commit 77c0b015c7719d3f0e3a97c4d339899857f019ab
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:46:11 2010 +0200
libwbclient: Make _SID_COMPOSE a function instead of a macro
commit b828985aa19f9d03823377cf64b7fb915ce0ba42
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:33:17 2010 +0200
libwbclient: Make wbcGetDisplayName not use talloc
commit ae3edf85d46f234eada5a7e36d97026e44005ea2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:36:22 2010 +0200
libwbclient: Test wbcGetDisplayName
commit 8f3ab439f329234a47d8c32435a2e9606e8037da
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:31:57 2010 +0200
libwbclient: Make wbcListGroups not use talloc
commit 1152cba5d2bb241a87511b7289c4714ea3990e53
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:26:22 2010 +0200
libwbclient: Make wbcListUsers not use talloc
commit cafba3d7a772385da36f7571690ba2ce2262cef5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 14:16:19 2010 +0200
winbindd: Fill in num_entries where available
The server implementation of WINBINDD_LIST_USERS, WINBINDD_LIST_GROUPS and
WINBINDD_LIST_TRUSTDOM knows the number of entries returned.
Bump up the version number so that a newer lib does not rely on something an
older winbind does not do.
commit e80d0ecf8b716ddb1d5bdeeb641bfee10e35c345
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 12:58:14 2010 +0200
libwbclient: Make wbcGetSidAliases not use talloc
commit fec712aca5d05a20f6f169fc821727737cd251c0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:59:22 2010 +0200
s3: Add some debug to GETSIDALIASES
commit 9e353a917bd2aca572ac8c249dd4690ab2de94fd
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:53:07 2010 +0200
libwbclient: Test wbcGetSidAliases
commit 4f5100bcb2d720351d7ba1cc721e234236e69ea3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:36:01 2010 +0200
libwbclient: Simplify test_wbc_domain_info a bit
commit 679e7ef6e68c9d355cc5f1764600ee8999b3e021
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 15:28:42 2010 +0200
libwbclient: Fix some pointless macro calls
commit 3d3b84bdec1406ef888b15d1fcd181b316fa7a86
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 12:57:13 2010 +0200
libwbclient: Take -21 into account in length guessing
commit d29a5e69f4343f0876c374968dc00198243afef2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:45:20 2010 +0200
libwbclient: Fix some pointless macro calls
commit 4f88b7015de4a802ca98e6b9935b4d79115e48e0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:44:49 2010 +0200
libwbclient: Make wbcLookupRids not use talloc
commit ab892389db3d7e42e617d38f24c1dff73d608bec
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 13:37:01 2010 +0200
libwbclient: Add wbcAllocateStringArray
commit 250bea02b586219275efc87d65fbae32b867ba86
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:52:53 2010 +0200
libwbclient: Test wbcLookupRids
commit 0a966980f445a9fd9c39ca35dcaaec55c33ac749
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 12:01:43 2010 +0200
libwbclient: Make wbcLookupSid not use talloc
commit a0162303c6e23c8f1d72a0e788d2665a97d16b4b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 11:59:29 2010 +0200
libwbclient: Add wbcStrDup
commit ed1981db05af87a48b17866b7e886d1e25fa8f77
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 11:14:23 2010 +0200
libwbclient: Convert wbcSidToString to not use talloc
commit b75106b2ed378b544fada49f1b80a5e6d9921e21
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:16:32 2010 +0200
libwbclient: Make copy_group_entry not use talloc
commit 041be88bd04a8a054b8fcb254225889b6069de55
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:16:07 2010 +0200
libwbclient: Make copy_passwd_entry not use talloc
commit 20011f4681754160c59725c066357d902e00102c
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:14:39 2010 +0200
libwbclient: Make wbcGuidToString not use talloc
commit 769997786c62770873315363c5dc20661657fcbd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:14:03 2010 +0200
libwbclient: Make wbcLibraryDetails not use talloc
commit f2a04a0ccb7276dcd23efeade59368540c6570b2
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 6 22:10:22 2010 +0200
libwbclient: Add wbcAllocateMemory()
This prepares for removing libwbclient's talloc dependency. It is a
non-hierarchical "talloc-lite" that has destructors. It is necessary because we
have the catch-call wbcFreeMemory call. Individual wbcFreeXXX calls for the
different structures wbclient returns would have made this easier, but
wbcFreeMemory is the API we have to live with.
commit 456351cdb184f59374cecec8d7c44add29b986dd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:54:40 2010 +1000
s4-waf: follow the configure directories for the empty install dirs
Thanks to Metze for spotting this
commit d25e1e15d387d24fe045fbb162de57963c7b15a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:00:51 2010 +1000
build: update waf from svn
this adds bld.install_dir()
commit db0eb2f239c9bbd3aeff06eee31102830eb42f11
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:00:36 2010 +1000
s4-waf: install some missing empty directories
commit d2b35c3a24b9bae88b996f8bc70e6a6012fd16f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 21:00:16 2010 +1000
build: make compare_install.sh also check for missing directories
Thanks to Nadya for pointing this out
commit 0b2e5debb004ed586e0ec7d926311c32a8b8f9e6
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 11:53:11 2010 +0200
s3-smb2: fix some c++ warnings.
Guenther
commit 7b84d36f19a29e33735bde08151e540d4c2b86b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 11:46:03 2010 +0200
s3-spoolss: fix samr_ValidatePassword_Change.
Guenther
commit 7277668128e3a8c138e9dc48ce6c2e85d1aac34f
Author: Günther Deschner <gd at samba.org>
Date: Mon Apr 19 11:45:33 2010 +0200
spoolss: move up enum spoolss_Build in the IDL.
Guenther
commit 2033314a7ca731e9cea76cb3296c3dc85660ae30
Author: Günther Deschner <gd at samba.org>
Date: Sat Apr 10 01:44:08 2010 +0200
s3-lanman: use spoolss for api_WPrintJobGetInfo().
Guenther
commit 0c80d12656267c4e932f8e22750e827d53997f07
Author: Günther Deschner <gd at samba.org>
Date: Sat Apr 10 01:33:37 2010 +0200
s3-lanman: use spoolss for api_WPrintJobEnumerate().
Guenther
commit 0277143ca6224e4219d6b95746c02c8ca9a6abf6
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 13 23:51:36 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 5b3c22e96fdc54cb60ac6f4d5e9a76a83fe477af
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 13 23:50:58 2010 +0200
spoolss: make spoolss_SetPrinterInfo0 match changes in spoolss_PrinterInfo0.
Guenther
commit fdf4d3eed3e1c461f4b8b67f2a563a86aecc0000
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 18:00:47 2010 +1000
s4-waf: fixed WINBINDD_SOCKET_DIR for wb_common in s4
s4 uses a different path for the socket
commit 540d197e499f1ab6fb27127c18fc9e4fe913393f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:18:53 2010 +1000
s4-test: we don't need -s set for samba_dnsupdate
this is now handled by SMB_CONF_PATH
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 43ca57d0887495fdbf2e8dd8c7afb9d521f220f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:18:20 2010 +1000
s4-dns: use neater python for reading lines
files are line iterators
commit 162e7bc5b4679ab9be66730ea6b36ed3d25f0643
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:17:07 2010 +1000
s4-param: set SMB_CONF_PATH when we load a smb.conf
this is inherited by child python processes, to ensure they get the
right smb.conf if they don't have one specified. Fixes bug 7301
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit dcf35ab487f9213d4424493257903971ebe3ebbf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 17:14:33 2010 +1000
runcmd: use tevent_re_initialise() to close sockets
this ensures that all event fds are closed in the child
commit 8208f8e5e53f59866949b6169bc107f8f17e7a0e
Author: Kai Blin <kai.blin at biotech.uni-tuebingen.de>
Date: Mon Apr 19 09:27:50 2010 +0200
s3 i18n: Fix up missing newlines in more pam_winbind translations
commit e56dc831622271af81ce5bb90a749c2de80fedb2
Author: Kai Blin <kai.blin at biotech.uni-tuebingen.de>
Date: Mon Apr 19 09:03:01 2010 +0200
s3 i18n: Fix up missing newlines in pam_winbind translations
At least in the languages I could read, the newlines were indeed
missing.
commit b6dff759f7016bb4820fc8f9d660bf565c7caeee
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 15:58:37 2010 +1000
build: added --cross-answers support
This allows you to easily cross-compile even without a --cross-execute
emulator
See http://wiki.samba.org/index.php/Waf#cross-compiling for details
commit 5040e2a6fbe8b240b1d445e1260bb95203618b75
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:49:00 2010 +1000
s4-dev: expanded selftest-vars.sh to match current testenv
commit e6cbbd9640e0e79653820e6cd5ea7b30c2e0f6bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:43:53 2010 +1000
s4-python: PyErr_SetString() will crash on NULL strings
use nt_errstr() when no error available
commit 93f4f7a0375b95540d7f701c295b88ed9c6322d8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:43:12 2010 +1000
build: fixed a python-3 indent error
commit 4e51bf1ffdf55b8292383415bcc23803c8a56bc9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 19 13:42:53 2010 +1000
build: expanded testwaf to include cross-compiling and python versions
commit 59fa1e1890e0a007f56776d9539bf3f1ce074a34
Author: Jeremy Allison <jra at samba.org>
Date: Sun Apr 18 20:23:54 2010 -0700
Final fix for #7331 - Compound async SMB 2 requests don't work right.
Don't free the cancelled SMB2 req early, let the cancelation
function take care of it. Return a NT_STATUS_CANCELLED when
we find and cancel a request. Fix our SMB2 error returns to
correctly set the structuresize to 9, and add the expected
zero byte (see section 2.2.2 in the SMB2 spec.).
This causes Samba to pass the test program in this bug report
that W2K8R2 fails (heh heh :-). This is because we always cause
compound requests to get to a cancelation point before dealing
with a cancel request.
Jeremy.
commit 058d4a21afa843241c6a91a251fb46a327037194
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 21:39:09 2010 +0200
s3: Fix indentation in remove_ccache
commit 0264c0c337058c03f9b4aca915f6af5e6a7731b0
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 20:09:45 2010 +0200
s3: Fix a memleak in discover_dc_netbios
commit 36e57fa728fc98102d3f40d4341d22e6beb3802a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 17 19:24:34 2010 +0200
s3: Fix a typo in winbindd_ccache_save
commit a97f2a0a9c0f1c148a0152202296bb078103b40c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 18 14:09:22 2010 +0200
nsswitch: Fix a memleak in wbinfo
commit e1ca45179419f96b831cc929ff46df39a4766388
Author: Ira Cooper <samba at ira.wakeful.net>
Date: Sun Apr 18 15:02:23 2010 +0200
s3: Improved support for GAMIN.
Support the FAMNoExists API for gamin to reduce cpu use and problems when
using GAMIN as FAM for vfs_notify_fam.
commit 69ce29826cf209d79b4aa63e6d1f30ccf7bfd7ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 22:57:59 2010 +1000
build: more dependencies on /usr/bin/perl -> ${PERL}
commit 3ca5fd8e030c485e2b1df1bac9f4cd7fcd4041ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 22:55:16 2010 +1000
build: cope with perl not being in /usr/bin/perl
This should fixed the pidl build on SerNet-NetBSD5
commit 211bf1ea170966eb283e45339806ac45aec44d58
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 21:47:00 2010 +1000
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
This was left over from the automatic conversion of the config.mk
files
commit f8e3e5ce074ba08aefba3b4e7fe804c08687dbfa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 21:08:11 2010 +1000
build: fixed install of binary targets that are in subdirs
this should fix the smbd/smbd install problem with Kai's s3 waf build
commit 639fe346670c760ec6a1536e2d3962e1c301b13c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 19:41:47 2010 +1000
build: support make V=1 for verbose build
this also adds support for other options, such as "make TESTS=testpattern"
commit 7aa4c11fc4c25df6ea25dfe28d3dca851b91f909
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 18:21:04 2010 +1000
build: more adjustments for the ABI type name maps
- use 'va_list' instead of 'struct __va_list_tag *'
Using the C name for va_list is preferable
- add support for negative ABI name matches in abi_match=. That is
used to exlude ldb_*module_ops from the ldb ABI
- don't include the ldb module ops or backend ops in the ABI
commit 1a73e967f594c739f7533fdce0e1c18579d0bf21
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 17:35:53 2010 +1000
build: added abi_type_maps for FC12 struct va_list
fedora12 x86 uses "struct va_list"
commit 3f1ebe805bbd38a4cf34f9feb1837f92a8de75d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 17:31:24 2010 +1000
build: don't depend on the word size of nm output
the first column varies in length for different architectures
commit 1aa80f5788da34cd10141e6bfb5c263346dda75e
Author: Jeremy Allison <jra at samba.org>
Date: Sat Apr 17 22:42:23 2010 -0700
Second part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Cause us to match W2K8R2 by sending an interim compound reply
followed by a async reply.
Jeremy.
commit f96353adcf865aa1e809a87f1f9b29186307f05d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 15:39:59 2010 +1000
s4-waf: rebuild signature files with the api type maps
This is not strictly necessary, as the old types would compare equal,
but it is neater to use the generic type names
commit 8dc2db0f6d61fc26fbecd27afbee5147ad358756
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 15:39:14 2010 +1000
build: added abi type maps for _Bool and __va_list_tag
This allows us to make the signature files platform independent
commit 77768dbd75d0f4b41c41d7b2fc86a2994636635a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:48:09 2010 +1000
ldb-waf: enable ABI checking in ldb
we use separate signature files for ldb and ldb-samba4, as the samba4
varient of the library has many more public symbols
commit 7d90b5960229f8ddd2aeb64fcf0834a3ad461acf
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:47:33 2010 +1000
ldb: mark the tdb backend in ldb as _PRIVATE_
commit 5e26f65f790227a8767635c55df7b425daf019e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:47:13 2010 +1000
tevent-waf: enabled ABI checking in tevent
commit 2550bbc981a25b5a37525d99201498b81bb93572
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:47:00 2010 +1000
tevent: mark backend init fns as _PRIVATE_
these are not supposed to be exposed in the library
commit 805f651dbf70f90ea7dab192cbe498b41fc47dc3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:46:33 2010 +1000
tdb-waf: added ABI checking for tdb
commit ef496e8d1de7cd50c1d4c05d1cab8c4c64a9280b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:46:21 2010 +1000
talloc: mark public functions as _PUBLIC_
commit 1bcd900912b13b6aed658c7cc34e3b7d55cf35c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:46:04 2010 +1000
talloc-waf: added ABI checking for talloc
commit 7818e2cc8c1f9701329e80da7771a9141a464db0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:45:30 2010 +1000
replace-waf: hide symbols in libreplace if a builtin library
commit 4e448e2d2c140f5d4ea85938d09672e9fa26994e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:44:58 2010 +1000
libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h
these are needed for all libs that use ABI checking, so libreplace
is the logical place for now
commit d81eccc0baa26ae4c92680085b28687897ee9904
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:44:07 2010 +1000
s4-waf: put the --xxx-wrapper options in 'developer options' group
commit d3dea9b1248edf9a3e96e88bea8de3e098fbc2fe
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:43:15 2010 +1000
build: added ABI checking to the WAF build
See http://wiki.samba.org/index.php/Waf#ABI_Checking for details
commit 877439e26422568bd5ca6ffc019c3ae1d6c2499c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 18 12:41:56 2010 +1000
build: added a script for generating ABI signatures from shared libraries
commit bf45b4f4fda2c4e0d697bb30720c780325c3cd84
Author: Jeremy Allison <jra at samba.org>
Date: Sat Apr 17 21:20:17 2010 -0700
First part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Gets us handling SMB2 compound async requests similar to W2K8R2
(and triggers the same client bug in the Win7 redirector). Great
thanks to Ira Cooper <samba at ira.wakeful.net> for helping with
this and to Metze for the wonderful async framework. The one
thing I need to fix to make us identical to W2K8R2 is that
when a compound request goes async at the end W2K8R2 splits
the replies up into a compound non-async reply followed by
a separate async reply. Currently we're doing the whole thing
in a compound reply.
Jeremy.
commit e0d6f1a6dafef712c90a5df21fa42791e5c9b140
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 17 20:42:37 2010 +0200
s4:dsdb/dns/dns_update.c - fix a typo
commit c678563efec82e84c9c86309cbf9495950a02b8c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 17 20:08:15 2010 +0200
s4:kdc/db-glue.c - use "TALLOC_FREE" insteal of "talloc_free" for the "priv" context
Also after a free "priv" could be != NULL and may be freed again.
This should fix bug #7365.
commit 827ccdf6b9c36b7fe0c9b818debd422edceead37
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 23:22:01 2010 +0200
s4:kdc/wdc-samba4.c - fix integer counter types
commit ad898fd63815823309019403ef32f516f4dfbf86
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 23:17:15 2010 +0200
s4:kdc/db-glue.c - fix integer counter types
commit 64f4183a3549205915354761eb211f031a632708
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Sat Apr 17 18:16:25 2010 +0300
s4:Added a test for correct CO expansion in SD creation.
commit f4b73f4e240cee0cc24dc29c84473d6068ab3139
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 15:06:17 2010 +0200
s3: Slightly simpify samr_ValidatePassword_Reset
commit 3a362b45c623afb031798570836cebef3e5ebc8a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 15:06:03 2010 +0200
s3: Slightly simpify samr_ValidatePassword_Change
commit 6f998b4b9a46f48b98b947f79bf9c83ec7a0b9fd
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 15:00:54 2010 +0200
s3: Slightly simplify the logic of check_password_complexity()
The whole routine was just one if-branch. Do an early return instead.
commit b0b077f27c8f87dedf8fc7898c54e2c2575c1be6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 16 14:16:40 2010 +0200
s3: Fix some nonempty blank lines
commit 4567bf9df53e62c0f30279235d56d13cb38de190
Author: Andreas Schneider <asn at samba.org>
Date: Fri Apr 16 11:04:27 2010 +0200
s3-winreg_nt: Fixed QueryValue with data=NULL to get the length.
commit eef184301adccb141cc0da4cee960a60ae38b569
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Fri Apr 16 14:28:09 2010 +0300
s4:Replaced dsdb_get_dom_sid_from_ldb_message() with samdb_result_dom_sid()
commit 20fc769179377bf037f4d5efe1afbaf77d4c9292
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Apr 16 09:23:30 2010 +0200
s3-docs: Improve "winbind nss info" section in man smb.conf.
Karolin
commit ef05007257b224b803d1814185c7edd12d794316
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 16 15:33:07 2010 +1000
s4-rpc: fixed the build with the old build system
../librpc/gen_ndr/ndr_drsblobs.o was being linked in twice into
drsblobs.so
commit 75f5c3cd97e90ba19dde3d3d3b3679d5e14abe8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 17:15:25 2010 +1000
s4-net: allow a username to be displayed in setpassword errors
the filter is a bit too cryptic
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 046c5824e4f28d07c96e5ad21bef415cfdcf090e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 17:14:46 2010 +1000
s4-net: nicer error message (and no exception)
in net newuser and net setpasswd we shouldn't be throwing python
exceptions on normal user errors like unknown user
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 22d7a06522088e86eb19b104f24cdf19e576a668
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 17:13:37 2010 +1000
s4-test: added KRB5_CONFIG to selftest-vars.sh
commit 48330c828e5058823c6df09736e8e8eaefdd6565
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 16:25:50 2010 +1000
s4-test: check that a weak password is rejected by kpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit a7f8c197adbc684dd9de6356ea1a5a9b59a5c322
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 19:01:17 2010 +0200
s4:rootdse: only return "tokenGroups", when the client asked for them
metze
commit 13bbfa3fcabfc97a57ae56ef916bf13137fb5290
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 15 18:41:56 2010 +0200
pydsdb: Fix memory leak on invalid parameters, formatting, trivial
typos.
commit ce28f854c0c8c62c6f13989ec4d2f9e890ffd0e1
Author: Matthieu Patou <mat at matws.net>
Date: Wed Apr 14 00:46:51 2010 +0400
s4 python: add a unit test for function dsdb_get_oid_from_attid
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 634caed116d7e369d5a0002ab93d03744b2e0b1d
Author: Matthieu Patou <mat at matws.net>
Date: Sun Apr 11 02:02:50 2010 +0400
s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB object
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d784ecec555a3d9737e6f4b3894f27904d2b833c
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 00:51:00 2010 +0400
s4 python: Add a function to get the oid of an attribute when the attid is known
This function is mainly to help decoding replPropertyMetaData in python
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 9c2aed862d2ecbc4047cd0326250096767731c05
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 01:00:08 2010 +0400
s4: Add python binding to waf so that the drsblobs.so is also built in waf
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 6d9ce1fee3a87ed0961c3d9e009008a98efd10c2
Author: Matthieu Patou <mat at matws.net>
Date: Tue Apr 13 00:58:50 2010 +0400
s4: Fix python binding for drsblobs
This binding needs symbols in drsblobs_c.c otherwise we have unresolved symbols
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b8d6f1ce892c36840d392021b528e8c3bdb875dd
Author: Matthieu Patou <mat at matws.net>
Date: Thu Apr 8 01:44:22 2010 +0400
s4 provision: Remove hard coded ACL for GPO objects
It is no longer needed to hard code ACL for GPO object as we have now code
that calculate ACL from defaultSecurityDescriptor and inheritance correctly.
In fact the resulting ACL returned by this hard coded value is a bit wrong as
some ACE are duplicated.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f1ecdb980b8a63b7facd62e737ba49d5bfddf80b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 16:30:02 2010 +0200
s4:setup/wscript_build: install dns_update_list into ${SETUPDIR}
metze
commit d19033e1e91bf93cc73e7cedaf84d536fa28e533
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 16:26:59 2010 +0200
Revert "Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder""
This reverts commit a34eafc693d8750c0883823068e5c6f7355efa04.
This commit was correct.
metze
commit d8c3541ca8b012cb686a1517886132da574e8c55
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 16:25:37 2010 +0200
Revert "s4:"dns_update_list" file: install it properly into the private directory"
This reverts commit fde707aa0c563d239c2f8c442cddfee0b6ff057f.
This is wrong, we need to install it into the setup directory,
so that provision will find it and copy it to private dir.
metze
commit 7233699ad849b0771c946eb47b31ff50f64cefbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 18:26:38 2010 +0200
s4:dynconfig/wscript: ${LOCALSTATEDIR} already has var/ included
metze
commit 279bf89fb37cc4d2a4b514301bc5bdb61ca48740
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:22:41 2010 +0200
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
metze
commit 3f8e9b919dc74fb8aae903e03344fe62cadf5fd5
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:21:13 2010 +0200
s4:libnet_passwd: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE for SetPassword
metze
commit 2570f8dcdadcc889dcc33824b2dcfe4e6050781b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:20:21 2010 +0200
s4:libnet_passwd: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE in the ChangePassword calls
metze
commit b2261c82722d5c2f5479ec3177a0fc0e17163aca
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 17:19:19 2010 +0200
s4:libnet_rpc: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of NT_STATUS_NET_WRITE_FAULT
metze
commit cec0e86ec84a1347a330430337c6b8a643381001
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Apr 15 18:21:55 2010 +0300
s4:Added a test to make sure we ignore ACEs with ID flag set.
commit 205c8266112d85543c3667854ac58e41c02fed17
Author: Nadezhda Ivanova <nivanova at samba.org>
Date: Thu Apr 15 13:54:23 2010 +0300
A bit of refactoring in the SD creation code.
commit e9d4f1578cdbd03ddc63d22822483add20e753d4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:11:50 2010 +0200
s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
commit 51f7b1382b91053ae96b2cd14dae17ad6eea0df4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 21:48:36 2010 +0200
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
commit c85884ecc889945721303818d6fa18081403b3c2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:14:29 2010 +0200
s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
commit 98464853f4c508ac26cd0f446dc1365b4c7668c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:13:55 2010 +0200
s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
metze
commit 2aba84581616ebf58d3793c1213e2d8c652a2752
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:13:27 2010 +0200
s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
commit 6f4218a4aa097c3b89224bd3cba2d9d2649f28d5
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:12:30 2010 +0200
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
metze
commit 1864cd8fa79cf109460516973c67e785fd0a7644
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:12:10 2010 +0200
s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
commit 0cc24f2f9b36241afd4240c5d312052f5010d014
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 11:04:04 2010 +0200
s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
metze
commit cf9d425e3d9646c6b4ea1b57a39cca23dfd26ab7
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:58:53 2010 +0200
s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
metze
commit de94672fe083e7a335846353c61b5c0aa08ac0b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:45:05 2010 +0200
s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
metze
commit bb4a958c6df8bdccc5e7f8ac332bac5784924a8a
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:36:22 2010 +0200
s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
metze
commit 34a6350715ddeea88dbbd13b17858b0890d85630
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:36:07 2010 +0200
s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
metze
commit 61e53c078203ddb11c7f9f04492ade7d95d21f02
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:10:24 2010 +0200
s4:librpc/rpc/pyrpc.c: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
metze
commit a8e81c25ebe7a673c2c6e046dd6a0a829c4af409
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:35:37 2010 +0200
pidl:Samba4/NDR/Client: map NT_STATUS_NET_WRITE_FAULT to the matching NT_STATUS_RPC_* code
metze
commit fed16f4015f8209dc4705fc1464fc45a093d9349
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 20 11:31:55 2010 +0100
librpc/rpc: add dcerpc_fault_to_nt_status()
For now this only handles fault codes with we've seen yet
and for which we have explicit torture checks.
metze
commit c0736c70d6ab442055f998e7b1308a0536f99a95
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:38:03 2010 +0200
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
metze
commit 1293712b7d098aca12d7d2e043dc8ee87fb02aec
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:14:14 2010 +0200
s4:util/net/drs: don't look at p->last_fault_code for debugging anymore
metze
commit 146ce6ead122f6f4ab18998c91d1bbdd1c63d336
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:12:52 2010 +0200
s4:libnet/libnet_join: don't look at p->last_fault_code for debugging anymore
metze
commit 7f6cdad706b7171d76eddae40b17a07acc15aef8
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 09:29:33 2010 +0200
s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKET
metze
commit a1cf6a52af5eb9766105870c2eb5470855fbd1e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 09:24:56 2010 +0200
s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not the pipe path
metze
commit 2fd0137a87cdefb5626f5537201af8f93eb0be8b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 15 08:28:20 2010 +0200
s4:selftest/wscript: --enable-selftest and --with-selftest-prefix are configure options
metze
commit 0bda3bae4cd68285e106261ffe79a1da1f778861
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 14:43:43 2010 +1000
build: throw a fatal error for duplicate target declarations
We don't want someone to declare two subsystems of the same name but
with different source files
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit daf4ad59057d9a7970393d94a4f1c3dfd1e77d21
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 14:42:13 2010 +1000
s4-waf: removed a duplicate declaration of python_netbios
commit 34887de6b0615f0f63f497f9020d1c059643f8ec
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 13:59:51 2010 +1000
build: ensure we don't recreate library loops in expansions
after removing library loops from the dependeny graph, we re-add
parent dependencies. We need to ensure that we don't re-add a
dependency which re-creates the loop we so carefully removed.
This also adds a final check for library dependency loops, and shows
an appropriate error if one is found.
commit 167ba0eac902238d970b8312a6cbc87cf48af91a
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 09:14:10 2010 +1000
build: make the 'wrong version of waf' message even clearer
suggest ./autogen-waf.sh
commit 208eb7469d9208f2aa8bff5f07ef90be3f3d7b1d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 15 08:55:26 2010 +1000
build: check that the user is not using an old /usr/bin/waf
some systems have /usr/bin/waf installed, and its quite old
commit 8693ae741c98b42a900d1f3b529326cca56297c9
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 14 21:48:38 2010 +0200
s3: Fix a typo
commit e1e2195a4ab60a74ca0a11f8eeb0ba1abfbb37a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 22:06:51 2010 +0200
s4:torture/rpc: rename rpc.h => torture_rpc.h
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
commit bcd647f943e391bdb98233c168d2b35e244e2bf4
Merge: e81e057b6d70d70616132593dc2acbfe77cb459c bc6a43aeb41fc5ccf3a34f2ec91e1328ae82d90e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 14 23:38:05 2010 +1000
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit e81e057b6d70d70616132593dc2acbfe77cb459c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Apr 14 23:37:47 2010 +1000
build: try to honor MAKEFLAGS from make
This means "make -j" and "make -k" now do roughly what is expected
make -j will use the number of CPUs on the system, regardless of the
number after the -j (as MAKEFLAGS doesn't contain that value).
make -k will will continue on errors
commit bc6a43aeb41fc5ccf3a34f2ec91e1328ae82d90e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 17:36:51 2010 +0200
s4:torture/rpc/winreg: fix compiler warnings
metze
commit d0180570b3e1d0a4aa9c7a55af9fd3b4c925ec77
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 14:13:08 2010 +0200
s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at the application result
metze
commit 74c4c7fe4f8ed9479a126d1217dfcc084ff31791
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 13 19:12:43 2010 -0700
Don't set "requested_posix_capabilities" in the sync code, already done in the async.
Jeremy.
commit a1e0e1cbcfefa513982f8351fb8b13fbd61c2d54
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 13 18:42:24 2010 -0700
Add basic DFS tests.
Jeremy.
commit f3b8e31f83c44f1e72b15711542d817af7ec9506
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 13 18:41:14 2010 -0700
Split out the client unix capabilities to those the server offered, and those the client asked for.
This fixes a bug when using encrypted transport and DFS links. Found
by my basic DFS torture test, which I'll check in next. Testing *rocks* :-).
Jeremy.
commit 589a42e2da7d7cd382deb94c57b0c6dbca269e55
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 13 12:00:06 2010 +1000
s4:auth Change auth_generate_session_info to take an auth context
The auth context was in the past only for NTLM authentication, but we
need a SAM, an event context and and loadparm context for calculating
the local groups too, so re-use that infrustructure we already have in
place.
However, to avoid problems where we may not have an auth_context (in
torture tests, for example), allow a simpler 'session_info' to be
generated, by passing this via an indirection in gensec and an
generate_session_info() function pointer in the struct auth_context.
In the smb_server (for old-style session setups) we need to change the
async context to a new 'struct sesssetup_context'. This allows us to
use the auth_context in processing the authentication reply .
Andrew Bartlett
commit 4e2384e2426745023553afb21270165872c61b02
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 13 18:24:43 2010 +1000
s4:auth Allow the simple 'struct auth_session_info' generator for all users
This code isn't ideal, but it is better than needing to consult the
main SamDB in things like a torture test.
Andrew Bartlett
commit 577bceb19bed18db053456b2b686ba04df1d7456
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:27:49 2010 +0200
s3-winbind: Authenticate SAM users
commit 55838a8c021020c057b514cc97d5196eaa313764
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:09:13 2010 +0200
s4-heimdal: Fix typo in comment.
Karolin
commit b0a9e5ba77ad56ba32a912acb288431c52aefcad
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:08:22 2010 +0200
s3-winbindd: Fix typo in comment.
Karolin
commit fce533e3bed54e8b6255142f97d6b2a5ecf5f18d
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:07:11 2010 +0200
examples: Fix typo in comment.
Karolin
commit 6389fac6db2f54d148222009b5e209cef5c6bdd7
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Apr 13 20:06:14 2010 +0200
s3-docs: Fix typo in man idmap_ad.
Karolin
commit a68eb378a584c638d81f2e1ec645a318e37f103f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:07:21 2010 +0200
s4:librpc/rpc: the python bindings should use !NT_STATUS_IS_OK instead of NT_STATUS_IS_ERR
Everything but NT_STATUS_OK is an error here.
metze
commit 59b1078ec5a074bb812546329a12ea3941ab11ef
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:06:38 2010 +0200
s4:librpc/rpc: make PyErr_SetDCERPCStatus() static
metze
commit 84c901a619ad4b20c36b84c435fb869e8374bd8a
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:45:29 2010 +0200
s4:"samdb_server_site_name" uses - proof for out of memory
commit 34ff1c6944a56365390b252f516b6d3aafc8ac50
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:40:43 2010 +0200
s4:samdb_server_site_name - fix indentation
commit 1e08449136e87f70d581714284f86f88d54c20fd
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:29:12 2010 +0200
s4:fill_netlogon_samlogon_reponse - fix a typo
commit 7d5a8c3506b3bb4005820ce2ab6687bbf9c2dd40
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 09:53:28 2010 +0200
s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"
Test for right domainname handling.
commit aa02f4425579d5fb45da3216462273c973fcaa64
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 18:00:49 2010 +0200
s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementation
On the base of the "fill_netlogon_samlogon_response" call.
This removes duplicated code.
commit 4d7d6ee8202f75b44c25a747e83ddda5466aa509
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 15:18:02 2010 +0200
s4:fill_netlogon_samlogon_response - some rework of the detection code
To make it compatible by the use of the "dcesrv_netr_DsRGetDCName*" calls.
Some result checks were redundant so I removed them. In other cases I added
debug outputs. Sometimes the debug messages were misleading.
commit 3909088e13c24183d22df6a77cd0717a6ed50c72
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 21:40:59 2010 +1000
s4: prevent the autoconf build from removing source4/librpc/gen_ndr/README
commit c10d267a7620d53e34f79c2514849cd82a47b9aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 21:33:04 2010 +1000
s4-waf: don't try to use the system lib for the library build
when building library FOO, don't try to find the system library FOO
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 483d059c8e08473c9c9b27025bfb80f0d6b89c4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 21:20:52 2010 +1000
tevent-waf: added man page and pkgconfig file
this allows libtevent to build under rpmbuild
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit be813ff2d4a8d85eccc641f0d0739b31f4fdb964
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 13 12:09:21 2010 +0200
libwbclient: Re-Fix a bug that was fixed with e5741e27c4c
> r21878: Fix a bug with smbd serving a windows terminal server: If winbind
> decides smbd to be idle it might happen that smbd needs to do a winbind
> operation (for example sid2name) as non-root. This then fails to get the
> privileged pipe. When later on on the same connection another authentication
> request comes in, we try to do the CRAP auth via the non-privileged pipe.
>
> This adds a winbindd_priv_request_response() request that kills the existing
> winbind pipe connection if it's not privileged.
The fix for this was lost during the conversion to libwbclient.
Thanks to Ira Cooper <samba at ira.wakeful.net> for pointing this out!
Volker
commit fcab3d64f496693c70cc1ff1bcf1cf439a15fcf1
Author: Volker Lendecke <vl at samba.org>
Date: Tue Apr 13 12:27:18 2010 +0200
libwbclient: Remove a pointless variable
commit 974025944e6bd59a79638f185a6268903f396fa6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 12:56:19 2010 +0200
buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with -O3 in the CFLAGS
'CFLAGS="-O3" waf configure' was not detecting dlopen() needs -ldl.
metze
commit 367ba43b63eacb2bffaf8c53c77a343481482939
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 20:13:00 2010 +1000
tdb-waf: added build of manpages and config options for RPM build
Building a RPM from the fedora spec file now works with minimal changes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 42505df161bacc24b6f0bf72baee6995c51a260b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 19:46:29 2010 +1000
talloc-waf: the talloc1-compat lib depends on talloc
It is a library linked to another library, not a 2nd copy of talloc.c
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 58abd9ac81e18276ee3e2dd9b545b1525f67f721
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 19:45:38 2010 +1000
build: for unbundled libraries install devel link too
We need a symlink libFOO.so -> libFOO.so.x.y as a
development symlink
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 16d4d0346daa9678f2969fa1fde52eed58643c00
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 10:09:18 2010 +0200
testprogs/blackbox/test_kinit: reorder arguments to "net time" to fix make test
metze
commit 4cff89a585bddcfe833e13824bb6dc06fbd34bca
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Apr 13 09:38:42 2010 +0200
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
metze
commit ab9e5047d747115df9519ecb00f24d77d43e98ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 17:32:14 2010 +1000
talloc-waf: added the manpage generation and talloc1-compat generation
this allows the RPM spec file to be used with only a tiny mod (using
autogen-waf.sh instead of autogen.sh and using ln -sf for the library
links instead of ln -s)
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 64f860e96a7662379ff5b9edc2b402631ac6fb66
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 17:27:52 2010 +1000
build: added autoconf compatible configure options
This adds --build, --host, --program-prefix and
--disable-dependency-tracking. All we do with them is check them for sanity
and throw an error if (for example) the user tries a cross-compile using
these options
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6661ecbe944567a1813fad46d67554433196aae1
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 09:25:26 2010 +0200
s4:CLDAP - "fill_netlogon_samlogon_reponse" - check for out of memory
commit a894d6cc37c3799d478720f4340fcef57a5d0b4b
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 09:18:33 2010 +0200
s4:acl/descriptor LDB module - distinguish between root and default basedn
The first is the forest base DN, the second the domain base DN. At the moment
we assume that they are both the same but it hasn't to be so.
Nadia, I would invite you to fix the outstanding parts regarding this (I added
comments).
commit 0dffa9caec8925a081e951579dd696810fc9e857
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 15:02:10 2010 +0200
s4:use "samdb_forest_name" for the forest DNS domainname lookup
commit 719a46913bed65932ebe696f441bd88ebd54819c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 14:15:34 2010 +0200
s4:dsdb/common/util.c - add a call which determines centrally the forest DNS domainname
commit 5fc2801c09cdfe74253b52b9bf93d7ecad1a98cf
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 17:19:13 2010 +0200
s3: Cache the username map in gencache
This is for uses with a heavy-weight username map script
commit c116d80053fc21519836008e2782c06c7313d512
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 08:57:07 2010 +0200
s4:remove "samdb_root_dn", "samdb_base_dn", "samdb_config_dn" and "samdb_schema_dn"
They aren't needed anymore.
commit ad9e4073574125b01b3992081be9b2a4d6852cbf
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 08:41:10 2010 +0200
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
commit 8e4c34880a11b2b8a7b5fbb228c26301865a4b4d
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Tue Apr 13 08:24:09 2010 +0200
s4:objectclass LDB module - remove a unneeded newline
commit 79842437684be380407661fc27e64f223a326b18
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 12 21:40:28 2010 -0700
Move to using 64-bit mid values in our internal open file database.
This will allow us to share logic much easier between SMB1 and SMB2
servers.
Jeremy
commit 8a2169d6749498c7929e7533f6b3c9d965b0aa3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 13:44:28 2010 +1000
build: cope with spaces in options passed to ./configure
commit a7d762bd2977ed1c36399d13ddc18371c5514fd0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 12:41:26 2010 +1000
build: allow cross-builds to use shared libraries
commit ab73692bd348057bfd218b67c3414eec8afcc18b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 11:45:38 2010 +1000
s4-tevent: up tevent version number
tevent now has tevent_re_initialise() which is needed for the s4 build
commit 0ca484f4573275808a209ccb0a94a30e89b336d2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 11:41:13 2010 +1000
build: check the type of implied dependencies
an implied dependency needs to be a library or module
commit b7ffc6e5b228d21f547bec77f378f0fdc88b6dd2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 11:27:24 2010 +1000
build: fixed a typo that prevented --bundled-libraries from working correctly
Jelmer noticed that --minimum-library-version=talloc:2.0.1 --bundled-libraries=!tevent
didn't do the right thing.
commit 9c6781277a9ebf5e0a9d65ece14b95335d596af6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 13 09:33:18 2010 +1000
build: cope with existing binaries in bin/ left over from the old build
commit b1a27e81d712ada8eebc587a4c35fbb48b4762cb
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 12 21:31:33 2010 +0200
s3: Apply some const
commit 1a2734336655a8d4256c8cce039ada66650b70a9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 14:49:14 2010 +0200
s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" attribute
According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the
forest one.
commit 1bd4735d8727baa55e3fd251b0f1d5efef4d1385
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 14:34:28 2010 +0200
s4:auth/auth_sam_reply.c - fix counter types
commit 98ce053efdf8f28aa0480663c0094fc9ca8939e1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 13:43:43 2010 +0200
s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions
Purely cosmetic change.
commit 978a2d26b4fa38873ed822b8642737e3352e5f21
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 12 13:40:44 2010 +0200
s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the "root_dn" for the sort test
The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
commit 9db207da071002b4eb671ba8500f1c26963e3859
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 12 16:11:31 2010 +0200
selftest: Cope with strict.
commit 9ef235ed0a833be671600c5efc2e8bf456c03c96
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 13:44:19 2010 +0200
s4:tortore/rpc/spoolss.c: fix declaration after code warning
metze
commit c168e5ce507951c0e54e5a612b70fb82b2df3e63
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 22:56:44 2010 +1000
s4-ldb: enable waf build of ldb without ldap backend
this is useful for cross-compilation testing, where getting all the
ldap deps installed can be hard
commit d12605c679cf4f2c5057c548de1210e7fa03a2f1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 22:06:51 2010 +1000
build: added cross-compilation configure options
this enables use of a cross-compilation emulator, so configure tests
run on an emulator of the target platform
commit 83312a9e501ebbee15b4fd2353330880496f4add
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Mon Apr 12 16:05:37 2010 +0300
Fixed a problem with provision missing the default_dir/etc directory.
commit d73a7e7e9063083f73fcce5170ea9b9682d66ef6
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:30:54 2010 +0200
s3: Little refactoring: Factor out skip_space
commit 8c3fa1668654f482168e0c565458e701c23d4d9b
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:28:44 2010 +0200
s3: Remove a bogus 0-check, "isspace" can not return true for \0
commit 757766d5af54e116bb08f0d825e51741f3ee9e05
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 12 10:34:29 2010 +0200
s3: Cache the result of the username map script
commit 49d4dd530f3983de2e538e07b32e1c3df4efa649
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 12:49:58 2010 +0200
Remove unused pcp/ directory.
metze
commit 143d3f1d90b1d8e35f03e03aa7d39c4090fe0296
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 12:49:19 2010 +0200
Remove unused swat2 code
metze
commit 6ccf2321cef9203bb80cb091700ea798095d094b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 10:55:32 2010 +0200
s4:heimdal_build/wscript_build: avoid global deps for hostcc stuff
metze
commit 8921834be845638a1c1079e1c271254edec8bfc1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 10:55:02 2010 +0200
lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCC
metze
commit 4f73658544f988b1b495d1a84b7058fdace712ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 10:16:54 2010 +0200
wafsamba: don't add global dependencies to hostcc targets
metze
commit 2a727ef6e7bffcaad7438e288c952f6157e075de
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:47:49 2010 +0200
lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf system does
metze
commit e6c31a4bcb1e7f56edcfccabd02a8096e3b5dd40
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:44:47 2010 +0200
s4:param/wscript_build: 'dl' is provides via 'replace'
metze
commit 783d2e9fe57f1390ff66a8c1bda6b82a22af3332
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:43:54 2010 +0200
lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'
metze
commit dd38853b56f13d26353a1bee6ad3225f8f46c843
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:41:19 2010 +0200
lib/replace/wscript: add dependency to 'dl'
metze
commit 2e26298331a1c09c829b171f1f81a6b69fe51a56
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:34:39 2010 +0200
s4:heimdal_build/wscript: rename HEIMDAL_ROKEN_H => HEIMDAL_ROKEN_HOSTCC
metze
commit 14c05405cbae886ca741340f3cc2b148b3cd3ae4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:33:42 2010 +0200
lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCC
metze
commit 8a00c566492943972798a96a9e23bc74083902ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:30:12 2010 +0200
wafsamba: allow passing 'use_hostcc' to SAMBA_SUBSYSTEM()
metze
commit 928fb861507e2abed86258582f27aad7d71b308e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 18:39:50 2010 +1000
s4-ldb: fixed a crash bug for non-UTF8 strings
when one of the strings was not valid UTF8, we would try to
dereference NULL
commit acc81f96a45275b4bfe356fdc4dd3cc5f03775ff
Author: Kai Blin <kai at samba.org>
Date: Tue Apr 6 00:28:05 2010 +0200
build: Add an always parameter to CHECK_DECLS
commit c09fa85735b044028f9659e2db075918fdfd07c8
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 21:59:43 2010 +0200
s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the current diectory
Many thanks to ita for pointing out the fix.
commit e683ac6f81306a03d8fe6bedeb5ca1a6facd6f1f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 00:21:21 2010 -0600
build: allow target upgrades from EMPTY to SYSLIB
A library may be initially set as empty if it wasn't needed for a list
of functions in CHECK_FUNCS_IN(). A later check may require the
library.
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit d70a7befb6dd2168c31a657fc0c6ab3b5f69c91e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 17:46:01 2010 +1000
s4-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check for the source3 build
commit 33bb334e8030749cb675353df882730e3119ee9c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Apr 11 19:24:46 2010 +0200
s4-waf: inline LIBREPLACE_NETWORK into 'replace'
metze
commit b1393087ace8289a13e09e5246ac0efec560e959
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 09:12:29 2010 +0200
lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
metze
commit 0d307f25a051544047563a40de4df344c17f0d9f
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Apr 12 08:29:53 2010 +0200
lib/replace/wscript: implement the same getpass detection logic as the autoconf version
metze
commit e37b834a62a45c890cf05f208ffc077a1cf10d16
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Apr 11 19:16:32 2010 +0200
lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'
metze
commit a9e4abaa6e72425017953f95e2f22cc4af6d7455
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 12 03:45:12 2010 +0300
s4/libnet: Allocate mem in supplied mem_ctx
In this case, 'libnet_Vampire *r' may not be a pointer to
a talloced memory.
commit 82b8bbdfac3a9bf7daded97173d205764f14670a
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Apr 12 03:33:33 2010 +0300
s4/py_net: Source code formatting fix
commit 98942c8d840745d72f0ef19636752128236a9bbd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 11:12:22 2010 +1000
build: use a common autogen-waf.sh for all builds
the symlink will get updated with the right target when waf dist is
used in each directory
commit 9ffd6c0ec339aa6e70543cfecfb2bab93705e603
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 11:09:44 2010 +1000
build: cope with symlinks between build components in waf dist
This will allow us to have autogen-waf.sh be a symlink to
../buildtools/scripts/autogen-waf.sh in each library.
That will prevent people from updating only the script in source4/,
and forgetting to udpate the scripts in the other libs, as happened
with commit f3f82496
commit 47c4e883d6fd833a7ca5d37f289908299f9f0c15
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Apr 12 02:55:27 2010 +0200
s4-net: Add definition of outf.
commit f8e527b088ab19aab5a36a70a45a1032ad338d45
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 12 09:49:56 2010 +1000
build: added --minimum-library-version configure option
this allows the packager to override the default choice of system
library version
commit 2179c6a8f843d9db5860b6c91d154d288f28d741
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 18:43:56 2010 +0300
s4: fix a typo
commit a62d0419dee3d3fe8618baa71aa882c5bed54072
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 17:27:30 2010 +0300
s4/libnet: handle errors returned for DsAddEntry_v3 properly
It turns out ms-docs are little bit misleading - in case of
no error, r->out.ctr->ctr3.err_data is not NULL, but
error information (r->out.ctr->ctr3.err_data->v1.info) is NULL!
commit cb0ad42a3d9d837cfc06f65baa6d8fa2d28a3ec9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 17:24:32 2010 +0300
s4/libnet: Add few new lines in the debug log so it is readable again
commit 9f92d586ca537ed093a1d68eacf94315da68a8ad
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sun Apr 11 17:04:21 2010 +0300
s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected
Actually DRSUAPI_DIRERR_OK is not valid error to be returned.
I introduce it in the IDL so that I can use it in enum.
So it should be dumped as Unexpected error code
commit 8e95db9eea8bfd6ec12a894d0d46705a3c414e4e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:25:55 2010 +0200
s3: Move serverinfo_to_SamInfoX to auth/server_info.c
commit b8829e74fd0386931c1a5845337efff25fec72c2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:25:06 2010 +0200
s3: Move [make|free]_user_info to auth/user_info.c
commit 18909879cc100b958d74c78ff9f84e9ba3318340
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:41:59 2010 +0200
s3: Move make_server_info_sam to auth/server_info_sam.c
commit 2b1a50c2e537f690acd8eff1d0cf3102104144d3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:38:33 2010 +0200
s3: Move sanitize_username to lib/util_str.c
commit 80708b75f815d455c7cc00fc4cccfb6af91e9d85
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:37:08 2010 +0200
s3: Move make_server_info to auth/server_info.c
commit 5792ccc7c85276edd86050b18b755e05cda7e1f1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:32:36 2010 +0200
s3: Move check_sam_security to auth/check_sam.c
commit 04f9e33de140235d387a254403909063b8c30f9e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:26:46 2010 +0200
s3: Make check_sam_security public
commit a0c175eca9d296e8434acbdb1a87241d64d86f7b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:23:08 2010 +0200
s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count args
commit 19c00865537ff298e6306de4e81d376d3f068237
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 14:07:12 2010 +0200
s3: Replace "auth_context" by "challenge" in sam_password_ok args
commit 7ba21a339c591f546085fcd8cfbf77c25dcfe11e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 13:48:55 2010 +0200
s3: Move user_in_group() and create_token_from_username() to token_utils.c
Goal is to be able to call check_sam_security from winbind
commit 4d84dab21d1b13bbfe3d8f90c88e41ad3c524bb5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 22:56:09 2010 +0200
libcli/auth: Fix an uninitialized variable
value.dptr was used uninitialized in the "goto done;"
commit da7294ae0d1c9cdeb1c945f3eb51d2376e7dabf6
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 11 22:38:38 2010 +0200
nsswitch/wbinfo: Fix the S4 header check
commit e1630ecb11ac09025456debeb3dc6afaccdb955b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 22:16:48 2010 +0200
idl: Use C-style comments, because cpp on some platforms doesn't accept
// comments.
commit 1d3b00bfd7ddfa983a68ecf4b0033729a42e9baa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 21:44:20 2010 +0200
s4:dbspeed torture - improve also the TDB code part
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
commit 1fd6d9cd661692e6b0ac950127a0d5b80945bfad
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 21:37:23 2010 +0200
s4:dbspeed torture - remove unneeded newlines on "torture_result"
According to Jelmer's post on the technical list.
commit b65c8d05059466f8e8b2196c99469105afd128e8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 20:56:48 2010 +0200
s4: Fix more test results to not conflict with subunit commands.
commit 5d0694f9941e22f92c9c641b8fb3a7ce376ee5cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 20:56:02 2010 +0200
subunit: Cope with lowercase test results in tap2subunit.
Also submitted upstream.
commit 3a34b5f35ec0a666ff8f731577bd2fdfa67e9dcb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 16:55:48 2010 +0200
subunit: Remove more test output that could be interpreted by subunit.
commit 7da94cc4a664521be279b019e9f32121cd410193
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 01:39:06 2010 +0200
subunit: Support formatting compatible with upstream subunit, for consistency.
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
commit d0ab7440acf57f698290c2ba64650c6144bc8545
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 11 00:08:16 2010 +0200
selftest: Accept 'testing:' to introduce new tests.
commit 0ee1985b05bd1a650f712a6d458b20c31eae8734
Author: Derrell Lipman <derrell at dworkin.(none)>
Date: Sun Apr 11 11:37:00 2010 -0400
[Bug 7345] Incomplete description of function return values in libsmbclient.h
- Fixed documentation on smbc_fstat(), smbc_statvfs(), and smbc_fstatvfs():
All were missing return value upon success
- Fixed documentation on smbc_read:
Documented return value upon EOF
Derrell
commit 59d68899c40ef368ab57fa734f95bcfb475bb46e
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 15:26:23 2010 +0200
s3: Use sizeof(chal) instead of a constant
commit b0d65f827e2314e907b5fd4768c55ae4c816e8da
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:53:00 2010 +0200
s3: Use talloc_stackframe() in user_in_group
commit 9655f63642e9ad3b8b25fcd2beb8bc49fdb9d4e5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:47:28 2010 +0200
s3: Use talloc_stackframe() in user_in_group_sid
commit 9cf448a30efc73392f267547ef48b7ab19790900
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:47:13 2010 +0200
s3: Use talloc_stackframe() in create_token_from_username
commit 3c169c0475bc4f69c81b93a66884cc3cd9ba19dc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:44:01 2010 +0200
s3: Fix a memleak in user_in_group_sid
commit a2d1e5e0f77220f912cacb821a928c5e5a952e47
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:37:48 2010 +0200
s3: Remove the make_auth_methods routine
This was just TALLOC_ZERO_P
commit bc619586f210dad5ed01859e21b5f657a34052bf
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:24:07 2010 +0200
s3: Fix a typo
commit c5c40f26482696aca9ee67d170e827f450d59a8b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 12:20:24 2010 +0200
s3: Make "auth_context" its own talloc parent
Remove "mem_ctx" from "struct auth_context"
commit e35a2f89b27b49f57d73c2461e0cecd2bbd46fa8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 11:50:55 2010 +0200
s3: Fix some nonempty lines
commit 568ca2433d0d2292047979abbfcb03543bb27a67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 12:56:50 2010 +0200
s4:samdb_server_site_dn - free unused DNs in the right way
commit c7dfe736a88549f5793521609aca68ca85545c1b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:33:45 2010 +0200
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
commit 52ab3ca5e697bc638a20a338b857521ee69949a7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:22:41 2010 +0200
s4:torture - "dbspeed" test
Calculate the leaks on base of the "tmp_ctx" not the torture context.
commit 753698e070ce5b9efbe5889a6a7434115520223d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:21:19 2010 +0200
s4:torture - "dbspeed" test
Unify error handling.
commit cc32e7aff2e071e0b1985097bb8526ce36160391
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Apr 11 11:13:31 2010 +0200
s4:torture - "dbspeed" test
Add more "talloc_free"s where needed or useful.
commit b91484a1a075c2913ebb50ee034f36580387bfa8
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 11 11:14:24 2010 +0200
s3: Cosmetics -- I could not spot where "chal" was initialized
commit 2c193fe91af60f29ed4d560496842073097469bb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 17:18:53 2010 +1000
s4:auth Remove event context from anonymous_session()
This should always return a simple structure with no need to consult a
DB, so remove the event context, and simplfy to call helper functions
that don't look at privilages.
Andrew Bartlett
commit 18078ec4450a7ee37b613020886ec6bead7a6ead
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 22:52:06 2010 +0200
s3: Use IS_DC macro in get_global_sam_name()
Much as I dislike macros, this one is there. So why not use it...
commit f73e480e1917712bfb6c9641f9a49c454a1e4a5f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 22:34:51 2010 +0200
s3: Remove domain selection from dual_pam_auth
We're in a child, the parent already has chosen the domain by
picking the right child to connect to.
Metze, you've done work on winbind lately, so it goes to you:
Please check :-)
commit 664eacc53a50415cd4f5534386501f640228f6c3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 10 22:35:57 2010 +0200
subunit: Don't abort when receiving test results from tests that weren't
announced.
commit 64bf8c400c8076316929cb6f06346bdf1c48d9d7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 10 22:20:12 2010 +0200
selftest: Support passing --load-list to test runners.
commit 4fb98b6856fd0174d0f41f390e28027da636c307
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 10 21:24:33 2010 +0200
torture: Simplify torture suite running, call restricted test suite runner.
commit 6b442f43bc54555c60760eced131c2d50bf72a95
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 01:59:01 2010 +0200
smbtorture: Remove unused shell feature.
commit 24f364517b4013f3467c873e5b1877fe5f1c1941
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 01:58:28 2010 +0200
smbtorture: Support --load-list argument.
commit 0b7bb7f85a4bd7e2ef6bd3644a0c1a0c8d42a1d9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 19:54:32 2010 +0200
s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification
This makes the code more clear to read.
commit 458a441f7ff36e03fb59299b44986f10e062ee78
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 19:48:23 2010 +0200
s4:registry - "patchfile_preg.c" - fix indentation
commit c7c8f0ccf370176479480772d88ccb794b6728a2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Apr 10 19:42:00 2010 +0200
s4:registry - "patchfile_preg.c" - fix a datatype
This should be an "uint16_t" (only two bytes are written).
commit 1038a134eddd178635d3c1187cb92a42b884e76f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:34:53 2010 +0200
libwbclient: Fix a memleak in wbcGetDisplayName
commit 27d3bdd36b374b40a9e383262e2e30c813943d7e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:59:27 2010 +0200
libwbclient: Ensure correct 0-termination in wbcGetSidAliases
commit 4085e189a147841fed64ecbe072cde007cedad0d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 10 16:55:46 2010 +0200
s3: Check 0 termination in GETALIASES
commit 77267733edba42f03f89f3777854569bf2333321
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Apr 10 20:39:45 2010 +1000
s4:dsdb Don't use the permissive modify control on schemaInfo updates
The use of 'replace' is enough to wipe out the old value, whatever it
is, we don't need to set 'permissive modify' too.
Additionally, this seems to be causing trouble for the OpenLDAP backend
Andrew Bartlett
commit 5ebeab379430104c615fd401abe9a8c7dc3339b8
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 19:07:12 2010 +1000
s4:dsdb Don't return operational attributes on special DNs
commit 6ef167c37bcf2842434a51733c351246294842a2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 17:22:35 2010 +1000
s4:rootdse Implement "tokenGroups" in the rootDSE
This returns the currently connected user's full token. This is very
useful for debugging, and should be used in ACL tests.
Andrew Bartlett
commit 944dc2cb0ba13799a343f655a353013e4a9d8dd1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Apr 9 17:21:21 2010 +1000
s4:dsdb Improve error message in extended_dn_in
This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.
Andrew Bartlett
commit 78dd3778494600f8047ba2dd0ea8635eb84258f7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 7 14:03:29 2010 +1000
s4:ldif_handlers tokenGroups are SIDs
commit 4b27cc0ea6e829c316da1ee87de180ff8de88fc5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 7 10:42:16 2010 +1000
s4:rpc_server Fix segfault in modified SamLogon handling
commit bc6659936a4719a30d1f289bca7dbe639cb972cf
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Apr 5 19:03:14 2010 +1000
s4:provision Don't make the 'slaptest' call produce errors
Adding -n 0 also allows us to check the error code too
Andrew Bartlett
commit 03408267720cc1326be06fe1b6871b31ab18c097
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 30 21:23:46 2010 +1100
s4:rpc_server Add all SIDs into the netlogon SamLogon reply
We were missing the SIDs that are not in the domain.
commit 4074739fe71a27feb950aa35f74bb27dc42c17f2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 29 21:16:18 2010 +1100
s4:schema Try to fix OpenLDAP backend after schema reload support.
If we can't get @REPLCHANGED, default to a value of 0.
Andrew Bartlett
commit c8cb17a18c8acd831d9197fd4457881bf58250b1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 29 18:13:46 2010 +1100
s4:heimdal Create a new PAC when impersonating a user with S4U2Self
If we don't do this, the PAC is given for the machine accout, not the
account being impersonated.
Andrew Bartlett
commit f2b63d58da895d11ed490dddd5df30c777369fad
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 23:11:06 2010 +1100
s4:kdc Add functions to hdb-samba4 for the new s4u2self callback.
For now, this shares the 'if it's the same host' system with the
constrained delegation code.
Andrew Bartlett
commit 1d59abc724a9ad01fdc61f3e6cfdf41c9f4cb910
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 23:09:31 2010 +1100
s4:heimdal Add hooks to check with the DB before we allow s4u2self
This allows us to resolve multiple forms of a name, allowing for
example machine$@REALM to get an S4U2Self ticket for
host/machine at REALM.
Andrew Bartlett
commit aecaddfa1b2a55c9cc91c3644947c3686714ceb5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 3 13:24:52 2010 +1100
s4:credentials Add the functions needed to do S4U2Self with cli_credentials
A torture test to demonstrate will be added soon.
Andrew Bartlett
commit 18f0e24f5573611c983d2d5d37409fa77b199dd5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 3 11:34:04 2010 +1100
s4:credentials talloc_free() any previous salt_principal
This isn't used often, but it is generally better not to leak it onto
what may be a longer-term context.
Andrew Bartlett
commit 5beaef7cde3c311e4543abf71e5fe9794d62cc6e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 10:58:27 2010 +0200
s4:autogen-waf: generate 'Makefile' instead of 'makefile'
This hopefully fixes the build on MacOS 10.
metze
commit 61d3ba04b497011b933564cc4566239a91e4bf67
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 10:49:18 2010 +0200
s4:configure: generate Makefile from Makefile.in
This makes it possible for the waf build to also generate a 'Makefile'
instead of 'makefile'. On some platforms 'Makefile' is used before 'makefile'
metze
commit 8966a28b6867b8acaf8e9b89e25849299ba5e088
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 10:07:11 2010 +0200
s4:heimdal_build/wscript_build: remove more network related stuff from HEIMDAL_ROKEN_H
metze
commit e390edb46b2abdbb8bf5a6191d05a5a454125c16
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 09:54:49 2010 +0200
s4:heimdal_build/wscript_build: use LIBREPLACE_H for asn1_compile and compile_et
metze
commit b2e144186419726175b1690da5cf82e991bc72c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Apr 10 09:51:28 2010 +0200
lib/replace: create a LIBREPLACE_H subsystem
metze
commit e15939b4561b84eda283a9df233e2a3a0ed42621
Author: Jeremy Allison <jra at samba.org>
Date: Fri Apr 9 19:26:34 2010 -0700
Plumb SMB2 stubs into all the places we defer SMB1 operations.
Rename functions to be internally consistent. Next step is
to cope queueing single (non-compounded) SMB2 requests to
put some code inside the stubs.
Jeremy.
commit b253385611ac4934bb46390ef519c547bba87eb3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Apr 9 23:34:07 2010 +0200
s4:LDB - fix up "LDAPI" test
Set the "options" environment variable in a deterministic manner.
commit 5eedaaea43a7f141960cfffc62116655f1117de8
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 19:54:31 2010 +0200
s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
Guenther
commit bc2e675c3a5272953fb5b4f2e39ab2c164868fab
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 19:53:31 2010 +0200
s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.
Guenther
commit 357006bf074a0c6788b948f0c0260ec85caeec09
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 18:44:19 2010 +0200
s3-spoolss: Fix two uninitialized vars in spoolss util code.
Guenther
commit 202d330be6f6fe249b0ec241342762a533320d1b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 18:33:25 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 1cec3029e5ed5b6be3e7817c05d5f7214dfb4181
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 17:50:51 2010 +0200
s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
Guenther
commit 347035d61f106a70c6d9cbf5c7a577a9fe104a05
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 17:49:57 2010 +0200
winreg: move REG_OPTION_NON_VOLATILE out of option bitmask.
Guenther
commit b9188e45713688435bcca390ae3c89ae3bd7f14c
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 17:28:04 2010 +0200
winreg: fill in IDL for winreg_QueryMultipleValues2.
Guenther
commit 63b111bd329fddaf0bfd64ca8255deecb1fd5352
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 16:47:45 2010 +0200
s3: add iconv_convenience handle to pull/push sz helpers.
Guenther
commit bfeab64ebf9481d98ffb182adb03bbd6e6ada462
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 16:49:02 2010 +0200
s3: Fix a typo
commit bae564b0a361fa1ead777e1a5da47d3499c3676c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 16:27:39 2010 +0200
selftest: make sure filter-subunit and format-subunit use unbuffered io
metze
commit e1faff90717c545637debb0c622fd9dc312faa02
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 15:58:32 2010 +0200
s4:selftest: mark some smb2.compound tests as knownfail
metze
commit 0bf6043df9a769784e427217737f917501f26466
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 09:03:43 2010 +0200
RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
connection.
metze
commit 5844a7dfe6a952500456a6bc3acbe9566d830a2a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 09:02:48 2010 +0200
s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
metze
commit e95e2e82624eab72c1ae913b9b2b00412c91802e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:27:07 2010 +0200
s4:librpc/rpc: correctly initialize last_fault_code for bind and alter_context requests
metze
commit 718a8046138355defbbf0f5b42502b1cc7fd801a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:25:59 2010 +0200
librpc/rpc: fix typo DERPC_ => DCERPC_
metze
commit 92d98b68161a53011cd576fe2919411f811e8325
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:25:34 2010 +0200
librpc: rerun make idl
metze
commit ba5825ead84490cc7b47102a98ac5808b2f265cc
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 12:07:43 2010 +0200
dcerpc.idl: fix typo DERPC_ => DCERPC_
metze
commit 800c735de6f3c7401089dd0c49ac2a253b24da4c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 13:23:53 2010 +0200
lib/torture: also print intergers as HEX values in the torture_assert macros
metze
commit f716c027c68452f4f0eb01df1e0ccca4a2a69950
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 14:26:36 2010 +0200
s4:heimdal_build/wscript_build: we don't need separate subsystems just for optional source files
metze
commit 787ecd4023ae9eef515225faa9e29aa4e0694711
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 14:13:53 2010 +0200
s4:heimdal_build/wscript_build: remove useless dependecies of HEIMDAL_ROKEN_H
This hopefully fixes the build on host opi - OpenSUSE 10.2 (x86_64).
metze
commit 2eaddcd9f2595442806cba3e2b9bcb08ee115720
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Apr 9 14:10:57 2010 +0200
s4:heimdal_build/wscript_build: create a HEIMDAL_ROKEN*_SOURCE variable
metze
commit 48daa0b6ee1d7d1214455112b1e9dad406c29be3
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 15:58:01 2010 +0200
s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
Guenther
commit a21be5fc1b9777089506f6580a776b20f31041a2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 14:44:38 2010 +0200
s4-smbtorture: fix build after winreg IDL renames, sorry..
Guenther
commit 673ca041140d56dbe1b1f840af3a9f51e72d140b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 14:20:18 2010 +0200
s4-build: Fix autoconf build (net_machinepw.c is no longer present)
commit c666b8af96fecb2bd9230a5e10f99c5d5e0a5353
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:09:20 2010 +0200
s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()
commit d3e9e83d7e3fd3ef3da1b64cb4181c0e6a46914d
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 9 14:05:09 2010 +0200
s3: TALLOC_FREE(command) correctly in map_username()
commit 5d04aadcb90c0272a2fe03a85ac2f91b99845c32
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:51:42 2010 +0200
s4-smbtorture: Fix winreg test after keytype renameing.
Guenther
commit 35ef60918ba5f9a39ce8d516b65ae5fd56e1c65f
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:50:34 2010 +0200
s4-winreg: Fix dcesrv_winreg_CreateKey after rename.
Guenther
commit faf2d4988bd0eb9390b04b1ea76fb059d5495185
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:50:10 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit eda0aa4b9135a5a6bf7713276beebbbbecc56da9
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 13:49:28 2010 +0200
winreg: rename winreg_KeyType to winreg_KeyOptions.
Guenther
commit 8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:40:36 2010 +0200
s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
Guenther
commit 299a6ffe9eb88b5907ca98ad06f9d6ac253945e0
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:26:06 2010 +0200
s4-smbtorture: winreg keytype options is a bitmask.
Guenther
commit ab27c6d138277a01a40c3f6dd735512d466ea722
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:24:59 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit 8805490853f449dc2d71e80d5052a6615740c2a2
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 12:24:18 2010 +0200
winreg: keytype options is a bitmask.
Guenther
commit bc9289995a4d338644aec8a504e284ac65d73c53
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 01:07:39 2010 +0200
s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
Guenther
commit 92a051ef2fffe7e141531a15c0a8b39cb26e0908
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 21:24:59 2010 +1000
s4-waf: only enable the python uuid module if python <= 2.4
commit a10f024083b25f0b879e9ccd8f53ac370aa22a30
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 5 15:11:19 2010 +0200
libwbclient: Fix some memleaks in the tests
commit 45d3ac05b3781a8c14e7f4426a515746e9a99172
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 21:12:02 2010 +1000
build: use Logs.error() and Logs.info() instead of print()
this gives appropriate colors on output, and ensures it works with
compiler output
commit d661759780d70c771c3748095db5a5308451266d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 21:00:49 2010 +1000
build: nicer error message on missing file in waf dist
commit a591b8497d53aaa45c316c722e58d94f77420955
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 20:44:09 2010 +1000
s4-waf: added --gdbtest option for waf test
commit 0b8a3a4036f3dfc59a39ae4b6364f93a66a40415
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 20:30:44 2010 +1000
build: no need to re-create the lib and bin symlinks if they exist
this saves a few unlink/symlink calls for null builds
commit 5f90d3260be8f30e5d9ccd542aca1807d58d2443
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 9 19:54:40 2010 +1000
build: added --picky-developer and --fatal-errors
Added configure options for --fatal-errors and --picky-developer. This
removes -Wfatal-errors from the --enable-developer flags.
commit 0d92dd1074971a3c1e3116de5188a475298587a2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 02:37:20 2010 +0200
s4-net: Cope with options without arguments.
commit 410527f9369c44a25a5689b4665f3485c16d625a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 02:31:57 2010 +0200
s4-net: 'net user create' -> 'net user add', for backwards compatibility.
commit ececb7326200d6c59fa15f7542421099d3899297
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Apr 9 02:30:48 2010 +0200
Support --version in python scripts.
commit 9af8d02b2230f78e4842106b918ff278dadd1d59
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:58:15 2010 +0200
s4-net: Convert machinepw command to python.
commit f83aa13f6228e04359952f04ebd7afed9a742c4a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:53:19 2010 +0200
s4-net: Convert vampire command over to Python.
commit ffa73c412e1190024ae0bf4758174d1b21c16e13
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 23:03:41 2010 +0100
s4-net: Convert user subcommand to Python.
commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Fri Apr 9 10:48:20 2010 +0300
s4/dsdb: Set schemaInfo attribute value during provisioning
After provisioning new Forest, schemaInfo should be set
to a value with revision=1 and current invocation_id
commit 4ba2ac073d7a7859ab73f8b7f40d630ddbff8687
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 10:23:13 2010 +0300
s4/dsdb: split writing of schemaInfo blob in two parts
ldb_msg preparation is moved into separate function
so that it can be used for implementing schemaInfo
updates both on module stack (dsdb_module_... functions)
and directly on ldb_context
commit fbef33fb7369f57e6851d3766f87c953ca2d26bd
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 08:27:07 2010 +0300
s4/dsdb: Let caller to control if valid invocationId is critical or zero-guid is acceptable
commit 2763a4ac4e8c93701e00a3baa9fb2dfa24b776f4
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:32:59 2010 +0300
s4/test: Add DRS-UNIT test suite to 'quicktests' list
commit 5363b6e68b2eb432142b4c0d4972ea4def17c1be
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:31:35 2010 +0300
s4/dsdb: Use dsdb_schema_info object to create default schemaInfo values
commit c3d77989913a1ec270a50847922f6c1ffd7cbad0
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:30:16 2010 +0300
s4/dsdb: Use dsdb_schema_info object to verify schema_info blobs
commit e5ef11f4e29af77147dc21e6e8986ed091818566
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 05:27:59 2010 +0300
s4/test: Use drsut_schemainfo_new() instead of SCHEMA_INFO_DEFAULT local define
commit 15921b669e6c8ef7b6d90708edde7c6eb4009d36
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Apr 7 14:22:49 2010 +0300
s4/waf: add new files to WAF build
commit 6d439afbf77b15d34310144c473f6600148f7d84
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Apr 6 15:17:05 2010 +0300
s4/samldb: schemaInfo attribute must be updated when adding new Schema object
commit 7f0da64a4990f21f67afde192322a53bcb4438ce
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Apr 7 13:00:53 2010 +0300
s4/test: add shemaInfo torture test to automated test suite
commit 08dd0d0b54062c34643cf3b0fbaeabfc3d471782
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Mar 31 04:18:06 2010 +0300
s4/schema: Torture test for schemaInfo implementation
This test checks if schemaInfo revision changes when an object
is added or modified in Schema.
Ref. [MS-ADTS], 3.1.1.2.1
commit 80d8f37b26c2919899ec3de9ec5b2c1079436c6e
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Thu Apr 8 10:51:36 2010 +0300
s4/was: Add 'drsblobs' Python module
commit 3629fb9927074154c15ac0d16cce187bc6b9e665
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Wed Mar 31 04:13:18 2010 +0300
s4: Add 'drsblobs' Python module
This module is be very useful when it comes to making
torture tests.
commit 8dd5705a591ee617478663180316dd0f768049b9
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Apr 6 15:10:47 2010 +0300
librpc/idl: Use [nopython] attr for types used in decode_PrimaryKerberos method
C code generation for python module generates invalid code
(i.e. can not be compiled).
Another reason to 'hide' those types from Python is
that those types are not used at the moment
(and most probably won't be used in the future)
commit 2ea99c22c3e89780062959dd9da71f5b5da7831e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 6 11:32:57 2010 +1000
librpc/idl Use [nopython] on some drsblobs.idl 'functions' as an example
It makes little sense to expose these 'functions' to anything other
than ndrdump.
Andrew Bartlett
commit 738ac5303711567e43b60810ae8d6910d071709a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Apr 6 11:32:14 2010 +1000
pidl:python Allow 'nopython' to work
The 'nopython' flag wasn't available for use, as it failed to get past
the syntax checker.
Andrew Bartlett
commit 526e62c46f432950645dc7019969eb694d7b0c6b
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Mon Mar 29 12:31:38 2010 +0300
s4/tort: Unit test for schemaInfo implementation
commit ae30cb958e86364b653c3e46cdc889e0324660a2
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Sat Mar 27 03:04:09 2010 +0200
torture: add torture_assert_goto() convenience macro
commit 9d1f8bcca9e39d1e0caa9377f30c290b0738f080
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Mar 23 16:44:02 2010 +0200
s4/dsdb: dsdb_schema_info object implementation
commit 37a6b66344ae5832bd3db71983bf75c1309e5b9d
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Mar 23 02:32:14 2010 +0200
s4/dsdb: Define dsdb representation for schemaInfo attribute
commit 6e7be5f4d1eccccb93f8e3ed2751e8851f94517f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 18 17:04:34 2010 +0200
s4/ldif: Handle Schema:schemaInfo blobs
commit ffd1d7ee7e19db6b97177f8b2ae0871954cc6a20
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 18 02:33:04 2010 +0200
s4/idl: drsblobs IDL regeneration
commit 63e1aae69c7a6af9a09cf7b4baa173c42cd569cc
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 18 02:30:51 2010 +0200
s4/idl: Schema:schemaInfo attribute description
commit deccb6cf9a91d37a085bb7b10e3607fcf37c47c0
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Apr 9 09:23:54 2010 +0200
s4-krb5: Fix typos in comment.
Karolin
commit 08b24e923dff99d3d3c0618903a7ed2959640470
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 8 22:15:55 2010 -0700
Stop smb2 from calling into smb1 blocking lock request code.
Allocate a uint16_t internal SMB1 mid for an SMB2 request.
Add a back pointer from the faked up smb_request struct
to the smb2 request.
Getting ready to add restart code for blocking locks,
share mode violations and oplocks in SMB2.
Jeremy.
commit 3491f6d119d1f4c7e0a259a9993ce96783b77e23
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 8 21:24:23 2010 -0700
Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo()
Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo.
It is not possible for this to be a DFS link. Remove the check_msdfs_link()
call from call_trans2qfilepathinfo() - the call to filename_convert()
above with a ucf_flags of zero *MUST* catch a DFS link and return
NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking
for msdfs links is redundent. Don't add this to 3.5.x, as it's an
optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x.
Jeremy.
commit 358781559526f962c96c1af88cd104946c507d05
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 8 20:32:36 2010 -0700
Fix bug #7339 - MSDFS is non-functional in 3.5.x
In the refactoring around filename_convert, the split between the functions
resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with
resolve_dfspath_wcard().
Internally resolve_dfspath_wcard() calls dfs_redirect() only with a
"allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a
value of false. The loss of this case causes dfs_redirect to always masquerade
DFS links as directories, even when they are being queried directly by a trans2
QPATHINFO call. We should only masquerade DFS links as directories when called
from a SMBsearch or trans2 findfirst/findnext - which was the intent of the
"allow_wcards" flag.
This patch adds back an allow_wcards bool parameter to
resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when
filename_convert() is called.
I will follow this up with a new smbclient-based torture test that will prevent
us from ever regressing our DFS support again.
Jeremy.
commit 8126c78c76965fe6158fb8ef426abf256551e725
Author: Kamen Mazdrashki <kamenim at samba.org>
Date: Tue Mar 30 00:13:46 2010 +0300
s4/torture: Suppress Valgrind warnings
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
commit 846813797d3bba612492a5600cbe638388760ccf
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:11:57 2010 +0200
s4-winreg: add winreg_DeleteKeyEx stub.
Guenther
commit ffcaa7328079b45e2a137e637b686aa2edb4219b
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:11:41 2010 +0200
s3-winreg: add winreg_DeleteKeyEx stub.
Guenther
commit e42d5b5ae3da7d7a32428c50c8f518eab2dfbf30
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:11:00 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit dc4bf5651ee466397ab51cacaf83b519b79da5f1
Author: Günther Deschner <gd at samba.org>
Date: Fri Apr 9 00:10:07 2010 +0200
winreg: add IDL for winreg_DeleteKeyEx.
Guenther
commit 0a154b940dc5657f78e3fe10fc239ed0b46c2eaa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 23:43:50 2010 +0200
s4:registry - "patchfile_preg.c" - assign a better type to the "i" counter variable
The "i" variable sums up "size" values which are of type "size_t". Therefore
also "i" itself should be from this type.
commit aa9e782a4d27600096230be44e0e18971e503e20
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 23:42:23 2010 +0200
s4:registry - "patchfile_preg.c" - make a SIVAL statement nicer
commit 7c54ff5898b98e75c848dde84e1d1845ec0e3666
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 23:47:04 2010 +0200
s3: re-run make samba3-idl.
Guenther
commit e7a157317a1cec363efa084cfa3d40555604568d
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 23:46:15 2010 +0200
winreg: fill in some winreg IDL gaps.
Guenther
commit 26d928e9482725fe66db05f23af573fdea61a291
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:41:08 2010 +0200
s4-net: Convert 'net time' to python.
commit 0c6f434b7bc0d9d4a8819a03815200966c92736e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 22:33:01 2010 +0100
net: Convert time command to python.
commit 6510b2cdd21c473bd146b7630d69d06342801cb1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:59:16 2010 +0200
s4-net: Use new Net() object in net export keytab.
commit 814e20e7da60f0ec33dfea1d4d6dda1b653b818d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 22:23:45 2010 +0100
pynet: Create a net class.
commit 7a6f1c78429183bd22e4b3e82881ac3ce2e0a1a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 23:18:17 2010 +0200
s4-python: Fix formatting, use standard convention to call instance methods.
commit ae6d306c68aeb79280a950409352c76bad4fcd33
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:14:50 2010 +0200
s4-python: Cancel transaction properly in case of exceptions, fix formatting.
commit 57ac0a6042c368a72beca3b48d0ae7210a9c999b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:07:42 2010 +0200
s4-python: Move load_partition_usn to dsdb module.
commit dd4ef4e106d372cfadf7b47db8bf9dc25728b3bc
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 21:01:17 2010 +0200
s4-python: More cleanups.
commit a35d876537eb301d75a254d9da97268d041da8d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 20:34:40 2010 +0200
s4-python: rename samba.glue to samba._glue to indicate it's private.
commit cc6e2b8a819c6a1da4e6214be9607aab2de270bb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 20:28:11 2010 +0200
s4-python: Fix formatting, import of FLG_NOSYNC.
commit d7a46ee129c455cba95126e9c0f409522127894e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 18:57:09 2010 +0200
s4-python: Simplify code, improve formatting.
commit be4b68817544b87d12a1dcd7d8b5c5d778872418
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 18:53:14 2010 +0200
s4-python: Remove obsolete and broken torture modules.
The functionality of these modules is already present in a more current
form in other modules.
commit 19e1537fdfce58e9ce1bbaa293be4d00f0e0fda1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 16:49:24 2010 +0200
testr: Use waf test runner.
commit d0c25157e9b96ce9855ecd632723423ea45ea8c0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 16:48:33 2010 +0200
selftest: Add --filtered-subunit option.
commit ffb2449a13504261d3c113fcd3891553ccd44ff1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 16:16:15 2010 +0200
selftest: Support --load-list option.
commit b59ba79b959955a43d6749fe9670229fbb2a679f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 15:24:33 2010 +0200
s4-waf: Support --load-list option.
commit 4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 15:08:27 2010 +0200
s4-python: samdb: Default to using global schema.
commit 5d5fc92c6942d0d2a03dfdf0c8fd17b575bae608
Author: Endi S. Dewata <edewata at redhat.com>
Date: Sat Mar 27 21:46:27 2010 -0500
s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in dsdb_module_load_partition_usn().
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7f65f77b4dfb5ee124992a34db4a92be4d728fb0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 22:46:02 2010 +0200
Update waf build.
commit cf17d48dec1ed94127b239c9bf40bcdcbcd808ca
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 20:43:19 2010 +0100
Migrate 'net export keytab' to python.
commit 8d588e96d964de5db171cfb666feb1dc2f744aad
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 19:19:28 2010 +0100
s3-lanman: use spoolss for api_RDosPrintJobDel().
Guenther
commit d5e2b43176099abe433b07a763d8e4b3180d94eb
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 18:13:40 2010 +0100
s3-lanman: use spoolss for api_WPrintQueueCtrl().
Guenther
commit 84f3eeeca312cc9182785bb7c3b0e1c4db8b3480
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 16:20:46 2010 +0200
s3-registry: fix fill_in_printer_values() for datatype and printprocessor.
It is wise and good to enforce RAW and winprint, but we need to be consistent
with spoolss (and enforce it there).
Found by torture test.
Guenther
commit 1c4c4dd7e044f20c3de623b189a5c0d65b0a67b4
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 16:09:36 2010 +0200
s4-smbtorture: protect against full UNC paths in winreg printerinfo test.
Guenther
commit ef3490e79959a3c4366f6981c67dbe5e529a3738
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 15:19:07 2010 +0200
s4:registry - "REGF backend" - don't ignore wrong-sized REG_DWORD/REG_DWORD_BIG_ENDIAN values
commit 3d5732fc1392740c5147c39116e5853452d0dc54
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 7 17:50:19 2010 +0200
s3: Remove the separate "child" argument from setup_domain_child()
commit 16deed7199b837f2d8982045edbdae4e3af13afa
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 15:00:34 2010 +0200
s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.
This compares PrinterInfo2 with contents of
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername
Guenther
commit f87a18ec3b3217cf1ba1706fed49b4f77d6a9815
Author: Günther Deschner <gd at samba.org>
Date: Thu Apr 8 11:56:27 2010 +0200
s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.
Guenther
commit f3f82496ac1198ffa65d5b2a052838248e0685aa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 12:38:17 2010 +0200
s4:WAF buildsystem - support out of "source4" directory builds
Bug: https://bugzilla.samba.org/show_bug.cgi?id=4081
With this patch we are able to invoke s4 builds from the outside of the
"source4" directory (but the target remains the "source4/bin" path).
One constraint: all commands: "autogen-waf.sh", "configure", "make" have to be
run from the same directory!
Regarding "make": you have to run it using "make -C <source4 path> [targets]" if
the invoke directory is not "source4" itself.
commit bf4189eb80246b3fc1fe0cf90cd790ac0b1e0e56
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 22:10:22 2010 +1000
build: we need this isinstance() check for distcheck
Jelmer, this works around a bug in waf distcheck that will be fixed
soon. We really need the isinstance() check for now.
commit baec7a6b9eb6cdb2d3a21e3a6c7b99e79703d39f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 22:01:27 2010 +1000
build: the exceptions here are not useful
they just make the failure hard to spot
commit 4ca46c6b8dfd9d7450096fc16c6edd7a08f369e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 8 21:46:20 2010 +1000
build: make the handling of relative paths a bit saner
This should fix a problem that Anatoliy has struck with the PIDL
rules. It also brings us much closer to a working build for a true out
of tree build (ie. with waf configure -b /tmp/build)
commit eb9b7d0363669574de8ec380089407890f15eac2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 8 12:45:54 2010 +0200
s3:winbindd: make "smbcontrol winbindd validate-cache" reliable again
commit 73577205cf81644e7fe853eaf3e6459f7f443096
(s3:winbindd: fix problems with SIGCHLD handling (bug #7317))
broke this.
metze
commit e2aec9d81f53ae80bc7561fa83e88df668998a1a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 12:25:34 2010 +0200
s4:registry - "patchfile_preg.c" - fix the read operation of the data length on big-endian platforms
commit 2164ba51e299dd2f2829620d5616cd04a0a837f4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Apr 8 12:20:51 2010 +0200
s4:registry - "patchfile_preg.c" - use "sizeof(uint32_t)" for some size specifications
Looks nicer.
commit 479fd9c03fc84824fea310b76d48ce271587cfe7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 12:19:51 2010 +0200
s4-net: Simplify SamDB connect code.
commit 2578072541e880c83089fdd278d81467e91ddc5a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 8 03:26:39 2010 +0200
s4-python: Move set_global_schema to pydsdb.
commit a1e47e3dd2beb0c46bfc90095b066ffd64706529
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 23:57:23 2010 +0200
s4-waf: Add dist target.
commit ca74246b4b82f1f3716531ad9732c223b21dd8c7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 8 10:40:40 2010 +0200
s3: Fix a typo
commit f1aa4c34bf0bd7d42627024af333963b741babea
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Apr 7 10:42:37 2010 +1000
tsocket_bsd: Always use a real length for the sa_socklen, and keep it around
The previous code assumed the OS would happily accept sizeof(struct
sockaddr_storage). It seems some versions of Solaris do not like
this.
Andrew Bartlett
commit 0922c5ab2da1106fdb9a750c2d71d0cd04146394
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Apr 7 15:21:32 2010 +0200
Revert "socket-wrapper: not all systems have FIONREAD defined"
This reverts commit 710aa773d54509de34404f9992c5058ddfa45f3b.
We rely on FIONREAD in a lot of other parts in the code,
so there's no need to have an ifdef for it in the socket_wrapper code.
On tru64 FIONREAD is defined in <sys/ioctl.h>
and we include <sys/ioctl.h> via "system/network.h".
Tridge: maybe a HAVE_SYS_IOCTL_H was missing at the time you tried
it on tru64?
If we find a platform that doesn't support it,
we need to bail out at configure time or
provide a replacement in libreplace.
metze
commit 3413cf7a6bd992fa722cc9674176beb15446502b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 19:00:44 2010 -0700
Start to plumb smb2 into the oplock system. Calls dummy functions for now.
Jeremy.
commit 0ec6f297eebe1062f48b9e03b7a0def8a1b5ee21
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:40:17 2010 +0200
s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
Guenther
commit d9138f4ccf7b5a491a922254fe3ff67c7d612703
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:36:48 2010 +0200
s3-spoolss: Fix an issue in _spoolss_DeleteForm.
Found by torture test.
Guenther
commit 65c5b786ca4dcb3fda47eea24848232548caf443
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:36:15 2010 +0200
s3-spoolss: Fix some issues in _spoolss_AddForm.
Found by torture test.
Guenther
commit 34ada1d540b0eedbe1dd573a47146f0309ed4875
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 23:34:36 2010 +0200
s3-spoolss: Fix potential memleak in _spoolss_AddForm and _spoolss_SetForm.
Guenther
commit 7f3116a63d7d91f4c0d26adf8fcdef0a5a957971
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Thu Apr 8 07:45:46 2010 +1000
build: allow the waf build to work with python 3.0 and 3.1
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 64957ce0686761acd2a2a7ec1787898d2d8238b6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 23:00:42 2010 +0200
LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement
Obviously this is really needed by the "samba4.ldb" test.
commit e5bb6d56df9b8816665fd42a04531ef19b30be17
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:52:28 2010 +0200
s4-waf: Fix 'waf dist' app name.
commit 472860c9a7485e37627900cb450dca605051e07a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:17:34 2010 +0200
Move configure_check_unused script to root scriptdir, as it is useful
for both s3 and s4.
commit 36474e58676574d426f4f8a3a067be52fa78cc9f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:15:27 2010 +0200
s4: Remove unused pkg-config replacement in perl.
commit 0473926a5b448c1a0b397d079c353f8406588c0d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 22:13:34 2010 +0200
update-external: Support updating dnspython.
commit 7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178
Author: Volker Lendecke <vl at samba.org>
Date: Wed Apr 7 22:28:28 2010 +0200
s3: Fix bug 7327 -- Build fails while building without kerberos
libsmb/clikrb5.c has a dummy implementation for the non-kerberos case
commit 2cf3585e52807eedfe80bffcd56fd6df4eec467b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 17:54:57 2010 +0200
selftest: Display minutes and hours for duration.
commit baf81a0e08099dc863a014eb6e03b6e877ae8b93
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 20:40:06 2010 +0200
LDB:python bindings - also empty LDB message elements should have a python representation
Bug found by ekacnet (see technical mailing list).
commit 79fccc45bc3acac5d9b15a3585e2526a3b1876f2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 20:14:46 2010 +0200
s4:registry - "regf backend" - fix it up regarding REG_DWORD/REG_DWORD_BIG_ENDIAN_VALUES
This is needed to make it platform independently work (also on big endian
platforms as little endian).
Also add a size check before storing a DWORD.
commit 8ae956d7ba23b10e8fe17facc19f44d0ab167762
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 18:54:42 2010 +0200
s4:winbind/wb_server.c - fix indentation
commit 40172f374ba6d5a6edde2834f7f0a28a5fe49928
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 10:33:02 2010 -0700
Test using (-1) for tid and sessionid in compound related requests.
Jeremy.
commit 556b42a351e3584550f79d1c7ad83b44f3a5562b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 10:32:01 2010 -0700
On compound requests, MS-SMB2 says clients MAY use 0xFFFFFFFF for compound tid and 0xFFFFFFFFFFFFFFFF for compound sessionid values. Cope with this.
Jeremy.
commit 146c1618e44591a11afade87f67797e6f80fa813
Author: Jeremy Allison <jra at samba.org>
Date: Wed Apr 7 10:31:43 2010 -0700
Don't forget to initialize *p_creds_requested.
Jeremy.
commit c76bd65b608bed0810013b3a447a4a30fbed98bd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 12:11:12 2010 +0200
s4-samdb: Allow skipping global schema.
commit feeedf49cfc2edbfdfd0e5512904ea67f2daff11
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 12:10:09 2010 +0200
s4-provision: Proper handling of exceptions, use SamDB class but skip global schema.
commit 21ab06f8a233b38bee750250e455416ac0bef13e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 03:30:03 2010 +0200
s4-python: Move samdb_ntds_objectGUID to pydsdb.
commit fe4b212eba1d7645c8be98240a2630759050197d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 03:08:05 2010 +0200
urgent_replication: Use standard comments rather than docstrings.
commit eebc66ce324192b38c1ceca857623c634875d379
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 12:45:58 2010 +0200
s3-spoolss: Added a winreg_getform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit c7fb84a58fd3597431c0bbe131e51a95eaff8a70
Author: Andreas Schneider <asn at samba.org>
Date: Thu Apr 1 11:51:59 2010 +0200
s3-spoolss: Added a winreg_setform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0d46ab0f3eb9662d7ee3eaf8f680632486878d46
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 15:31:21 2010 +0200
s3-spoolss: Added a winreg_deleteform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 93575d6d7051089b50e038a152750939130c6a72
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 13:04:04 2010 +0200
s3-spoolss: Added a winreg_addform1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit fbd32356103e8d72dadf51e51b3119443f13ffb2
Author: Andreas Schneider <asn at samba.org>
Date: Wed Mar 31 13:03:09 2010 +0200
s3-spoolss: Added a winreg_enumforms1 function.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 20e96d92430f8f9e18351be96319c3c3758ccb77
Author: Andreas Schneider <asn at samba.org>
Date: Tue Mar 30 14:46:32 2010 +0200
s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.
Signed-off-by: Günther Deschner <gd at samba.org>
commit adfd4854faf8b2177574d62950324d676d92fae0
Author: Andreas Schneider <asn at samba.org>
Date: Tue Apr 6 17:01:15 2010 +0200
s3-spoolss: Added a delete_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f0054d8361b90acc3b4d39b0c283f9d54467e61d
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Mar 17 15:59:10 2010 +0100
s3-spoolss: Added a enum_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 77d1b73a3e31f67dce28055603c34bd78e927616
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:30:05 2010 +0100
s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit e498338f6f29ffdcca0f3108968e04f635c797d4
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 12 17:31:21 2010 +0100
s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 511dba5ae8529f8a3e661a2d9d0e6426e38fbee8
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:27:51 2010 +0100
s3-spoolss: Added a get_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit bc235459094f01e6fbf3b544bb4848427ceae9d5
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:24:59 2010 +0100
s3-spoolss: Added a set_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4f3893f8148a36d11a4fa333c323fcf6f0176b2e
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Mar 15 12:24:40 2010 +0100
s3-spoolss: Added a function to open a regkey using the winreg pipe.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1ac654d108ebeede3ff78ddb30f19e1f4d516063
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 15:02:23 2010 +0200
s4:WHATSNEW4.txt - further updates and corrections
Some are inspired by ekacnet.
commit acfd02574b1d8de11beb11609020f075083aa019
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 14:33:09 2010 +0200
s4:pyregistry.c - fix indentation
commit fa4d91e1e0cc4a5383d735089b40f28e384fbd5d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Apr 7 14:20:18 2010 +0200
s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference
commit 345fcf58751c49a4832476561855f7deeba3f7b3
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 14:56:07 2010 +0200
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
Guenther
commit 95b9c48ef1fbe6c1566a86cadf3295b6c7e28319
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 14:38:31 2010 +0200
s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().
Guenther
commit f63c345bbd2b069c1f946529d559e8c6dbd7f2bc
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 14:37:30 2010 +0200
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
Guenther
commit 3fdebc06465cd6493617c2b129759e08200097f7
Author: Björn Jacke <bj at sernet.de>
Date: Wed Apr 7 12:21:07 2010 +0200
s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does
commit 4712940e7cbd0d05a30b548d23e96a4d0b741e78
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 00:39:17 2010 +0200
s4-smbtorture: merge badname spoolss openprinter tests.
Guenther
commit 8bb30ffcf619e4e799ba38df41f0479fb70980c9
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 7 00:38:02 2010 +0200
s4-smbtorture: avoid passing down a full test_spoolss_context to directory
spoolss tests when not used.
Guenther
commit 3d113a6ffb91ccc760015b8ef74cc4ba4cbdf5fd
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 6 16:31:26 2010 -0700
Ensure we total up the correct number of creds requested in a compound request.
commit 9c410118cb8b53a6a7194b6768f433cac056e4d2
Author: Jeremy Allison <jra at samba.org>
Date: Tue Apr 6 15:43:35 2010 -0700
Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
Set to 64k by default.
Jeremy.
commit 027adf88eaf8c3a7375da7c0f9c0397db46668e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 00:32:24 2010 +0200
Support 'make test TESTS=foo' again.
commit c349aa3619efde5e00fd0d05f0670a7b6c2f3327
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Apr 7 00:26:28 2010 +0200
s4-python: Use standard infrastructure for finding included testtools, subunit and iso8601.
commit 4d482d9c192a8905dcd6bf18d375e565f87067bd
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 6 13:23:22 2010 +0200
s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
Guenther
commit 91ce32b4c428d2fc514eef150c625de6cb91345b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:52:38 2010 +0200
s4:param/secrets.c - add some "char *" casts
Also this quiets some warnings.
commit 2859b9df99bf2b49e90feca3ad7b7de6be816fe7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:36:06 2010 +0200
s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warning
commit 5b824eb17bc11b2de8b2df9b9bc55db1d0e08df0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:32:27 2010 +0200
s4:torture - remove unused variables
commit b7b464eeee96a57fb94c1f0899bfdb6639a70eb6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:26:20 2010 +0200
s4:auth/ntlm/auth_developer.c - "fixed_challenge_get_challenge" - fix the assignment of the challenge
This is a string buffer and not a DATA_BLOB.
commit 0086db6c0cdf0c7afccc143259c8c55382e466aa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Apr 6 14:09:38 2010 +0200
LDB:sample_module.c - remove code parts which generate warnings
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message
object is strongly discouraged. Better is to make a shallow copy of this message
and attach it to a new child request which is handled by the following modules.
commit 5f080d8e03f1060347cdd05d65bf72b0ce7dec0e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Apr 6 14:24:24 2010 +0200
s4-python: Fix compilation of samba._ldb.
commit 96ae3ee80391e69d2a2c75705a9374b27b2117c8
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Mon Apr 5 14:12:52 2010 +0200
fix a segfault in the notify subsystem
When the notify_array cannot be loaded correctly,
do not keep the half-baked parsing results in the global variable.
This can lead to segfaults next time notify_load is entered and
the seqnum has not changed. This has been seen in a case
where mixed smbd versions were running in a CTDB cluster
(versions with and w/o commit c216d1e6 that changed the
notify_entry structure).
There will be missed notifications until all smbds are at the
same software level, but this should be acceptable and is better
than crashing and interrupting client operations.
This fix cleans up the notify_array, removes the unparseable data
from the TDB and returns a fresh notify_array that can be worked
with.
The NDR_PRINT_DEBUG had to be moved to only be called when the
parsing succeeded, it was seen to cause additional segfaults.
The status variable is intentionally left to NT_STATUS_OK to not
make callers abort and report errors to the clients and make them
disconnect.
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit 449bdf35432230b060387856637759e2fe7022d6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 02:20:52 2010 +0200
s4-python: Move set_session_info to PySambaLdb.
commit 55b98e9768cb2a1ae4b9cc83e3d5f33b51b22e8f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 02:07:46 2010 +0200
s4-python: Move register_samba_handlers to PySambaLdb.
commit e9c3f2ef13f62eb583bd7c5dfb6b94a0a8a0fc4f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 02:01:47 2010 +0200
s4-python: Move ldb_set_utf8_casefold to pyldb-samba.
commit ae9761349904ac9c4c2745018903d8c2fcc2abf1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 01:54:57 2010 +0200
s4-python: Move set_opaque_integer to pyldb.
commit b72a5c033670a84423d1099aedbcfa5047ac47e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 01:51:04 2010 +0200
Move glue.set_credentials hack to samba.Ldb.
commit 099fc00b601fe7775f5fdb18d8473031b8a7ce27
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 01:48:35 2010 +0200
Add C-based Samba-specific subclass of Ldb.
commit badc255748aa71f98c99c4c47343011286c8445d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 6 20:48:15 2010 +1000
s4-build: remove any 'makefile' that may have been left by the waf build
this allows ./autogen.sh to be used to switch back to the old build
system after trying the waf build
commit 07d9da4d2f77d08c3a073453f4eaaf5c0939ccf5
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Apr 6 19:31:39 2010 +1000
build: use a target_in_list() function for more flexible builtin control
commit 35ec7c34b3a233a8d1b0a551b3c6095a45eb6bb6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 18:16:47 2010 +1000
build: cope with binaries with subdir prefixes (for s3 waf build)
commit 748ef2c86516f8951b6da2803e8163026768e328
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:41:37 2010 +1000
s4-waf: don't need TOUCH_FILE() any more
commit 5260b504675b8151f0a6415f41a321d8cf077bb1
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:26:45 2010 +1000
build: run distcheck in testwaf.sh
commit bfd30ebcba9b4f504a3818bb1981882d044693b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:26:24 2010 +1000
s4-waf: add subdir argument to distcheck for source4
commit 6ea4ae881ceb68ad68eac8c3c541fe1395ee78aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:25:54 2010 +1000
build: update version of waf to add subdir argument to distcheck
commit 64594f296ca84c487e5cd7ec5e76153cb3b3ef4a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:25:20 2010 +1000
s4-waf: replace TOUCH_FILE() with normal install rules
this allows it to work with 'waf uninstall'
commit cd712dff316b5d1d017c0132ef37e948b17e0608
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 11:23:28 2010 +1000
build: simpler symlink_bin and symlink_lib methods
commit 7ae4372124a7fde2404f9e626054e7856c18f733
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Apr 5 09:58:23 2010 +1000
s4-waf: fixed waf distcheck for our standalone libs and s4
commit fe060c8f50de23c4f3503a32c3237bb80bd68331
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 22:11:30 2010 +1000
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
commit 7d3421077216c00cf6744ab335447c5f75a9c24b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 21:29:34 2010 +1000
s4-waf: added python_dsdb from merge with master
commit dfdabffae3c90e44b504bbbb4903b1aa30fb2f86
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 21:14:21 2010 +1000
build: fixed LOAD_ENVIRONMENT for out of tree builds
commit ccfce0bbaef43b796846e2dfc8bce8f28e96fcf0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 18:31:54 2010 +1000
s4-waf: autogen-waf.sh for the standalone library builds
commit 1e35da61455ac1e94b1f64f661e7052113de4dfc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 18:27:30 2010 +1000
s4-waf: new autogen-waf.sh
this one will work with the tdb, talloc, etc directories
commit c8835f440a7e07f385f5759bae6b4e53c1927e82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 13:16:49 2010 +1000
s4-waf: use a common pattern for finding buildtools and libs
commit 553324bc1022635e05a683c4bec5135d845f6fea
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 13:08:05 2010 +1000
s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
commit 8dc8d31f4adf84f35bce34339e13e9d70c4b8a66
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 11:40:05 2010 +1000
s4-waf: fixed finding of buildtools and srcdir
commit a8840087979f891c50e01e647df21759e556a7c8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 11:02:15 2010 +1000
ldb-waf: fixed buildtools path
commit 1883ee6dbc2482a34ce531cec3c1c7e5e85af1e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 11:00:42 2010 +1000
s4-waf: avoid having to run waf configure before waf dist
This should be useful for building tarballs from a clean checkout
commit 3ed6d7e76f9e2936e2d27ceeee8984950ea900a3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 10:23:43 2010 +1000
build: nicer error msg when git ls-files fails
commit 9e9e878e8f5f0fba51e3a576f17cf07d0857cff6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 10:18:39 2010 +1000
s4-waf: allow standalone tarball build of libraries
commit 528d7c7cf39fe9d8867d751f0a3c26f413301515
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 10:06:34 2010 +1000
s4-waf: added 'waf dist' to our standalone libs as well
commit c8062fb65ee108fa948fd8d8ed4055ffa3af7027
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 09:57:33 2010 +1000
s4-waf: added 'waf dist' to build the tarball
commit 735934bfede08f37707a070f977837a9f76e3242
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Apr 4 08:04:39 2010 +1000
build: removed some unused imports found by pyflakes
thanks to Jelmer for pointing me at pyflakes
commit 2bf15566c629587992fa3c71cc5261f2cea300be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 23:26:35 2010 +1100
talloc-waf: install talloc.pc if standalone
commit 23ff97e629eb5dc12caadeb690603691221bc92d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 23:26:21 2010 +1100
build: fixed the expansions in pkgconfig files
thanks to Jelmer for the hint on this
commit 7aa3f08f851aef234cb236b11c653f904c9e622a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 22:46:32 2010 +1100
build: fixed DESTDIR for TOUCH_FILE()
commit feafcd2fb452e6ac92aa2f8d60138cbec9a48083
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 22:25:33 2010 +1100
build: waf update to fix macos build error
commit fce1f198002bda681a1d6c660109251469b0c56d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 21:21:24 2010 +1100
build: try to fix the python link problem on SerNet-imini
commit 3efd865d617bfc9c6f87fdb91df282a36910954f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 14:11:31 2010 +1100
build: use waf from waf-svn.git repo
Added README explaining where waf comes from, and where to get the
upstream sources and the exact version we use in Samba
commit 1b15b28eaabc4ac85632408912a80f4f4ac2abd2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 10:41:44 2010 +1100
build: try the generic C compiler on hpux if gcc not found
commit a02d98ebb6553704f9c8203570e2427b749cfa7b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 09:41:17 2010 +1100
build: update wav-svn
this version works around the tarfile problem on irix
commit 20c7cd878b82c7fd88f9359bad9180b676c08054
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 09:19:57 2010 +1100
build: added 'generic' cc support and a simple irix cc support module
these will let us get past the 'detect cc' stage and try a build. It
also makes for a reasonable template for new ports
commit b849bea079ba738f5e9763b6e714d52d25a8c5d7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 21:32:42 2010 +1100
build: initial version of a tru64 compiler module
this doesn't do shared libs yet, but at least configure passes
commit 7a8d58dbbcfb86039d078a352909853a69a86b49
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 21:27:09 2010 +1100
pidl-waf: disable pidl manpages
it's still causing trouble in the build farm
commit a799f5995ec0c216eb85d578db4dacdf2cb9eefe
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 20:55:37 2010 +1100
pidl-waf: better handling of the man page generation
we now avoid leaving build files in the source tree
commit 3385b1e2e9f81bde322a83317ecb394b1f676724
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 20:18:57 2010 +1100
pidl-waf: build pidl man pages and parsers separately
this should prevent gratuitious builds
commit 0c294655f61048581e72e0c089d2aada247be40d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 19:57:32 2010 +1100
build: don't depend on the blib/ files in SAMBA_PIDL()
commit f01f74b2beb43c9e44a0cf256d1f5d2ba4a8e1d1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 19:19:12 2010 +1100
talloc-waf: match version number with main build
commit 93a099c2de1939f86a8d2f56ec19c18db0b98a3a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:16:23 2010 +1100
build: loop until all object reductions are complete
we will issue a warning if any object duplication remains
commit 470c14cbf383631683355f723d219a12dc0998e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 13:10:14 2010 +1100
build: make sure the directory exists in TOUCH_FILE()
commit 31a88f266c5b4e884276f92f3801eec4e1033f8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 13:06:35 2010 +1100
build: nicer display of command type for prototypes and generators
commit 865e478e25e6c9d69915061f6f2211298e730068
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 12:26:27 2010 +1100
s4-waf: create a blank __init__.py in samba/external
needed for the external lib loader
commit 9e52dc441e6709429194555350825ffcf341abf5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 12:20:23 2010 +1100
s4-waf: fixed install location of external python libs
this merges with jelmers recent changes in master
commit 9eb5cb784ceeab4d53cf01890b21a28043467dfa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 11:55:07 2010 +1100
build: a bit more information for tracking --target deps
commit 4731442dfab1c1b44e0c6e92360dde23215b3e5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 11:54:24 2010 +1100
s4-waf: format-subunit and filter-subunit are in python now
commit fe0febcf304b8ef5eec19b2f3d540ae936e005e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 08:47:38 2010 +1100
s4-waf: added new install system for external python libs
commit 60bfedb8f4d334727c6b5ec4170ec6c8dc8d2560
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 00:15:02 2010 +1100
s4-waf: filter-subunit has been renamed
commit 4fa9c3187df4c8bfb40d57d2fb3c107b9b20bf47
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 00:13:26 2010 +1100
s4-waf: updates for the new python installer from jelmer
commit ba64e236d59619cb4222225ac98efe2a2c07f592
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 22:19:32 2010 +1100
build: much simpler and faster rpath install handler
This avoids creating additional task generators at build time, and
instead moves all the rpath logic into samba_install.py where it is
triggered by the install_lib and install_bin features
commit 6dbf576e819d32d2a25e7e1fa7ac50d5764db966
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 12:30:56 2010 +1100
build: only link install targets at install time
commit f189af143b59af52990a624995dcbbabe3c7ea50
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 17:24:02 2010 +1100
build: enable nothreads workaround only with WAF_NOTHREADS=1
commit d06df81df21adfaa10497369f06e5d4f51b57611
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Apr 1 09:49:46 2010 +1100
build: fixed the dependencies of the install targets
we want the install targets to have identical calculated dependencies
to the build targets.
commit 375277beee2e7ea118cccefa771e97251ad1b285
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 23:14:50 2010 +1100
s4-waf: disable MAKEMAKER until a dependency problem is solved
commit c0b67c6e7e1541ed04cd48bb215f03ed7357d5cf
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 21:26:33 2010 +1100
build: fixed the task counter when nothreads is used
commit a7386c9625d1f45c609f3ac688dcda62e5f50e2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 21:01:29 2010 +1100
s4-waf: set JOBS=1 during configure.waf
this allows configure to run on AIX, which has broken threading
commit e42a13d1d0a4ea37ada0b0a33d1ce87fde3412b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 20:56:00 2010 +1100
build: enable 'nothreads' when JOBS=1
this makes waf not use pthreads, which should fix the problems on AIX
and maybe on HPUX. It looks like process handling with Python on AIX
is broken if threads are used.
When JOBS=1 we don't need threads anyway.
commit fe2c1f1e7c4eccb0f4ed849983b22839ec9f7930
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 20:13:55 2010 +1100
build: refactor the object reduction code
split it out into a separate function, and use the final_* attributes
instead of the direct_* and indirect_* attributes
commit d830661f222d1791a46bdd858817fa0d637cb1d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:05:57 2010 +1100
s4-waf: remove PYTHONDIR from config.h
prevent unnecessary rebuilds
commit aceb14f611e567a53ce582f4f25f08159787b3d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:05:29 2010 +1100
s4-waf: use cflags for LDB_MODULESDIR
this prevents rebuilds when it changes
commit 9ac8899d87c3eff149a0ba582fb70b853710e826
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:04:18 2010 +1100
build: sys.exit is better than raise here
using raise produces a screen full of stuff the user can't
understand. The message is much clearer with an exit
commit cd104102b9ff90c123342a588d2578cf9d5637ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 18:03:39 2010 +1100
build: don't define vars in config.h for CONFIG_PATH()
we don't want paths in config.h, as that just causes full rebuilds
when you change --prefix. Better to use cflags= on the right subsystem
commit dab7b265282aac2fb539171b4f4bdec11e2a3c8c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 09:22:40 2010 +1100
s4-waf: we don't need strerror_r from roken
commit 30fa7da5242823b0da7dedbbf8cf2221a99ec49c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 23:08:01 2010 +1100
build: finally got LIBRARY<->LIBRARY reductions working
the install size is now 100M
commit 3154733c33ce51c61a023fe27148c3ab154786fb
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 22:39:18 2010 +1100
build: add python library object reduction
This reduces the install size of s4 from 393M down to 132M on my
system. We had a lot of duplicate code in our python modules!
commit d39b44c98986ab4b15c81350b4e4ee0ee2d60601
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 22:28:30 2010 +1100
build: python libs need to be built shared, regardless of --disable-shared
we don't have a way to load them otherwise
commit 178b0d178d55863dde29713230ae3af69452e58b
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 22:06:32 2010 +1100
build: add require_headers option to CHECK_BUNDLED_SYSTEM()
Useful to ensure the package has usable headers
commit b498378c8fcb2f87f7cb296e4e81ac392b1e34ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 20:21:21 2010 +1100
s4-waf: fixed some of the group ordering
We need to try to keep targets in the right groups
commit 20a8574717aef8f946ac9d8f3284e7318eeb9bf8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:52:08 2010 +1100
s4-waf: look in libintl for dgettext()
commit 0a6a808113a2417306f99080708fbc160856ed7e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:40:34 2010 +1100
s4-waf: add getaddrinfo.c replacement if needed
commit 4854afcfa13ad89db7e028d30700a8e1c027d0bf
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:06:55 2010 +1100
build: expand indirect includes to fix disable-shared build
commit 354a76aeb3f491be3224e2e77500b13ca21d8cf4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 15:32:06 2010 +1100
build: fixed install target for systems with rpath disabled
commit 385e02e9d9b9fccf48614f70ade3ceb2b6345f8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 14:41:08 2010 +1100
build: added functions for compound configuration testing
This allows us to give a single 'Checking ...' msg for a compound
set of tests.
commit 33d5c4a18c1b194d82e077844bb27d922de815a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 13:19:46 2010 +1100
build: don't link when checking a C prototype
commit 8e36daf51389c43de9182c660a68923049e7df5e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 13:14:01 2010 +1100
s4-waf: added test for dlopen prototype
commit 77a4fe495ef8056d186d5b6d24f895ff64db77ee
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 13:05:15 2010 +1100
s4-waf: added a --enable-selftest option as a shortcut
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
commit 7da57cc94b8e6ddfac1b9e1f35956667ebee2abc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 12:47:54 2010 +1100
build: tweak the strategy for finding functions
Based on a problem with res_ndestroy() on sunx in the build farm, I've
changed the default strategy for finding functions with
CHECK_FUNC(). It now accepts either a macro of a linked function, but
won't accept a declaration only unless you set link=False.
commit 9da89b4dda291ff2f42fa2e63cf84034c3a6f824
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:54:23 2010 +1100
s4-waf: show the fully expanded test command
this makes it easier to run it separately
commit 8ed23a408d384d16f379e68cbad8285e9112ec31
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:51:31 2010 +1100
build: new waf version with local patches replaced by upstream changes
commit 2277134e8ed0acf1c39768223e269c17add5ae3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:38:55 2010 +1100
build: removed debug line
commit 172b8c55f751c1f295dc75ae6143b158d6101228
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:37:07 2010 +1100
s4-waf: use the versions of perl/python found by configure
commit 6c76919ab516f6145c85a3c4da5c6bfe4ab632bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 23:46:38 2010 +1100
s4-waf: don't assume perl takes -W option
commit f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:32:03 2010 +1100
build: fixed a configure error with a totally clean tree
commit 874e39cbf00325cb379ddea274ae4288e32f8f72
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:27:17 2010 +1100
s4-waf: added implied_deps for system libraries
when we use a system version of a library such as talloc, then we
no longer get the automtica dependency propogation of talloc implying
libreplace. That means we don't get the includes for libreplace, which
means things can fail to build.
To fix this this change adds an implied_deps option to
CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an
implied dependency on the listed targets if the system library is
chosen.
commit ed5522adf24903a500e3565ea5eb443ed28440cc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:05:54 2010 +1100
s4-waf: install in /usr/local/samba by default
commit b690fedef55bb4bf9ecff07b78d3a14b4d4d6e45
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 21:44:37 2010 +1100
s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
commit 989eb9dbdc43387502a0e0f4fc8f6e0f157eeb3c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 21:28:49 2010 +1100
s4-waf: added rules for rebuilding the yapp parser in pidl
commit 8692ad4950dd946bc9bb095848b6bdf5cf530ef7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 21:11:33 2010 +1100
s4-waf: updated for new perl subunit options and filter name
commit 1567750070f7a9ff2e2e0acbc50eaac1747c4282
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 20:43:58 2010 +1100
s4-waf: added --enable-fhs configure option
commit 720742424d96e843972488a2b47305abbd8609b8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:55:17 2010 +1100
build: fixed the on_results problem with SAMBA_AUTOPROTO()
commit 42563820945a87bab612f306b01151b2f2e23024
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:48:50 2010 +1100
talloc-waf: don't build the talloc testsuite in s4
its built into smbtorture already
commit 7a3dd2c53f350a04f350931863e1a1de98505e8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:43:57 2010 +1100
build: fixed missing nodes display on errors
when waf can't build something due to a missing file, it displayed the
whole group of files. This update makes it display only the missing
files.
commit 3e017464201818d940128ca47b5c4f2703a23d63
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 17:20:39 2010 +1100
ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt
commit 65edcfa01600db1e6140e147ef74d4904fc531ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 17:12:37 2010 +1100
build: added pattern option for recursive_dirlist
also added LOAD_ENVIRONMENT(), which will be used in the testsuite
commit cd8de1581919dc9df43f3e2c6e045447129f49bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 17:12:04 2010 +1100
s4-waf: added pydoctor and wafdocs targets
these generate html documentation for the Samba python code
You need a very recent version of pydoctor
commit da1fed0a8f71d8190cf4bb0094f58f9c2a12b317
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 16:59:13 2010 +1100
build: nicer progress display for a standard build
commit 970892594b15b946667e02d2b521cf8a501f2662
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 15:27:54 2010 +1100
build: override PACKAGE_VERSION in pkg-config generation for libraries
we should use the vnum
commit d87b77e649bee4e4acbc0ab1d2d462673b541e7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 15:19:13 2010 +1100
build: reuse SAMBA_LIBRARY() to build python modules
This allows the rpath logic to be shared, and simplifies the install
logic
commit 02f9364bbcafb440be01c733dab49bee2a5138f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 15:18:21 2010 +1100
pidl-waf: re-enable the pidl man pages
commit 6dc2b16859df8203485623f2995fdb37d19a5e75
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 10:01:34 2010 +1100
build: fixed progress display
commit 3d4c99207dc21346e39ea3d6950be91bf0560598
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 08:30:29 2010 +1100
build: use 'Compiling foo.c' and 'Linking foo' like old build system
When -p is not used, display compilation messages similarly to the old
build system, but with a progress indicator
commit c6e73cb3b601dbbe737a7692e53c6fb9c72dff7b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 07:07:18 2010 +1100
build: move waf into buildtools/bin
commit a2b4d7e8ebf24bc65cceb38bf23d8d8dc3307d27
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 00:08:38 2010 +1100
s4-waf: ensure we don't end up with mixed versions of talloc/tdb/tevent
commit 71322481643878151553dee80fa2ab3de3f9e34f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 23:02:16 2010 +1100
s4-waf: get the sense of the tests for the HAVE_INET_* replacements right
commit 5d84194644c25055bd2535e336995492f6b68228
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 22:24:15 2010 +1100
s4-waf: heimdal wants to look for dd_fd in DIR
commit b7ff06b904f8983d49d4a37c1e86a342e55790f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 22:01:04 2010 +1100
build: tidy up the wafsamba rules a bit
use python string conventions for function comments
commit d8b91f112011128eeaee2e5b3e2c3ac98e8fa708
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 21:33:48 2010 +1100
s4-waf: sys_lease depends on talloc
commit 3cc01226ec7228ebb890c22baa2f6618ef371055
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 21:06:26 2010 +1100
s4-waf: more places missing libreplace
commit 88b6b86c59c6ecd78fe677ee97e4baad2291285d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 21:00:51 2010 +1100
s4-waf: added auto-detection of perl manpage extensions
some systems produce pidl.1p, others pidl.1. We need to know which one
to use.
commit 67a59c33fcff5ed63aacf0c2d05aee628dfadfe6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 19:40:05 2010 +1100
s4-waf: fixed dirfd() detection for heimdal
commit 1aca0f79b68943791933eb96b4db97447a3c1be9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 03:10:14 2010 +1100
s4-waf: added libreplace dep for the conditional heimdal modules
commit 06e10a290474473e00c0e39a8dbb85d36005c2ff
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 19:30:13 2010 +1100
build: work around missing defaults from gnu_dirs.py
commit 20146b3fe03f08c72db313973b75019e13198534
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 18:33:25 2010 +1100
build: fixed popt subsystem on systems without popt
commit 32ac04c0286edc5e3afe6f5cef18ccbbc79af4fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 18:29:46 2010 +1100
s4-waf: merge in the latest changes from master
The heimdal changes mean the asn1 compiler produces a 2nd header file
commit ca882d8c1f514da812dd424ca8afafbc2c2d152a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:53:04 2010 +1100
waf-pidl: don't need this debug ls any more
commit f72145c416e01b2f22e11b66770048ffc8894822
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:46:59 2010 +1100
s4-waf: change bundled extension to 'samba4'
This matches what debian currently uses for libldb-samba4
commit b0fb567f04240db3e523b5f285f5fe08e01a2a5a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:46:25 2010 +1100
s4-waf: more dependencies on talloc
these are needed so we can support a system talloc without using the
bundled talloc.h
commit ab1b0965380e927faa39ce4bf7f7de14e2d29afc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:24:05 2010 +1100
build: auto-detect platforms which don't support shared libs
commit 28a734829485f74ecff7fa922059c716893bbdc8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:11:06 2010 +1100
build: only add -fPIC if it is supported
commit 208d92a259398af1afc0b99dbfdc58171a1b671d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:08:13 2010 +1100
s4-waf: cleaned up tevent dependency
commit b9aa63887c005971b1b812893d6c1bbc50ea21b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 17:05:30 2010 +1100
s4-waf: cleanup use of LIBPOPT vs popt dependency
commit bfbf43cc36ab360b34b49d7e07c2f594e2b7e7c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 16:38:27 2010 +1100
s4-waf: support the use of system libraries
distros can set --bundled-libraries=NONE to force use of all system
libraries. If the right version isn't found then configure will fail.
Users may choose which libraries to use from the system, and which to
use bundled libs. The default is to try system libs, and use them if
their version matches the one in the source tree.
commit 505e902436b2a31a7b828fdeddf599339d0229e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:51:57 2010 +1100
s4-waf: we need a recent version of perls MakeMaker module
commit 01682f797f755fdd6de5b6096275da7488f0f294
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:43:26 2010 +1100
s4-waf: fixed some deps now we don't auto-include tevent and replace
this is preparation for being able to use system versions of these
libraries
commit c2d17cf978cb2d5275b2915fb0a87daa79acc28b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:42:28 2010 +1100
s4-waf: set default for bundled libraries
commit 3b380ea7ac9f33f208a9479d34bd514f8e3d5bf4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:41:49 2010 +1100
build: better control over bundled library extensions
commit 28a05bc1b0ff7e090753c9d8e248f00136fb491a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 15:39:16 2010 +1100
build: better waf test script
commit 29b1e8b70f3966c538929f4556c4a3b7ebb4a38d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 14:16:12 2010 +1100
s4-waf: don't auto-include bundled library headers
If we are going to use the system versions of these libraries then
we should not force the use of the non-system headers
commit 42c9380760de4e0ad3f69810b8d623b3a77cc692
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 14:10:15 2010 +1100
s4-waf: set the bundled library extension for some libs
commit f6a7d5b90762fee39ae117dc2bf926eac0dbab8a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 14:09:36 2010 +1100
build: added support for controlling library types
added:
--bundled-library-extension : control library extension for bundled libraries
--builtin-libraries : force a list of libraries to be builtin (non-shared)
commit 00825ecf34c94da50892a071547f0051f1668efe
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 13:01:36 2010 +1100
ldb-waf: rename libldb.so to libldb-s4.so if built as part of s4
Also include the ldap backend if not built as part of s4. In s4, we
use the ldapi backend.
commit 80b60df439820a054c03d67ccccb8e0c674a36c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 12:45:46 2010 +1100
build: add an ls -lR blib/ to the pidl build to help debug things in the build farm
commit 92de30dcabcb0327785bffca59ad3813339c7670
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 10:00:53 2010 +1100
build: fixed build group for the PIDL tables generation
commit f9eae32f4b4284e3820f61f3d40c46a41be97227
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 09:48:49 2010 +1100
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
commit c64ce3cd03695b5c0659c4c2818de2cd3953f910
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 28 09:45:06 2010 +1100
build: mark python rules as being part of the "main" group
commit cf77a1025c2158173414e3d2408b0a20fbeb65be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 21:29:42 2010 +1100
s4-waf: ensure all the ldb.pc.in vars are set
commit 9875be5511f0cb930fc02754d9c80be873f728c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 21:29:18 2010 +1100
build: throw an error on all bad variable substitutions
commit 1ee19592f01ac63f3374160abe56fd60bbf75413
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 21:28:59 2010 +1100
s4-waf: move the gnu dirs check to the generic wafsamba code
commit 91d604add3691e05c0ac1e96d3e2ab223e0b28d5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 20:00:01 2010 +1100
build: substitute @VAR@ variables in pkgconfig .pc.in files
commit 5b572f1bd8505b0e2d1758d868ae0dec80c5719d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 19:12:10 2010 +1100
build: fixed the python path in installed python scripts
commit dadc24fb0f3c8abe29113fa3576533f2e7902f16
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:25:40 2010 +1100
s4-waf: install dcerpc_atsvc.pc
commit 7c8b20037e5cac0644a657580fcb786be2666b2c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:25:20 2010 +1100
build: fixed destination name for pc_files
commit ad0a99f62c517e0ebabe928d1b2a99bb1d1ba001
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:14:50 2010 +1100
s4-waf: enable the configuration and options for pidl
commit bd44f14d8f920a89b43ac84417365191a93d4aaf
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:14:33 2010 +1100
s4-waf: enable the pc_files in the build rules
commit 1750bd4b363fecc9695ed20e707e786cae7e60c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:14:06 2010 +1100
build: added support for pc_files= for pkgconfig files
commit 052a0e0a02224db6ebacabbc1324dcf903b00c39
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 18:13:44 2010 +1100
s4-waf: only build the pidl manpages if we have MakeMaker.pm
commit f1284d657fe53b40fcb7b88d26146143d3b2fce5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 16:48:03 2010 +1100
s4-waf: build and install the PIDL manpages
commit 5c6e8371b28cd768ee731832fc5194ff31e1418e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 16:47:43 2010 +1100
build: a hack to get perl to put its generated blib files in the build directory
perl wants to put generated files in the source directory, whereas waf wants
them in the build directory. Use a symlink to trick perl into putting them
in the right place
commit 723e9b87ceb2676ce7501b7a59d8bf79de8e6f3d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 16:46:33 2010 +1100
build: only depend on the actual pidl source files in the pidl rule
We don't need to depend on the wscript files, or any backup editor
files.
commit ecb775de2ee4c6e1821f67a1c8a3eac4191f9c8b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 15:24:00 2010 +1100
s4-waf: install PIDL modules
commit bd7bf0e1a91b6e6c78a52a458d3959ef84f4d3e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 15:12:56 2010 +1100
s4-waf: install the rest of our python files
commit 85a11c4fb7ee39294298657f0e88c23e9a37da98
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 15:12:40 2010 +1100
build: support wildcard excludes in INSTALL_WILDCARD()
commit 307ac977a269d1ef2a2baca6be5360d8582efc76
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 14:50:43 2010 +1100
build: install build python modules correctly
commit 4d8d759e92506de4dcccce7d51ac83ef638153ec
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 14:00:56 2010 +1100
s4-waf: install pidl
commit aa5e08eb83fd7b130a98850e103654d8c0b2f96f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 13:56:05 2010 +1100
s4-waf: install the rest of the headers
commit 97ce609393ff72c4477ed3ae199cf87c04791634
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 13:55:38 2010 +1100
build: support wildcard mappings for header_path
this allows a public_headers attribute to put different headers in
different install directories
commit ba0c7edf803d521a5c03d27132dded0c3159f332
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 12:44:36 2010 +1100
s4-waf: set CONFIG_H variable for selftest
commit fe3cd6fb2838d34f259f3fe49daf95a5d0f464f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 12:29:44 2010 +1100
s4-waf: test/simple.c is not needed any more
commit a2a4fee8c6e98595c918abfcc7e6bd175fd79d68
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 11:04:19 2010 +1100
s4-waf: forgot these files
commit 03998d097079397c6a58a9317964a30e9c2c5b26
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 09:46:50 2010 +1100
s4-waf: started adding auto-install of include files
commit 11ca0c7b9d49d7f6723119758262230fe4f568f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 09:46:27 2010 +1100
build: fixed EXPAND_VARIABLES() for env expansion
commit cfeaed22c5974fc9fd0349a28283a5ca94238dfe
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 09:46:07 2010 +1100
build: these chdir() calls break waf on HPUX. They are not needed
commit a247ce8ef96cc4a2990e71a6dd06f1bf48b13feb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:42:37 2010 -0600
s3-waf: added options for static/shared module building
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit ab343e037d0931d3b24263e2db290b26fd88cd12
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:05:54 2010 -0600
s3-waf: build version.h
commit 0b47bda8166f42381abf7d29e3d5863515f93289
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:05:37 2010 -0600
s3-waf: charsets needs to be quoted as strings in config.h
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 2201d3d232f1a6e5e4054469f0897b70becf3ab6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 01:05:13 2010 -0600
build: added quote option to conf.DEFINE()
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 6b3a72dd45a1d8ff2aa087764a361a5370f84672
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 00:55:25 2010 -0600
s3-waf: fixed tests for charsets
Pair-Programmed-With: Kai
commit 8b14d217c4a6912f85889f146cc3281ac4c7a0dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 17:17:38 2010 +1100
s4-waf: fdatasync is in librt on solaris8
commit 03bf6c9d3b9e7ba5a26c307aae10f48a5c2d8865
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 17:17:21 2010 +1100
s4-waf: added rap/rpc.c
commit cb9dbc055fb2ea44e0af2efc7e2be6962b0ba449
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:45:23 2010 +1100
libreplace: add a replacement for strerror_r (needed on solaris8)
commit 63f20e696e07c1d81f3b449505e6a0190dbcebc7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:18:18 2010 +1100
s4-waf: look for libiconv before checking libc
This is needed for solaris8
commit eb4efc9eca9f0a1773fc974798e461415aa2076b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:09:36 2010 +1100
s4-waf: added checks for all the different statvfs varients
commit b05852171ba355bc87a4f903484ee9ee0c0942f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 14:32:22 2010 +1100
s4-waf: another place where broken ln -f on solaris8 matters
commit 42bad41cedfc717cfb6c80744bef6b1570ae502b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 14:29:45 2010 +1100
s4-waf: cope with systems with zlib versions that are too old
commit 9ddd9de59b94580ca1bf141e85e26d92ede2d701
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:25:10 2010 +1100
build: fixed copy_script typo
commit 6d268e4a826de46d3397741cd81cb2790d378587
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:20:05 2010 +1100
build: improved exception handling for systems without rpath
commit eb776a80b59ca20b58b9b4c832b70914263d278c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:12:50 2010 +1100
build: much better rpath test function
This creates a full shared lib, and a binary that uses it. Then it
tests that the binary runs correctly, relying on rpath
Thanks to Thomas for the code for this!
commit 5e94bca62e646fb4cc84a375f0c741dab4916abe
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 13:02:39 2010 +1100
build: a better way of calculating syslib dependencies
commit ecafbd3ec8b03f773d04a5e7b305a91aa08e18a5
Author: Kai Blin <kai at samba.org>
Date: Thu Mar 25 06:58:35 2010 -0600
s3-waf: check for default charsets
commit 6663f7825606d40077dede0ad5ee0df8ab19c708
Author: Kai Blin <kai at samba.org>
Date: Thu Mar 25 06:53:10 2010 -0600
build: Import conf decorator in samba_conftests.py
commit 2cac0c27cf5b8606fce53ca02fe0d47504e57514
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:56:57 2010 -0600
build: started a library of common config tests for s3/s4
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit 8f5551c4b3bc56a64f4c8f260821114b23fad693
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:25:29 2010 -0600
s3-waf: use new variable expansion feature
commit 239cdb53f4e994c8fd4afe1233e69b93ad632230
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:23:10 2010 -0600
build: support variable expansion in source= arguments to build rules
This makes it much easier to follow the s3 approach to lists of
source files in the top level wscript
Pair-Programmed-With: Kai Blin <kai at samba.org>
commit b2f01b54d21a464fa7fadb784b58909748f80ab3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 23:42:11 2010 -0600
s3-waf: modulesdir is in the base set of options now
commit 6e54655f4a0bdaa4be949909a77d60f502cf891d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 16:48:46 2010 +1100
s4-waf: update torture for new ndr/drsblobs.c tests
commit 48fd7802f9788e69ade6d252e1f718be6b77438c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:32:58 2010 +1100
s4-waf: replace stdint.h and stdbool.h on systems that don't have them
commit 7bb5be1324bbdc3af51ac21820f2f25e7df2fca9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:21:22 2010 +1100
build: solaris8 doesn't honor the -f flag to ln.
It's in the man page, but it doesn't work!
commit 6c3b69be9bdfc29ad0c0fa2c028fad0be193e042
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:20:45 2010 +1100
build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths
commit 12e6a920a79c04779cd188e8e88b16625d273c8f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 14:20:03 2010 +1100
build: old versions of perl don't understand the -W option
commit 14fc71fc27d80d76d4e1cdba0f8d2a4eace2dd0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 12:35:18 2010 +1100
build: we need to replace md5 in Task as well
commit 2454baf83b82fa60bca173eb701aae56f3b65a89
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 12:26:50 2010 +1100
build: need to set h_file on Utils
commit 81f5efba9182b6907bcb54a3d6ecc4fb19656306
Author: Thomas Nagy <tnagy1024 at gmail.com>
Date: Thu Mar 25 12:18:16 2010 +1100
build: replace h_file when replacing md5
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 1588a8d7a9c7aba8f7e34e6bfcaff8f094ff12da
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 22:50:17 2010 +1100
build: attempt to fix md5 problem on solaris8
commit 026690af0076d84947ea60a3a20d0bba972e67db
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 22:29:12 2010 +1100
s4-waf: remove the need for some of the lib aliases
commit eba9a54927dc363602389adac5c6edf09909fb65
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 22:10:24 2010 +1100
build: a few more build rules that should have on_results=True
commit 742cb4547ae1798ca77cdb3d0ab6483ab5dac531
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 09:29:20 2010 +1100
build: fixed case of system library deps
commit 988bc0cdc2604b9d309af9895f3716e4bca59d47
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 24 10:54:31 2010 +0100
build: make use on_results=True for some build rules
This makes sure we generate a checksum over the result.
In practice it means we no longer recompile when a proto header
is triggers a rebuild if it hasn't changed its md5sum.
metze
commit 17f4485722d507f04e95c358d22570c499d14c62
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 17:01:31 2010 +1100
s4-waf: disable_gnutls is gone
commit 65ffd1240df9edfbcfe62cf87a1e29c4a4bb9ec1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:45:08 2010 +1100
s4-waf: don't hardcode python path
commit e35864afdc298f9ca3d545c05c6c314c87fb8ff7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:37:41 2010 +1100
build: cope with systems that don't have md5 in python
commit a6ce1c3dce8c189c6454194e61f52a611c79d83d
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:25:37 2010 +1100
build: need to mark disabled libraries as DISABLED
commit 9df6c861233c422b4d24fd017773745781e8815a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:21:28 2010 +1100
build: honor both --enable-gnutls and --disable-gnutls
This shows how we can do the dual-boolean rules we use so much with
autoconf
commit 6ef817dd7c90c20a0fb2e0e9a69e20dcd03ae459
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 07:44:48 2010 +1100
build: fixed the cflags for pkg_config libs
commit 7848344d55116e33b7f5a4bacce29eaab3fa99c9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 12:56:30 2010 +1100
build: split out the base waf rules into buildtools/wafsamba/wscript
this stops lib/replace becoming a mess
commit 3d5dda63e33283ac2762782fc921d469f2b3cda0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 12:09:30 2010 +1100
build: use gzip for waf packing, to try to make it work on irix
commit b4d34f849e0b48a80e400015160e48f7f4aa2fa0
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:28:03 2010 -0600
s3-waf: the start of the main build for s3
commit e19196110cc9d29c3fb330737507adc364f3bd9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:27:31 2010 -0600
s3-waf: more configure tests and minor fixes
commit e642c5a155a9077f1e63688d7877e1f930bb2f63
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:26:49 2010 -0600
s3-waf: added build subdir for dynconfig generation
commit 8de258c81bcf0e2067f05c8cff1b48771dbde1f2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:25:50 2010 -0600
build: use shell=True for SAMBA_GENERATOR
This allows for shell redirection in rules
commit 1fb1af92b3a14e965d7b1ec3680d08ae5abae290
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 18:23:41 2010 -0600
build: added msg argument to CHECK_TYPE()
commit 8f33da10da74a99dd3b4bb6f9dc922534b0e7fd4
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 23 21:58:44 2010 +0100
build: Change checks to conform to new CHECK_* behaviour
commit 38f8b86c7756893a32d24eee101d272b35209f78
Author: Kai Blin <kai at samba.org>
Date: Mon Mar 22 22:58:43 2010 +0100
build: Check if the compiler will optimize out functions
commit f7569922d929efde85324f2a50ff7c45f92fe3c9
Author: Kai Blin <kai at samba.org>
Date: Mon Mar 22 08:59:02 2010 +0100
build: check for int types included from rpc/rpc.h
commit 3bc6cf80972780e492f6f212a9591ba12b5f6f43
Author: Kai Blin <kai at samba.org>
Date: Mon Mar 22 08:48:09 2010 +0100
build: Check for POSIX capabilities
commit 22d9f3d7c5c01c2d8450352f622e7a498aa2bc46
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 23:43:28 2010 +0100
build: Check for various members of struct stat
commit ea767433945b8a2315a4f89c1a2389c918da08a6
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 23:02:14 2010 +0100
build: Fix package name and package string case
commit 998a9da86792b5d3378e0fa2b86b6bd18e142742
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 23 09:02:59 2010 +0100
build: Check for functions needed by Samba3
commit c37f6e649d6e5f8d60e9e5adbbe66455e49f64d5
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 22:49:25 2010 +0100
build: Check for kernel share modes
commit 565191e39f23f6203412ecee728d15666906ca48
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 13:01:00 2010 +0100
build: Check for IRIX kernel oplock types
commit 23ba9ad6e20f751e7d68f24f8d2dca7cb1c7e335
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:53:44 2010 +0100
build: Check for Linux kernel oplocks
commit 207869dbf44f23fd3b1576e248851b88d333a6fa
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:44:31 2010 +0100
build: Check for kernel change notify support
commit 048b821b29566613a0e494eb2712abcf7f62bd6e
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:20:52 2010 +0100
build: check for inotify support
commit fcab2b33053980f19aec0adc7db8934a614b89cc
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:20:13 2010 +0100
build: check for inttypes.h
commit 208bb86aaedfa81441951249726862ff0ef6820d
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:13:41 2010 +0100
build: check for headers needed to generate stack traces
commit da3902745ed9b96b7ac3327ea31d8e111554924d
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:12:54 2010 +0100
build: check size of dev_t, ino_t and time_t
commit 0e2afc2c533cbf5ca258eea82650da627ab78730
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:12:27 2010 +0100
build: check for uint_t
commit 2a869b4abd718b70135586521136b39ff2721cc7
Author: Kai Blin <kai at samba.org>
Date: Sun Mar 21 12:11:51 2010 +0100
build: Check for syscall headers
commit 33ef088f3de34b2da8dde9572cd7a4e1fd2f9914
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 17:53:08 2010 +0100
build: Check for krb5 headers
commit ac9d39d1081a31542d832c547901b453ec58ded4
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 17:51:22 2010 +0100
build: Check for LDAP libraries
commit 59074dcfb1b07d487f01c63d1e06408605332884
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 16:51:15 2010 +0100
build: Check for CUPS
commit 41e8e54406bfadbbb2419b904d52f8bfe9ff40fa
Author: Kai Blin <kai at samba.org>
Date: Sat Mar 20 16:37:03 2010 +0100
build: Add a basic wscript file for Samba3
commit 0632fac52ea1ab36c42a479bb43893929493b7a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 04:48:32 2010 +1100
build: add cflags from pkg_config results to header/function tests
When we find a package with pkg_config we may need to use the
resulting ccflags and ldflags in later tests.
Support this by adding lib= options to CHECK_FUNC and CHECK_HEADER
This gets gnutls on FreeBSD working
commit 3b87d36c2bc598f32eec2d7b50f9118d7e3d063c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 13:52:23 2010 -0400
build: test all the developer cflags before adding them
commit 9c0c4a5011e58c3a3195f995e05efba1248ad422
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:57:22 2010 -0400
build: setnttoken depends on libreplace
commit 04fed1f2b6c8a6ba257a436b80ef19d4ec3db1c7
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:46:27 2010 -0400
build: sys_lease_linux needs to be conditionally enabled
commit 282de50be79718df79f338ed2c4788a0536fd015
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:36:45 2010 -0400
build: add additional libreplace conditional sources
commit 3e84e10daf7282c61b6a557a8e97af84d8ab3e15
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 10:00:48 2010 -0400
build: finer grained rpath checking for binary/install
commit 9730166fd6111160dc7925785317208f94fc677c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:32:23 2010 -0400
build: configure fixes for opensolaris
commit 014c8736e5d369dbeb5177d1f14d6d0328f4129f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 12:20:11 2010 +1100
build: socklen_t is in sys/socket.h
commit e2a9af0be4c8f17e42eb5606f2e204657cf807f5
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:51:09 2010 +1100
build: added --with-selftest-prefix
commit 8e7922e10c0e3c7500477bd9ab2d7c28fcc81d51
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:34:44 2010 +1100
build: fixed headers for C prototype check
commit 00649a9c6266f959dbc7d857180e43f2b1363844
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:29:51 2010 +1100
build: updated configure checks or new syntax
commit f95ca1afc984ecf295b9181b2f699a72afcb4772
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 09:29:19 2010 +1100
build: rewrote the autoconf-like macros to be more consistent
This also brings them much closer to the behaviour of autoconf
commit 98d16cbec065bc085eabd2f80f9515d5a1b8fdc9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:50:29 2010 +1100
build: fixed prototype test
commit f429e621d98a7f5275c01556993d0abbbe3e8dc7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:38:54 2010 +1100
build: added checks for solaris getXXent_r() functions
commit 570847054cb0d9b257d794b8f4dce38ddc5fe679
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:38:38 2010 +1100
build: added CHECK_C_PROTOTYPE() configure function
commit cc2284cca12e7b8a1153b4d1f46484f4c79ba5c3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 17:39:00 2010 +1100
build: python 2.4 doesn't support multiple union arguments for sets
commit 9930493cc33b8c5369fd937ff2c40db068975726
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 17:35:14 2010 +1100
build: sun c compiler wants a newline
commit a973c5f2806d8ccf47871c5f325be50d2537951d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 17:31:27 2010 +1100
build: expand indirect syslibs after loop unrolling
otherwide python libs in the disable-shared build don't get all the
needed syslibs
commit c5d0208aa90d530270ce4a14d5bcc130ba6ab8e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 16:57:44 2010 +1100
build: fixed handling of full dependencies for --disable-shared
the subsystem dependency loops get quite complex when shared libs are
disabled
commit b18f85041e65c7ebf47d6cd5b51e90a5f06129b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 16:57:05 2010 +1100
build: don't use double binaries/libs if not needed
when rpath is disabled on both install and build we don't need the
double binaries
commit 0dc64c745891725a6a5bf1b71749c9dceacdd519
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 16:37:47 2010 +1100
build: mark wafsamba as unbuffered, so stdout and stderr are better in sync
commit 0bb6c60e3177d9167c45b828187ce6658aea2144
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 13:15:29 2010 +1100
build: added etags and ctags make targets
commit 2239a52fecc5e630e61d72b3b13e18bad9c582e0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 13:01:58 2010 +1100
build: check if a simple C program runs
This will be helpful for working out why AIX is failing
commit 8bc95608223033428cc1fae7525f07e22ab7d8ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 07:48:10 2010 +1100
build: more complete implementation of waf configure -C
this is a closer emulation of the autoconf behaviour
commit 35aaf0e7723142d25b19a33c1701961a8e142ede
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 13:51:33 2010 +1100
build: rkpty should not directly include socket_wrapper.c
commit a538ed1c826b67dafc1e8f1492180f9a17e843dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 13:50:43 2010 +1100
build: fixed build of heimdal/lib/roken/err.h
commit 9e0d0fa25066f658b7ca49e324919738c695917e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 11:17:37 2010 +1100
build: enable real cacheing with waf configure -C
commit e8775226ad2e40b96d8d5aae6c31c5845c562f20
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 11:04:57 2010 +1100
build: added --disable-shared option
commit 69c065c719c208c5ef0fd8cb5df55621dc77a3e1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 11:04:26 2010 +1100
build: optimise and re-enable check_duplicate_sources
commit 064f26ea0734ad27d21d71602c2f94bc2815004c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 10:21:16 2010 +1100
build: commented the missing subsystems
commit 2974f8d947c5e9348c243425b58e4249eaf74926
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 10:21:01 2010 +1100
build: fixed libcli/ndr_netlogon.c dependency rules
commit b282660d3981540c8c9b588c25fcd8537a567988
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 21 09:50:14 2010 -0400
build: fixed issue with CC="ccache cc" on solaris
commit dc9010572c1d32a4e1c82afbee2a359c429cc9aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 23:41:15 2010 +1100
build: support systems without rpath
commit 9a2ea72d2d1affa853a70131301de96f258178a8
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 23:41:00 2010 +1100
build: removed testing cflags
commit 584986e392a799075d79277fc37ea5e0573b9c0c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:55:04 2010 +1100
build: cope with subsystems with no enabled modules
This happens for the notify subsystem on non-Linux systems
commit 88db935f56fc0bfdbcda8eadc74ff95ae9538158
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:41:48 2010 +1100
build: 'makefile' (lowercase) is now a generated file
commit 6858e73e409c29bbfa694bc0ec5035290b4f7c54
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:14:24 2010 -0400
build: tevent_epoll.c is conditional on HAVE_EPOLL
commit ea8d112683504030c782b5f7e41104bdb33f66a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 22:13:53 2010 -0400
build: fixed ifaddrs.h for heimdal (from template)
commit 19ed4c709526ef59d3f59f736c224bd16bfcfb3d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:41:41 2010 +1100
build: if a library is found, but not the fn, still define the library
commit 8253fe0c727cdeb2b268be50be6dd6fb2729b313
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:38:35 2010 +1100
build: don't use gcc warnings during configure
commit 54941c86e792820f047f47abfb41db2fe1d0d68b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:38:18 2010 +1100
build: fixed gnutls check
commit db8115f687a5d51a7e487db5db9687c5aad1f4b3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 19:26:32 2010 +1100
build: fixed check for pthread_create()
commit f2f8fc440e24cf92213b33f1f913ec9beda8d46e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 18:36:33 2010 +1100
build: more careful library list handling
commit d148461101f4709d8e1a8b9eb64535e0bd15d874
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:54:05 2010 +1100
build: CONFIG_SET() takes conf argument
commit 3207f81787f33da3e25ba8d62ecb923f7aef9861
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:51:55 2010 +1100
build: more functions that are in -lsocket -lnsl on some systems
commit 508cb5b97ec843aff26d60915578b2eb6cc155fc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:51:39 2010 +1100
build: cope with double check for functions
commit 055c4898e73f91cf196b03346323d1837ffd8251
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:32:04 2010 -0400
build: compile_et needs lib/com_err includes
commit 0597c715b6369a1ee46d896aab67f55b98a19e71
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:37:43 2010 +1100
build: libreplace now depends on nsl and socket
these become empty targets if not needed
commit ec3fbe5fb18cc03ca94f6b3019bcac489dc53726
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:35:05 2010 +1100
build: inet_n*() are normally in libc
commit 1130f8f8d778da2da42d19392aafea520a2e189c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:27:23 2010 +1100
build: lib needs to take a list when more than 1
commit 593c28b717b081bdd6e19ebdb086da88834a7385
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:21:26 2010 +1100
build: ensure all libs in CHECK_FUNCS_IN() get a target type
commit 7628cb7da1d2b1f5bcdacecfd27866aad8b199a2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:17:56 2010 +1100
build: cope with multiple libs in CHECK_FUNCS_IN()
commit 0bad3dacb02411f46921af23faccd66f4196268f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:10:51 2010 +1100
build: cope with multiple checks for the same function/library
commit 702615dadc34897ee5876a67ed7f4acee375f30e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 17:05:04 2010 +1100
build: don't look for gettext twice
commit 76761c5c8edfeaea53ae57a00b08163425481cda
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:59:53 2010 +1100
build: these cause problems incrementally too
commit bb5659fbfb3b7491266ba7e6b7dfdc7d9f887736
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:58:18 2010 +1100
build: more non-incremental headers
commit a8130e8e1fb12e4ad321c566f125d9a32ec2317a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:55:40 2010 +1100
build: don't add curses.h to incremental confdefs.h
commit 81d155af96104ce6b84d0e51f0fd052329551dc3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:49:02 2010 +1100
build: check libc first for several libraries
commit 8005100b2e06bab32db6aeb0572eac9faac2ab7b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:34:58 2010 -0400
build: fixed REPLACE_GETPASS
commit bfc17535144b9f1800d7a35a60473e08ad4093bc
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 23:32:37 2010 +0100
build: Check for various headers S3 needs.
commit 7c20de97a0e0be442a70b4af0a7704763b39dbe4
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 12:13:58 2010 +0100
build: rename s4 compare_config_h.sh helper and add a s3 version of it
commit 4b68550642098f42b8fb3d7b08b6d6f475bb3d34
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:00:52 2010 -0400
build: also need to put stripped CC in conf.env
commit 86cfbbafcdc42acd1d37fb152ab123453bd985fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 22:33:43 2010 +1100
build: gccdeps fixes from ita
commit a602a98b495d8b20cf1a1456cf53710ab55d408c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 21:15:06 2010 +1100
build: added WORDS_BIGENDIAN test
commit 54772758a8992f5907f7e2372edfba6f1e9bc2f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:56:15 2010 +1100
build: don't assume bash in configure.waf
commit 75c2c870c1b5a7890001194da44489366f6e950d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:30:14 2010 +1100
build: spelling fix, and syntax highlighting fix
commit 344621cb0ff37167cb616bd6df0471318951f584
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:26:25 2010 +1100
build: conditionally enable inotify
commit 5aacacea678b104b9ead9e4ea642c583791282b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:06:33 2010 +1100
build: check for pam headers
commit 8ea03369bcd8ebb351e280222184f6d583640f46
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 20:06:22 2010 +1100
build: tool to find missing install components
commit 5025ca10c6845af888a80a57a012c19fde6482ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:56:08 2010 +1100
build: added --enable-gccdeps option
off by default, for maximum portability
commit 6f15ea31c2a484273303d0d451eabeeaad71809e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:51:26 2010 +1100
build: install samba in sbin
commit bcc1ce2617f67f568ec2535ab447b14550f4e3cd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:51:13 2010 +1100
build: don't install the heimdal compilers
commit 6ef00262efd7e42b5ca5ca9ebe20af4863e7611b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:50:57 2010 +1100
build: don't install talloc_testsuite and ldbtest
commit 3254003956d069df3860cba3f58d11f1055e06b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:50:21 2010 +1100
build: fixed includes paths for CHECK_CODE()
commit 19b6e8b4082e4c4d77eb2515f9f9d8caf20922ae
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:49:59 2010 +1100
build: use SUBST_VARS_RECURSIVE() for install_path
commit 3335ff742493c44ec3bed96778441cc9561044f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:49:42 2010 +1100
build: added SUBST_VARS_RECURSIVE()
commit 550b985235351f792327d30a34ac9608e397100e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 19:49:19 2010 +1100
build: updated waf-svn (lower preproc recursion limit)
commit 9a243a791b2ebc2ca31ec109fd097e43463b30e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 18:07:39 2010 +1100
build: rename samba_includes.py to samba_optimisation.py
commit 8caac7a1a32c69474dd8b74d1ab8181c8f6c74f0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 18:03:17 2010 +1100
build: more optimisations from Thomas
commit 5e73038ba3fce75d7d4e9b15c3a4dd189bb816f2
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 10:10:36 2010 +0100
build: Add a ctags command to build a ctags-style tags file
commit 752533f86541214b855c123215f4c40a5bcae761
Author: Kai Blin <kai at samba.org>
Date: Fri Mar 19 09:17:15 2010 +0100
build: Enable more warnings when using the --pedantic configuration option
commit 24cfa2957a8ab5f89f4e12207d378548dfbe1351
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 17:54:58 2010 +1100
build: install codepage files
commit c1dd88216244458e459c365cbe11dbb6532b3f86
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 16:48:01 2010 +1100
build: don't default to WAFCACHE in configure
commit 8ba2a345b494ea25bdf5b8f61eae21714f025cb6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:38:37 2010 +1100
build: fixed git version in samba -V
commit 3ff3a11c33a8a3d9fbacf76fcf59c8c4d929e4a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:25:50 2010 +1100
build: use RUN_COMMAND() to wrap os.system()
commit 6e550ac4c7f2c2a2a14ed0816e439824e8c898aa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:58:58 2010 +1100
build: trim whitespace from CC options
commit 2a1520ba67c27963e494012c02b73e0a14579347
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:49:08 2010 +1100
build: make bin/sambadeps depend on samba_deps.py modtime
commit 651941abbaafc29bff68d37f2ff343cf05982008
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:48:32 2010 +1100
build: python modules need the libs from broken lib loops too
commit dc68427b0e1691db6a52f9eb5e77c42755eea2b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:37:01 2010 +1100
build: fixed st_done test completion code
commit be4c0aa59116ca2696f498b46b12e4d79cbd0f2a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 10:25:56 2010 +1100
build: default to 1 job in make, to be build farm friendly
commit 9799356082958103b51d9f7216a77a31d90d9937
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 09:39:58 2010 +1100
build: fixed config.h generation when we have source -> source4 symlink
commit dae33b53a545217f432c7b1c650b9a6650a96f9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 09:10:59 2010 +1100
build: ensure that the 'build' command appears in waf --help
commit 7eab82fce009fd6b1f16a3bd75d872591d92e8b9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:48:09 2010 +1100
build: fixed the install name for python modules
commit e9fd67f4deaa822bec025f8cc2557b825a05f3ef
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:47:48 2010 +1100
build: split build and install libraries/binaries
we need to split these to avoid re-compilation on install
as install has different rpath settings
commit c1f4015dcd7cb6edbde9fafd138c4d36fc061a8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:46:44 2010 +1100
build: cleanup the ASN1 rules a bit
commit fd3bb81568de18bd13fb553d76f987aea904b8bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 23:46:27 2010 +1100
build: new waf version (fixed python install bug)
commit ecfa3fd6800e3492ffa3984f7b7644bf9d26b2fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 15:11:30 2010 +1100
build: disable WAFCACHE by default
It doesn't have a size limiting mechanism yet, so don't use it by
default ot it could cause havoc in the build farm
commit ca4e64847c7623a3eb7f13c4a06b8c4302d18cd8
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 15:07:10 2010 +1100
build: compatibility makefile targets
commit e29e2c9d8d57dd73ce55ab23782bd94be1d25c96
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 13:18:47 2010 +1100
build: alias the libiconv target name for subsystems that depend on 'ICONV'
commit 0f30240de16d34077a351314ec440c5066c7fd02
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 13:17:43 2010 +1100
build: added 'waf etags' target
commit fe7d1a18b956503851dcdc5fa455fbb47e8eb028
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:19:46 2010 +1100
build: don't need the S4 in the PIDL prefix
commit b7cc6d48d5664aa83951c31fbdaabfb839f1b420
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:17:15 2010 +1100
build: teach samba_pild.py about the --com-header and --dcom-proxy options
commit 365f29136fa0410ca92f17b4595cd5c51b38697c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:52:41 2010 +1100
build: only enable pytdb on s4 build
commit 87ae97c38181f4228eddb0fb58cd41b25f5342ea
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:47:49 2010 +1100
build: fixed the build of the com.so library
commit 64a528efee86379c4709b8d1ac6c8eff679ca8a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:47:31 2010 +1100
build: added a cflags_end SAMBA_SUBSYSTEM() option
commit e9ef5cb091e7861295692dbedefc1761c2eccf87
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:20:19 2010 +1100
build: enable com library
commit 2501364eebce96cf3925410fcbe0e3a84d634175
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:20:10 2010 +1100
build: don't remove Makefile
commit 69fb3132335a367b49491a9a54842bf958ae6f85
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 17:20:02 2010 +1100
build: enable pytdb
commit 10935a33544824207c4e7df946908c857d20c946
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 00:22:54 2010 -0600
build: optionally enable builtin popt
commit cb0bf90b1045d68315ce9d7c61cb1493bfb71306
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 16:26:12 2010 +1100
build: don't use -W warning option for developer build
commit 330361aa18201be2bfc414d1cb481a295c07c5a5
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:56:18 2010 +1100
build: removed unused file
commit 8d0cb0321a9935f738c2e6a91afff4bb9e9bf3fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:55:21 2010 +1100
build: allow configure -C to work again
commit fe9e5d33bb1697bc92348f8e27da8f3d666965e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:39:24 2010 +1100
build: go into system includes for dependencies on configure
commit cf7f64b4e726ba1511d8625f214f785349211d01
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:22:55 2010 +1100
build: fixed some more missing targets
commit 495c5e2c834536ee933c9991648fcea9f1cad142
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:22:36 2010 +1100
build: added a lot more options to waf test
commit a559edf9067a1ecc0972c88961ed697ec5836490
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 15:22:18 2010 +1100
build: fixed init function sentinal for python modules
commit e6a47a8dea252c7ced95141f24de68f4d6a21c41
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 12:14:11 2010 +1100
build: we don't need varients in samba, so we can optimise a bit more
Thanks to ita for suggesting this
commit 32bf9bc84e8b4032f8808f6d50926fee27c587fc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 11:53:46 2010 +1100
build: remove hacks from top level wscript
commit 7c35b9ca70684cc515e93cd2232ce1338e667fe1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 11:48:44 2010 +1100
build: an optimisation for includes file handling
This optimisation makes waf include file handling more efficient
commit fb2d78954d1cd73e214589c92de8a05e24ecef14
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 11:46:14 2010 +1100
build: allow waf to cache include lists more efficiently
Using include paths all based on the topdir is more efficient
commit e6f7a13a17b30d2a266924d8099c77ea47f4d500
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 10:58:07 2010 +1100
build: try faster includes processing
commit e4104eb085d579893a5bb5e5ae8ee02804dc7cfd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 09:55:41 2010 +1100
build: more efficient pidl rules from ita
Don't re-scan the pidl source tree each time
commit b09797f30bbceb634935ba8fb86e79b2faa1a7ed
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 09:43:35 2010 +1100
build: updated waf version
commit 5db5772db12e41da9389863062334fcb27f29259
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 09:05:43 2010 +1100
build: fixed the build without sasl libraries
We need to only enable the cyrus_sasl module if we have sasl/sasl.h
commit 3c9e8e18aac7ba5e0446a38741a3fe6af8936651
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 08:50:49 2010 +1100
build: check that the symlink doesn't exist before creating
commit 062c2b1fe6aa08273291c952e8a579b759fda986
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 16 16:41:14 2010 +1100
build: allow shared and python staging areas to be referenced in build tree
commit a9ea3d6fa510286b83c4bda42c9a857da3625451
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:15:46 2010 +1100
build: cope with the common gen_ndr files being in the git tree
commit 9f47c0e7b721561306e7413a412b9e897a0e5b1e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 16 15:28:56 2010 +1100
build: updates for current master build
commit e502031171013f659405a80490845ef8f95c3c91
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 20:43:31 2010 +1100
build: fixed samba_deps.py for python 2.4
commit 16fbcb3556607e3fffcefab99cfacea1768a8ead
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 19:22:12 2010 +1100
build: fixed termcap build
commit 5d588cf0a68f8f3a822d9f414bf6c616f9a8b3ce
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:55:23 2010 +1100
build: use a plain build, at request of metze :)
commit 7cd9a6be35ca50fb6e85b9507a9e7dc377ed65da
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:48:59 2010 +1100
build: fixed cflags in CHECK_CODE
commit 39ac32e54ac2043fb8f567a5f50fb32bf754098d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:26:58 2010 +1100
build: default to waf -p
commit e054dcf33fe52429d09a8f607f16b6a591ac36f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:23:48 2010 +1100
build: added test targets for make
commit ec2b11c7fa65cfcff5af7d303fed07359f5750fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:08:31 2010 +1100
build: fixed group for heimdal autoproto
commit ec2cb473d0271ea22ea87350417b59e90e9f87c0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:06:31 2010 +1100
build: added ldb 'skel' module
commit 8a5c01a04925e6dad11260fbccdcc94f3a354a37
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:03:55 2010 +1100
build: waf test now depends on build
commit 05bda767c59107d9fa01d8f7f59adad3d19589fd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 18:03:43 2010 +1100
build: need the sample ldb module for our testsuite
commit 5c0f9079c27537a974c6a64a29ac4c864853057e
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 15 17:46:09 2010 +1100
build: waf test now works (at least for some tests)
commit 844acb226086e55de9a2442396a4e002471295e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:12:16 2010 +1100
build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
commit 845e0cbe6f43e2762796c644035ac6bc2b07cf17
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:07:42 2010 +1100
build: commit all the waf build files in the tree
commit fffa6a5b488058d984d61b0cd1fe1fb550a196b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 22:07:11 2010 +1100
build: separate out dependencies and python rules
commit 8f1b809d2ccb083cb84532e98b04a12fb1039e22
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 20 16:27:48 2010 +1100
build: nearly there on samba4 build
commit 9cb39847c068305d544bcacd6887c57412e16586
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 9 08:17:43 2010 +1100
build: better target name for lib link
commit c6e095de74b82bfaff689168fc4e1d86a0db56a4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 9 08:17:26 2010 +1100
build: assert on missing dependency
commit e916aff9e1d44c3599c30b9ea32d03921f6403f4
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:48:26 2010 +1100
build: much nicer pidl rules
commit 6bba8cfd9228fdda27efed8ae0a4b9104662aff7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 22:54:46 2010 +1100
build: use export_incdirs
commit d70c4e8ea970bc17fa95291d7cc308cd7dce265d
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 21:24:16 2010 +1100
build: fixed heimdal include lists
commit 2498a0d25e889e5d0efd82afbc57c3ac8c8863de
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 20:44:11 2010 +1100
build: saner CFLAGS handling for defines
commit 7c3234c4854f904e41c69b3c25fa3bcdce765cb7
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:55:11 2010 +1100
build: enable ENFORCE_GROUP_ORDERING()
also fixed ASN1 target names
commit d01f75c72df6c49c2898f5f26dbffac7a55ac3bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 20:34:33 2010 +1100
build: back to stricter deps
commit cdf1a3d4bfa0c945b450e67f42e882a67699efd3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 20:34:15 2010 +1100
build: added ENFORCE_GROUP_ORDERING()
commit a7c60e0b67c069d1e6e52207c35605016c3e9861
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:40:58 2010 +1100
build: added getpass() tests
commit b2f7e4b5e2bf3da9bf2aca9a0c0ffd5d8408b2e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:26:07 2010 +1100
build: make CONFIG_PATH() understand absolute paths
commit 1726ba92cf70c86a9ca2eb852c3eb6f18eb89591
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:25:47 2010 +1100
build: added SUBST_ENV_VAR()
commit 7abe08af9288ee39d66117f292905be6189f96bd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:25:36 2010 +1100
build: fixed LDB_MODULESDIR
commit 29f22bb0c0914476d93e63ed77e75b75f2a4cd14
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:25:22 2010 +1100
build: emulate autoconf PACKAGE_* variables
commit aaa4c4b083a2cdb1e2656f444ae88893e80c6887
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:06:53 2010 +1100
build: added statvfs64 test
commit fdd2f416ebd3f9d6150970ccfb3153e6809ff9de
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 8 00:06:39 2010 +1100
build: added local_include option to CHECK_CODE()
commit 6a8c43672bc5d33ea7edbe7879a4284cbc6df12f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:48:57 2010 +1100
build: added wrapper options
commit dd2aba149c7176594a311cbc4c42065c3074c696
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:41:29 2010 +1100
build: check for RETSIGTYPE
commit 58049e7f16c59646576a695cdbd5a6e03bf8f106
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:31:48 2010 +1100
build: added IPV6 test
commit 690b08fa0ad27d1fc7b9564c8c216c2ff00f944e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:27:50 2010 +1100
build: fixed _Bool va_copy and VA_ARGS tests
commit 5bf0b5c72fde178643675352a91efaf6afae0690
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:23:15 2010 +1100
build: new waf version - fixes mkstemp problem
commit ec2d90a8bc51e6d6b7b210df42cc8e51c98610a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:17:06 2010 +1100
build: fixed sockaddr_in6 test
commit 2ea4fd66339017c72578a9b44944e96ab6464e64
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:16:48 2010 +1100
build: iconv checks
commit 12c46d90552e7c51a4c0757cae7ee48b93aeec9d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 23:16:20 2010 +1100
build: fixed cflags in CHECK_CODE()
commit ae1c2b90226d610e1d4e3c992d8b8ea4515aa846
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:59:25 2010 +1100
build: check for xattr support
commit 1d18c6c7b06ab718c483370dd1cd5bdd3fa8cbda
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:54:53 2010 +1100
build: fixed winsize check
commit df5dee4b71844325d62a53928c7341648ac2d362
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:52:58 2010 +1100
build: more libreplace config checks
commit 1958a0987e5aa252eac6bffd1b829eb1405b9591
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:52:13 2010 +1100
build: added CHECK_CFLAGS()
commit 481a299fc8c24fa57d3a8742c9d7e6a13808e506
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 22:12:01 2010 +1100
build: new waf version
commit 64ba3c767283ce30551a08c30c578ba93ce2dea0
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:55:51 2010 +1100
build: check for libsasl2
commit 6beff490c552159f24f9b84da33af83c1e626322
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:54:05 2010 +1100
build: fix name of libs with - in them
commit 332553d8abb0711a2c38d1499b22194c62c80bd2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:53:54 2010 +1100
build: check for libgpg-error
commit 71b5f97cd0e4346901da4d0361dcde3f98c19210
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:53:41 2010 +1100
build: check for pam
commit bbb85a26ebfd276225a809ee363b50fa0c724b1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:35:31 2010 +1100
build: define HAVE_LIBxxx when we find a library
commit 82f3ef486f6566246d26156ac59c662aefee4c88
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:35:20 2010 +1100
build: zlib checks
commit ada6e570d11636ea79cc0503c3b7ee12fb07daa6
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:20:32 2010 +1100
build: fixed iuserok test
commit 5882c44c8149c6db529055ae9f082de30ad80820
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:20:22 2010 +1100
build: check immediate structures
commit 165b5b660a60b2d79361bd32441e7a1b8c10edd3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:05:36 2010 +1100
build: move gettimeofday check to libreplace
- add checklink option to CHECK_FUNC()
- Used for when a prototype is not available
commit a2c866a5e6540b213947eecf09e32245ce77da3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:01:11 2010 +1100
build: gcrypt functions
commit d40b396ad835f77878aefda8624d53b9112c1ebb
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:00:49 2010 +1100
build: added interface checking and nicer snprintf checking
use CHECK_CODE()
commit eadf918402996d7f9d737679c958f2dc1b6f8783
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 17:00:22 2010 +1100
build: expand CHECK_CODE() function
commit aac8aec0d1bd07aa4a2521c87807b88f54ac090d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:18:44 2010 +1100
build: more config checks
commit 2dfced59d56eae96540bb8721ccfa50487dbdd40
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:18:33 2010 +1100
build: added CHECK_CODE_COMPILES()
commit 572fc43a4ac14fba4f721d49d0363b377e678901
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:05:30 2010 +1100
build: check freeaddrinfo
commit 20f49194676a942c1e3ec1e998b46b2bc835e746
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:05:19 2010 +1100
build: check xattr and frsize
commit 6edb70c59ee87a29cc643542eb4aeb5508ec4877
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 16:05:08 2010 +1100
build: added help on fns
also added CHECK_STRUCTURE_MEMBER()
commit 001068d26f4fcc8e16e460e8c9d2910271ca7156
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:52:45 2010 +1100
build: check for volatile
commit 0d34e811734f4f154a81100462b263f1300cc03b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:38:32 2010 +1100
build: more config checks
commit 5d39ac84d1ed4adb6021ecb0fd74f32580981741
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:31:04 2010 +1100
build: check for offset_t and pw*_r functions
commit cfb4f55a7be13660377ec80fe1444c41dd4065d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:19:37 2010 +1100
build: check size of types
allow name of SIZEOF test to be specified
commit d5560482ea06d11969447dcfb13f88cc6f285e58
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:19:27 2010 +1100
build: check signal functions
commit f7ed3e544ca7c4c84bdce88408cf0af04fb93ab7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:18:05 2010 +1100
build: added CHECK_SIZEOF()
commit 39807fd091e8feffb5d6ec089409d36e35ef7f28
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 15:17:46 2010 +1100
build: smarter list splitting
commit dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:40:03 2010 +1100
build: improve autoconf macros
- enable headers to be specified
- enable both forms of DECL check
- more libreplace checks
- more heimdal checks
- more sysdep checks
commit 54e26fcb48e385cf62161cd62f102dd34d1c6b3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:32:27 2010 +1100
build: added CHECK_DECLS()
commit 8112b4007dd27a003648e425e666fbdc384b5abc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:28:33 2010 +1100
build: backtrace and crypt tests
commit bf17c9a56eb148a9a1cc9f8eb79b3461eba1e4e1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:27:56 2010 +1100
build: return values for autoconf-like tests
also add checklibc options for CHECK_FUNCS_IN()
commit cbb3c6eece5780977a2d1c9ac39ff609d48c134e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:07:32 2010 +1100
build: check for backtrace
commit 62137089a0c9fd4c1081f098e84a30ed040f67c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:01:14 2010 +1100
build: another typo
commit d87ea524d82a069d5df053b54eeb1e3bdbfdb5a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 14:01:05 2010 +1100
build: ntvfs/sysdep configure checks
commit abaf9aaba7acc10dde3a0b619209749748df52e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:56:40 2010 +1100
build: add_headers flag to CHECK_HEADER()
This allows you to ask the header not be added to the list of headers
for future configure checks
commit 465481eecc510d1c1887394d869d52d31bdfa523
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:52:28 2010 +1100
build: ignore some waf files
commit fd110dc1763821c47370d120ffc0a918c79a1ddd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:52:19 2010 +1100
build: useful test script
commit 2bb41b042a2cbb31573f1601d14688cb03630e0b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:49:55 2010 +1100
build: ignore the bin/ directory
commit ccd26e9bebc2200901981c299c7114ba25dbcf24
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:49:03 2010 +1100
build: h_errno for heimdal
commit 73db96b5fa052ca165e3d034329f62b235643eff
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:48:49 2010 +1100
build: more headers and variables in configure
commit e01a71942cdc5cc02008838136dc0f0e52cbb401
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:48:33 2010 +1100
build: added define and always options to CHECK_VARIABLE()
commit 8bae4823f29984b49efb83b91e60fd761e0bbf9f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:30:22 2010 +1100
build: waf build for lib/tls
commit 22fbe8cb701123e799fb9e16543963abc1645a82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:29:55 2010 +1100
build: check for pkgconfig
commit ca56fc286766098271182b4cd5f2bf1eb6e005c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 13:29:41 2010 +1100
useful tools for finding missing configure steps
commit 5b9ca48d81a92a1b6c079654ce71038ab5f844b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:59:01 2010 +1100
build: added generation of version.h
commit 88a138f373aa807079321a00e4f2dc083a17a422
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:37:32 2010 +1100
build: a useful example of a debug technique in waf
commit d004964142b0eac88528bb556228a49742725f4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:26:46 2010 +1100
build: moved main autoproto rule into samba_autoproto.py
commit 6dcf5563eab238f833b5a0afc215995704d3c9f6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:54:16 2010 +1100
build: allow selection of build group in HEIMDAL_AUTOPROTO()
commit 8c4e709818bb9fb20d7b97a3831862328cd9d939
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Mar 7 10:13:35 2010 +1100
build: use shell for TDR rule, as -- confuses the build rule
commit 7ed65d2e126161f269ea823d2fa02e79b779fc63
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:53:29 2010 +1100
build: result of hack session with ita
commit 36e6d11dceb7af9cccdff3c631745427e31b8835
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 6 10:49:21 2010 +1100
build: add README to explain gen_ndr, and ensure directory exists
commit 27090becab1d9bd31ee313a32f0d0b78572f99b2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 6 10:35:17 2010 +1100
build: added heimdal_build table rules
commit 9129c3b3b6d8a1cdfb7a6500ef4eb20075aa2d53
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 21:46:38 2010 +1100
build: fixes from ita
commit c8f4ca41f69993afd9b4d753812d3056c91f0db5
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 1 09:09:13 2010 +1100
build: fixed formatting
commit c7ea3e6fbfae5bde3dacb277e487f1e12e1da189
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 1 09:01:48 2010 +1100
build: source= is clearer for source lists
commit 065e3e250907a88a253477714fd47baffa6337df
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 1 08:36:07 2010 +1100
build: using deps= for deps is clearer
commit bc39054bc3da62ef6220f2bdae36ea9f9096da47
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 28 17:34:43 2010 +1100
build: rewrote PIDL rules, breaking them into a separate waf tool
commit bd54d2a87dcabe1ff520662780673a7aaf52cc3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 23:01:09 2010 +1100
build: fixed location of gen_ndr files
commit 481fde53478052136a9f060d79d505fd176b7c8b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:55:12 2010 +1100
build: mail IDL build rules
commit bc922d8383512f838b202090a974d8066533d030
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:55:00 2010 +1100
build: dynconfig build rules
commit d29cbc3c558fcc4c7f2c571dee3f63c2f99a80b0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:49:26 2010 +1100
build: added librpc build script
commit d6f2855d968c606f54ab752aaaf08740d826c978
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:48:55 2010 +1100
build: fixed --includedir options for PIDL
commit 49b4d29ad357ea6347f7269a6cc3506fea70940b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:38:38 2010 +1100
build: split out the extension based build patterns
commit 333f2fc28b4b5492fe6ae842e19cd5ca74d44c89
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:29:47 2010 +1100
build: another missing subsystem .....
commit 8364d6b7e81e5ae2f882659bc9e508c961a1adb9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:25:31 2010 +1100
build: add output_type and realname for mit_samba library
commit 5ad6369cd0b132935cc874c942ffffa0c4405101
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 22:21:50 2010 +1100
build: started to split up wafsamba.py into separate modules
commit ec6049c93d0c1bc7f5dff1c7d87c58eca2114ab9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 21:30:39 2010 +1100
build: aded wafsamba README
commit 64f5cdd204ebc9ed533ff051362c8612c28d88e5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 21:28:19 2010 +1100
build: moved wafsamba.py to buildtools
commit cada19f58b3f721a1d7a02afed038e32a3ca8945
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 20:11:52 2010 +1100
build: cope with empty source lists for libs
commit f15a81c1c02426a5afe59a364d00438f06a10501
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:38:03 2010 +1100
build: added ASN1, PIDL and ET build rules
also added selftest example command
commit e3ae80a2f70f3ed473b06d0f40fb33e993f86461
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 23:43:37 2010 +1100
build: added svn version of waf. It has better exception display
commit 391f953c586d16271d6b2fbba38023e686c907a1
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 17:39:23 2010 +1100
build: added build groups
commit f74584a96cf235500b86addf90c50184a21bc510
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 17:38:54 2010 +1100
build: recursive dependency calculation
commit 24511472a344749f67fd90ca5c7e76d6c290f93a
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 24 17:38:12 2010 +1100
build: DEFUN->DEFINE, and fixed CFLAGS handling
commit 07eeed33f63754b4fa4ab629e52e423b04b59bb6
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:21:47 2010 +1100
build: heimdal_build waf support
heimdal now mostly builds
commit bb1e36a86baa10be9241d22ce34b8eb9b5784577
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:23:18 2010 +1100
build: make CHECK_FUNCS_IN() smarter about mandatory libraries
commit 2998ea91ec0ac30545d3e7027b638d167ca32ea6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:22:57 2010 +1100
build: added gettext/libintl to libreplace
commit 15d523bb000fcf3b558dc3ecc28ebca0f4e86579
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:08:40 2010 +1100
build: add LIBREPLACE_EXT
commit 8900f97c2ca814e6bf52edd4a6c935a802d39238
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:04:54 2010 +1100
build: run the lib/replace rules first
commit 7aeffe68b12ae7273960a3e953a101d05e57d2a6
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:04:40 2010 +1100
build: added ASN1 and ERRTABLE build targets
commit 7f9c439596266cda7120e123a831aa7d7048e157
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 19:04:16 2010 +1100
build: auto generate ASN1 and ET rules
commit 06940d57967039792d945a4999ccd31dfe4b83c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:48:38 2010 +1100
build: auto-strip empty dependencies
commit eab4d4598ef08c89f36180f8b9027444867e32bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:48:23 2010 +1100
build: added LIBREPLACE_NETWORK
commit c3d04fd8fc856604f529b8a194a41edc30c72684
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:26:59 2010 +1100
build: don't distinguish system and local libs in wscript files
commit 9bfe91c475c8654fbadbbc3ecbc56602f100dd3e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:26:39 2010 +1100
build: add heimdal_build
commit de2d305bfe2d5be87fe91088a97f06992281ab31
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:26:22 2010 +1100
build: add libresolv
commit 34fb27534b97ef1020f8b022ae2c2ec3c00abeba
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 16:25:59 2010 +1100
build: fixed handling of heimdal_build/internal.mk
commit 42f92494ea86591ab6928a66d9a0bb21b1bea223
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 15:01:24 2010 +1100
build: LIBLDB hack not needed any more
commit 8e81ea7c3ad707618e94d9f8f0626ec8d0609426
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:21:26 2010 +1100
build: on the fly dependency checking
commit 7e01efa80fc6262bf5558b213fa572f4253316dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 14:59:47 2010 +1100
build: improve the wscript generator
commit 9e79e14e1434dc2bf77eba7bfc79d816cd43cd11
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 14:43:06 2010 +1100
build: auto-remove circular dependencies
commit 281f27d54bf1faf12c918d1d3753e25f74d2a0d8
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 13:04:34 2010 +1100
build: check for circular build dependencies
commit 4f920748d4e97f81793943815494a8e8d90d2c8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 12:18:04 2010 +1100
build: death to singletons
commit e3dca1412b687bb91c21501801ded63afd665ef4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:55:28 2010 +1100
build: simpler BUILD_SUBDIR
commit 371f9d35a7153832773958e8815b95bb0ae5854a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:54:31 2010 +1100
build: more header checks
commit aa0476024c2bc3c2a8a1ab70bee515ded86c3e51
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:53:59 2010 +1100
build: use runonce for config checks
commit ff9f972d5558052b0346672df182966e947a5169
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:17:06 2010 +1100
build: added public_headers support
commit a3421fe6e9a823adce0b2c6fd3edcb2f476c9acf
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 11:16:44 2010 +1100
build: added BUILD_SUBDIR() wrapper
commit 5393e6c9d24cd66aab57274665be1774beb4e732
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 09:04:44 2010 +1100
build: recognise manpages keyword
commit 73634d6ff337f3a23bb950a430569f5b3946ed9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:56:35 2010 +1100
build: added autoproto stub
commit d0c19bb35e5069949ee1ddc72cdd8a8dfd58db4e
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:38:18 2010 +1100
build: LIBLDB alias
commit d0d69be83919fe6d141533aafbe3ef4913cd0c83
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:37:33 2010 +1100
build: added top level script
commit b1d24c7a8ffcdc3e7041a7e89474b9327bc8a26c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:30:28 2010 +1100
build: put config.h in top dir by default
commit 1cfc330156fd3afb6972f6461939817f56e9d435
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:28:29 2010 +1100
build: allow override of config.h location
commit 186e7115ab8b418fae0bdd7bb9fca369a6d6043f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:26:55 2010 +1100
build: more developer flags
commit 13cbd9f919a3cf6ea83cdc80c3e6891d9d276fe4
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:09:46 2010 +1100
build: s4 wants config.h in include/
commit 4ed59b826c9cbf05542faadc1f29544b2613781a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:04:00 2010 +1100
build: add dummy flags for auto-generated scripts
commit df0a1e93688a6a2ee5e3d1f1ac31601699440956
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 23 08:03:30 2010 +1100
build: first attempt at a script to auto-convert config.mk files to wscript
commit 9a1cd09a10b475a2b18059a7ac6cb6915e9dfaf0
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:26:03 2010 +1100
build: added ADD_CFLAGS() and started of Samba4 build
commit 7723519cf7544382069c7f77f915ebe9fe236efe
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 22 11:59:23 2010 +1100
build: SAMBA_BUILD_ENV() is now in conf.*
commit bf4f9962f6f3c56ee2666646eb769790f778d361
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 22 11:59:06 2010 +1100
build: moved lib -> shared
- remove lib dep creation, it's done by waf
commit 0316ec1d891b889177880fce5c2c67a66fc094d4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 22 11:58:37 2010 +1100
build: tdb does not depend on talloc
commit 2b5a1cc70cbc5bafe6183300b131d95505c03b36
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:32:15 2010 +1100
build: added waf build rules for ldb
commit 635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 13:56:58 2010 +1100
build: some more config checks
commit 45d23d1f5360046e7dc6d357a28bcf44db8207bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 13:56:32 2010 +1100
build: added recursive library handling
commit 04aa584c02cdbad4b8bc23d3108953120b226a69
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 13:55:58 2010 +1100
build: added target directory options
commit 8f062f4a0f781b351e361ce07d0701f312069851
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 17 20:31:46 2010 +1100
build: neater way to find libreplace and start on tevent waf build
commit 8fd62757d25133cda01b38823040e05ac16ca7dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 09:17:50 2010 +1100
build: added waf to the tree, so everyone uses the same version
commit f5d85a31d9e5357a4faab952f8d59aa7c8fc3f8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:40:26 2010 +1100
build: added some comments for tdb build
commit 2bd0756dc5cef0f364dc569032b45066867ec10e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:27:37 2010 +1100
build: more binaries for waf tdb build
commit 8d6eb2a02c3468d568592c23196d91803f5904b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:24:40 2010 +1100
build: added waf build for tdb
commit 5c103b484f6c6dc9ba544d501e9f701076381655
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 21 00:24:28 2010 +1100
build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functions
commit 34b77a15d36e21c67d5493e45955358589f7b9c5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 20 23:29:59 2010 +1100
build: updates to waf scripts for replace and talloc
commit 9757da515d4f9927255cfa293974ec6fe3437aa4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 20 16:25:37 2010 +1100
build: a first attempt at waf build for talloc and libreplace
very rough so far
commit 55e1af856ee64670c7ee925676d13f48ffcdd6ad
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 6 12:13:54 2010 +0200
s4-smbtorture: fix correct result error code in SetForm spoolss test.
Guenther
commit 12bd7a1230c850856aa0bff8f1538bd3642469c6
Author: Günther Deschner <gd at samba.org>
Date: Tue Apr 6 10:55:55 2010 +0200
s4-smbtorture: fix two context arguments in RPC-SAMSYNC test.
Guenther
commit 15531d9df1326a7111363b8d3540985d09027221
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 5 19:33:55 2010 -0700
Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support.
Based on a patch reported and tested by Ira Cooper <samba at ira.wakeful.net>.
Jeremy.
commit e39ed552b69e95217864855332e6c883466a4548
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Apr 6 03:55:10 2010 +0200
selftest: Remove python2.4-isms
commit c75184b8a14ee686dacbf2dcf01eeade0327b648
Author: Jeremy Allison <jra at samba.org>
Date: Mon Apr 5 14:16:21 2010 -0700
Fix issue with aio where r/w lock wasn't kept across aio read operations.
Change schedule_aio_read_and_X/schedule_aio_write_and_X to
return NTSTATUS. Move the grant and release of the lock into
the aio code.
Jeremy
commit 2754a8e2b60fb07ebec6384fc3c3a7c3450de5b3
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 5 13:50:59 2010 -0700
Fix related to bug #7326 - can't read/write any files with full_audit
commit 3ccecdd650eb039204d27ac8f978d13a4cf57b56
Author: Volker Lendecke <vl at samba.org>
Date: Mon Apr 5 16:01:32 2010 +0200
s3: Fix a cut&paste error in winbindd_list_groups_done
commit 6d6c551d2695645cc7ccfc131ae5f22f12054482
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Apr 5 12:06:02 2010 +0200
Revert "s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available"
This reverts commit 3e091a82167f51b7d9abf00755bede9354932c6b.
This should be fixed through the new build system when it lands in "master".
commit 1b6e5a1b8d8fca65c62cc1e350ddef962e8f9c3f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 22:06:45 2010 +0200
s4:python/samba/__init__.py - import "sys" for "ensure_external_module" method
commit 488fe76a22b4550110d41068d721c30b337825b5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:49:38 2010 +0200
libwbclient: Fix a memleak in wbcListTrusts
commit 50a625ce0edc13312030d24df4b0b7eeaa50bfb0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:49:18 2010 +0200
libwbclient: Fix memleaks in tests
commit b1b723da6f7545f387ab64eb4ad2df2cf59e2623
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 22:26:40 2010 +0200
libwbclient: Fix a memleak in wbcListTrusts
commit 6e40fa9b016cdbd43c973c9b61b581258c0c24a9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 20:09:36 2010 +0200
s3: Fix the GNU ld version detection on SLES
On SLES 11 "ld -v" gives
GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19
The regexp to intended to detect the "2.19" is confused by the "11" in the
version string. I'm not really into regexps, and awk '{print $NF}' to me is a
simple (and hopefully portable) way to print the last field.
commit b1192bbfc991af57736dba7c30fb4d92dd6f436c
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 4 13:51:02 2010 +0200
lib/replace: Don't use StrnCpy inside crypt.c
With this and the int32_t/int64_t change, talloc crossbuilds to android
commit 781a0c08467a29118be85e6ecd035d35fb105e84
Author: Kai Blin <kai at samba.org>
Date: Sun Apr 4 13:42:15 2010 +0200
lib/replace: use correct inttypes in crypt.c
This makes the android crossbuild slightly less broken.
commit 9b1f9da43617d4bd370d5f18fea9b2533e417685
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 12:12:12 2010 +0200
libwbclient: Streamline result processing of wbcCredentialCache()
commit b198283f1ff7c268f604479290c7e6fb555a6267
Author: Volker Lendecke <vl at samba.org>
Date: Sun Apr 4 12:11:08 2010 +0200
libwbclient: Fix a memleak in wbcCredentialCache
commit 55aeb682ba157dc02d838381d1b5d9db166beaeb
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:42:52 2010 +0200
s4-python: Move dsdb_convert_schema_to_openldap to dsdb.
commit 2a67eda98f88f132443bc2b81ca2686bcc1775a6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:40:01 2010 +0200
s4-python: Move set_opaque_integer -> dsdb.
commit ccd954f2a7534cc27afd17b23e2fc838e10cf6b3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:30:34 2010 +0200
s4-python: Avoid importing glue directly.
commit aed295b97e649ef7db4300cc400bc2bd9b1a03b0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:22:29 2010 +0200
s4-python: Remove convenience macro PyErr_SetStringError.
This macro assumed that all errors were runtime errors.
commit 8afd52a6418125100a5e8a6a4312c0460e57ac88
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:21:09 2010 +0200
s4-python: Move samdb_server_site_name to dsdb module.
commit 31a517e1721fc0080473b376cd59c090cfab6456
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Apr 4 00:14:23 2010 +0200
s4-python: Move dsdb constants to a separate python module.
commit e5b33be2f2655ae8b3a59bf7fe54174464c8cbe9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 3 23:44:18 2010 +0200
s4-python: Remove remaining constants.
commit 5a026219a97e396284d30a33e1ab57c059be67e0
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 3 23:33:47 2010 +0200
s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.
commit 13a6aee591e972413a522944d168257e17808ca3
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Apr 3 23:18:23 2010 +0200
s4-python: Remove duplicate definition of GUID_DRS_* constants.
commit 3ec8147105267f2f890b4e605221a4347f51c644
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 16:24:24 2010 +0200
selftest: for clarity, rename test to testsuite
commit bbe07972e65024dba7d9fa767ba8d8907829a986
Author: Volker Lendecke <vl at samba.org>
Date: Sat Apr 3 21:45:55 2010 +0200
libwbclient: Both talloc_free and wbcFreeMemory deal with NULL
This is in line with the ANSI C standard definition of free(NULL)
commit 710aa773d54509de34404f9992c5058ddfa45f3b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Apr 3 13:30:05 2010 +1100
socket-wrapper: not all systems have FIONREAD defined
tru64 for example
commit c1ccbfba21713c3dfec88bb528a36d65a055a984
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 2 20:34:58 2010 +0200
s3: Add wbinfo --logoff
commit c97d279037e87513ac74cfb6251d923e1c1fdad2
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 2 20:28:44 2010 +0200
s3: Remove some pointless break statements
commit 68403d48f8dd1061c4baa60ab23c18d15fe03557
Author: Jeff Layton <jlayton at redhat.com>
Date: Fri Apr 2 06:26:09 2010 -0400
Update URL in README.cifs-utils
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 7d692f970a43e3d357549b02f905fa08d27ae8c8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 19:08:24 2010 +1100
s4-rpc: fixed a talloc loop in continue_ntlmssp_connection()
We were creating a memory loop which caused havoc when the connection
was torn down.
commit 53dec154274978ce94de8f5182c7d39a0c5f451e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Apr 2 10:11:12 2010 +0200
s3: Fix a comment
commit 23f2db7ab60be499327ae40d7e4c604ded910bea
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:31:30 2010 +1100
s4-python: added --debuglevel to our python scripts
very useful for debugging our cPython extensions, such as dcerpc
modules
commit 2c097b51cb62a0b3cc159faea62d831d897f6017
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:21:14 2010 +1100
s4-pyglue: setup talloc logging in python modules
commit a8d213c151a73b007c62287ae068201c5a36532e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:20:51 2010 +1100
pyrpc: do the pipe connect on a real memory context
commit b81100c71059698dbf4f1aaae52df48f65836b8e
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:19:47 2010 +1100
debug: enable talloc logging
we want to ensure talloc warnings are printed in the log
commit fde50c633f3a48c8e63718903a77e2c1ecc12a55
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:18:53 2010 +1100
talloc: a useful bit of debug code
this is useful when tracking down talloc loops. It is probably too
expensive to have on by default.
commit 1b4bbec523f2bf20d91c177e7fdb4b7f87431926
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 18:17:52 2010 +1100
talloc: add a define for TALLOC_MAX_DEPTH
Thanks to the suggestion from simo
commit 5ccd30e9ac5cb93a79c076c22709e271d34d9483
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 12:02:55 2010 +1100
talloc: change talloc minor version to 2.0.2
this has the talloc_is_parent() bugfix
commit ff2b7d42e685d015f281fc525c745242e84ba54d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Apr 2 11:59:49 2010 +1100
talloc: limit the depth that talloc will go for talloc_is_parent()
We have a bug in the dcerpc registry code that can cause a talloc loop
that chews unlimited CPU because of talloc_is_parent() during a
talloc_free()
commit bf90969892411f28ea330611156ddfec5e2e1321
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 1 16:47:59 2010 -0700
Move initialize_async_io_handler() inside of smbd/aio.c.
Call from actual aio read or write. No reason to call this globally on startup.
Jeremy.
commit b6aabcd628f3af1302a03af8cde15baa8d1f2905
Author: Jeremy Allison <jra at samba.org>
Date: Thu Apr 1 15:01:43 2010 -0700
Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
Ensure we don't regress.
Jeremy.
commit e18ddb6036f5e0a2211e89a7c9b5514c30a653cf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 1 18:10:47 2010 +0200
s3:winbindd: remove unused variables
metze
commit 73577205cf81644e7fe853eaf3e6459f7f443096
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 1 16:23:06 2010 +0200
s3:winbindd: fix problems with SIGCHLD handling (bug #7317)
The main problem is that we call CatchChild() within the
parent winbindd, which overwrites the signal handler
that was registered by winbindd_setup_sig_chld_handler().
That means winbindd_sig_chld_handler() and winbind_child_died()
are never triggered when a winbindd domain child dies.
As a result will get "broken pipe" for all requests to that domain.
To reduce the risk of similar bugs in future we call
CatchChild() in winbindd_reinit_after_fork() now.
We also use a full winbindd_reinit_after_fork() in the
cache validation child now instead instead of just resetting
the SIGCHLD handler by hand. This will also fix possible
tdb problems on systems without pread/pwrite and disabled mmap
as we now correctly reopen the tdb handle for the child.
metze
commit 3475c61179b87fa5c48ffe24c2793137ad04c318
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 16:32:44 2010 +0200
s3: Ensure NULL termination before printing in winbindd_pam_logoff
commit c63440e040798722288a530a64e59d19344c63ee
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 15:32:32 2010 +0200
s4-python: Ensure __init__ exists in samba.external, or importing will fail.
commit 84891b048d577e52da91c64d310f7bafa115d015
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 15:20:25 2010 +0200
s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
commit 64c564291d9ce60d934273aaac15150386d22127
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 15:13:37 2010 +0200
s3: Fix a typo in winbindd_pam_logoff
commit 132e505d1edc501edbe73bb75b65c1f5a724e70b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Apr 1 14:47:54 2010 +0200
subunitrun: Find testtools and subunit when they're not provided by the
system.
commit a2411c5708b47c3c2d53c34c6dbed7e1c2eab717
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 31 20:54:18 2010 +0200
s3:winbindd: correctly invalidate the cached connection
There're maybe additional TCP connection for ncacn_ip_tcp.
metze
commit 0f95d00f49ce58a09c95b60777f8d1a65626ec37
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 31 20:20:26 2010 +0200
s3:winbindd: only set child_domain in the child
metze
commit d930904b997d310aeff781bde1e7e3ce47dde8a1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Apr 1 09:29:38 2010 +0200
s3:winbindd: make sure we don't try rpc requests against unaccessable domains
This makes sure we don't crash while trying to dereference domain->conn.cli->foo
while trying to establish a rpc connection to the server.
metze
commit 658dc77446ce11e6454f64abea21edc2b5e405e6
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 12:54:31 2010 +0200
s3: fix a typo in winbind_client_response_written
commit 6800fdbb81130b79c2e077e9a7fcbe2d5e0813cb
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 31 17:40:30 2010 -0700
Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
As these always call exit_server, make that part of the function.
Use _internal functions for the echo client.
Metze please check !
Jeremy.
commit bb54089503907745a33a09cb27ead565d1205165
Author: Christian PERRIER <bubulle at debian.org>
Date: Wed Mar 31 23:02:32 2010 +0200
s3: Merge French translation for pam_winbind after review
- some wording improvements ("user" is not "usager" but "utilisateur"
- gender neutrality changes:
by rewording: ("vous n'êtes pas autorisé" --> "vous n'avez pas
l'autorisation")
- bad translation corrections: "valide"-->"valable" (a very common
false friend)
- and several changes we consider to be improvements, mostly because
they are common wording in computing translations in French
Signed-off-by: Lars Müller <lars at samba.org>
commit 0e3f031e59ff304ad8816ed0a4dcec30805b5c24
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 31 22:06:23 2010 +0200
s3: Fix an error message in winbindd_pam_chauthtok()
commit 15d58f688f3ebc267632eaecbe5e18ee994729ea
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 31 22:05:02 2010 +0200
s3: Ensure null termination in winbindd_pam_chauthtok()
commit 6d9b2e62cbd7712fe8cfe99c9d596a375a0abfad
Author: Volker Lendecke <vl at samba.org>
Date: Wed Mar 31 20:57:01 2010 +0200
s3: Make check_info3_in_group static
commit cf4a8f7639ee869270dc99ed791752de03882edc
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 15:44:38 2010 +0200
s3-winbind: Make append_auth_data() static
commit eb60833a45d0d21463d6101953136e1f3e3de380
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 22:16:37 2010 -0700
Fix bug 7310 - DOS attribute inconsistency with MS Office
On rename we need to set the archive bit on the renamed file.
Jeremy
commit 2e839a636b2ea3f4d8dfcf5a8e99d9725787ba61
Merge: f58d02dbeeeba037ee79fba93a707e959e90ffa3 6f30b9a6ff57ca6112e6319c64c411d2bf09be79
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 31 10:01:03 2010 -0700
Merge branch 'master' of ssh://git.samba.org/data/git/samba
commit 6f30b9a6ff57ca6112e6319c64c411d2bf09be79
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 31 04:54:41 2010 +0200
s3:smbd: handle SMB2 in deadtime_fn() and avoid disconnecting non idle clients
metze
commit 74f36df4b30601417dc69031bf6f1af4c652e440
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:52:13 2010 +0200
selftest: Update sys.path before attempting to import external modules.
commit c6b1553a2b83c5e70fcb1a3a76e49ed496553a4e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:51:05 2010 +0200
selftest: Make sure format-subunit and filter-subunit can find testtools/subunit.
commit 36c84854cb801ba025fd3b43d9cf998da451eca7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:24:04 2010 +0200
subunit: Include remainder of bindings and metadata.
commit 6897be747594e385ee032ac1409289ce2d208548
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 04:19:36 2010 +0200
testtools: Fix included testtools, for systems that don't have it.
commit 5f3fcf7a7773737fd87c8ff5530fae2286e88927
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:56:24 2010 +0200
s4-python: Install external included packages only if they're not present on the system.
commit 0e77bea165d6db9ca8a138e78f5051234b069789
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:47:10 2010 +0200
installmisc: Support DESTDIR for Python directories.
commit 62ed8a68cd30037f73536c32c7293bc9a3ab88d4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:34:50 2010 +0200
format-subunit: Hide reason if it is None.
commit 49d82aa7729c5bfa7dde313580630a5ff97fc05a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:32:23 2010 +0200
format-subunit: Don't show reason at all if it is None.
commit a8ac7fda573a924debf165d39eff3c1837240d4f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:19:18 2010 +0200
Put testtools directly under lib/ to make it easier to install from Samba 4.
commit e4af3afd7ae3e39218b42a42d39c2ec10be9a642
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 03:15:24 2010 +0200
samba_external: Simplify script to find missing external packages; include subunit and testtools as well.
commit 31094b0e8ca73e3150de9de689f4c5c38b2e9f1f
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Mar 31 02:57:47 2010 +0200
smbtorture: Report number of available tests in a testsuite using subunit.
commit 197c98292bd838e27da6692ba8e7984f12a66fef
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 15:03:41 2010 +0200
subunit: Also import copies of filters and perl module.
commit 9fe4b01ca682b57cf7c79775abacf135d0c87d42
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:44:37 2010 +0200
selftest: Use boolean types in Python.
commit 6c299d28b56dd237792cc80c15c6169e701b4a97
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:42:23 2010 +0200
selftest: Use standard subunit command for progress reporting.
commit 7f1360db5123b61cd4473f54d4fb55746c5d8245
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:36:25 2010 +0200
selftest: Support parsing progress in format-subunit/filter-subunit.
commit b2eb609d4de39c1359142bc0562daf36e4dee08c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:30:08 2010 +0200
selftest: Use standard subunit commands for progress reporting.
commit beb630b69051acfb6e92ae8ed86007999e7937cd
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:15:38 2010 +0200
s4-selftest: Fix xfail for base.delete.
commit 12e34eafb82822a80dbe9dc12b4695ab665644a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 14:02:36 2010 +0200
selftest: Use absolute tests names in knownfail.
commit 08161e093d38f0d7b54841f5572a024f228408fa
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 12:46:26 2010 +0200
selftest: Convert filter-subunit to Python so the subunit Python module
can be used later.
commit ae5381d34c75918f7fa49654585d277bbfe66f49
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 02:39:50 2010 +0200
format-subunit: Avoid printing backtrace on Ctrl-C.
commit f58d02dbeeeba037ee79fba93a707e959e90ffa3
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 16:54:43 2010 -0700
Second part of fix for bug #6494 - Incorrect FileStatus returned in NT_CREATE_ANDX.
Ensure we do this in nttrans create too.
Jeremy.
commit 2699db3fe033b2b048de0d9a3ef21aee6b0da16c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 09:18:09 2010 +1100
s4-torture: removed more uses of typeof()
not portable
commit 4fc0a6ab3151ca740e4d89b0ebca5d378f88ea50
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 31 09:00:54 2010 +1100
s4-torture: using typeof() is not portable
this failed to compile on solaris8 with cc
commit 32c8feab5d8320cba7f47fc27ba0fc264f3c4333
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 15:27:26 2010 -0700
Fix for bug #7233 - print fails with jobs >4GB from Win7 clients.
Contains for by Sebastian Kloska <oncaphillis at snafu.de>. Submitter
confirms this fixes the problem.
Jeremy.
commit 4b249a616b586bf384e0ba68ce5d391601879938
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 25 21:41:09 2010 -0500
s4:lsa implement lsaRSetForestTrustInformation
commit d447184ca863fd3effa2585a80704468572893b7
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 30 13:45:53 2010 -0700
If the timeout has been set to zero, don't register an end time.
The caller doesn't want a timeout.
Jeremy.
commit 902a5e53cdcb1952a5fe6be072f91725a3e78608
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 21:57:52 2010 +0200
wbclient/wbclient.c - fix a typo
commit 818fcfb8139d43f2136452029ac320e48ec154f7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 19:08:57 2010 +0200
libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"
This fits better since the variable which is tested is of type "uint32_t".
commit 3e091a82167f51b7d9abf00755bede9354932c6b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 17:42:51 2010 +0200
s4:gensec_gssapi.c - make sure that "GSS_C_DELEG_POLICY_FLAG" is available
FreeBSD 7.2 needs this.
commit 65d1d4184483036a7ba159ad28b29001c0ec8b4e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 17:24:15 2010 +0200
s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
This should make it compatible with the SUN Studio C Compiler.
commit 01f1f87aa91e8a887a6405ead2e96d6a659c4ec0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 13:02:27 2010 +0200
s4:registry/tests/diff.c - try to make also this test compatible with big-endian platforms
commit b08bbbb42dcb141ba6e8eb96781e6cf360db1b57
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 30 12:46:56 2010 +0200
s4:registry/tests/hive.c - make the test compatible with big-endian platforms
commit 08e0d94faedc0793958183372f26f778f8ec8953
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 18:12:46 2010 +1100
replace: allow memmem() with an empty string to return NULL
This is how FreeBSD behaves. We don't rely on it returning the string
in Samba.
commit cc2ef27e369f0950ec931bf15cba4665c053ac53
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 30 09:50:09 2010 +0200
s3:libads: retry with signing after getting LDAP_STRONG_AUTH_REQUIRED
If server requires LDAP signing we're getting LDAP_STRONG_AUTH_REQUIRED,
if "client ldap sasl wrapping = plain", instead of failing we now
autoupgrade to "client ldap sasl wrapping = sign" for the given connection.
metze
commit 21499a148e4b6600d13977eb97c1a77d9bf5fd4c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 16:27:09 2010 +1100
selftest: reason may be None
jelmer, please check
commit 4f4adddb171af2fafe280be05fd144fc3ad01107
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 15:36:17 2010 +1100
s4-test: oLschema2ldif doesn't take -H any more
commit e47e5ff89b8c9b523400d693bcd65454ff8ded85
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 12:08:52 2010 +1100
s4-heimdal: use the HAVE_INET_* functions from libreplace
commit e310cb3f375faa32d9be0dccfcf03f90eaedfc60
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 00:07:10 2010 +1100
s4-heimdal: for use of libreplace setegid and seteuid
commit 0f113faea8db91c3890e7ab0edfefedce5ec2594
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 30 11:55:10 2010 +1100
charset: look for the codepages in the right place
selftest runs from source3/source4. The codepages when not installed
are in ../codepages
commit e4c75252a962341c35ef45989ea12c637f7b3a1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 22:47:34 2010 +1100
s4-heimdal: a better way of handling dirfd()
This prevents us getting thousands of warnings about dirfd() on
solaris
commit 0cdc021ba4cc0f400e6fbce173e0d17dee69ee64
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 01:00:16 2010 +0200
selftest: Remove diff-subunit - it's included in subunit and not necessary for normal operation.
commit c108a2e74e98e35c72d74a37d1b147396403925e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 00:59:04 2010 +0200
format-subunit: Improve formatting, simplify code.
commit ef3fb75261d1ce0d10da3e0c636c895aeb8b8441
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Tue Mar 30 00:30:52 2010 +0200
selftest: Replace perl subunit formatter with python subunit formatter,
so we can leverage the work happening in python-subunit.
commit 0c78368a3108ad7437a20fac7e6da42ecf6f348a
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 22:25:25 2010 +0200
selftest: Convert format-subunit to Python.
commit e14a6fbf8c9e4d16b2727e48c708ceccfd157e59
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 29 14:24:18 2010 -0700
Fix bug 7307 - man net usershare mistake
Fix bad usage message, reported by headset001 at yahoo.com.
Jeremy.
commit c8fe49b2d311944da8829a20c6d275daace205cb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 22:23:53 2010 +0200
s4:installmisc.sh - fix location of "dnspython" library
commit 4c6cde99c0751a073120d8bc36d40922d8027344
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 22:03:55 2010 +0200
s3:winbindd: correctly retry if the netlogon pipe gets disconnected during a logon call
This fixes hopefully the last part of bug #7295.
metze
commit c5d1d68f0bb9b2d544bab01adc4daad8ed6103fc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:52:12 2010 +0200
s4:registry/util.c - remove those "talloc_free"s
They're not really necessary.
commit c38e96278a8ec1ccdff33e14a751bfcb8c3d63bf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:27:18 2010 +0200
s4:registry/tests/generic.c - fix the DWORD_* types test to work also against big endian platforms
commit 50d26133dcc2b7866bb877fa80af2fc6dca144dc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:16:44 2010 +0200
s4:.gitignore - update it for the new heimdal release
commit 8d0b67b644d636ebab98add81b78093841342cac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 21:09:23 2010 +0200
s4:registry/ldb.c - Break with "NULL" as an error case when the data doesn't fit in the "reg_ldb_pack_value" function
commit e25e60ba2f4802a43a0a990c4f34fb23359dab28
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 20:53:38 2010 +0200
s4:registry/ldb.c - Always check the "name" attribute for != NULL
If it's NULL return invalid parameter as Windows does. The name is "" if it
refers to the default value.
commit 90d2902c73715c7777ad67b2a33f32a79f72764c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 20:36:32 2010 +0200
s4:registry - move the UTF16 length calculation for "reg_key_get_info" into the RPC server code
It does fit better there.
commit 8efea429481fcab2e67fa4f3f3f4ceee1857f8ac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 19:55:16 2010 +0200
s4:registry/util.c - fix indentation
commit e1714121b109db6e23f368bb78f07876c27379a4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 19:45:33 2010 +0200
howto4.txt - improve the content of chapter 2bis
commit 53a2982970631e031e2c83b90721d32211943580
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 24 16:47:24 2010 +0300
s4: complete the build instruction because the problem with the idl_full cames very often
commit da68151017c0741768f92b88de264bf800e729f0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 29 19:28:27 2010 +0200
WHATSNEW4.txt - updates
Update the file content.
commit cf3e15c897df4e11981a7d3a2fbbb77bd9dc31f0
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 24 13:28:27 2010 +0300
Add partial information in whatsnew for the next release
commit a5e6b5589b9d8498740a289dba2d56d3eb14af72
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 18:43:38 2010 +0200
registry: Fix compilation.
commit 38fc9dfdc6046e21cd8f0127e2cd88f72f81b3b3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 17:07:09 2010 +0200
Revert reordering from commit 51bedf939568717424edd7732e1e315faa333849
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2d6791286b97236136de468ebf4173bd35336b6e
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 17:03:08 2010 +0200
Revert "s4:registry - util.c - add harder checks for inputs on "reg_val_data_string""
This reverts commit eb8c8a0ecaa9bfd29f090db21fccdad7751767ae.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 16427efb749d63b5a54b2b260ea8ac565f63a9e7
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:46:53 2010 +0200
Revert "s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch"
This reverts commit 4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit b1c70d49c9f8e99997fe3c9228e92db5e6ad3ad4
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:46:30 2010 +0200
Revert "s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions"
This reverts commit cc3eec1681bb6d614e688f51e48bd76f6d513e67.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit cb670f366cdc7d3dd457bd40fc37349c4484b54b
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:30:43 2010 +0200
Revert "s4:registry - adaptions for "add memory contexts for delete value/key functions""
This reverts commit 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.
Conflicts:
source4/lib/registry/dir.c
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f8e67f198ad6e42f7563390012f30fffe43b92f7
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:18:46 2010 +0200
Revert "s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs""
This reverts commit 9d8592978e28c492d971a3b5a4c0133febc149ea.
Conflicts:
source4/lib/registry/util.c
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit d90f1a7146385328dfd8e5245e7b1f83eb46e7e1
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:12:22 2010 +0200
Revert of commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133 in registry.h
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 541e2942f8dcda970a8b83c7832ea5c09cb38fc8
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 16:03:12 2010 +0200
Remove incorrect const, something that was correct in commit 9c3e6249fd984b823a77cab0514601d2a487920a
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3629798f72aa9126e115a8f38e0455245794f9c3
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Sun Mar 28 15:59:53 2010 +0200
Revert "s4:registry - "util" - remove "const" from "reg_abs_path""
This reverts commit 9c3e6249fd984b823a77cab0514601d2a487920a.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit cac9981b1a88a37c703a76a951b0691fa4ba7b4b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:54:29 2010 +0100
s3:rpc_client: remove more unused code
metze
commit 13cf592bb8478453dccd4d78bdb4dabec7aeddc2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:29:05 2010 +0100
s3:rpc_client: remove unused code, we handle transport failures in the transport layer now
metze
commit 6bd5a2a3739938f95fce23ab2da652c9b5a48111
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 16:31:13 2010 +0200
s3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFUL
metze
commit 94a4bcd2f0c0464e192556679c6636639cb307ea
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:25:47 2010 +0100
s3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails
metze
commit 4f391fedac7111683d13f2d79fee7c0dbc27f86e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:17:07 2010 +0100
s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new connection
metze
commit d980c06a994d032a833adc8d56d2f2c037f8fdaf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:15:57 2010 +0100
s3:winbindd_cm: use rpccli_is_connected() helper function
metze
commit 408a3eb35a0e61b5d66a3b48ebbd1a6796672d0f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:14:02 2010 +0100
s3:winbindd_cm: use cli_state_is_connected() helper function
metze
commit 3e70da3f470eeb122f95477fb48d89939f501b3e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Mar 28 19:34:34 2010 +0200
s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() instead of 0
metze
commit 99664ad15460530b6fb44957b6c57823f09884bf
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:51:51 2010 +0100
s3:rpc_client: add set_timeout hook to rpc_cli_transport
metze
commit 4f41b53487ac9bc96c7960e8edab464558656373
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 15:00:38 2010 +0100
s3:rpc_client: add rpccli_is_connected()
metze
commit dc09b12681ea0e6d4c2b0f1c99dfeb1f23019c65
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 14:58:19 2010 +0200
s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
We should not rely on the backend to have a reference to the cli_state.
This will make it possible for the backend to set its cli_state reference
to NULL, when the transport is dead.
metze
commit 5f8fc63515a02aaf55719cb8d3be8ce695178fe9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 14:10:25 2010 +0100
s3:rpc_transport_np: add comment about bad usage in a destructor
metze
commit b862351da8624df893ec77e020a456c1d23c58ed
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 14:08:42 2010 +0100
s3:rpc_transport_np: use cli_state_is_connected() helper
metze
commit d7bf30ef92031ffddcde3680b38e602510bcae24
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 13:20:56 2010 +0100
s3:libsmb: add cli_state_is_connected() function
metze
commit 47e10ab9a85960c78af807b66b99bcd139713644
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 29 15:07:34 2010 +0200
s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state
metze
commit 1ec2b2f7f328abd0111f1dd871a032ea32f5e573
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 18:05:03 2010 +0200
ldap.py: Fix syntax error.
commit 336cd5a0a3d35b998b67efc975813ccc8482e6ee
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 17:35:20 2010 +0200
python: Fix rule for generating docs using pydoctor.
commit 082e7f20d7df457c08119eb41fc2f3f8c09ba7ab
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 16:25:03 2010 +0200
subunit: Update to newer upstream version.
commit c87332950043471e52b924f7498b63982ec4302c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 16:21:26 2010 +0200
s4-python: Simplify mechanism for finding included Python modules.
commit 4bbc3ff037026c72f3249f59c1b5af69a6ad6d69
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 16:08:11 2010 +0200
s4-python: Move dnspython to lib/, like the other Python modules
This also avoids it from being installed if it's already present on the
system.
commit 89aa3b766b926d19dac4805a7e72433e497ce872
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 29 15:43:43 2010 +0200
s4-python: Format to PEP8, simplify tests.
commit 87ad4e990be2a763af9f45c0857b5de654cf2e1b
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Mar 29 17:05:34 2010 +0200
Make the smbta-util manpage xml create smbta-util.8 instead of smbta-tool.8
Additionally change any references to smbta-tool in the text of the manpage.
Signed-off-by: Andreas Schneider <asn at samba.org>
commit e230c8dd2441181963c6df678be06cdaaf6cb822
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 27 12:48:21 2010 +0100
pidl:Samba4/Client: don't mix rpc and application NTSTATUS errors anymore for the new bindings
The new dcerpc_binding_handle based client stubs don't mix error codes anymore,
while the old dcerpc_pipe based ones still do to keep OpenChange happy for now.
metze
commit 979c50eff7a7a1611e27f0e26db821416d50110f
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 13:14:09 2010 +0100
s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 733701ae9b98b79685dad2679f8172a981634b99
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 20:14:53 2010 +0100
s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result
metze
commit cd3ae926e7f54b29eb733e42aafd1a1b6c45dc38
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 20:31:15 2010 +0100
s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result
metze
commit d0efef3f864f36eefe6b0abd152c4614324f2fc2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 20:30:57 2010 +0100
s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result
metze
commit 12ee027106009664bd6e138df819250e99af5188
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:04:25 2010 +0100
s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 10e46e52abde3095d575db39cc3fd60ae6eeb264
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 24 09:06:54 2010 +0100
s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result
metze
commit 1a4d9b95eec6983fbc28a69f1b4b3049c2f27397
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:38:04 2010 +0100
s4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e531b52ab965b7f258b475da9639330e3c49c8cc
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 15:35:36 2010 +0100
s4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3398636a3bf2e55adda01eb92fc7aaf5c03adb2a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:23:37 2010 +0100
s4:torture/rpc/samr_accessmask.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 08177e98b2237b9428bfc28c4a0ebdfd34eba49a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 27 10:45:17 2010 +0100
s4:torture/rpc/samsync.c: add explicit check for NTSTATUS r.out.result
commit 5dcb1e5030e07922405bb0175d3459f6ed96054c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:56:52 2010 +0100
s4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2f7f7257d938b9f223399df8d0cbf31b91a3f55a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:45:38 2010 +0100
s4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8ac42bc0dc1b946893c9cc7a5a8555a1ca89819a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:09:46 2010 +0100
s4:torture/rpc/lsa_lookup.c:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1248adb2c5716d26323e6e9bb1ac81103701d908
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:20:16 2010 +0100
s4:torture/libnet:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2d35523f24f7806d41d785028e09f9cb6bbfaf56
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:17:18 2010 +0100
s4:torture/rpc/schannel.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 940c6ab29f21862ba21d313223ce73c6e3ea6401
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 14:48:36 2010 +0100
s4:torture/rpc/remote_pac.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a154bb56297c7bdfe7d7505afc409e0333100770
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 13:55:35 2010 +0100
s4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 959a128c7b9303b59e92273b01fefde02d752015
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:16:29 2010 +0100
s4:torture/rpc/session_key.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 583c7cbd4c70be4f8e4d1c28fb7bba42c5d3c05d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:57:54 2010 +0100
s4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 159ca620946951b03431ef57623552abcea6b2f6
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 00:21:01 2010 +0100
s4:torture/rpc/unixinfo.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1184ef6672347e6e446a485b992249f051a3873c
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:19:25 2010 +0100
s4:torture/ntp: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0590e7ef3685d629057971cf132838bf7e223ee3
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 12:26:27 2010 +0100
s4:torture/rpc/atsvc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit fd9495491d8cdefc4bdbd20d1881f43c119537c2
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 24 09:45:21 2010 +0100
s4:torture/rpc/echo.c: remove NTSTATUS status variables
metze
commit 870a21b3ecc11b16f09b59440dc9e42b09f807d3
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 24 09:31:17 2010 +0100
s4:torture/rpc/echo.c: add explicit check for NTSTATUS r.out.result
metze
commit 8b1651cb5021efdf6ea153b991cdc0ef3da0ffd8
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 16:59:48 2010 +0200
s3: Fix bug 7212, "getent group does not return group members"
commit 686221eae28ff58fb048fdc7132e1413dedb6eb9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 20:53:16 2010 +1100
s4-waf: use the libreplace strerror_r if needed
commit 7ed349caceed2524d897d957cee98ad1cdc4704c
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 08:35:30 2010 +1100
pytalloc: allow for using a system libtalloc-dev with pytalloc
When we have a system talloc library, we still need to grab pytalloc.h
from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise
we'll get the in-tree talloc.h which may not be compatible with the
system talloc.h
So we need to give the path to pytalloc.h
commit 08faa3a43c26f8cc637969d2b216f2efea9099d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 18:48:29 2010 +1100
talloc: testsuite should use <talloc.h> not "talloc.h"
if we are using the system talloc, the testsuite needs to use the
system talloc.h
commit b60da39da6e1d1025de4bb200f39f9821f01c1d6
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 29 20:20:25 2010 +1100
s4: added a simple implementation of bin/samba -b
this shows the config paths. Useful for debugging --enable-fhs
commit 61106c056898aa8e5dd580b83fa404f12cfccd28
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 13:23:31 2010 +0100
s3-selftest: Don't log to stdout, use logfiles instead.
The logging to the logfiles is more verbose and they can be found in
./st/dc/logs. If you still want to log to stdout start selftest with:
SMBD_OPTIONS="-S -d10" make selftest
commit 0dac5d2ab362c128e184e06a73364bc48f748fd2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 29 07:24:00 2010 +0200
s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro there
commit ba74823c8f42dd3f4f0883163e42888ec35baf32
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 22:58:36 2010 +0200
upgradeprovision: Fix formatting, syntax error.
commit d18d7cfa27a3f2a088c8f3ea9de4f9d8d89fea38
Author: Matthieu Patou <mat at matws.net>
Date: Mon Mar 29 00:37:26 2010 +0400
s4 upgradeprovision: add information about upgrade in oEMInformation to keep a better trace of different updates
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8d3ff2d41e9ffeb41d55613f645a72fbdda77861
Author: Matthieu Patou <mat at matws.net>
Date: Sun Mar 28 22:48:55 2010 +0400
s4: allow upgrade provision to fix acl and missing dir on GPO dirs
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit ec48d3693de25d7210c926f27ac859cbf97ef428
Author: Matthieu Patou <mat at matws.net>
Date: Tue Feb 23 19:11:58 2010 +0300
provision: make gpo related function more reusable for upgradeprovision
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 66375cfba24fcf92122e83afeecaa14b9b2e3d2e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 22:42:31 2010 +0200
provision: Remove unnecessary whitespace.
commit f4e314457f5ec7857d59a52cb2318bea8e6f579e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 22:42:11 2010 +0200
selftest: Update locations in README.
commit 45f389b2538f4e1e45fad72142e11f0427a1eaf2
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 21:56:09 2010 +0200
selftest: Remove unused BuildFarm output file (now using subunit)
commit 235cd3e5c462fd559f9ac58f6336e6a9de4b1000
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 21:45:42 2010 +0200
selftest: Remove html subunit formatter; it's too simple and really belongs in subunit or testrepository upstream.
commit b607f9968818811759ee744afeebab4880d2c5de
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Mar 28 21:42:34 2010 +0200
Remove extension from format-subunit.
commit 9ecc30837bc75ef1c85191f494d65c7ce9b1ba23
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 19:45:26 2010 +0100
s3: Slightly simplify unmap_unix_group
commit c377a913739fd8fe40926fcf662a52cafabd4ce7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 16:22:26 2010 +0200
Attempt to fix the build on AIX, that system seems to have a #define for s_type
commit cae4105c9232c4d11a13fe21c139b99e803a0282
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:32:47 2010 +0200
s3: Remove unused bitmap_[allocate|free]
commit 59d09cbed8e6fde867b88dce4408b64132e4ca6d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:26:53 2010 +0200
s3: Use bitmap_talloc in vfs_full_audit.c
This also simplifies the calling convention for init_bitmap() slightly
commit d3c6f4ae17d1311f90d549bd8d7e22e802e0be1a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:19:17 2010 +0200
s3: Use bitmap_talloc for smb1 server tcons
commit c67e498ae863bb5f25dcb36162c473ede46400be
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:16:55 2010 +0200
s3: Use bitmap_talloc in init_dptrs
commit 30c708b902b6945e2cbcb7e1de40d475ce00eaad
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:14:48 2010 +0200
s3: Use bitmap_talloc in files.c
commit 0205633ed94a19d8723c3f2f252daf1b96729375
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:13:48 2010 +0200
s3: Use bitmap_talloc in loadparm
commit 48f90be7b9560258054486dce6514476b669ebfb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:05:55 2010 +0200
s3: A NULL context might be perfectly valid for bitmap_talloc
commit 2356c22825de020ebf4ae8cb664fea96dc981749
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:03:57 2010 +0200
s3: Fix a memleak in bitmap_talloc
commit 8a43679cea769b3f568def53006690ef23c083c6
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:03:31 2010 +0200
s3: Use TALLOC_ZERO_ARRAY in bitmap_talloc
commit ed5a65d7a0f6a3e9697184b4e32081a77b65f78b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:02:47 2010 +0200
s3: Fix the memory hierarchy in bitmap_talloc
commit d77a1fb272d06e9fa4f4b1cbe9b151625334ca9f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 13:16:58 2010 +0200
s3: Slightly simplify logic in conv_str_size
commit ea0f9378a02ed3b64ab3b4f71862bfcb449d2b42
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 13:16:18 2010 +0200
s3: Fix indentation in conv_str_size
commit e541013e20572c96f7fe12814742b6f9eb3084db
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 13:13:03 2010 +0200
s3: Fix some nonempty blank lines
commit 4d8a974ddc1333a1e3c6ddf4a0e215a5e41e1074
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 26 13:18:52 2010 +0100
s3: Use tdb_transaction_start_nonblock in gencache_stabilize
This avoids the thundering herd problem when 5000 smbds exit simultaneously
because the network went down.
commit d5fd1f207757b4f15d15b8744db0c9380fe63cab
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 26 13:15:53 2010 +0100
Revert "s3: Optimize gencache for smbd exit"
This reverts commit 5ca63676dc59e83ffd9560fdcfa26063f267f283.
That does not fully fix the problem, adding a tdb_transaction_start_nonblock to fix it.
commit 3caaca90219c1fd8f7f9d668d3a537f6368b9417
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 28 14:21:49 2010 +0200
s3: Fix typos in a debug message in vfs_init_custom
commit 09a676a4712b86ad0406487f38a8a1a4e6a9e115
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Mar 27 12:44:20 2010 +1100
s4-selftest: use CONFIG_H environment variable to find config.h
commit 1f0467562b50e29eabae070c3d0088d4fc62d3a0
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 19:13:28 2010 +1100
s4:heimdal Use correct variable to advance past -- options in kpasswd
This bug was introduced when kpasswd was migrated to a local getarg()
call, in Heimdal commit 7dd146072cd9b56d660a01f4aa20f8d81be356e8
Andrew Bartlett
commit f47454a04d7656e93de7286e1105119fe80cb366
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 19:12:33 2010 +1100
s4:heimdal_build Remove forced HAVE_STRERROR_R
This just causes warnings, now upstream has a more complete fix.
commit 64b8b0cdafc18dcf65dcc4210be50e6139f553d7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 12:24:00 2010 +1100
s4:heimal Update generated files (cp from Heimdal)
commit df7fbf28ee3e4d75a6bf824bb2a5681dc65d38b1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 12:23:21 2010 +1100
s4:testprogs Update test to match current Heimdal
commit 533024be44861c8d2c8ba3232738c7d2dbbe2e4f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 11:55:22 2010 +1100
s4:heimdal: import lorikeet-heimdal-201003262338 (commit f4e0dc17709829235f057e0e100d34802d3929ff)
commit 679854384252e698b8f8c09d31eb15ed043c919b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Mar 27 11:48:05 2010 +1100
s4:testprogs Fix kinit test for updated Heimdal
commit 564d5cd2c48b9d9debccf03433cfee282040e2da
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jan 12 13:24:33 2010 +1100
s4:heimdal New files and supporting logic for heimdal update
commit 89eaef025376339ef25d07cdc4748920fceaa968
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Jan 12 18:16:45 2010 +1100
s4:heimdal: import lorikeet-heimdal-201001120029 (commit a5e675fed7c5db8a7370b77ed0bfa724196aa84d)
commit fac8ca52ade6e490eea3cf3d0fc98287da321c13
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 26 17:09:58 2010 -0700
Fix bug #7240 - Net usershare is not case sensitive.
Updates usershare files in a backwards compatible way.
I don't intend to back port this fix to 3.5.x as it
depends on a version upgrade in the share_info.tdb share security database.
Jeremy.
commit 203a661e01e1a138871aacb1cc329a3e3e79295a
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 22:59:29 2010 +0100
s3-selftest: set "lpq cache time = 0" in server configuration.
This fixes currently broken spoolss tests.
(make test variant).
Guenther
commit d3a22fc62b69ebaea84955b1083d59ca4001d50c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 22:58:42 2010 +0100
s3-selftest: set "lpq cache time = 0" in server configuration.
This fixes currently broken spoolss tests.
Guenther
commit 0909696261f8f0f112615af224156ca525c41bf5
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 15:23:34 2010 +0100
s4-smbtorture: more JobInfo testing.
Guenther
commit e968db67395cbfa1e0c46eb7c03b77916579596d
Author: Kai Blin <kai at samba.org>
Date: Thu Mar 25 22:22:56 2010 +0100
s3 ntlm_auth: Don't malloc data that will be talloc_free()d
This fixes bug #7290
Thanks to Mohan <mohann at silver-peak.com> for the bug report.
commit c1f6f61f620e865516d1856c9d937b5326a29046
Author: Simo Sorce <idra at samba.org>
Date: Fri Mar 26 15:21:15 2010 -0400
tdb: update exports and signatures files
commit 261c3b4f1beed820647061bacbee3acccbcbb089
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 26 13:18:33 2010 +0100
tdb: Add a non-blocking version of tdb_transaction_start
commit d570a0af0be442d6d1e253309d9bbae9562669cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 26 10:08:47 2010 +0100
s4:auth/credentials/credentials.c - initialise more content
Now all data should be initialised
commit 1fc5e7a3d6b1ee88da5479c8614ef18498799ae0
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 26 09:32:40 2010 -0700
Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients.
Submitter reports print file corruption after 2GB when SMBwrite etc.
always write at EOF. Still working on the fix.
Jeremy.
commit 4b89195f0c61404a30c8c688df44ce2b3796c370
Author: Karolin Seeger <kseeger at samba.org>
Date: Fri Mar 26 15:14:35 2010 +0100
s3-util_sock: Rise debug level for getpeername failed messages.
Don't show all getpeername failed messages in debug level 0 and 1.
Karolin
Signed-off-by: Volker Lendecke <vl at samba.org>
commit a6f25fc635dce0b67422b271e09467e9ea854489
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 26 11:17:37 2010 +0100
s3-smbd: Don't close stdout if we want to log to stdout.
commit f70e1b4d43995ac4c7ab020613d3f0af24eb03f6
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 13:37:42 2010 +0100
s4-smbtorture: fail spoolss test on SetJob failure.
Guenther
commit dcec9322798ffb848ec70bae67220eb0526942ac
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 13:36:00 2010 +0100
s3-spoolss: return info for the correct printjob in _spoolss_GetJob().
Guenther
commit 3da91b786ef87bd13ae1210a1bf671e2209d9c1f
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 26 13:17:49 2010 +0100
s3-printing: avoid mixing cups backend code with nt_printing code in cups_pull_comment_location.
Guenther
commit 772839640e11664e1b1304d7f95146613d6ac1ac
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 22:07:50 2010 +1100
s3-event: switch s3 to using tevent_re_initialise()
This correctly initialises the event backend, and checks for errors
(thanks to Metze for suggesting this)
commit 789d67c4992e008fe17b830d3b23e3b95a4e70d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 21:13:55 2010 +1100
s4-smbd: use tevent_re_initialise()
This fixes a crash bug on startup
commit 5609c504337b79fd6f521c42b414c650b23d0c9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 21:13:27 2010 +1100
tevent: added tevent_re_initialise()
This allows us to re-initialise a tevent context without destroying
the pointer. That means that if someone keeps a long term ptr to the
event context across a fork it will still work.
This also brings the memory handling in single and standard process
models much closer together, which means less bugs that we don't find
with make test.
commit 525a4fb2c423dbbeeb1e6da3254f334044b7bd7f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 19:03:22 2010 +1100
util: on FreeBSD true is in /usr/bin. Use execvp to find it
commit fae84f98e37e99e41b23739305e7331b3a34ae48
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 17:36:02 2010 +1100
libutil: moved the networking defines to util_net.h
These were causing thousands of warnings on solaris8
commit c81d2ae3c9a4f9b5d2291563f141bb10d64cd650
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 26 16:50:24 2010 +1100
libreplace: strerror_r() is needed by heimdal on solaris8
commit af807758e8d98ea53f58b2bae8f00b83074cfdec
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Wed Mar 24 16:21:15 2010 -0300
s4-drs: replmd_delete with the 3 stage deletion recycle bin
commit 63fc3978089df403d7e63462593784ff3d05e6e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 16:42:19 2010 +1100
tsocket: not all systems have IPV6_V6ONLY
commit 92332fb2368c641db1552d1f2a2f7b3deaa11519
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 25 18:20:33 2010 -0700
Second part of bug #7288 - SMB job IDs in CUPS job names wrong.
Forgot to delete the overload of the smbjob bool.
Jeremy.
commit c79ca41baf15b4ef7eb287d343b17a53ba41e852
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 25 17:36:47 2010 -0700
Fix bug #7288 - SMB job IDs in CUPS job names wrong.
Based on a patch from Michael Karcher <samba at mkarcher.dialup.fu-berlin.de>.
I think this is the correct fix. It causes cups_job_submit to use
print_parse_jobid(), which I've moved into printing/lpq_parse.c (to allow the
link to work).
It turns out the old print_parse_jobid() was *broken*, in that the pjob
filename was set as an absolute path - not relative to the sharename (due to it
not going through the VFS calls).
This meant that the original code doing a strncmp on the first part of the
filename would always fail - it starts with a "/", not the relative pathname of
PRINT_SPOOL_PREFIX ("smbprn.").
This fix could fix some other mysterious printing bugs - probably the ones
Guenther noticed where job control fails on non-cups backends.
Guenther PLEASE CHECK !
Jeremy.
commit 2e00a8a74b7c5c95b61e6c7f365ed852c7d95289
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 25 17:09:23 2010 -0700
Fix bug 7297 - smbd crashes with CUPS printers and no [printers] share defined.
Ensure we don't dereference an array with an index of -1.
Jeremy.
commit 462322f6e8f868c8cd6a5cc84cd0af247a04ec1d
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Mar 22 15:05:33 2010 +0100
s3: vfs_smb_traffic_analyzer.c: remove warnings from developer build
This patch should remove all warnings coming up when compiling
traffic analyzer with configure.developer.
Re-activate the smb_traffic_analyzer_rmdir function by adding it's
vfs_fn_pointer to vfs_smb_traffic_analyzer_fns.
Copy the mode_t used in smb_traffic_analyzer_open to the corresponding
data structure.
commit 9fbbaa560ae74f015e404cfa700753c0b5909519
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 20:59:49 2010 +0100
s3:passdb: avoid sid_to_gid() if the sid is "domain users"
If the call fails we would use the "domain users" sid anyway.
metze
commit ef1c3176c80a5d8533d590aacd0b5035ba589b17
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 25 17:58:19 2010 +0100
s4:libcli/wrepl: correctly remove the tstream_context when the connection is dead
metze
commit c2a6631dc6a6ea61036f978ede083da3a98861c7
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 18:36:12 2010 +0100
s4-smbtorture: fix include of proto header in main RAP test.
Guenther
commit 36f4541d92b7ae588743ce206514d27419d478df
Author: Torsten Kurbad <samba-technical at tk-webart.de>
Date: Thu Mar 25 17:58:27 2010 +0100
s3: Fix a missing </listitem> in vfs_crossrename.8.xml
commit 6392eaf6a33085d91f7be5bfd3cd93b7dc490e6c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:45:02 2010 +0100
s3: Add a comment to notify_internal_parent_init, this is pretty confusing
commit 0deaff0c11dfec123acf361c599a6b79c2e3bccb
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:44:41 2010 +0100
s3: Add a comment to serverid_parent_init, this is pretty confusing
commit bb1165584f339c8a54710e71764a251323245d8f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:44:02 2010 +0100
s3: Add a comment to messaging_tdb_parent_init, this is pretty confusing
commit 5a88e43c693f9e0c5dd93e4fd238364262643b5a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:02:54 2010 +0100
s3: Make sure our CLEAR_IF_FIRST optimization works for serverid.tdb
In the child, we fully re-open serverid.tdb, which leads to one fcntl lock for
CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds
it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
commit ed189459b9d7776700ffd353f81b283232940199
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 16:01:54 2010 +0100
s3: Make sure our CLEAR_IF_FIRST optimization works for the notify tdbs
The notify tdb files are opened at tconX time, which leads to one fcntl lock
for CLEAR_IF_FIRST detection per smbd. This opens the tdbs in the parent and
holds it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
commit 4cdbe07b2563b56c2d8b9a5733eedf25245ba86b
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 15:59:41 2010 +0100
s3: Make sure our CLEAR_IF_FIRST optimization works for messaging.tdb
In the child, we fully re-open messaging.tdb, which leads to one fcntl lock for
CLEAR_IF_FIRST detection per smbd. This opens the tdb in the parent and holds
it, so that tdb_reopen_all correctly catches the CLEAR_IF_FIRST bit.
commit f20bdd32ddabf79800c876fa94b65b928bea3c30
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 15:43:47 2010 +0100
s3: Fix some nonempty blank lines
commit 9a5d50b7246b4c2aed75dc9113b35b17f9612be9
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 14:40:40 2010 +0100
s3-selftest: enable RAP-RPC test against s3.
Guenther
commit a2e65a2addb38ebf57c04b83ae9a2312233d78b7
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 13:17:05 2010 +0100
s3-selftest: add RAP-RPC testsuite for crosschecking RAP and DCERPC calls.
Guenther
commit 45f6eae4c43f47b4ac766183aafe9a7139c257a0
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 11:02:33 2010 +0100
s4-smbtorture: fix drsblobs ndr torture test.
Guenther
commit fa1245f01c73055160173c6a62e29b3368f38db1
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 11:02:10 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 1ff55500ded3a20ff5ed3fcc7249bfb593ffd2f3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 10:56:15 2010 +0100
drsblobs: remove utf8string2 from ForestTrustData.
Simo, it's not really worth to add a new idl type just for being able to omit
the size field. The size field is part of the spec in MS-ADTS 7.1.6.9.3.1 so we
should have it as well.
Guenther
commit 2e20cdaeeb28bdaddcfd0fb1807e8f3eb8c8e525
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 10:20:14 2010 +0100
s4-smbtorture: activate job control tests against s3 in spoolss tests.
Spoolss job control commands work for cups in s3 now but not for other
backends. We need to investigate why.
Guenther
commit 59315887a07033316edf91c0c57563eee5ea992d
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 10:29:41 2010 +0100
tdb: Fix indentation in tdb_new_database()
commit ea8e0d5d54b020c530e392c4edaeed43e20af303
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 25 10:19:48 2010 +0100
Fix some nonempty blank lines
commit 0a65bb57a18176a4aaa6972c025062577b124ee7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 25 16:30:54 2010 +1100
s4:selftest Add testing of kpasswd password set on servicePrincipalName
commit 5f6f7a2e518b53783df60e497e1b12fdaee307a7
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 25 16:27:40 2010 +1100
s4:kdc Add support for changing password of a servicePrincipalName
Apparently AD supports setting a password on a servicePrincipalName,
not just a user principal name. This should fix (part of) the join of
OpenSolaris's internal CIFS server to Samba4 as reported by Bug #7273
Andrew Bartlett
commit 6199ae474589f24180002a22f9c197ab973447b7
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 15:45:08 2010 +1100
s4-ldb: fixed command line parsing in oLschema2ldif
It really doesn't make sense to use the ldb command line code
commit 3b29f9c66e68abff8c49390d97b71b4762d28417
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 25 15:06:40 2010 +1100
s4-ldb: removed unused command line options -I and -O
These are not used anywehere, so they just confuse people
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8e1d94778702ac2ab18983abac630957d8782cf6
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Wed Mar 24 13:02:36 2010 -0300
s4-drs: If we are a RODC then do not send DSReplicaSync messages
commit 088096d1bad51428a2e2d487214995d4fdfc7ccc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:50:50 2010 +1100
python: use '#!/usr/bin/env python' to cope with varying install locations
this should be much more portable
commit 845c2281c7513bd3139a8f50b593658b32dbdb31
Author: Michael Karcher <samba at mkarcher.dialup.fu-berlin.de>
Date: Wed Mar 24 17:33:21 2010 -0700
Fix bug #7269 - Job management commands don't work for CUPS queues.
Samba needs to retrieve pjob->sysjob from the CUPS response (as
is done in the iprint backend).
commit 34674e0a61fe5b2983176e8c33aa48d43fd840ce
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:55:32 2010 +0100
s3-selftest: move printing config to global section.
"make test" variant.
Guenther
commit f84f65306613d2794b14b3eaeba59fe3ca5751cb
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:55:13 2010 +0100
s3-selftest: move printing config to global section.
Guenther
commit 426cb9be1c882fea5a22475107aad05e8d0e124e
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:49:38 2010 +0100
s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
Guenther
commit 6913c57b2f22550102e7fcea75d12c99db1776f7
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:37:45 2010 +0100
s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.
Guenther
commit 27c50255f6b05ff68301a3a32c1ede58626cac2c
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:48:55 2010 +0100
s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
Guenther
commit 1bb8341871a6d91ec6b2e826c2cbcb395cba13ee
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 25 00:33:35 2010 +0100
s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.
Guenther
commit 66b7fcc8ef6b43c219dcae43a68d861cf71b80fa
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 12:47:01 2010 -0700
Fix bug #7233 - print fails with jobs >4GB from Win7 clients.
Ensure we always write at end-of-file for older write calls.
Jeremy.
commit c2d1b01103d63f52c773c83eec52633b7f2032cc
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 12:20:03 2010 -0700
Missing include guard in source4/libcli/security/security.h
Jeremy.
commit eb8e18476c198705a19d375e2f949c6c6df73612
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 10:31:43 2010 -0700
Fix bug #7283 - vfs_acl_tdb does not work as expected.
both vfs_acl_common.c and vfs_acl_tdb.c were using the connection
handle, thus conflicted. Fix this.
Jeremy.
commit c5f67891528698e3848c7fc464bf1755c56b4477
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 24 10:31:14 2010 -0700
Fix valgrind warning when source and dest stat are identical.
Jeremy.
commit bb47e5b6172ae28f996b132e8b612c752c873adb
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 18:08:21 2010 +0100
s4-smbtorture: add drsblobs ndr torture test.
Guenther
commit fb70368a975e6c78c6ce557fc6011569dbdc6d75
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 18:29:52 2010 +0100
s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr level.
Guenther
commit 254d85d537a57ae3a7f7154987da4049846a85db
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 17:37:07 2010 +0100
s4-selftest: use correct test names.
Guenther
commit 3b33fa72d6b57d1da807250ed6d5c136990ed415
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 16 09:32:35 2010 +0100
s3:ntlmssp: use c99 types
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit dee63fe4ca5d8dad820ff8b5f15edba41e6be65f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:53:08 2009 +0100
s3:ntlmssp: use client.netbios_name instead of workstation
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 2dfc78a41a34e181ba9dcacf58010ddb0883a619
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:20:31 2009 +0100
s3:ntlmssp: remove unused ntlmssp_set_workstation()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9f895ea236fb2e6a5ed93656f75ea853f20fd102
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 9 14:38:35 2010 +0100
s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8804dc13281acf7839762c9cfb5fb9cafd0ba6a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 9 11:30:39 2010 +0100
s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 9172b4a0b1082f80ce8a1b551d67337005365b43
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 17:14:25 2010 +0100
s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()
Only data needs to be non-const.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit d0ef97f74b61f0441b078845d0637f5dad3e2e16
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 7 10:43:23 2010 +0100
s3:ntlmssp: use a 'bool ok' variable to make the code more readable
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0de3698be23d23b79ef52a4a2c51b1ac56f36445
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 9 14:06:27 2010 +0100
s3:ntlmssp: fix some formating
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit b65e6f0c0da1ecb8d1b05a4190c1dc77ed9b465e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 15:45:38 2010 +0100
s3:ntlmssp: inline ntlmssp_weaken_keys()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit f0e7e94ee1bf6a11091a1fc15780e27a57c2ea93
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 15:22:24 2010 +0100
s3:ntlmssp: make send_seal_key and recv_seal_key local variables
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit ca2a5693bf85ccfe5abe540e3a725945b52e8039
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:53:08 2009 +0100
s3:ntlmssp: rename void *auth_context; into void *callback_private;
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7c42c5d8ffe87885f3ba96f1e0ba6ba69f1bab46
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:23:16 2009 +0100
s3:ntlmssp: add some consts
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7c0ea293f93eb19de56ae3c642fa3e78a2b50096
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:17:51 2009 +0100
s3:ntlmssp: remove unused get_global_myname() and get_domain() from ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 7d977da92554c34539a475feb7dcb0a6dc0ad654
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 14:13:45 2009 +0100
s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 55279dfbe3770563016723c3ba7d1dbbec3d4437
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 13:29:54 2009 +0100
s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* fields also for the client
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit eb1780981252f05c792a1e40b7d0471f5b670ef5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 11:55:23 2009 +0100
s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit eca118614c1431855c88b9f43457c0d2d6502ebe
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 10:07:32 2009 +0100
s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 533830543f4282dfb13173dcf8ccf5e65f9d1ed4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:25:47 2009 +0100
s3:ntlmssp: make use of C99 types in ntlmssp_sign.c
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit c2cc18455b46f2015b916daacaca1fb0ba88ce87
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:25:20 2009 +0100
s3:ntlmssp: use uint8_t in calc_ntlmv2_key()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 25a89b701596aea4e62ffdf11777022687ea5f44
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 7 10:10:13 2010 +0100
s4:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 598bfdcfd8b7a21815db214b1f7be62cbf7fe720
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 14:11:10 2010 -0700
s4:ntlmssp: make use of dump_arc4_state()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 48d815787924ec8ef4c421c91149a170d474533a
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 16:59:35 2010 +0100
s4:ntlmssp: copy dump_arc4_state() from source3
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a69260642e9a08a1f3eceed2f77d5c246b171765
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:58:42 2010 -0700
s4:ntlmssp: avoid usage of calc_ntlmv2_key_talloc()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 00f99a3df580598442250d38199a457aa8c1b2e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:49:54 2010 -0700
s4:ntlmssp: make use of calc_ntlmv2_key() for seal keys
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit fc120dd758277d22c00c3a8b9a1d0e1357fd95bf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:37:43 2010 -0700
s4:ntlmssp: add calc_ntlmv2_key() from source3
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit e0c7d9c8aa10ee0eb927d248b3d46fb0f0a52524
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:36:37 2010 -0700
s4:ntlmssp: rename calc_ntlmv2_key => calc_ntlmv2_key_talloc
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit c64e6e0a0fd29fb462af90a2a0195280ef5e0696
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 8 13:07:33 2010 -0700
s4:ntlmssp: inline ntlmssp_weakend_keys()
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 3220c84b72212cb7619ecda60dd8a7c756742e3b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 16:58:52 2010 +0100
s4:ntlmssp: use a 'bool ok' helper variable to make the code more readable
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit e669ee4c9d2b068073187326eb61d1ac751a03af
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 7 10:24:12 2010 +0100
s4:ntlmssp: fix some formating
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 44ce126b84d88eb8b3e84996f0292ae768f88b4f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 6 14:53:30 2010 +0100
s4:ntlmssp: move doing_ntlm2 to ntlmssp_server_auth_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 40395eee5b8a58e980b46a797042fb86ed4b63d8
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 18:24:02 2010 +0100
s4:ntlmssp: move NTLM2 session_nonce to ntlmssp_server_auth_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1b20f7192a56933a094733bea042e753c7b27c48
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 18:21:10 2010 +0100
s4:ntlmssp: move encrypted_session_key to ntlmssp_server_auth_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a56ae60851da0767d8cb2b56d2f8cf0273821189
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 18:18:29 2010 +0100
s4:ntlmssp: keep a ntlmssp_server_auth_state to transport variables from preauth to postauth hooks
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a42cad635f781d76637c04c170f0ad59d8d10269
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 17:51:53 2010 +0100
s4:ntlmssp: remove unused server_multiple_authentications feature.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit d3e7266676f3516c4d5493d11cf75099365b69dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 17:57:54 2009 +0100
s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 706333856b53c7544dcb44a6505ab82bd38d860c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:02:37 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_unseal_packet() and ntlmssp_unseal_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit d4c2f252dac7b756958c9df3192581cf9ccde529
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:02:37 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_seal_packet() and ntlmssp_seal_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 1564b2a94beba168c20f961d438a78cebe79d72d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 16:01:28 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_check_packet() and ntlmssp_check_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 23507c022f9d926cc15674ae0158ce55478cf202
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:58:05 2009 +0100
s4:ntlmssp: split gensec_ntlmssp_sign_packet() and ntlmssp_sign_packet()
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit b47a849df2be9aa77616b870ffe9877a2ad12ad3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:23:37 2009 +0100
s4:ntlmssp: make user a 'const char *' in (gensec_)ntlmssp_state
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 36669bfcf1d1ea9f0ec63280b85f3cb356dc10c1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:00:02 2009 +0100
s4:ntlmssp: remove server_name from (gensec_)ntlmssp_state and fill the server.* fields also for the client
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 282a2d8591a9132dac1d70113a7e51287d3c1674
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 15:14:38 2009 +0100
s4:ntlmssp: calculate server names at startup and store them in (gensec_)ntlmssp_state->server.*
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 133a3e4ce81ea156461c5e8b922e234dbf1ce688
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 10:14:07 2009 +0100
s4:ntlmssp: replace server_role by a server.is_standalone in (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit c33e72b8c53625247202a2247ec2f4f9bdd24e9e
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:29:47 2009 +0100
s4:ntlmssp: remove more whitespaces...
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 4ab94f5836a9e0e3002d052eb4076c8d9ad28e2f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:46:05 2009 +0100
s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit ee240799b6d7918afffdd762ead5221283f5dd5d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 08:23:13 2009 +0100
s4:ntlmssp: keep struct gensec_ntlmssp_context in gensec_security->private_data
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a0522a5b2633b644fb16d9bdfc6f07e1bed30a15
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 30 08:06:28 2009 +0100
s4:ntlmssp: remove gensec_security from (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 32d822af813b74c33bc618b4130dc50a3b79c7af
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:56:56 2009 +0100
s4:ntlmssp: remove backend specifix stuff from (gensec_)ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 83cc137d5eef9d50af9b458c5c64fa9abc20adde
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 17:01:28 2009 +0100
s4:ntlmssp: create a gensec_ntlmssp_context between gensec_security and ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8df01705bf10c700ea2f76387cf6fedaacb24327
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:48:38 2009 +0100
s4:ntlmssp: add definition of gensec_ntlmssp_context
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit bd550df322251f4cf2b3d053563d601e5aca8f00
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Dec 29 16:47:11 2009 +0100
s4:ntlmssp: add a callback_private pointer to gensec_ntlmssp_state
We'll remove any gensec specific stuff from gensec_ntlmssp_state
and rename it to ntlmssp_state again.
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd at samba.org>
commit a6bfc1a2d0270197ee34405f3ce028a5919f1aaa
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Mar 24 14:55:15 2010 +0100
s3-testparm: Throw warning when 'workgroup' and 'netbios name' are identical.
Address bug #7285 (NetBIOS Namespace Clash Handling).
Karolin
commit ef6976dad3234b57016f8dce3f1b8e93d3ddb521
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:27:05 2010 +0200
idl: drsuapi.idl - fix few more comments
commit 9ad8f808f719af1b680013cc26c737730cb53adb
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:09:09 2010 +0200
idl: Regenerate DRSUAPI idl files
commit aa572a43342c4bb16f5769a9272bef2c6193e58f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:08:56 2010 +0200
s4/drs: Pretty print for drsuapi_SecBufferType
It is a type and mask combined in one DRS field so
we have to make a custom ndr_print implementation for this type
commit 842d75613bd2efcefa8b01eafae9fa9e43a3aa45
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 03:07:01 2010 +0200
s4/idl: DsAddEntry V3 request description
commit db02ca65a01f218cb5ea2282ad00936409f3cc54
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Mar 15 13:57:41 2010 +0200
s4/drs: Implement DsAddEntry V3 error handling
commit 6b3ff0de465605f8fe2409a91c7b7977efb413dc
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 17 01:20:31 2010 +0200
s4/idl: Remove drsuapi_DsAddEntryExtraErrorBuffer - it is not used anymore
commit 3efad5a6d85ed5ee6db93d7a14e4541bf6bcbf16
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Mar 16 21:58:22 2010 +0200
s4/idl: Complete drsuapi_DsAddEntryErrorInfo description
Members for Security, Service, Update and System errors renamed
to be more descriptive.
All those error types share same description.
commit 0663799275a88739d4813422b3f3f8960ef402f9
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Mar 16 01:30:05 2010 +0200
s4/idl: Add DsAddEntry Referral error definition
commit 61e80fe3eb58179f3ef33ac930b231824f3b15e1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Mar 14 16:07:49 2010 +0200
s4/idl: Add DsAddEntry Name resolution error definition
commit 04f4ea6ae22f5821ccc80dab04dc2fa17c946f1f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 17:05:58 2010 +0200
s4/drs: Refactor error handling for DsAddEntry V3 replies
Dumping for specific error classes are to be implemented properly
in the near future.
commit fbaf3b3799f6c177eb7b2210b3417fb13b2b97e1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 15:06:19 2010 +0200
s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1
commit 98cbcf809f9a5a5571316a9119c75655924f46f0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 14:55:05 2010 +0200
s4/idl: redefine drsuapi_DsAddEntryErrorInfo1
This actually describes Attribute error during DsAddEntry execution.
Structure is renamed to drsuapi_DsAddEntryErrorInfo_Attr.
And structure to define Attribute error data are all
prefixed with drsuapi_DsAddEntry_AttrErr
commit 00fce797e889eb7b9d8310e18d5264cad5403dd2
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 10 16:37:38 2010 +0200
s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source code
commit 7b4341637cdd9e4797303197e8c2e1e405ab20e1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 14:30:05 2010 +0200
s4/idl: drsuapi_DsAddEntryError refactored
Structure description and name was changed to be aligned with
WSPP definition.
Ref: [MS-DRSR] 4.1.1.1.23
commit 427a1f3c6269105256f5d0b0cb642465e728314a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 13:42:05 2010 +0200
s4/drs: DsAddEntry - extending error handling for V2 replies
After having more complete definition for DsAddEntryReply V2
structure, we can now handle error state in more robust way,
not just counting on number of objects returned.
commit fbc1528649b378c9fd004d092b89cb7db545fc61
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Mar 9 02:59:34 2010 +0200
s4/idl: DsAddEntry - refactor DsAddEntryCtr2 structure
Reply structure definition was aligned with WSPP documentation
Ref: [MS-DRSR], section 4.1.1.1.7
commit 58ddf31ad1aad26b4a1bff885c9e7a66a51cd3f6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Mar 8 03:52:14 2010 +0200
s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source code
commit 4cdf4627a12751b821932e298450e80628f16158
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Mar 8 03:51:37 2010 +0200
s4/idl: Update drsuapi_DsAddEntryErrorInfoX definition
drsuapi_DsAddEntryErrorInfoX is an extended error
description used by most of the error infos returned
by DsAddEntry RPC method.
commit 818719f7ba5b386bc0b191227d68c1a7ebc8843c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 12 13:39:52 2010 +0200
s4/idl: DIRERR error codes definition
DIRERR codes specify class of error returned from
DsAddEntry method call.
Ref: [MS-DRSR], section 4.1.1.1.25
commit 05db9365b62289298984e3b30c7a74bfbbf07685
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Mar 7 21:46:39 2010 +0200
s4/drs: DsAddEntry - Propagating unsigned switches to source code
commit a4ed8dc1fd51ff0713679aea7e49e842f26fb0dd
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Mar 7 21:36:22 2010 +0200
s4/idl: DsAddEntry - switch types should be unsigned
commit fcad13500bee1305784df6de0f553372b2948a74
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 13:34:01 2010 +0100
s4-smbtorture: add missing checks for WERROR results in RPC-SAMBA3 tests.
Guenther
commit 8cd63a854e465bba030436038e4644f694f2801a
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 24 13:18:33 2010 +0100
s4-smbtorture: fix some invalid parameters in RPC-SAMSYNC test.
Guenther
commit 9fd24eb9c5fdd0e4a801af83cf9ec7f6de6c4504
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 22 15:58:09 2010 +0100
s4-smbtorture: cleanup some of the RPC-SAMBA3 tests.
This avoids printf, uses simplication functions where appropriate, etc.
Guenther
commit 5e87e8576caddfb6e46b6c7d42428b79d2056569
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 22 17:24:38 2010 +0100
s4-smbtorture: add rap_get_servername to RPC-SAMBA3 family of tests.
Guenther
commit 7d89c7c17bcedd33dae7d3200104dc0643a753f6
Author: Simo Sorce <idra at samba.org>
Date: Wed Mar 24 07:45:15 2010 -0400
idl: fix comment and convert whitespaces to tabs
commit 5592a9ba5adb6e23a0fc580725184f39efce0486
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 24 19:27:18 2010 +1100
s4:selftest Test --sign and --encrypt options to ldbsearch
commit bb7854afea47699be32f5331fe5f8f05e469cb96
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 24 19:26:02 2010 +1100
s4:cmdline Add --sign and --encrypt options to our common command line
This allows ldbsearch to accept --sign and --encrypt. I'll soon work
to integrate with the --signing= option in smbclient.
Andrew Bartlett
commit a2286bad67a772d290fead9832b7ca52877c40b2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 24 16:09:02 2010 +1100
s4:ntlmssp Ensure that we always negotiate signing if we negotiate sealing.
Without this, a sealed LDAP connection to windows does not work.
Andrew Bartlett
commit fbdcaa929c7270469cf6c31fd6fcf94ce4e7306e
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 23 18:36:55 2010 +0100
s3: Optimize gencache for smbd exit
If thousands of smbds try to gencache_stabilize at the same time because the
network died, all of them might be sitting in transaction_start. Don't do the
stabilize transaction if nothing has changed in gencache_notrans.tdb.
Volker
commit a599319d0a389ff0c31dae8068cd7a78352aa9e7
Author: Andrew Tridgell <tridge at freebsd.home.tridgell.net>
Date: Wed Mar 24 05:06:25 2010 +1100
libreplace: fixed declaration of dprintf() on FreeBSD
commit 83aaf4829e2b9bece5c1b4181553d3025d6d2cb3
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 24 16:52:37 2010 +1100
s4-provision: FreeBSD uses 'staff' for users
commit de2b8419358d3588f6d33a22686260de8efda1d2
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Mar 23 11:02:32 2010 -0400
s4-provision: solaris uses the group "other"
commit 4c4d0a029dd4fd2b509f724b5166b3ff99222d2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Mar 22 18:40:44 2010 +1100
build: fixed nss_wrapper on solaris
solaris has different getpwnam_r syntax
commit fd2bc081381eb24bdbb82d0b1b0fbf0ae12f250a
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 23 18:45:20 2010 -0400
idl: fix forest trust information idl
--validate now passes
commit 247c6f53f9e2bc5dd1039e49cc92062b240ae818
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 18:32:06 2010 +0100
s4-smbtorture: remove tailing whitespace in samba3rpc testsuite.
Guenther
commit ec30022233dd41db7bd13de73fbd7e7602c42e18
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 18 18:55:49 2010 +0100
s4:librpc/rpc/pyrpc.h: librpc/rpc/dcerpc.h isn't needed anymore
metze
commit f57b1da428a2922e872657e43c6fa2e3774b22c4
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 18 19:36:50 2010 +0100
s4:lib/messaging: pymessaging needs libndr.h
metze
commit 4985720e81b46e1663b5d5c8caba122b5bea2fc5
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 18 18:55:00 2010 +0100
pidl:Samba4/Python: librpc/rpc/dcerpc.h isn't needed anymore
metze
commit 48cd096126578c6a09aeba8d4cc68840c50d8d8c
Author: Stefan Metzmacher <metze at sernet.private>
Date: Fri Mar 19 13:02:26 2010 +0100
s4:libnet: don't include librpc/rpc/dcerpc.h directly
metze
commit 845f9c01ed279495919e2781db2e8927ebd3e968
Author: Stefan Metzmacher <metze at sernet.private>
Date: Fri Mar 19 19:16:35 2010 +0100
s3:librpc/rpc: move prototypes to dcerpc.h
metze
commit bf9f24f571e87f5c6ae39cf68c5af3c99664a102
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 17:28:55 2010 +0100
s4-smbtorture: use torture_context in samsync test.
Guenther
commit 9c586e6b1bffac76b40a85d544904b9f8d56451e
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 17:16:23 2010 +0100
s4-smbtorture: remove trailing whitespace from samsync torture test.
Guenther
commit 3e04bf4fbce09ff2538e1c83f904a0b3fe9a755c
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 16:30:05 2010 +0100
s4-smbtorture: use torture_context in libnet domain tests as well.
Guenther
commit bebb17ad0e8a9508bf6b083c4f709001fc6998c5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 16:43:41 2010 +0100
s4:WINREG torture - fix an error (missing "break" in a "switch")
Sorry my fault - I didn't discover that earlier since we had binary data types
support activated in s4.
commit 3a2488870f8f52e14948b50ec9b91de1c9a990b9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 16:19:26 2010 +0100
s4:registry - "reg_ldb_pack_value" - provide workarounds when the server receives non-standard data.
For now we reset/delete the "data" attribute. Anyway there is the need to find
a better solution (we probably want to change the format and save all data as
we got it like Windows itself does).
These workarounds are needed since for example the Windows 2000 Registry Editor
initialises empty REG_SZ strings with content '\0' and length 1 (not a valid
UTF16 sequence - "convert_string_talloc" breaks). So we simply reset/delete the
"data" attribute which works (no content).
commit 0426b5b78678f4ffe564aa58a00a8f01790e7b1f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 16:17:25 2010 +0100
s4:registry - "LDB backend" - fix indentation
commit 97a974e5b7b4645544b10ff48459125c5580580d
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 15:31:27 2010 +0100
s4-smbtorture: use torture_context for debugging output everywhere in libnet torture tests.
Mimir, please check.
Guenther
commit f5eb8eb97fb494501359e0c5ee368f2bb64ad717
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 16:04:30 2010 +0100
s4-smbtorture: remove trailing whitespace in libnet torture tests.
Guenther
commit fad0629e78c8672ea9b4eeb709b1d21c43abac06
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 14:53:49 2010 +0100
s3-builtin: Add missing builtin groups.
Karolin
commit d05a1bd01359d73f2d6a6448a0272acef929ada0
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 15:24:25 2010 +0100
s3: Re-run make samba3-idl.
Karolin
commit 18d1821490a9793dc7df123c5d3f212857239b29
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 14:26:51 2010 +0100
security.idl: Add missing builtin groups.
Karolin
commit 77de23384d65261e5254b42760d48588fb32ef0c
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 20 11:29:46 2010 +0100
librpc/rpc: fix dcerpc_errstr() to handle all nca_s_* status codes and fallback to WERROR codes
metze
commit 56180e3d2bd900a9790751b9647e755761e560c5
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 23 14:37:40 2010 +0100
s3:re-run make samba3-idl.
Guenther
commit 0fa67c8d8f03d1671382adc2e16340a1df11a2de
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 20 10:57:26 2010 +0100
dcerpc.idl: add nca_s_* status codes from the DCE 1.1 specification
metze
commit ef83c970ca66bf02d684c6fb913a6caa2b25e39c
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Mar 23 11:39:05 2010 +0100
s3-builtin: Add some builtin groups.
Karolin
commit 9f84d72ef16d3be926f6caffe3c86b4a61b9fc11
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 23 01:06:24 2010 -0400
idl:drsblobs add code to interpret msDS-TrustForestTrustInfo
commit d9e311ddce50a6decc55ea442f562d11f06e2f78
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 16 16:15:39 2010 -0400
s4:lsa Functions to set Domain Trust Information
commit 668e7db9d69c8ad62fe817fd057542149937a55f
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 22 16:37:24 2010 -0400
s4:lsa move code to add trusted domain user into its own function
commit 650a62d1cb72428c190dbc55e9e279746c796c78
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 22 10:48:31 2010 -0400
s4:lsa Abstract crypto (un)wrapping in separate functions
commit a6f5e495b1aa87982ee69c17b098e27010bed756
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 00:24:32 2010 +0100
s4:registry - "LDB backend" - revert the length check for UTF16 strings
Let this do the "convert_string_talloc" function as it was before.
commit f39ef9866870d320ae0106dfd09a41c0451e9238
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 00:13:26 2010 +0100
Revert "s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4"
This reverts commit 0f2cf82e5e52da6fc71742df7b13c9f372bcf113.
Naturally we have to revert this for s4 until a new storage mechanism for binary
REG_SZ and REG_*WORD values has been found.
commit bca353561ebc67a4e78fdd84f4316259be29820f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 23 00:09:22 2010 +0100
s4:registry - "LDB backend" - revert the binary storage of "REG_SZ", "REG_DWORD" and "REG_QWORD"
We agreed that this hack isn't the best of the possible solutions.
commit 6a63c38c1258e5a666f11b5b795828ea7bedbf14
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 23:53:17 2010 +0100
s4:ldb_modules/util.c - fix two counter variables to be "unsigned"
commit 7509b56b5f59a7aeeb2ad1538ef71cbb8b459948
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 22 15:57:31 2010 -0700
share_info.tdb could use non-canonicalized sharenames.
Fix this by moving canonicalization into lib/sharesec.c. Update the
db version to 3. Ensures we always find share names with security
descriptors attached.
Jeremy.
commit 31b45854891f194c46629185b4bb494691f06441
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 23:16:26 2010 +0100
convert_string_talloc_convenience - print out the input buffer in a better way (using dump_data since it isn't always directly readable)
commit c69afbbfd080c6a0f0d6b6db8745171b3cbc7830
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 22:38:45 2010 +0100
s4:registry - "reg_key_del/add_abs": call "talloc_free" only on valid objects
commit 12f42e35bcbb819cb742c28538b7cc67ac9d93cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 22:23:08 2010 +0100
s4:registry - "reg_import_hive_key" - change a "talloc_steal" into a "talloc_reference"
Use a "talloc_reference" since the "hive" variable can continue to exist also
after the destructed "struct local_key" object. It is also referenced by the
"mountpoints" structure under the "ctx" object.
commit e2466334a07062ca9c7160c8487386e1743d982a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 22:01:31 2010 +0100
s4:registry - "patchfile" - add another "W_ERROR_HAVE_NO_MEMORY" macro call
commit 8046cbe3c1b2a61081ef091398ec0ff2183e7a0d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 21:46:39 2010 +0100
s4:registry - "local" - add also here more "W_ERROR_HAVE_NO_MEMORY" macro tests
commit e690c0776fa4d3a475e9291c243be6141d54b4d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 21:34:54 2010 +0100
s4:registry - "util.c" - initialise "result" in "reg_key_add_abs"
commit 0c10703c756117ad1a8c9e911157cd9ca81f0f70
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 20:14:51 2010 +0100
s4:WINREG RPC - add also here a "W_ERROR_HAVE_NO_MEMORY"
commit e78289f167363f3617f7417f7e25de369ea22d7f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 20:12:13 2010 +0100
s4:registry - "samba.c" - add a "talloc_free"
commit dc17292f1a097d3abd8c391315b661034ab1914e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 20:10:26 2010 +0100
s4:registry - add more "W_ERROR_HAVE_NO_MEMORY" invocations (on talloc'ed stuff)
commit 9c3e6249fd984b823a77cab0514601d2a487920a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:53:23 2010 +0100
s4:registry - "util" - remove "const" from "reg_abs_path"
Here it's not really needed
commit 5f850af84aec378780b5caeff9e795297654abcc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:56:52 2010 +0100
s4:registry - adaptions for "add also a memory context argument for "reg_key_del_abs"
commit 5b6ad54f43741c0c25b35e44cafe5fed352ff133
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:47:49 2010 +0100
s4:registry - "util" - add also a memory context argument for "reg_key_del_abs"
commit 9d8592978e28c492d971a3b5a4c0133febc149ea
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:45:21 2010 +0100
s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs"
commit 05d8882a966708f994688fce3b978abb1432bc40
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:44:19 2010 +0100
s4:registry - "util" - fix up memory allocated data
commit 96bb09bcf6ed221b1ce11dd4ec91b64d53ff6626
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:26:59 2010 +0100
s4:registry - "dir.c" - fix up dynamic memory allocation operations
- Added free operations where needed
- Use always the "mem_ctx" for temporary data
- Proof with W_ERROR_HAVE_NO_MEMORY if stuff was allocated
commit 43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 19:18:56 2010 +0100
s4:registry - adaptions for "add memory contexts for delete value/key functions"
commit 64f51380aad484d020093c926512ec79a35bcb93
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 18:51:20 2010 +0100
s4:registry - registry.h - add memory contexts for delete value/key functions
commit e2c7e5c4f72565fe49265d5b036531926ea1ac92
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 20:07:58 2010 +0100
tdb: Fix bug 7248, avoid the nanosleep dependency
commit 12f97c0576c8ec6628971aa7f86d7cbc5e304293
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 22 13:05:29 2010 -0700
Fix valgrind error when running under share level security. plaintext_password
is a data blob with a data pointer pointing to an allocation of length zero.
Jeremy.
commit 70f9338bf2e6081916ffe5bb7cddf50b4e958b24
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 16:46:36 2010 +0100
s3: Add the "ctdb locktime warn threshold" parameter
This is mainly a debugging aid for post-mortem analysis in case a cluster file
system is slow.
commit cad0c004ad54d80dcb25803f0ebb317344a42792
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 18 12:50:22 2010 +0100
s3: Implement an asynchronous echo responder process
This replies to echo requests when the main smbd is stuck somewhere
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 0c77e3a1bae728de3f48bdce4a82d85007ea9b45
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 09:06:07 2010 +0100
s3:smbd: don't allow SMB2 if the async echo handler is active
metze
commit 5a069f7209855e69082a176969533cc0d0ac0f55
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 15:47:11 2010 +0100
s3:smbd: disable SMB encryption when the echo handler is active
metze
commit d663b4c6c03450366375eb0951209bc374835935
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 09:11:05 2010 +0100
s3:smbd: disallow readbraw and writebraw if the echo handler is active
metze
commit fbf112bd1684acf420b104e0e7d66721af47c676
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 12:08:13 2010 +0100
s3:smbd: disable sendfile if the echo handler is active
metze
commit 453e6af5b81c8f206d87ec2e62fd79172f695950
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 20:22:26 2010 +0100
s3:smbd: don't use recvfile if the echo handler is active
metze
commit 79e5e3dda7178c4d3c5952a48474d6dcafba91ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 14:59:19 2010 +0100
s3:smbd: setup a shared memory area for the signing state
metze
commit 44d655b33fecb7a543ff957940716ba93fec12cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 08:42:13 2010 +0100
s3:smbd: add echo handler information to struct smbd_server_connection
metze
commit 752240ccdc4dcdce7a2270ee5544e007c44bcf4d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 08:35:33 2010 +0100
s3:param: add "async smb echo handler" option
This will enable an extra forked process that will reply
to SMBecho requests, while the main process is blocked by another
request.
metze
commit b2c107ffbcd067ccc42f81a2d0969f7f88b63ae7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 15:36:19 2010 +0100
s3:smbd: pass down trusted_channel via receive_smb_talloc()
metze
commit 1e7086e5ce0924687d657de583adb63a9f0c1bfb
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 12:04:32 2010 +0100
s3:smbd: let reply_readbraw_error use the locked socket
metze
commit c1653e3b0e536e835faf82a5aadadaec1cd38d1a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 12:02:27 2010 +0100
s3:smbd: send keepalive packets under the socket lock
metze
commit 977aa660f452d8ebc8f3a2f4bfbf0dda0bc230a2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:23:48 2010 +0100
s3:smbd: smbd_[un]lock_socket() while accessing the socket to the client
metze
commit 8de8554628bd3b16d9e488adfc31c8014c2eb1db
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:17:43 2010 +0100
s3:smbd: add smbd_[un]lock_socket() dummies
metze
commit 0b7da43da0bd5c7e0986854cda63103f082a26ee
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:14:40 2010 +0100
s3:smbd: add an option to skip signings checks srv_check_sign_mac for trusted channels
metze
commit 048c919dc0b7bc038becad34c2861c43c72c43c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 15:07:07 2010 +0100
s3:libsmb: add a smb_signing_init_ex() function
Make it possible to overload memory handling functions.
metze
commit 01f2c023f7d2a4b0e016676638a062a5ba29ec0b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 22 08:27:58 2010 +0100
lib/util: add allocate_anonymous_shared()
metze
commit 13400a6589a20452097bc338fa742d834bbd6a34
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 15:29:19 2010 +0100
s3: Fix a bad memleak in winbind
commit dd111804f6b22e36fe9753c6f805f0f7ae43af15
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 14:00:02 2010 +0100
s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference"
No need to create additional references but we need to assign the strings to the
right context.
commit 43bb87f5fa8fb23aee816636cefeb509397e7291
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 13:39:40 2010 +0100
s4:registry - "patchfile" - check if strings could be allocated
commit 686825e0255a106d7bc67fb6059cd3c1ddefe315
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 13:33:04 2010 +0100
s4:registry - "patchfile" - initialise the data blobs
commit c5b9b25c714516555bb6832edb62a72b66268dd8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:42:21 2010 +0100
s4:registry - "patchfile" - add more "talloc_free"s to save memory
commit 885a167929c7f5409a6239705ef6142ecc014ff3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:22:13 2010 +0100
s4:registry - "util.c" - "reg_string_to_val" - consider always the return values
In some cases we didn't consider them.
commit 6f7f16dc80000ccea582036dc58ce81ea9f078b0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:15:19 2010 +0100
s4:registry - "patchfile_preg.c" - also here don't accumulate the memory usage
Free always the unused stuff.
commit 93472b41dedd8e30be8752c271f2b4bca392176a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 12:00:57 2010 +0100
s4:registry - "patchfile_dotreg.c" - fix a memory leak
Here we allocate memory on the "NULL" context through "reg_val_data_string" on
each call of "set_value". So when we have written out the allocated data on the
specified file descriptor we should immediately free this memory! Otherwise we
may end up with a big memory consumption on big registry databases.
commit 5f24bfb7b9419d4aac220adc038bd3776fc172e6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 11:45:20 2010 +0100
s4:registry - "patchfile" - add comments
Helps to understand when we need to generate the hive diffs.
commit b2f45f20b0108ba6c834f813386ab3d29a729abd
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 11:19:10 2010 +0100
s3: Add "log writeable files on exit" parameter
This boolean option controls whether at exit time the server dumps a list of
files with debug level 0 that were still open for write. This is an
administrative aid to find the files that were potentially corrupt if the
network connection died.
commit 0cf9d62f30218efcfddf2b00e6117fb670f0f911
Author: Günther Deschner <gd at samba.org>
Date: Sun Mar 21 00:05:00 2010 +0100
s4-selftest: fix selftest-vars script.
Tridge, please check.
Guenther
commit f8019ff793a735563ccedf5581c72e015fd62014
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 18:44:51 2010 +1100
s4:dsdb Add a shortcut sequence number for schema reloads
This uses the ldb sequence number, in a hope to detect an unchanged
schema quicker.
Andrew Bartlett
commit fe3e1af901c970f738bee92baac5d7d4f5736e17
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 16:03:33 2010 +1100
s4:dsdb Rework schema loading and add schema reloading
This commit reworks Samba4's schema loading code to detect when it
needs to reload the schema. This is done by watching the @REPLCHANGED
special DN.
The reload happens by means of a callback, which is only set when the
schema is loaded from the ldb - not when loaded from an LDIF file or
DRS.
We also rework the global schema handling - instead of storing the
pointer to the global schema in each ldb, we store a flag indicating
that the global schema should be returned at run time. This makes it
much easier to switch to a new global schema.
Andrew Bartlett
commit d0b54476fc9f855d1e482597538a7ec60e04f331
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 16:00:39 2010 +1100
s4:dsdb Move dsdb_save_partition_usn() to be a module helper function
This function should not traverse the module stack again, but instead
run from this point. Also add a matching
dsdb_module_load_partition_usn() and change repl_meta_data to match.
Andrew Bartlett
commit 639728a29873e4cf59dfa149a231eae353f3753a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:41:51 2010 +1100
s4:schema Expand the schema structure
We now store the location of the schema in the schema, and provide
hooks for a future schema reloading mechanism.
Andrew Bartlett
commit 775c5ec1c57b4acf61c1c750c4832f64defcb5b6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:20:47 2010 +1100
s4:dsdb Remove unused 'dsdb_make_schema_global' call from pyglue
commit 7fc94eb9a7034c36943efbe04f4f4cdfb174c50e
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:19:55 2010 +1100
s4:dsdb Add 'const' to some struct dsdb_schema variables
We don't currently require this, but we may move this way in future.
commit fc5a507a86f37aecb6702d8c2c3bdc462e49f9fd
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Mar 22 15:17:58 2010 +1100
s4:dsdb Don't load the schema unconditionally
Schema loads now come at a price, so avoid doing them if we don't have
to (such as when doing an @REPLCHANGED or other special DN based
search).
Andrew Bartlett
commit 8195832c6cde7ebb2de5543be76979a111bd5712
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 09:16:57 2010 +0100
s3: file_walk_table -> files_forall
This is more in line with the rest of the Samba code, like connections_forall
etc.
commit 678815081da171e10123b1f6768a554adc1bedb4
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 22 09:11:24 2010 +0100
s3: Fix some nonempty blank lines
commit c8a9533902036dc09e900fc2075765833502585b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 00:13:02 2010 +0100
s4:registry - "patchfile.c" - consider also the hives in the generated diffs
Apparently the diffs for the hives weren't generated previously.
commit 056d262bb008fdcd0d46ff54dc93261e812d8e07
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 22 00:02:06 2010 +0100
s4:registry - "patchfile.c" - fix a typo
commit 872d2330a4d0d2608993fab9e9c0b0c3aa3921f8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 23:41:50 2010 +0100
s4:regtree - fix counter variables to be "unsigned"
commit 61761cbac8f609c9ee7c6d391739c50bd4844340
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 23:36:09 2010 +0100
s4:registry - "LDB backend" - "reg_ldb_unpack_value"
When the name isn't found it is the default value. Call it "" to be consistent.
commit 7b54964a253b031ba0351fecbfc271a68b76c25b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 22:01:06 2010 +0100
s4:registry - "LDB backend" - "reg_key_get_info"
Consider also the default value (if it exists) as value. That means:
- count it when setting "num_values"
- take also his buffer length as a candidate for the maximum value buffer length
This is what Windows does.
commit 773faa50632b8cee0008fe5d2c277c924b121756
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 22:57:31 2010 +0100
s4:registry - "LDB backend" - "ldb_get_default_value"
There exist also key objects (the hives) which don't contain a "key" entry at
all. This prevented to display their default value (my fault).
commit b7f129f5c4686ac22940a09f306c813ce4212aef
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 22:02:19 2010 +0100
s4:registry - "LDB backend" - make the key argument "const" of ldb_get_default_value
commit ea621efee79721afff8238c94ee8c95045820d0b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 21:51:06 2010 +0100
s4:registry - "LDB backend" - fix indentation
commit 56940a28ff759fb2903891f69dc4bbf5f0789b9f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 20:59:13 2010 +0100
Fix an uninitialized variable
commit fc80ff40025a35a61aa1a0c7666f98b4c0b78924
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 17:49:06 2010 +0100
s3: Fix bug 7202 for multi-threaded applications
Thanks to Sergey Tereschenko <serg.partizan at gmail.com> for providing good
feedback!
Volker
commit d097d9fb09ff1f4acc4c8407a1a7903b6ef197de
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 15:55:04 2010 +0100
Use TALLOC_FREE in talloc_pop()
commit 0f3040a61fc51434e07ed5a87a89eda25e196514
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 15:16:27 2010 +0100
Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()
commit 6695b0e87d135dff759ce202cf61de49e062e946
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 21 15:14:48 2010 +0100
Trim an overlong line
commit 6c39b10f1d3927c4e6dc31523b79b6611f6f8bc6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 16:02:36 2010 +0100
s4:regshell - here we don't need a newline - "ctime" itself provides one
commit d4425ecea5b4c5bc586ee53a78b386d4a57a2d21
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:54:17 2010 +0100
s4:regshell - don't return an error code if we get a security descriptors error
s4 itself doesn't support them so print only the error code out (in s4's case
WERR_NOT_SUPPORTED).
commit ad83995de5df5a738c2fdad48866e226533b9b0a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:33:52 2010 +0100
s4:registry - "LDB backend" - reg_key_get_info - adapt max. subkey and value length
Those lengths are measured in UTF8 string lengths and not in UTF16 ones (the
returned strings are generally in this format). Discovered this by checking the
s3 registry code.
Therefore we have to multiply the both numbers by two.
Discovered with the "regedt32" (old NT registry editor).
commit 2bbdb2cd34233b0836f1aa7365e02c85494af4fa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 15:12:37 2010 +0100
s4:WINREG RPC server - don't check for the "name" size in "EnumValue"
This isn't needed at all since:
1.) a new name object is created and sent back to the client
2.) the "size" seems to be the size of the "name" pointer. On my test with the
"regedt32" program this has always been "4".
commit 0f2cf82e5e52da6fc71742df7b13c9f372bcf113
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 14:30:53 2010 +0100
s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4
Should be definitely fixed now.
commit 811c601ae081485bff778a99a6b510029da0a88f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 14:20:41 2010 +0100
s4:WINREG RPC - we support only non-volatile keys
commit cc4e5c8beb95e67d91add0334807ada6eea8f9b7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 21 14:10:17 2010 +0100
s4:registry - "LDB backend" - don't test for "0" as string termination on binary and unknown typed values
commit 1cdeb0c0d280312df3e1c93a30e03cd0a7459fe9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 20:23:36 2010 +0100
s4:WINREG RPC - specify the performed create action for "CreateKey"
To make the WINREG RPC testsuite happy.
commit 2f79217964ef2f3b4b5c8bd8780db88081ecbc5d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:55:32 2010 +0100
s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD"
Further tests show that (at least per default) there aren't any differences
between them.
commit d82b325bc315d4d1dc4e5489e0c5df1764835540
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:50:17 2010 +0100
s4:torture WINREG - enhance test for "QWORD" type
We need to know how this behaves.
commit 66f94ca3ecea628be73d37ea5a972783949f955b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:40:07 2010 +0100
s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
We need to know how this behaves.
commit a55031792dfd56e1d8f235ea6cdd6383507ee5e4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 19:14:44 2010 +0100
s4:registry - "LDB backend" - fix up memory allocation for dynamic integers
We don't need to reserve memory for NULL termination when storing data as
integers.
commit 1d49a266abbe6ae0bf50f456399099a31814b9a9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 19 18:23:00 2010 +0100
s4:registry - "LDB backend" - Fix up the storage of binary REG_SZ/REG_EXPAND_SZ values
There seem to exist also UTF16 sequences which have byte sizes of a multiple of
two but are invalid (gd's winreg test shows this).
commit 6e48267c28b05c3837a3e5ffc1f5b58316cc286f
Author: Bo Yang <boyang at samba.org>
Date: Sun Mar 21 16:00:26 2010 +0800
s3: Open winbindd_cache.tdb with read/write access.
Open winbindd_cache.tdb with read/write access when validate the cache,
otherwise, validation fails to get lock in tdb_check. It results in
validation failure even the cache is good.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 09f270e748263f2fb02683a9376ae185a5534178
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 20 15:23:17 2010 +0100
s3: Fix bug 7202
Make sure _nss_wins_gethostbyname_r has a talloc stackframe available
Thanks to Sergey Tereschenko <serg.partizan at gmail.com> for reporting the bug!
Volker
commit c04922ec20034beec9e37232ce5fa35596bf7ca0
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 17:24:53 2010 +1100
build: useful shell vars for setting up selftest
commit 429102e6bde396492e53a1984242de46e28dd9d1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:26:18 2010 +1100
subunit: fixed reporting of unexpected failures
commit 77b77e6ba13137522b542d364891aba031a3ede8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 19 14:24:31 2010 +1100
subunit: keep total error and failure counts
commit a52b3dfb26f01ca93daa3a69d19c27dd2de922fb
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 20 02:56:20 2010 +0100
s4-selftest: skip RPC-DFS for s4 entirely.
Guenther
commit 3cb56942ed958723bf312040dd9245cd08e9ffcb
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 22:37:53 2010 +0100
s4-smbtorture: rework RPC-DFS test a bit.
Guenther
commit 5d5c6e132098a88f2c3f80c53019d91bdc82c0bb
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 19:59:15 2010 +0100
s3-selftest: use proper names for samba3 dcerpc tests.
Guenther
commit f5ab6fd7886da7c9018bbb31877966605eb393b4
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 19:58:24 2010 +0100
s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.
Guenther
commit f4700296b3296c013cdb186a5de02baa77d6bad8
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 19 17:38:32 2010 +0100
s4:librpc/rpc: add NCACN_INTERNAL from s3
metze
commit b82f168c3cbd49fdefa9f469ececcbdbce2730a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:33:58 2010 +0100
s3:librpc: remove unused stuff
metze
commit 4d6368f5f5b384af7e8d06425357cb1666ac853f
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 09:19:39 2010 +0100
s3-selftest: enable RAP calls testsuite against samba3.
Guenther
commit 3144a988e5e95671fd49bd2326099dff789fec5d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 10:54:12 2010 +0100
s4-smbtorture: skip RAP netservergetinfo level 1 test against s3.
Guenther
commit 53d35fc9587234c4d72b9622fc5144d50ba47a80
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 10:33:54 2010 +0100
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
(make test variant)
Guenther
commit 20d73f768d002faf62f760f99c608f139b229491
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 10:23:39 2010 +0100
s3-selftest: rearrange uid/gid calculation to achieve correct membership.
Guenther
commit f06779629db8f810f1ff8ad8f16ac2b580052b2c
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 09:50:56 2010 +0100
nss_wrapper.pl: allow to specify gid for new users.
Guenther
commit e7cc45cb140e1df5731619ae09af6c10b8f9fffa
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 19 09:30:36 2010 +0100
error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
Metze, please check.
Guenther
commit dd4e2ebda5c3febe89025781921f7f6875b57e07
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 23:54:14 2010 +0100
s4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.
Guenther
commit 421a926237f94ebdb90aaf0cf7678a9804bd5cdc
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 15:27:05 2010 +0100
s3:libsmb/nterr.c: fix/add NT_STATUS_RPC_* codes
metze
commit a949c70ed821ea18dfd2e7218255638823c8deea
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 15:12:07 2010 +0100
s3-selftest: fix Samba3.pm provisioning after uid/gid changes.
Guenther
commit 05cad2ea2f0963e7845b451d97830528c86e2cda
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 12:12:58 2010 +0100
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Also make sure we only add root user when needed, Jeremy please check.
Guenther
commit 38a46fa32bfd8007f0fb3e2b607d0e57a012ae95
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 18 11:27:36 2010 +0100
s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.
Guenther
commit 6a1f8e67eb6e15bbafca570ac9b3714681025a1f
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 17 19:48:56 2010 +0100
libcli/util: add more NT_STATUS_RPC_* defines
metze
commit 30aa55a998016c5d87691b3592435a21107fe33b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 11:26:19 2010 +0100
pidl:Samba4/Python: make use of dcerpc_binding_handle stubs
metze
commit 5e9ce495eef98b2b27a77bf042514ccb2037d33d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 11:25:21 2010 +0100
s4:librpc/rpc: let pyrpc make use of dcerpc_binding_handle stubs
metze
commit f055fce74c0f569e8bfcf29e5c4fadb592a7c87d
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 12:36:57 2010 +0100
pidl:Samba4/Python: remove compiler warnings
metze
commit 2624bafca532de66ae1d4976f8c2e99f5f7b250e
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:52:05 2010 +0100
pidl:Samba4/Python: remove compiler warnings when using -Wc++
metze
commit fd86c9b6877ab9e416b82d04bc7cfc42af027d74
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:48:24 2010 +0100
s4:utils/net/drs: make use of dcerpc_binding_handle stubs
metze
commit 95cefcfa4a7da51f11c9662057275830b25555a4
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:27:41 2010 +0100
s4:torture/rpc/browser.c: make use of dcerpc_binding_handle stubs
metze
commit 18fa68f2597a68699a3f87674663fb8df57453b9
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:26:43 2010 +0100
s4:torture/rpc/ntsvcs.c: make use of dcerpc_binding_handle stubs
metze
commit 7456df5e75ae383a5ea89578fbc1ef5507771670
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 10:24:56 2010 +0100
s4:torture/rpc/frsapi.c: make use of dcerpc_binding_handle stubs
metze
commit 61c62a7fd12efeea91b11762f59aebe6d9652b3f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:56:32 2010 +0100
s4:torture/rpc/handles.c: make use of dcerpc_binding_handle stubs
metze
commit cef46436fc89d938780a4bdaea4e654b9a4c01b1
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 18 09:38:57 2010 +0100
s4:torture/rpc/handles: check the correct last_fault_code
metze
commit 6de83ef6277d8506478ce5ff43d33e39541b310c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 18 22:03:40 2010 +1100
s4:dsdb Move rdn_name down the stack
This is done so that it can be (in future) removed when the OpenLDAP
backend is in use and the rdn_val module is used, while keeping as
similar semantics as possible between the module stacks.
Andrew Bartlett
commit 0d6d068bc4f76c2816f969fcce6013e1945794d4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 18 11:21:15 2010 +0100
s3-printing: Fix "printer admin" functionality.
Fix bug #7255 ("printer admin" parameter does not work as expected).
commit 55c45110e6994fe95867f4df3243c6829116e093
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Mar 18 14:06:13 2010 +1100
charset: fixed a problem with the global use of the iconv_convenience structure
We had a crash bug where a cached copy of a iconv convenience pointer
was used after being freed when loadparm asked for iconv to
reload. This could happen if a python module used a iconv based
function before loadparm was completed.
The fix is to ensure that any use of this pointer remains valid, by
reusing the pointer itself when it has already been initialised, but
filling in the child elements with the updated values.
commit 752b2206cbb411e98e88efcfd1df9876a79d4a3d
Author: Oliver Liebel <oliver at itc.li>
Date: Wed Mar 17 20:11:11 2010 +0100
Fixed --ol-mmr-url helpline
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 947560fe3754185cd6edf7e1cd7e5c5fe405fa39
Author: Oliver Liebel <oliver at itc.li>
Date: Wed Mar 17 20:14:19 2010 +0100
Fixed OL-MMR make test
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 15172d3055349ba1280d671a94794ccb1e787775
Author: Oliver Liebel <oliver at itc.li>
Date: Wed Mar 17 20:08:08 2010 +0100
Fixed MMR-URL-Split and changed RID-Range OpenLDAP ITS6394
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit b05f0db957633454ad01598d084d883b8a3631fe
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 18:03:29 2010 +0100
s4-smbtorture: fix typo in RPC-SAMR-PASSWORDS-LOCKOUT test.
Guenther
commit b170ebe08b78c5240266578a19dae424802cda0e
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 23:16:53 2010 +0100
s3-eventlog: fix elog_tdbname(), we were always lower-casing entire lockdir path...
Found by RPC-EVENTLOG torture test.
Guenther
commit 3bc18d9f67feea901cc9f8e254bf23429b03a4e7
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:56:15 2010 +0100
s3-selftest: run RPC-EVENTLOG against s3.
Guenther
commit bb91bbb413132c62066e77c95c6dc4f1d8444628
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:55:41 2010 +0100
s3-test: setup initial eventlog infrastructure.
Guenther
commit 3efaf5e6ba203df23151665baac821a7c09754d6
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:55:00 2010 +0100
s3-selftest: setup initial eventlog infrastructure.
Guenther
commit 453fed4efd08fccd2979d0faf31a67facf133778
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 22:44:44 2010 +0100
s4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.
Guenther
commit 4b80e145b402a198ff7da2458cb4cebd9232bce2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:09:53 2010 +0100
s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs
metze
commit 2d897beb7ad5f6abc19b8c4dcaafaf897af9fd1f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:05:10 2010 +0100
s4:torture/rpc/samsync.c: make use of dcerpc_binding_handle stubs
metze
commit 532e034e287705b34c84dc110dbf954d2e885972
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 09:01:17 2010 +0100
s4:torture/rpc/samr_accessmask.c: make use of dcerpc_binding_handle stubs
metze
commit f400fc54bce0f2fda5ce98238439f69283da91ac
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:06:05 2010 +0100
s4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs
metze
commit 6e8fd4df6078cb426a1a9233f796532590c2387f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 17 12:05:42 2010 +0100
s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs
metze
commit aecd9dd19573b2b27a301d3aca2ed201b9c3b8ce
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:34:04 2010 +0100
s4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubs
metze
commit 9639afae694621c63f35c3ff46939bae5c1606a9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:22:28 2010 +0100
s4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubs
metze
commit c05a0f78236e595642b62271570acf96e5bba69d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:10:16 2010 +0100
s4:torture/rpc/schannel.c: make use of dcerpc_binding_handle stubs
metze
commit 2d31379853716b25ee2a0dcc58edc0f584742d55
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:55:41 2010 +0100
s4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs
metze
commit a91647d494c43b4430a9f339907e50c14187a35a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 17:51:06 2010 +0100
s4:torture/rpc/samr.c: make use of dcerpc_binding_handle stubs
metze
commit 04221518dab1a36610752cd97ec560f285dc2090
Author: Stefan Metzmacher <metze at sernet.private>
Date: Wed Mar 17 14:00:45 2010 +0100
s4:librpc/rpc: initialize p->binding_handle in dcerpc_secondary_context()
metze
commit 4ca2cc348e3412fd1851cd8512a10d0d0b1acf99
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 15:55:23 2010 +0100
s4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
during SetPrinterDataEx SPOOLSS test.
Guenther
commit 481402bae557b174b38a965d209d417728c7562f
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 15:45:54 2010 +0100
s4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.
Guenther
commit c05a06187d6a9b2f065dfc65112ab5188d2f11b7
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 15:32:42 2010 +0100
s4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.
Passes against windows but not against samba yet :-(
Guenther
commit d41b8c305342de0795dd49dac588b5c0b8f00bfe
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 11:31:43 2010 +0100
s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Guenther
commit 3db9729240dedd74cdf3d404b68ac45ef0fe0bca
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 01:25:42 2010 +0100
s4-smbtorture: re-arrange tests in RPC-WINREG.
Mostly choping test_Open() into smaller parts.
Guenther
commit 75a4dffac1e25293e67fc1b471fb8d74c2f40e61
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:57:22 2010 +0100
s4-smbtorture: add test to check different keytypes.
This test will be skipped for samba.
Guenther
commit 89eaa9ed8e52ff9447285974d2acd586257e4319
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 11:36:09 2010 +0100
s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
Guenther
commit 80ba1295ec39692821b0f2af1c53124f80ae8866
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:55:41 2010 +0100
s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
Guenther
commit c33a7ca84cc313299af746b60a7cf94c4589c44b
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:53:21 2010 +0100
s4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.
Guenther
commit f07572063dcc84d0f91284ecbf03b4319fe37a60
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:05:52 2010 +0100
s4-smbtorture: put HKLM current_version test into an own function.
Guenther
commit 8fd4375803c4cdebd7e68053c8b62e78b887eec8
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 17 00:05:02 2010 +0100
s4-smbtorture: use binding handle for simple SetValue winreg test.
Guenther
commit 50cc29b3cb234f71f7fbbef47fe36bf9d85a313b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:00:34 2010 +0100
s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs
metze
commit ba3b9fa36b0ffcb2cfcee34dab6d9a544a8cd9fd
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:24:25 2010 +0100
s4:torture/rpc/remote_pac.c: make use of dcerpc_binding_handle stubs
metze
commit f48fb0d908dec53e407c9cd0f843ee7d83e31580
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 23:02:29 2010 +0100
s3-vfs: fix some buildwarnings in traffic analyzer, there are many more.
Holger, please check.
Guenther
commit 2b4ce9a73f6b041f3cc69125e45b9f61e0155ff5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:22:21 2010 +0100
s3: Make login_cache_write take a pointer
commit 276b1aa1891df2a31e8c65b04f41b0a0ebb57335
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:18:52 2010 +0100
s3: Make login_cache_read take a pointer, avoid a malloc
commit 13a278c1b901cadef7e09d1dc6a89d935ebb73ea
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:08:37 2010 +0100
s3: Remove a typedef
commit 02d7cdc671e27b5ed717c4c0e088b8457caa6e4a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 16 22:23:06 2010 +0100
s3: Fix some nonempty blank lines
commit 0d8ab380551941ab5880a6e5be49b73d541746a4
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 22:17:55 2010 +0100
s3: fix buildwarning in smbta-util.
Guenther
commit 2070c042305eb14bac5182d7a061aaf38086f3f3
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 21:50:07 2010 +0100
s4-smbtorture: add lsa_SetTrustedDomainInfoByName NDR test.
Thanks Simo for providing the data and pointing out the IDL failure.
Guenther
commit 0e47277dd7305c7add269ebe41820780ea4ab6bf
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 21:15:50 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 4f28afc929eadd8a7ae4448a815b5a0cc381750a
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 21:14:45 2010 +0100
lsa: fix IDL for lsa_SetTrustedDomainInfoByName.
Guenther
commit f98941033ddbf79a18f24d81f44aba05366874fe
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Mar 16 13:27:00 2010 -0400
Fix developer build, remove malloc
commit 2bdece18c62c5119d2a7c85b0044ec3c9234445c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 18:20:51 2010 +0100
kerberos - set the memory to "0"s before freeing the password to prevent security issues
commit a6c57472ab144eb6d77cc85f56d7bd3152146b1d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 17:07:04 2010 +0100
heimdal - remove unused variable
commit dc5e0d84641173b7f710f0a735970f5dd2c27d38
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:53:39 2010 +0100
heimdal - fix overlapped identifiers in the "krb5" library
commit 973001e91a3988f4338f88599acbf4ab8978e1c9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:26:25 2010 +0100
heimdal - free always "ctx->password" when it isn't needed anymore
"strdup" does always create a new object in the memory (through "malloc") which
needs to be freed if it isn't used anymore.
commit bdc0372f8a6116b3be7cd8bd6d398c0f1929ae68
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:29:46 2010 +0100
s4:auth/kerberos/kerberos.c - fix also here a memory leak
The options need to be freed also on this error case.
commit 36175be5d4dbbd1545db4ac7de98d9293b897188
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:23:57 2010 +0100
libcli/auth/schannel_state_tdb.c - fix a memory leak
commit 4c29a4e12683a6826104f5974a86d07fb6346266
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 16:00:34 2010 +0100
s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"
commit c323629a1a3c3baf4ce799d2a9efe446822f6ec0
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 16:05:07 2010 +0100
s4-smbtorture: use random buffer for extended SetValue test in RPC-WINREG.
Guenther
commit cb5805d789d276f4bf13db75491099c9dde0f660
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 17:56:14 2010 +0100
s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubs
metze
commit bffe22223062549fcaa16338a626b6f7c906a7ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 11:09:00 2010 +0100
s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubs
metze
commit b01cd7864d3865655320e3441c2804d5bc4b404a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 10:53:54 2010 +0100
s4:torture/rpc/spoolss_notify.c: make use of dcerpc_binding_handle stubs
metze
commit 97d74a4407940da43e776e50d7695da5206bf15b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 10:53:15 2010 +0100
s4:torture/rpc/spoolss_notify.c: fix compiler warnings
metze
commit c1bf3244df7ca5261e9b649588f5587dab3f486d
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 11:45:51 2010 +0100
s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
metze
commit 28a6e5398d762b4ad69e9e3d5be6677746057538
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:27:42 2010 +0100
s4:tortore/rpc/spoolss.c: fix compiler warning
metze
commit d7699cb24a3dc57e45f3296372ed1e25e08167d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:55:12 2010 +0100
s4:torture/rpc/autoidl.c: make use of dcerpc_binding_handle stubs
metze
commit d03286e078e0544238212d81e3aa73c40acdca89
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:43:39 2010 +0100
s4:torture/rpc/mgmt.c: make use of dcerpc_binding_handle stubs
metze
commit 87a5596d4654aacbd7b7821cc2cc96c818c1b344
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:42:58 2010 +0100
s4:torture/rpc/remact.c: make use of dcerpc_binding_handle stubs
metze
commit 54ab68f04317d79ca2ea5c6815e96dce3a336725
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:36:19 2010 +0100
s4:torture/rpc/oxidresolve.c: make use of dcerpc_binding_handle stubs
metze
commit 8bc8e6ca0390d92ac536624c8ca02c247be23755
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 10:32:56 2010 +0100
s4:torture/rpc/initshutdown.c: make use of dcerpc_binding_handle stubs
metze
commit 004a8413178f14825d7c7ab0a9bdfc37592bfb64
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:59:05 2010 +0100
s4:torture/rpc/epmapper.c: make use of dcerpc_binding_handle stubs
metze
commit 8c9b9d3336b9a51203fcf336879a5de93f204cea
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:55:00 2010 +0100
s4:torture/rpc/eventlog.c: make use of dcerpc_binding_handle stubs
metze
commit bdb8f9131493ea33918a444f30fa87caca13c9bd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:53:50 2010 +0100
s4:tortore/rpc/eventlog.c: rename variable 'b' => 'br'
metze
commit dfa92d445fb568c4cae9c9853d0cd320b4aa0e35
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:50:12 2010 +0100
s4:torture/rpc/svcctl.c: make use of dcerpc_binding_handle stubs
metze
commit b0ea3248a4e6d384608330e1033e7fd9cf92c5c6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:49:02 2010 +0100
s4:torture/rpc/atsvc.c: make use of dcerpc_binding_handle stubs
metze
commit b8605cdd4ed58376e93b9ed9d4436b5c8e8fe15b
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:19:02 2010 +0100
s4:torture/rpc/wkssvc.c: make use of dcerpc_binding_handle stubs
metze
commit 119f15132184bd3fdaa664182135db2dfe1cdc37
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 10:08:04 2010 +0100
s4:torture/rpc/srvsvc.c: make use of dcerpc_binding_handle stubs
metze
commit 88ab666f191ce36b13e6628ca39b34b0e09a4088
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:03:26 2010 +0100
s4:torture/rpc/dsgetinfo.c: make use of dcerpc_binding_handle stubs
metze
commit 4434b3972d4971b17b4e45fc51d6f91536ed1b66
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:55:46 2010 +0100
s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubs
metze
commit 369def8a33eebb41a7d6cc2d1c10794ba3c49c32
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:55:24 2010 +0100
s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubs
metze
commit 6591713d2679047e0551055960370ee8f47256cd
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 11:25:01 2010 +0100
s4:torture/rpc/unixinfo.c: make use of dcerpc_binding_handle stubs
metze
commit e55a9758603d135ac3c83cbd96c24e557d9e4040
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 15:30:13 2010 +0100
s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:
Guenther
commit e46d3d9475c59af8ba6810aeb1403c1aa9e37d9d
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 15:29:14 2010 +0100
s3-winreg: change notify call has no meaning when called remotely.
Just return not supported to make smbtorture happy.
Guenther
commit b4d09134fdb4e99aa42b5db3e6d54014e090a23c
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 13:53:54 2010 +0100
s3-registry: make sure root has full registry access (in particular for make test).
Guenther
commit 27d46ba266908ad5fa5be9e553b41839dfa7d9c8
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 13:52:48 2010 +0100
s4-smbtorture: make it a bit easier to track failures in RPC-SPOOLSS-PRINTER.
Guenther
commit 38cba5e930c3ac1e7ccfbb6d39e1d464fd3fa344
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 25 21:40:27 2010 -0500
s4:torture-ndr add lsarSetForestTrustInformation ndr test
Signed-off-by: Günther Deschner <gd at samba.org>
commit a5ad510fc417557608bd9a13405e9df3791658e4
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 14:03:49 2010 +0100
s4-lsa: fix dcesrv_lsa_lsaRSetForestTrustInformation server stub.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
commit ce8c622ffbb72f76ac1cb694be4b4e433aa2bee7
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 14:03:35 2010 +0100
s3-lsa: fix _lsa_lsaRSetForestTrustInformation server stub.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
commit a6d42784d02e1b0305a6616f4f7d5eb350447d75
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 14:01:27 2010 +0100
s3: re-run make samba3-idl.
Guenther
Signed-off-by: Günther Deschner <gd at samba.org>
commit cfa2b7b6bf5f8527585c8c9c26a6336b503a682c
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 16 13:59:32 2010 +0100
s4:idl add lsaRSetForestTrustInformation
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8c5df22ffa4bb57078f4678c60cbec6ac7ba5710
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 12:48:47 2010 +0100
Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive).""
This reverts commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3.
This lets make test fail.
Matthias: please make sure make test still passes when you change things like
this...(maybe add something to knownfail or so)
metze
commit 7e859be26ac1ba1154eb5b39e0467ca48a66cbf4
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 16 14:25:11 2010 +0100
s4:torture/rpc/dsgetinfo.c: fix name resolving for ldap_url
metze
commit 287304e59eb4f83dd052642d35cf3a7d4e05067a
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Mar 16 10:04:51 2010 -0400
Update copyright
commit c91afe9596ac03795aa0ef38038c191a3b439430
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 15:00:33 2010 +0100
security.idl - push generated code diff
commit c3509d88a4920e7dcbc77d5af089c50f71642d0a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 14:07:51 2010 +0100
s4:resolve_oids LDB module - not really a change but a nicer method to call "talloc_reference"
commit 9447f863d281809a752836da8136eeae89c00353
Author: Jim McDonough <jmcd at samba.org>
Date: Tue Mar 16 09:58:34 2010 -0400
Don't exit(0) on error
commit a0e2632e119c2e3e086cd485d448b44836c1499b
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Feb 15 17:47:30 2010 +0100
s3: vfs_smb_traffic_analyzer.c: add VFS functions for file open and close
commit f6ae16e318145224cc38180628e542bb3fc6bb8c
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun Feb 7 20:39:58 2010 +0100
smb_traffic_analyzer.c: optimize marshalling function and document
Collect all data that is needed, and use only one talloc_asprintf
operation to create the string of common data. This simplifies
the code a bit and is most probably faster than the old method.
Also, #define SMBTA_COMMON_DATA_COUNT as a complete string,
speeding things up because we know the value at compile time.
commit 002193d34bc9ff385a866af2d39ed713a5bef1bf
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Feb 6 11:36:14 2010 +0100
vfs_smb_traffic_analyzer.c: added function
static char *smb_traffic_analyzer_anonymize
This takes a lot of code out of the main functions,
and makes it a bit simpler. Do the anonymization in a function.
Since we already anonymized the username we don't need to do
this a second time in the v2 marshalling function.
commit c1fb55caa5bfc079bda6a6ef98ee591800789778
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Feb 4 22:03:53 2010 +0100
Simplify the code a bit by creating the functions:
smb_traffic_analyzer_encrypt - doing the encryption of a data block,
smb_traffic_analyzer_create_header - create the protocol header,
smb_traffic_analyzer_write_data - actually write the data to the
socket.
commit 56dfc0915c7a461fc53d32e9cbe29460a75c9b26
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Jan 30 17:43:50 2010 +0100
Update the manpage of vfs_smb_traffic_analyzer and add smbta-util.
commit 69d7d6c01a01cc81f7e28593701d3425adfce8ec
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Feb 2 20:04:40 2010 +0100
Add the number of common data blocks to the protocol.
Always send the number of common data blocks first. This way, we
can make the protocol backwards compatible. A receiver running with
an older subprotocol can just ignore if a newer sender sends more
common data.
Add a few remarks to the marshalling function. Add two #define lines
defining the protocol subrelease number and the number of common
data blocks to the header file.
commit 4940da2e99647b2d6ae3b4abf78c9904e4390074
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Feb 2 19:36:23 2010 +0100
Put all the protocol stuff into a separate header file.
All the structures and the vfs function identifier list is required
by the receiver. It's therefore very handy to have this in an extra
header file.
commit 5b7179d2a3708246c44c5c5126368588f9da74a0
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Feb 2 00:14:28 2010 +0100
Add smbta-util to manage the encryption key.
This program allows the administrator to enable or disable AES
encryption when using vfs_smb_traffic_analyzer. It also generates new
keys, stores them to a file, so that the file can be reused on another
client or server.
commit 6437df7d2ceedeb26be82e050b300ad55839a721
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 29 21:34:27 2010 +0100
Implement AES encryption of the data block.
First try. This runs on 16 bytes long AES block size, and enlarges the
data block with 16 bytes, to make sure all bytes are in. The added
bytes are filled with '.'. It then creates a header featuring the new
length to be send, and finally sends the data block, then returns.
This code is untested, as creating the receiver will be my next step.
To simplify traffic_analyzer's code, this code should run as a function.
It's on the do-to-list.
commit 3f5f2d82bd2447ea6a3f7dc626ff9a11f7101055
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 29 14:57:20 2010 +0100
Implement anonymization for protocol v2.
Since we need to care for the SID too, do the anonymization in the
marshalling function and anonymize both the username and the SID.
Remove the 'A' status flag from the header definition. A listener
could see from the unencrypted header if the module is anonymizing
or not, which is certainly not wanted.
commit b7457301616d27078338fc476273b99d0e78330b
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Jan 23 22:45:28 2010 +0100
Make all remarks compatible to the linux kernel coding styleguide.
commit 81c6b878b1cb665d7dd4b365af82a8c15b099d38
Author: Holger Hetterich <hhetter at novell.com>
Date: Sat Jan 23 22:03:22 2010 +0100
Added an exact description of the V2 protocol.
I don't think it should have it's place the man page, because this is
developer information.
commit a45db5948050b7a94181e0579fb9fc9f651aed74
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 22 21:17:53 2010 +0100
Move the creation of the header.
Since the header block of the protocol contains the number of bytes to
come, we always send the header itself unmodified.
If we compress or crypt the data we are about to send, the length of the
data to send may change. Therefore, we no longer create the header in
smb_traffic_analyzer_create_string, but shortly before we send the data.
For both cases, encryption and normal, we create our own header, and
send it before the actual data.
In case of protocol v1, we don't need to create an extra header.
Just send the data, and return from the function.
Change a debug message to say that the header for crypted data has
been created.
Add a status flags consisting of 6 bytes to the header. Their function
will be descriped in one of the next patches, which is descriping
the header in a longer comment.
When anonymization and/or encryption is used, set the flags accordingly.
commit 9702dcfa918f18c038eef0251b6330d6cf9a7162
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 22 14:55:33 2010 +0100
Fetch the SID of the user we are running as and send with the common
data.
commit 654cff4cc356ca9c403a57af19f319ec26da54ce
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Jan 22 13:04:21 2010 +0100
Additionally send the vfs function id with the protocol.
commit 27f4f51d56e8b8d00729ca1eb0c6b1e1762274ce
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Jan 21 23:26:54 2010 +0100
According to the linux kernel coding styleguide, it's better to
align the switch and it's case statements in the same column.
This saves us one indentation level.
commit cdd19067284081af01f38a4ed78a9667990677cd
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Jan 21 23:16:58 2010 +0100
Don't use typedefs on the VFS function data structures as
typedefs are evil according to the linux kernel coding
styleguide.
commit 8cb5bac9ee96321c982038cb5dc951f6c2856d8c
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Jan 21 22:31:09 2010 +0100
Add read,pread,write,pwrite support to the V2 protocol.
commit 541fb436cc3d69c154dcd90d2e6b22c273baa501
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Dec 14 20:43:15 2009 +0100
Enable AES encryption of the data if a key was found in secrets.tdb.
commit 7bff1eabe5af297f115dbe7e815a006bfd78b19e
Author: Holger Hetterich <hhetter at novell.com>
Date: Fri Dec 11 21:04:46 2009 +0100
Add rmdir, chdir, and rename as supported VFS functions
commit e959bdcca4c6c879520f7f2734550c472f99836a
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Sep 22 20:01:35 2009 +0200
The format of data we are sending over the network will be flexible when sending over the network in protocol v2. To be able to do this, we create a new va-list function that is creating the buffer to send. Also it makes it easier for the receiver to parse the data; it sends an initial header containing the full length of the buffer to be send. For the individual strings, it sends sub headers containing the length of the upcoming substring to be send. With the header-data-header-data [..] structure we don't need to quote the sub strings finally enabling having all possible character sets in filenames etc..
In the sending function, implement mkdir to actually send it's data
for testing.
commit dcff7d367248ec7ecf59c4f423a81b8816799ec5
Author: Holger Hetterich <hhetter at novell.com>
Date: Mon Sep 21 15:33:21 2009 +0200
Create structs carrying the data of individual VFS functions, and hand those over to the send function, which then casts the void pointer to the struct required by looking at the id. This allows us to return different result data depending on the VFS function that is running. Make the protocol v1 sender compatible to this. Adapt the existing VFS functions to use the new data structures. Make use of the new functionality and extend the mkdir VFS logger function to return the creation mode additionally.
commit 2a643ef10c3ed64dc60a7899a581a7b83004ce0e
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Sep 17 20:11:39 2009 +0200
Introduce smb_traffic_analyzer protocol v2.
From Holger:
Make smb_traffic_analyzer differ the protocol versions to enable the development of version 2 of the protocol. To do this, a new parameter "protocol_version" has been introduced, which can be set to "V1", "V2", or nothing. If protocol_version is not set, V1 will be chosen automatically.
Created an enum for identifying VFS functions in the upcoming protocol v2. Converted the existing VFS functions to use the identifier, and set the read/write bool used in protocol v1 accordingly, also ignore any other VFS functions except read/write/pread/pwrite in v1. Added a first new VFS function for mkdir, which I use for testing and implementing both the sender and receiver for v2.
commit 8353aa39b64169a6bbd4b5b21ab4989e7821363e
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 25 21:39:24 2010 -0500
s4:idl change level to type in lsa_ForestTrustRecord.
commit 745f6f2574b57909c06c68eb6427cc52992705d3
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 12:24:18 2010 +0100
s4-smbtorture: avoid printf calls in RPC-WINREG test.
Guenther
commit a212c1dedb749b98d17c67db4278d1f1bb66d468
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Mar 16 13:06:08 2010 +0200
Added a net acl ds command for modification of ACLs on directory objects
At present the command supports only addition of control access rigts, done
so DRS access checks can be tested. It will be expanded to deal with most
ways to modify and view a DS ACL.
Shifted commands a bit. What used to be net acl is now "net acl nt" as apposed
to this, which is "net acl ds"
./bin/net acl ds set --help
Usage: set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn
Options:
-h, --help show this help message and exit
--host=HOST LDB URL for database or target server
--car=CAR The access control right to allow or deny
--action=ACTION Deny or allow access
--objectdn=OBJECTDN DN of the object whose SD to modify
--trusteedn=TRUSTEEDN
DN of the entity that gets access
Samba Common Options:
-s FILE, --configfile=FILE
Configuration file
Credentials Options:
--simple-bind-dn=DN
DN to use for a simple bind
--password=PASSWORD
Password
-U USERNAME, --username=USERNAME
Username
-W WORKGROUP, --workgroup=WORKGROUP
Workgroup
-N, --no-pass Don't ask for a password
-k KERBEROS, --kerberos=KERBEROS
Use Kerberos
commit 4379b082b80e4976120860310259248eea09f863
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 16 00:01:16 2010 +0100
s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names.
Guenther
commit d7de3fa799fa64a3463765b3f6159fccda581b0c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 09:48:58 2010 +0100
s4:dsdb - fix up warnings
commit abe75a5c8c42a15927ae4f4fb3ff69aef1569d1e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 09:40:11 2010 +0100
s4:registry - use a macro for reverse byte order
commit e3cb626c61515a9c372352843fafc368ffc6e871
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:56:32 2010 +1100
s4:dsdb Show more detail in failure to compute the aggregate DN.
Andrew Bartlett
commit 2de07761e071ccf09c0ea9e0fdc6a61303356549
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:52:39 2010 +1100
s4:dsdb Change dsdb_get_schema() callers to use new talloc argument
This choses an appropriate talloc context to attach the schema too,
long enough lived to ensure it does not go away before the operation
compleates.
Andrew Bartlett
commit bf0b4d7ee3f52f77d706ccea12abb2f033b4abd9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:46:31 2010 +1100
s4:dsdb Fix warnings in DEBUG() by casting to unsigned long int
commit a7ec946cedf29ad8a88fcd0b253468b61f369d86
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:43:33 2010 +1100
s4:dsdb/acl Reduce calls to dsdb_get_schema() and add memory context
dsdb_get_schema() isn't a very cheap call, due to the use of LDB
opaque pointers. We need to call it less, and instead pass it as a
parameter where possible.
This also changes to the new API with a talloc context.
Andrew Bartlett
commit 1e6fee4185b726e532c98e0feec1121d59f734c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:41:51 2010 +1100
s4:dsdb Add a memory context for dsdb_get_schema()
When specified, we talloc_reference onto this context to ensure that
pointers found in it are valid for the life of the objects they are
placed into. (Such as the string form of LDAP attributes).
Andrew Bartlett
commit c874b9f42eebacd9ad6baa90309635db8b8ec3fb
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 16 14:40:15 2010 +1100
s4:dsdb Don't error out if we can't get the Aggregate schema DN yet
It's easier to just set it up when we can, then to deal with the
ordering issues in ldb startup. As long as we have it ready if a real
client ever asks for it, then we should be happy.
Andrew Bartlett
commit 19aa07564228f8018d5c7f3bdfcd3d7c311f08b1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 23:18:44 2010 +0100
s4:registry - check also for other registry value types in the generic test
commit b7c1444683d6fd63c29098b41d3ad6f792139136
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 22:46:20 2010 +0100
s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatype
commit 2f686d8523c0978630c375d377afe23fe07cbf19
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 18:55:33 2010 +0100
s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatype
It's like the normal REG_DWORD type but the byte order swapped
commit 559575fe40c2d0d860868276c42efacb46dc59aa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 16 08:49:22 2010 +0100
s4:dsdb/kcc/*.c - fix up wrong typed counters
commit 2a04aa08c642bc8b2a556c050a05dc69d6c5247c
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Mon Mar 15 13:33:06 2010 -0300
s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of DsGetReplInfo()
This torture testcase considers both cases for this infoType: when the flag
DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is enabled and when not.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 81932f9148b968854035f3599af85301df99ce1b
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Mon Mar 15 13:31:50 2010 -0300
s4-drs: DsGetReplInfo(), infoType = DS_REPL_INFO_METADATA_2_FOR_OBJ
Implementation of the DS_REPL_INFO_METADATA_2_FOR_OBJ infoType for DsGetReplInfo()
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit f2cbc9fbb12d36f6ce86111848ab0ee05469cdba
Author: Craig Miskell <craig.miskell at opus.co.nz>
Date: Mon Mar 15 16:20:44 2010 -0700
Fix bug #7191 - WINS doesn't respond after > 86 #1c registrations.
commit 9a825dc770bfcb0923572e8ad3beff2f86dce992
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 15 12:36:52 2010 +0100
s3:registry-legacy: use talloc_stackframe() instead of NULL in regkey_open_internal()
Michael
commit c27c430b21cae3d5906dc211cb29fa7d47e15699
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 15 12:16:52 2010 +0100
s3:smbcacls: also honour the "--sddl" flag when setting ACLs.
Michael
commit 3b736987153da48918229ab940f8ac89017ae79f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 21:18:34 2010 +0100
s3: Fix an uninitialized variable read
Found by Laurent Gaffie <laurent.gaffie at gmail.com>
Thanks for that,
Volker
commit c35c38075c96fddd0dcd41b4173ca47a9c07df92
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 15:39:41 2010 -0700
Remove the bool admin_user from conn struct. We no longer look at this to make access decisions.
Jeremy.
commit 704a607e3c3a5c3e727b386fab9dbcdff56b5ac4
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 15:04:18 2010 -0700
Fix bug #7188 - Logic error in check of total_data for call_trans2mkdir()
Make ea data checks identical for trans2open and trans2mkdir.
Jeremy.
commit 33bd9b4bb901d08c3c9479bef0a748bb7f5f5fa7
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 12:24:06 2010 -0700
Remove reference to conn->admin_user in preparation for removal.
We use (uid_t)0 here not sec_initial_uid() as make test uses a single user context.
I will revisit this when all the uid check changes are complete.
Jeremy.
commit b32ce075f8b5a3a2ab0a72ffed16924cda90f423
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 12:18:04 2010 -0700
Simplify processing of "admin user". If a user is an admin_user ensure their conn token is uid 0.
This simplifies change_to_user() and removes special processing of the assignments
we pass to set_sec_ctx().
Jeremy.
commit 984eee7e290cd0dd20baf8a531ed9afc142796ff
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 12:13:30 2010 -0700
Switch over to using get_currect_XXX() accessor functions.
Jeremy.
commit 6b2358e15eadf2b137b62669a813eded21aebbc7
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 11:04:51 2010 -0700
Pass "connection_struct *conn" into functions that currently use "current_user.XXX"
Will allow me to replace them with accessor functions.
Jeremy.
commit 5d6610a21580a1d588465ec9f144f5a6daad57cd
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 10:45:15 2010 -0700
Add accessor functions for current uid, gid, unix token, NT token and vuid.
Jeremy.
commit 1332ce52b7b78b9e03e376f312120c0f1d7e302a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 11:03:29 2010 -0700
We don't need to treat the token differently in the conn->admin_user case, it should already be pointing to a token with uid == 0.
Jeremy.
commit 4b85a0ea7fe036347b9fe5c725e55b043f75ccb4
Author: Jeremy Allison <jra at samba.org>
Date: Mon Mar 15 10:33:09 2010 -0700
Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern struct current_user current_user;"."
As requested by Volker, split this into smaller commits.
Jeremy.
commit 83b9e12513984af8b372f5558043ed0f65d832fd
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 17:08:23 2010 +0100
s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER.
Guenther
commit 6f36e9d5045a062784d21dbfdd720df4cbb91182
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 17:08:23 2010 +0100
testprogs: add EnumPrinterData test to win32 spoolss test.
Guenther
commit 08ec9b7e734dcdd46440abba49e980cae01b1e44
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 16:11:43 2010 +0100
s4-smbtorture: fill PrinterDriverData with more values for consistency test.
Guenther
commit 386f15c62bb4d3517de719c750252e06cf3b1fb1
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 14:42:17 2010 +0100
s3:smbd: make sure we always have a valid talloc stackframe
metze
commit d23581b4d7a4936002c1d2d748836aead9215120
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 14:39:11 2010 +0100
talloc_stack: reset stackframe pointers to NULL
This makes it easier to debug the code in future.
metze
commit 10ed809a1a31be50ce09142eb99b3a243ae8b940
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 14:32:52 2010 +0100
talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1]
In smbd there's a small gab between TALLOC_FREE(frame); before
be call smbd_parent_loop() where we don't have a valid talloc stackframe.
smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop.
As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct
the time header for the debug message we crash on some systems.
metze
commit 1eb0fbe68d4ca00ec482cbdb9f73bc2af8f953bf
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 14:55:25 2010 +0100
s4-smbtorture: cleanup data after enumdata{ex} consistency test.
Guenther
commit c9cc26ef620b6c46ba129ea07ce33892abf5931a
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 14:41:58 2010 +0100
s3-spoolss: Fix _spoolss_EnumPrinterData.
Guenther
commit 06cbf05e8b964d353d0ca505ade7b018f93c8465
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 14:11:44 2010 +0100
s4-smbtorture: when cross checking enumdata{ex} make sure to have at least one entry.
Guenther
commit 6bfde084e65718cfdf81696120f64f17e832b313
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 12:38:17 2010 +0100
s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.
Guenther
commit 163e559606d55cce63346b01498417770761dd64
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 13:44:00 2010 +0100
s4:registry - rpc - don't crash when communication partner isn't available
commit cc3eec1681bb6d614e688f51e48bd76f6d513e67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:15:19 2010 +0100
s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions
We don't need to provide an extra representation for all available registry types.
But if we treat all unsupported types as binary we also get our tools (regtree,
regshell, regdiff...) working with them in a basic manner.
commit 4e6c0e1f6f37a7e04d10dbf7abbf626f52232aaf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:12:52 2010 +0100
s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch
(As in the "reg_value_types" structure)
commit 1e5010d35313d851a3904b116d3a4c2d3f0e199f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:52:24 2010 +0100
s4:registry - local testsuite - add a test for REG_QWORD
Change also here to fixed-length HEX values output to test for the right
representation.
commit 00934d4c2fd449493ad52127616445673f0de5b5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:51:42 2010 +0100
s4:registry - fix up the output of hexadecimal values
Use a fixed-length representation to avoid platform-specific issues.
commit 80300af278d346049f9bfd48f013bc2055dc104b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 15 11:07:36 2010 +0100
s4:registry - add support for REG_QWORD values
Basically the same as REG_DWORD but these are eight byte long.
commit c3eb509dea715620da086f3dc8e5702fb9d03e1c
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 15 10:20:06 2010 +0100
s4-smbtorture: fix torture_comment in RPC-SPOOLSS.
Guenther
commit f49d5e3288bc1b45d22fff0e68b11add2c4691ab
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 15 09:37:42 2010 +0100
s4:tortore/libnet: fix crash bugs because of incorrect function prototypes
metze
commit eb8c8a0ecaa9bfd29f090db21fccdad7751767ae
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 17:40:14 2010 +0100
s4:registry - util.c - add harder checks for inputs on "reg_val_data_string"
("NULL" result is error on most data types).
commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 13:37:18 2010 +0100
Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive)."
This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd.
s4 should support now also the extended "SetValue" tests.
commit bb1ac0c75c2f42dff972bae36b3814e5ad1142f9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 17:18:29 2010 +0100
s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD values
We need to support this as gd's WINREG torture test shows.
commit fbce5ded301a79846356b3809275e10b0a4b6860
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 10:30:19 2010 +0100
s4:registry - ldb.c - provide a mechansim for storing UTF8/binary REG_SZ/REG_EXPAND_SZ values
We need to support this as gd's WINREG torture test shows.
commit 95bfd17e080e439ab3185a1544c64bbe17067306
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 21:13:59 2010 +0100
s4:registry - ldb.c - fix up a strange LDB filter
commit f72790daaa6ecef922edcfba38effdc8e5885782
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 20:03:03 2010 +0100
s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value"
Don't substitute existing data blobs with new ones and make sure, that the
result objects in the data blob don't have memory dependencies of the LDB value
input.
commit 33eb1c95e55bb26aee7ee3876e38136eb56ef36e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 19:37:13 2010 +0100
s4:registry - ldb.c - check more for possible "Out of memory" circumstances
commit 9b3c45754e9f610a095e6e1b191bb33235e8c314
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 19:30:43 2010 +0100
s4:registry - ldb.c - remove superfluous "query" variable
commit cd3c870333d49460c9598a9928622454cd2cefc5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 19:29:03 2010 +0100
s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value"
Break on errors and return NULL and otherwise the message pointer.
commit 3c6792bc76323f821bc9e44ea3d724ce39e9081f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 18:39:54 2010 +0100
s4:registry - ldb.c - Move the "val" structure
Move it into the REG_SZ/REG_EXPAND_SZ case block since it's used only there.
Plus convert it from static into dynamic talloc'ed.
commit 727fb8578261de8eed335ce5210d86ea556ce6d3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 14:21:18 2010 +0100
s3: Remove some unused #defines
commit 2111fe5255c1a76c267bbd0986a9f4566e6a68f9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 13:49:58 2010 +0100
s3: Use a switch to implement map_nt_error_from_tdb
First, this immediately gave me the warning that TDB_ERR_NESTING was not
covered and second, this saved 48 bytes in the .o :-)
commit 6c00a3db24808333df734dde15064d01b32dbf45
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 14:13:30 2010 +0100
s3: Remove some unused code
commit e00327323ddec6074141a4c5638a12565b6345bd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Mar 14 14:06:45 2010 +0100
s3: Fix some nonempty blank lines
commit 5e06110bc19bb4e72a57487bdb231856f2f0c303
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 14 10:31:29 2010 +0100
Reintroduce "s4:provision Improve the handling of provision errors""
This mainly reverts commit f0bc02d74c16bc013e9fdab46ef271cf45873453.
Jelmer pointed out a way how we can achieve the same error handling with an
older syntax also on Python 2.4+.
commit b4826b9393244e46e855a65a65df67d9e6c1d81c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 13 20:02:16 2010 +0100
s3: Convert unexpected.tdb to use tdb_wrap_open
commit cfc44d244152609e17a26db85bbbf827955958a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 13 19:05:38 2010 +0100
s3: Make tdb_wrap_open more robust
This hides the use of talloc_reference from the caller, making it impossible to
wrongly call talloc_free() on the result.
commit 5eeb1fc44737a3b788fb84945966ded108caf3cf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 12:47:28 2010 +0100
NSS:winbind_struct_protocol.h - fix typo
commit f0bc02d74c16bc013e9fdab46ef271cf45873453
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 13 12:26:30 2010 +0100
Revert "s4:provision Improve the handling of provision errors"
This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193.
Andrew, this is not Python 2.4+ compatible
commit b52b357ede6893bf98d9fa00167b0516e86b755f
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Mar 13 08:19:34 2010 +0100
s4:torture/rpc/spoolss.c: fix compiler warnings
metze
commit 8f0773771491dd12c0fa0b8967009364d1daa188
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 02:26:59 2010 +0100
s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.
Guenther
commit 6833094d6bddf53ee403f89e4f949b9e23041974
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:37:32 2010 +0100
s4-smbtorture: send even more random data in extended winreg SetValue test.
Guenther
commit 33d9901ecb448835fe566932df609a60f288a87f
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:34:31 2010 +0100
s4-smbtorture: fix build and handle in spoolss test.
it's friday night...
Guenther
commit 5e48aa7ebbf0b3c589093867be12523d6f98e4d2
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 18:31:22 2010 +0100
s3-spoolss: wrap _spoolss_EnumPrinterData() around _spoolss_EnumPrinterDataEx().
This removes some dependencies to registry code.
Guenther
commit d39ece17e0590aa7fd484cf273a7402f704a7ebb
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:07:43 2010 +0100
s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency test.
Guenther
commit ab33b991de6dcd3d27668ad4710e58f4b5e228f4
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 01:05:24 2010 +0100
s4-smbtorture: refactor spoolss EnumPrinterData test.
Guenther
commit 1d9d617d971a38670b359403f76f9effad994bfa
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 22:45:33 2010 +0100
s4-smbtorture: refactor SetPrinterData() calls a little more.
Guenther
commit 3de2f0475dfcaf1df54054b9afce70cc0e9afeb1
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 22:11:14 2010 +0100
s4-smbtorture: re-arrange spoolss_SetPrinterData() tests.
Guenther
commit f064a182eb3a28e49cec6aa3d9baaad8d85f13e6
Author: Günther Deschner <gd at samba.org>
Date: Sat Mar 13 00:20:52 2010 +0100
s4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2).
Guenther
commit a2be29dfa32a675249f743632a24450d5147a112
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 12 14:31:47 2010 -0800
Missed a couple more uses of conn->server_info->ptok that need to be get_current_nttok(conn)
Centralize the root check into smb1_file_se_access_check()
so this is used by modules/vfs_acl_common.c also.
Jeremy.
commit e80ceb1d7355c8c46a2ed90d5721cf367640f4e8
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 12 13:56:51 2010 -0800
Remove more uses of "extern struct current_user current_user;".
Use accessor functions to get to this value. Tidies up much of
the user context code. Volker, please look at the changes in smbd/uid.c
to familiarize yourself with these changes as I think they make the
logic in there cleaner.
Cause smbd/posix_acls.c code to look at current user context, not
stored context on the conn struct - allows correct use of these
function calls under a become_root()/unbecome_root() pair.
Jeremy.
commit 31b0417f7def5af5392088eec8fe6e77074d3da9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 12 21:04:22 2010 +0100
s4:provision.py - small output improvement
commit b3f727e6a5f20075dd79291ff895a46e47b63e53
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 12 18:56:44 2010 +0100
s4:util.c - "dsdb_check_optional_feature" - counter should be "unsigned"
commit e3913084cd17861822b1e2f8b1379e48e181856c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 15:48:35 2010 +0100
s3: Add "net registry increment"
A convenience function to increment a DWORD value under a (cluster-wide) lock
commit 0f210749a779249b8f323c2eb2aec38137ae4317
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:51:46 2010 +0100
s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs
metze
commit 81ac17d12d28b02e896f9c6c17a3aa441e87f4a7
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 12:30:24 2010 +0100
s4:torture/rpc/echo.c: make use of dcerpc_binding_handle stubs
metze
commit f1633934cd1fc455648230c6e542c2a67f751879
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:33:10 2010 +0100
s4:torture/libnet: make use of dcerpc_binding_handle stubs
metze
commit 7be154a6168bd1bb49d776599b9ede0826835c66
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:31:36 2010 +0100
s4:torture/ntp: make use of dcerpc_binding_handle stubs
metze
commit 9e0557a14975375596e7ed89c7ed70b85116e7fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:27:58 2010 +0100
s4:libnet/libnet_time.c: make use of dcerpc_binding_handle stubs
metze
commit 07a28b1923bee35c365972e4c5935de8637d412b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:27:40 2010 +0100
s4:libnet/libnet_share.c: make use of dcerpc_binding_handle stubs
metze
commit 02c61f520cfd5bea83ab18a4877c978f448fa4d3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:27:16 2010 +0100
s4:libnet/libnet_samsync.c: make use of dcerpc_binding_handle stubs
metze
commit 19d229a11b959f4dd841b1a4e851f39271121e10
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 07:59:14 2010 +0100
s4:libnet/libnet_passwd.c: make use of dcerpc_binding_handle stubs
metze
commit bec3d8e7ae84c7adb64bff64529f7838aa45fd9b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:26:27 2010 +0100
s4:libnet/libnet_join.c: make use of dcerpc_binding_handle stubs
metze
commit 7807de5693174ee018561a694c8b6baf292888e2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:25:34 2010 +0100
s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubs
metze
commit dea7c4f999c157358338436ce1717ef8bf3f96e0
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 11:25:01 2010 +0100
s4:client: make use of dcerpc_binding_handle stubs
metze
commit 580d491faa8baf35b85262fa84d8c3a0591d9f34
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 18:17:28 2010 +0100
s4:rpc_server/spoolss: make use of dcerpc_binding_handle stubs
metze
commit b6623e3a264d685c6f271a8f1e2529c3dcd201b8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 18:13:50 2010 +0100
s4:lib/registry/rpc: convert to use dcerpc_binding_handle stubs
metze
commit d0662ac4d01a5de34a368504b63f03a5ab43c398
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 11:12:17 2010 +0100
pidl:Samba4/NDR/Client: make the old rpc_request style async functions static
metze
commit d4f143258b61055864d8bb61ec180284a8b68e71
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:36:05 2010 +0100
s4:dcom: add a comment about unused code.
metze
commit 6292cb7f7f097aba2151d348331700e2b99fe49e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:30:03 2010 +0100
s4:libcli/composite: get rid of composite_continue_rpc()
metze
commit 7b76c118ad0f5272a2dac679e482f7b1b2440abc
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:23:01 2010 +0100
s4:librpc/rpc/dcerpc_util.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 398f477941de2fe3010c4f44b5507a9b764c2fd3
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:17:25 2010 +0100
s4:librpc/rpc/dcerpc_schannel.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit ff54cbe3d4c090003720eaef2a7321923404db39
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 15:46:55 2010 +0100
s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit e9cae3b5bc9a59a45973c1671e2d7372d1c32b12
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:04:20 2010 +0100
s4:winbind/wb_sam_logon.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 399cbb647995d3caee4aba21a7333102a28324ba
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:03:56 2010 +0100
s4:winbind/wb_init_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 7681260e1eb5fdf168e7e1a35e8b8b0a14e1c2e0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:03:26 2010 +0100
s4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 53bdd25829b0af13a30b70e503f59702708668a8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:02:50 2010 +0100
s4:winbind/wb_connect_sam.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit d836dd9ea7e96752e405990521d80242e948a84b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:02:25 2010 +0100
s4:winbind/wb_connect_lsa.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 6ecae51e18ef31010ba5cdac845e13108e821c40
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:01:57 2010 +0100
s4:winbind/wb_cmd_usersids.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 765d4a52cba49ac1c8d30ae825c03f6003acd188
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 10:01:23 2010 +0100
s4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 05d6343ac7a9a1e244ad70c0c24d65f33936e6ad
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 13:49:20 2010 +0100
s4:winbind/wb_cmd_getdcname: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 9e87e6dc9ae73e1a5ad8bfc1742282ba69202ddd
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 20:33:48 2010 +0100
s4:winbind/wb_async_helpers.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit a011cbccb7956b277657690f2c3070f4eea78092
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:53:36 2010 +0100
s4:libnet/libnet_rpc.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit c190ae1631ae1307116005280fa61dbfac90a19d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:43:13 2010 +0100
s4:libnet/usernam.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit a8967c378c771697760f47996aaae8f3d1e4a98b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:42:07 2010 +0100
s4:libnet/userinfo.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit ccc0ab681133548d9c8f0b34368b5836374d9947
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 09:39:55 2010 +0100
s4:libnet/libnet_user.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit c148405a12919ca48163f0cbe337fe30b6c97d92
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 16:59:33 2010 +0100
s4:libnet/libnet_lookup.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit eae3436320fef015f3e2f78ed32aa57cae0aa7f9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 16:48:17 2010 +0100
s4:libnet/libnet_group.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 3d72524ab4de8d3fe820c0eb0dcd60c4a2cc3fe2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 16:45:04 2010 +0100
s4:libnet/libnet_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit f0a394315d6adede8e319a60236aca114b1aa362
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 17:12:56 2010 +0100
s4:libnet_unbecome_dc: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 2c5bbea8cbf1fd95db946ca65893f081b8c392d2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:41:43 2010 +0100
s4:libnet_become_dc: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 8dc4fd921b3d49d757f382d5546447eed37ea9f2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:32:45 2010 +0100
s4:libnet/group*: make use of tevent_req based dcerpc_binding_handle stubs
metze
commit a3ae9802d47f7a39030be089d15fc42f8e8917e6
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:27:14 2010 +0100
s4:libnet: keep a dcerpc_binding_handle for samr and lsa
metze
commit 77fb700e2096a0fbd1ed9361f476898b2b7771c5
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:23:17 2010 +0100
s4:dsdb/repl: make use of use tevent_req based dcerpc_binding_handle stubs
metze
commit 15d9675b049ee157037328daa714f79b339c0c73
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 12:31:06 2010 +0100
pidl:Samba4/NDR/Client: generate stubs for dcerpc_binding_handle abstraction
metze
commit d95ca9003044969eacf6b42710a4ce5640084b2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 16:24:19 2010 +0100
s4:librpc/rpc: prepare dcerpc dependecies before pidl changes
metze
commit 6677a5431cc33d8fba565ee068d4c87050ddbd96
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 8 12:29:52 2010 +0100
s4:librpc/rpc: add very basic dcerpc_binding_handle infrastructure
metze
commit 454bedcb806ce54dae2e6ecc6650d8972287c87c
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 17:52:38 2010 +0100
pidl:Samba4/NDR/Client: don't generate client stubs for function marked as [todo]
metze
commit 8844acf4248ae8df9293eeff2eed8827ea802211
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 00:52:30 2010 +0100
pidl:Samba/Python: don't generate methods for functions marked as [todo]
metze
commit f4c227e5719abc02d510509a81f2628740b58803
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 09:20:23 2010 +0100
librpc: rerun make idl
metze
commit f85c825ae2e37a2ae744d20ea385a56863daab91
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 12 00:45:56 2010 +0100
drsuapi.idl: don't mark drsuapi_DsGetMemberships as [todo]
metze
commit 79100c242153ea174a4405afd45cbf635da313aa
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 14:22:54 2010 +0100
s3: Add "g_lock_do" as a convenience wrapper function
commit 1728b5fa6f0efd443799550ab630abd8282a3c9c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 12:12:25 2010 +0100
s3: Actually use mem_ctx in net_g_lock_init()
commit bc1f3fe99e8ca435b6622462dd248663df3002a3
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 12:08:19 2010 +0100
s3: Fix a comment
commit 67d1b015907ad0e764350f45686e467c6f468f56
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 12 11:47:00 2010 +0100
s3: Fix some "net registry" usage messages
commit a0527dd790c12d9f3d7e579103a48dd420946e40
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Mon Mar 8 23:45:44 2010 -0300
use unsigned instead of uint32_t for LDB counters.
the attribute num_values of the struct ldb_message_element is defined as
an unsigned int, so the counters of that variable should be of the same
type.
commit 208e2801b4715626a46292ca9d576d34d7fbfef2
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Sun Mar 7 02:09:24 2010 -0300
nTDSConnection creation
create nTDSConnection objects to "imply" the minimum-cost spanning tree edges
for which no nTDSConnection objects yet exist. it also adds a test function in
kcc_connection so the kcctpl functions can be called. this patch is in accord
with the sections [MS-ADTS] 7.2.2.3.4.2 and 7.2.2.3.4.5.
commit 6e20906f420be591894925a38504735d4e220c52
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Sun Mar 7 01:55:12 2010 -0300
spanning tree computation
calculate the spanning tree for the intersite connection. this patch is in
accord with the section [MS-ADTS] 7.2.2.3.4.4.
commit b70df94f620eb6c30ddfc98212012df270750412
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Sun Mar 7 01:34:41 2010 -0300
new function kcctpl_color_vertices
besides the new function implemented, some minor bugs were also fixed. this
patch is in accord with the section [MS-ADTS] 7.2.2.3.4.3.
commit 7b20ad99d679de92a13652224fb33b4a0a0a7b35
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Wed Mar 10 16:21:29 2010 -0300
s4-drs: check if an optional feature is enabled
commit ca67768b66758cadcc0e5e2f7544698b41c8f8ba
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 24 15:09:28 2010 +1100
s4:selftest Add file based DNS resolver to selftest environment
This will in future allow us to test 'net vampire' in the test
environment, using the file based DNS lookups to avoid us hitting real
DNS.
commit 8529b0afc1f56ba29ddcb5a4fdc62790868cfbe6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Mar 12 10:45:16 2010 +1100
selftest: Remove dns_host_file every time we start
commit be79f572ed2a5853917eeede3991c1674ad655a6
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Mar 12 03:13:51 2010 +0200
Split the dsdb_access_check_on_dn.
Split the dsdb_access_check_on_dn so it can be reused for checks
from both within the module stack and outside it.
commit 4b256c6d8e109d998b8b3a63585cc93596a96bfb
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Mar 12 02:21:16 2010 +0200
Fixed ACL module to use dsdb_module_* API.
commit 8194fc37571257d4b5df3e78f5e38e914b18dc43
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 12 00:30:52 2010 +0100
s3-netlogon: Fix bug #7237: _netr_SamLogon segfaults for clients sending NULL domain.
Thanks to Marc Muehlfeld <muehlfeld at medizinische-genetik.de>.
Guenther
commit 1a10a5949d9f2148bdcd61a864104e5c305f8a59
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 11 14:39:14 2010 -0800
Improve symlink delete test. Make sure we don't delete the link target by mistake.
Jeremy.
commit 98ba174fa2bd174de58b9c97ba16627ff77374e8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 23:15:14 2010 +0100
s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly
crashes smbd (in preparation of fixing bug #7237).
Guenther
commit 222b955237ed2a0d838738b4bacffc1106af2dc3
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Mar 11 23:10:38 2010 +0200
Moved access_check_on_dn from acl module as an utility.
Made this an utility function so it can be used for access checking
outside of the acl ldb module, such as checking validated writes and
control access rights in other protocols (e. g drs)
commit 24a7f8f2dbae73e862b9b3d4c6f0692054c354b3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:48:24 2010 +0100
s3-winreg: make QueryValue pass RPC-WINREG test again.
Guenther
commit 40e2c04f8aba605e951810751222559ea0d32ebd
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:23:13 2010 +0100
s4-smbtorture: skip extended SetValue test against Samba (both dont survive).
Guenther
commit 2324b07726adb2d45ee7e4571c3b83ba33cec3cf
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:24:58 2010 +0100
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
Guenther
commit e0d85f87b7a6a3c887bc0a7f93b26380369e269c
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:20:48 2010 +0100
winreg: add winreg_KeyType enum.
Guenther
commit 96a38e387e9655b14504c0c3d181db95cc84cc3d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 19:25:57 2010 +0100
s3-winreg: fix some function names in debug statements.
Guenther
commit 9e80fe66758829ca1721cd2b8eddd90cb90d6418
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 20:17:48 2010 +0100
s4-winreg: continue processing in WERR_MORE_DATA case in dcesrv_winreg_QueryValue().
Matthias, please check.
Guenther
commit 09ea04a7f8edc407761450d30fe9a54cac0d7133
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 18:52:38 2010 +0100
s4-smbtorture: add extended SetValue test to RPC-WINREG.
Really looks like a blob based database frontend.
As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.
Guenther
commit 3a8d85da688bc681e8d80ecde75ea318615fe659
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 18:37:02 2010 +0100
s4-smbtorture: more work on test_key_value() RPC-WINREG test.
Guenther
commit b7898148c183d71c3049baea37cfa57e24e1e50a
Author: Volker Lendecke <vl at samba.org>
Date: Thu Mar 11 11:33:01 2010 +0100
s3: Make init_smb_request return bool
Centralize the exit_server_cleanly()
commit 0d6c19b976c45eaf801fb28b89db25ddb29d5826
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 15:11:29 2010 +0100
RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()
metze
commit 4585ea06a565920ac109cf1b3890e48a3d975093
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 14:52:37 2010 +0100
s4:torture/libnet/libnet_user.c: fix double free in error path
metze
commit 10b97ed9e423d7c13e9b2daf118764a73db9096a
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 14:27:45 2010 +0100
s4-registry: add all winreg types to reg_value_types table.
Guenther
commit d4b8fb15b83140f217334fc848526dbcf33ee8fa
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:32:34 2010 +0100
s4:selftest: move samba4.net.api.become.dc from skip to knownfail
Someone should fix the remaining bug, as this test is expected to work.
metze
commit dd934472e8e456abc01a99637f91528128bec369
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:30:19 2010 +0100
NET-API-BECOME-DC: convert to torture api
metze
commit b71bbbab8b491140e3de7374b4c9232d387157e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:05:55 2010 +0100
s4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in dcesrv_drsuapi_DsRemoveDSServer()
metze
commit 46b0cbe8798949caa60eeabcb6e982190b2c2916
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 13:04:56 2010 +0100
selftest: let the client also use the dns_host_file
metze
commit 4398871d1fabcc28af7c9a2aac5c91fe4fba2fa4
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 09:12:07 2010 +0100
RPC-DSSYNC: fix the build after idl changes
metze
commit 9592366dc7537adb0662d85c34c62d32a012a801
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 09:11:25 2010 +0100
librpc: rerun make idl
metze
commit aef4890a7c426c32a5c8df6f2108a24439dafeca
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Mar 11 08:46:39 2010 +0100
drsuapi.idl: finish drsuapi_DsGetNT4ChangeLog idl
metze
commit d1e3898a05a860f40a7b34b357917aa873dfd145
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 11:38:51 2010 +0300
s4: allow pam_winbind.so to be build on samba4
* Modify the nsswitch/config.m4 to add tests and build that will be put in configure by the autoconf/autoheader
We test if there is pam headers and pam library to be able to build the pam module
We add s4 build directive (that are normaly in standalone config.mk) this is due to the fact that we need
to rely on path that are guessed during configure.
Add tests not to build pam_winbind if pam dev files is not present
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 8306eb1c5f7126a72423e936dc36e77f86532d6b
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 11:38:51 2010 +0300
s4: create ../lib/iniparser_build/config.m4
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 5f2f4849e556cb761c7d9fca78cb1ef9e1279974
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 11:38:51 2010 +0300
s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things in one place
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit cddc542ba5f30316ff4ee8fa591a54808b7be4c8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 12:21:08 2010 +0100
s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.
Found by RPC-WINREG smbtorture test.
Guenther
commit 6441a5b0b97973b834ba025f1762abe2b5c3f3c9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 11 15:34:01 2010 +1100
Explain why we don't use certain characters in the generated pw
commit a6253a45c0733e81a8d2200d1d8892383bc00c31
Author: Endi S. Dewata <edewata at redhat.com>
Date: Wed Mar 10 20:34:01 2010 -0600
lib/util - Removed curly braces from generate_random_password().
commit ade93755d51e80374e4e6bc6bc501e3230988799
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Mar 9 19:12:30 2010 -0600
s4:provision - Updated FDS schema mapping.
commit 027123199e13cc02ae4edadd8f0dd0f0660e1193
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 11 14:49:34 2010 +1100
s4:provision Improve the handling of provision errors
The backtraces were too confusing for our users, and didn't tell them
what to do to fix the problem. By printing the string (rather than a
backtrace), and including in the error what to do, and what file to
remove, we give them a chance.
Andrew Bartlett
commit 59545276f2bd6df8ee5e75e96e707fd86ff44350
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 10 17:46:09 2010 -0800
Try and fix bug #7233 - print fails with jobs >4GB from Win7 clients.
Remove an arbitrarty 4G B limit that *doesn't need to be there* !
Jeremy.
commit e999472e36076e432187371b0853b887effe1067
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 16:01:41 2010 +1100
s4:libcli Use integrated name resolution when connecting SMB
This avoids pulling the address into a string and back again if given
a name, by letting the next async layer down do the name resolution.
If it was an IP address to start with, then the resolver library just
converts that to the struct socket_address.
Andrew Bartlett
commit 1af2cd2bd1c74c88dd00088eb37ad6286af7561f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 24 22:57:09 2010 +1100
s4:libcli/resovle File based lookup module for DNS name types
This uses the new common code to read a file containing DNS host
names, so we don't have to use real DNS lookups in our test
environment.
Andrew Bartlett
commit 263d4b5c93a1ec8a027130800c98643f559677c5
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 9 23:29:43 2010 +1100
libcli/nbt Add parser for a 'hosts' file that takes DNS record types
commit 3723e32e8cca79b52b97d6d6f4cda8ce5ce1bd33
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 9 23:34:10 2010 +1100
s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdate
For the testsuite to use DNS like names, we need to write these names
to a file.
Also, to have this run in 'make test' the usual rules about 'no 127.*'
IP addresses in DNS must be skipped, so glue.interface_ips takes two
arguments now
commit 79b4a3b22e8a70844b9654f057f6169c553cc809
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 16:04:44 2010 +1100
s4:lib/socket Don't go via a string when resolving addresses in connect_multi
This also removes the special case for IP addresses, and leaves that
to the code in the resolver library.
Andrew Bartlett
commit 9457b7ea2214aaa3a466e5dbc2daa0b931975073
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 15:56:13 2010 +1100
s4:libcli/resolve Use a more robust way to return the string address
By going via these tevent functions, we avoid needing to dereference
the struct socket_address, which may contain a 'struct sockaddr' or
strings. The new dns_host_file resolver returns in the form of a
struct sockaddr.
Andrew Bartlett
commit 0201b2fa9f31d8c9a75f3057f91b3f720f62292c
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Mar 10 15:55:26 2010 +1100
s4:lib/socket Add function to set a port on the socket address
commit 4ab3e220c4188b6c147e1a0fa8ce1e2965d74d43
Author: Andrew Bartlett <abartlet at samba.org>
Date: Tue Mar 9 23:30:41 2010 +1100
Move prototype to header of common code for set_sockaddr_port
commit 5ed18fad0037146bb321eb7e73c82be403a45917
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Mar 11 10:42:18 2010 +1100
s4/rpc_server Don't segfault over replPropertyMetaData contents
The replPropertyMetaData may contain attrid values that we don't yet
have in the local schema. We need to deal with this - it is a serious
error, but we should not segfault.
Andrew Bartlett
commit c1fb657afc1184d192e0fbca05a8145e2383ffe7
Author: SATOH Fumiyasu <fumiyas at osstech.co.jp>
Date: Wed Mar 10 12:15:44 2010 +0900
vfs_netatalk: Segfault if hide files or veto files has no ".AppleDouble"
commit 3fd5ac63443717fd596546602d2e5477923f8f3d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 11 00:07:00 2010 +0100
s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.
Guenther
commit 20d85d5d546ade003d70ca727c012785ba9f9b4b
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 10 14:40:20 2010 -0800
Added regression test for bug #7234 - Symlink delete fails but incorrectly reports success.
Ensure we can delete a symlink by path.
Jeremy.
commit 01801f3f94f76b86a92c5ffec7399b39977572f7
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 23:08:09 2010 +0100
s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.
Guenther
commit 367ddc3d1b525525a9dae077335e33dc0017b58e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Mar 10 14:06:18 2010 -0800
Fix bug #7234 - Symlink delete fails but incorrectly reports success to client.
Typo called LSTAT instead of STAT in the unlink by pathname path.
Jeremy.
commit 25d27ff57687337b8a2df231e9f8f6b01538cf73
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 22:04:02 2010 +0100
Revert "s4-smbtorture: disable winreg QueryValue test for today."
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.
commit 61bf804e8f8d7b43ff7b31b119fb988b30a7e54a
Author: Björn Jacke <bj at sernet.de>
Date: Wed Mar 10 20:58:16 2010 +0100
Ñ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL
commit ec6843402cdaecf8fa96f7b9c037f175dd128639
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 20:23:43 2010 +0100
s4:libnet - change variables to "unsigned" where needed
commit af72a63cff2e8a000232d4ea65b66fb87eda9f01
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 20:22:06 2010 +0100
s4:libnet_become_dc - change counter variables to "unsigned" where they count LDB objects
commit 5d10676b3b726a75e2dabe5e8624a7b95b97c424
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 19:49:25 2010 +0100
s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced torture test
Found out by gd's updated torture test.
commit 490c0cefeb3fcbba3e8d38ecec23d3b438d58d92
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 09:47:02 2010 +0100
s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAM
commit 667e8d8fc63f83bdc9580493c61fe3374c2c4da7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 12:24:59 2010 +0100
nsswitch: build libnss_winbind.so with SOVERSION = 2
metze
commit 3d70a3f78d34a9c2276a3c53c0a901ed075d1b61
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 10:29:33 2010 +0100
nsswitch: don't use socket_wrapper for winbind client code
metze
commit 0b4ad41973676c874a1b420b7711762b41eed9dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 11:14:50 2010 +0100
nsswitch: build libnss_winbindd.so only for the non merged build
metze
commit 65e92c6ffefffb34f65e48696c03b9d1da5f7408
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 10:44:41 2010 +0100
s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()
metze
commit bb1d81bab70125d56cfb3e6caff6a01503f33d3d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:12:28 2010 +0100
s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0
r->out.total_entries = 0; should be *r->out.total_entries = 0;
Otherwise we fail to marshall the reponse or crash if we run with
log level = 10 and trigger the ndr_print functions.
All out elements are already setup and initialized by the pidl generated code.
metze
commit 21326d48d7f9dcb93f15124114ade9484c02055d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:10:13 2010 +0100
s4:rpc_server/wkssvc: remove unneeded talloc_reference()
metze
commit 00ce349ad1be0b223a6c455667e894aac7869aba
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:08:34 2010 +0100
s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated [out,ref] memory
metze
commit 11a402afa88a5f74d060fccb47cca604dff9d925
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 13:59:37 2010 +0100
s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);
Here it doesn't matter, but it's a bad example for other code
as it might reset the [out,ref] pointers which are already
generated by the pidl generated code.
metze
commit 7db0109bfec806ad0791b5117292620d26050f6c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Mar 6 00:35:17 2010 +0200
idl: Regenerate DRSUAPI idl files
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6853f452b411b0fc15a49f0bd013d5af423367d1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Mar 6 00:31:12 2010 +0200
s4/idl: drsuapi_QuerySitesByCostCtr1 'unknown' member is now known
and this it is a reserved fields for future flags - 'flags_reserver'
Must be 0 and is currently ignored.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 14fd25ae827688ab518045e65d8dfbc490db12b8
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 19:51:01 2010 +0200
s4/idl: QuerySitesByCost - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e76d6e9454ffada88f58d77e2b6df2138875d130
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 19:25:40 2010 +0200
s4/idl: DsGetMemberships2 - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6321b263614d73a9c0a0489ab8df9c173406e2e0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:24:10 2010 +0200
s4/drs: DsRemoveDSServer - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1ad805e04fb809ce42081caea9f04d6b1f31e92e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:17:50 2010 +0200
s4/idl: DsRemoveDSServer - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 28cb2742206d8eb09be7c902e906a60bacfa56ed
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:04:52 2010 +0200
s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d07883ed86e9073bb49c124b0212d8d41788bea6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:03:21 2010 +0200
s4/idl: DsWriteAccountSpn - switch types should be unsigned
Changes also propagated into source code as they are
too minor to be done in separate commit
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 88494b2b6215a820551779a7cff8a02607e04237
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:50:57 2010 +0200
s3/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2483ed362be4350601f7b4f194d010f205cefe8c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:38:03 2010 +0200
s4/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d22eaddf95386081e6ae41fd770142f9ba159ca1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:37:44 2010 +0200
s4/idl: DsCrackNames - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 00135d83f435d778229ac94cc5e5e083fce7a746
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:55:46 2010 +0200
s4/idl: DsGetMemberships - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 890d408feaa8c7761021d91f382bc7bfdb0c293d
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:53:03 2010 +0200
s4/idl: DsReplicaMod - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 4ea818e349fd30d2f0289bb6742455d3a3469fc9
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:19:32 2010 +0200
s4/idl: DsReplicaDel - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f71ffb06c06ba0a256131a42a200a96f4ddec59
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:11:38 2010 +0200
s4/idl: DsReplicaAdd - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 62b4b675fd73ccb082fd5cbee428a4ba976c6552
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 21:30:40 2010 +0200
s4/idl: DsReplicaUpdateRefs - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit feb4c8a3e345ae30f35f7a61d07c3fd3f0db446a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 21:58:01 2010 +0200
s3/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f21787131a062c15b4757d3e655fbb5fbc9960b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 20:33:46 2010 +0200
s4/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 89f8c35ac4cb123c930207f6e8dd2ff4e428db72
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 20:33:23 2010 +0200
s4/idl: DsGetNCChanges - switch types should be unsigned
Converting those types to unsigned should help in
creating DRSUAPI dissector for Wireshark also.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 163cc1a02d2dd1e5391fc37e5c438145d7b43b7e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 22:07:55 2010 +0200
s4/idl: drsuapi_DsReplicaSyncOptions flags are no more used
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d142d9fb64d94148cad555ef9c62bbed935e3dc1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 22:07:12 2010 +0200
doxygen: talloc_get_type name fixed in Doxygen documentation
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c5ba525748fdab6b182e35673983719b7c235127
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 14:17:23 2010 +0100
s3-winreg: add some debug statements to _winreg_QueryValue().
Guenther
commit 52ca26a820ab0688800a88038b656c2def83aeb6
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 13:04:17 2010 +0100
s4-smbtorture: do full winreg QueryValue test for values we created.
Guenther
commit 420aac75385d8992bfa5145041604a5efbb126a5
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 12:54:17 2010 +0100
s4-smbtorture: check for non existing value under version key in RPC-WINREG.
Guenther
commit 89c785c47aa0fceba148297116e863f46941bd42
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 2 17:02:01 2010 +0100
s3: Fix a long-standing problem with recycled PIDs
When a samba server process dies hard, it has no chance to clean up its entries
in locking.tdb, brlock.tdb, connections.tdb and sessionid.tdb.
For locking.tdb and brlock.tdb Samba is robust by checking every time we read
an entry from the database if the corresponding process still exists. If it
does not exist anymore, the entry is deleted. This is not 100% failsafe though:
On systems with a limited PID space there is a non-zero chance that between the
smbd's death and the fresh access, the PID is recycled by another long-running
process. This renders all files that had been locked by the killed smbd
potentially unusable until the new process also dies.
This patch is supposed to fix the problem the following way: Every process ID
in every database is augmented by a random 64-bit number that is stored in a
serverid.tdb. Whenever we need to check if a process still exists we know its
PID and the 64-bit number. We look up the PID in serverid.tdb and compare the
64-bit number. If it's the same, the process still is a valid smbd holding the
lock. If it is different, a new smbd has taken over.
I believe this is safe against an smbd that has died hard and the PID has been
taken over by a non-samba process. This process would not have registered
itself with a fresh 64-bit number in serverid.tdb, so the old one still exists
in serverid.tdb. We protect against this case by the parent smbd taking care of
deregistering PIDs from serverid.tdb and the fact that serverid.tdb is
CLEAR_IF_FIRST.
CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not
work when all smbds are restarted. For this, "net serverid wipe" has to be run
before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up
sessionid.tdb and connections.tdb.
While there, this also cleans up overloading connections.tdb with all the
process entries just for messaging_send_all().
Volker
commit 184afeb57d0daeacfacdb8c976032697efe00214
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 8 07:24:03 2010 +0100
s3: Make TLDAP_IS_ALPHA and TLDAP_IS_ADH static functions
commit 7fdbbddf42bae65ef4f9679f7a2f14ccfc71fa88
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Mar 10 12:07:44 2010 +0100
s3-passdb: Fix typo in debug message.
Karolin
commit eeb8c36326c853865c7844d2f3caaa3ccc4da832
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 11:16:20 2010 +0100
s4-spoolss: remove unsed iconv handle from dcesrv_spoolss_GetPrinterData().
Guenther
commit eeb05bf746b0eeeba94fe51180e0ebf855c6967a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 09:22:42 2010 +0100
s4:winreg RPC - don't crash when incoming data wasn't correctly specified
Also found by the WINREG torture test enhancements by gd.
commit bb507d1d49917fcdeebb8fc3c40b6fabf4055b7d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 10 09:10:53 2010 +0100
s4:lib/registry/ldb.c - fix up registry backend to be more robust
This should let the new WINREG tests written by gd at least pass against us.
commit 41be39013b02a6813e87af9d6579a80b3ad5227f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 9 20:06:19 2010 -0800
Fix the shell script in the root case. When run as root, make test now detects CAP_DAC_OVERRIDE being left on in error.
Jeremy.
commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 02:52:13 2010 +0100
s4-smbtorture: disable winreg QueryValue test for today.
wow, both s3 and s4 crash on full coverage winreg QueryValue testing.
Guenther
commit 0a253e6b72dbf5cfe6be1952fde72cf492680e36
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 02:50:32 2010 +0100
s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.
Guenther
commit 3855c948c029490c616f4b4aa81b47e6df8c12a0
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 9 16:36:48 2010 -0800
Add tests which, when run as root, will ensure we can't write
into a read-only directory, or read a owner-read-only file.
Jeremy.
commit ae79d8ce02921e9a5c82433527909c7f707051e3
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:43:57 2010 +0100
s4-smbtorture: on HKLM hive test the well known CurrentVersion value.
Guenther
commit 722daf43d0ef3a7951d8ee6b4aea97fd3e056719
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:17:59 2010 +0100
s4-smbtorture: add full coverage test for winreg QueryValue calls.
Guenther
commit 62b41e684286ec04dfb0c03b42d0d028212084c9
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:16:46 2010 +0100
s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.
Guenther
commit 6d10645bcae39f1377c1e3bfd01578519586289d
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 10 00:06:52 2010 +0100
s4-smbtorture: add tests for set and delete value in RPC-WINREG.
Guenther
commit f7f67e9e1f678e0256deeca94939bf29e6a04fa4
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 9 16:40:55 2010 -0500
Fix typo and convert spaces to tabs
commit 8fa81e99093bccf40c4ddea162896ccc020da9db
Author: Simo Sorce <idra at samba.org>
Date: Tue Mar 9 16:41:44 2010 -0500
Fix typo
commit 9adbba6fb9404bb7f6d88cf58e7d5ce06fe73b0e
Author: Jeremy Allison <jra at samba.org>
Date: Tue Mar 9 13:14:18 2010 -0800
Allow "make test" to complete as root. Obviously only safe on tightly
controlled developer machines.
Jeremy.
commit 25452a2268ac7013da28125f3df22085139af12d
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 9 11:14:14 2010 +0100
s3: Fix a NULL pointer dereference
Found by Laurent Gaffie <laurent.gaffie at gmail.com>.
Thanks!
Volker
commit c05d13d3c2c5d516c55cec133ba635f528034862
Author: Simo Sorce <idra at samba.org>
Date: Sun Mar 7 20:20:45 2010 -0500
s4:ldb fix escape parsing
sscanf can return also on short reads, in this case an invalid escape
sequence like '\1k' would be accepted, returning 1 as value and swallowing the
'k'. Use an auxiliar function to validate and convert hex escapes.
commit 9f53820de731ca1a7f06341958b43fcfccf82600
Author: Simo Sorce <idra at samba.org>
Date: Sun Mar 7 20:20:02 2010 -0500
s3:tldap add own filter parsing
Also add torture test to check filter parsing.
commit 2ee3cca4ffd60d091ca5fe8035f90969f6b91cc4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 9 17:54:12 2010 +0100
s4:winbind - use "unsigned" variables where possible
commit 1310eba9705d6c49ec36555f546c4b99174ee695
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 9 17:52:10 2010 +0100
s4:winbind/wb_cmd_getgroups.c - fix up warnings
Also fix some indentations.
commit 98bc10d0a8284387789fafc32a1a1e54a7e31824
Author: Matthieu Patou <mat at matws.net>
Date: Tue Mar 9 15:35:54 2010 +0300
s4:unittest Fix unittest to reflect that wbinfo -r no longer fail
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit bc766a9a8475344eb4556da91f68874523d1fe52
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 23:29:15 2010 +0300
s4:winbind: stub implementation of WINBINDD_PAM_LOGOFF
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 238ff24341767230614a3931646df59c1cf87a52
Author: Matthieu Patou <mat at matws.net>
Date: Wed Mar 3 23:29:32 2010 +0300
s4:winbind: Fix a misplaced returned info
libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 42b5b381871dd935aeda34669a2c03a05a63f5f0
Author: Matthieu Patou <mat at matws.net>
Date: Thu Mar 4 03:05:06 2010 +0300
s4:winbind Implement logic for getgroups to work
This function is called by the system everytime we do a id user or when we do wbinfo -r
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 30baf31411363ebd79a6366caf4a792850c40192
Author: Matthieu Patou <mat at matws.net>
Date: Thu Mar 4 02:46:36 2010 +0300
s4:winbind: implement calls for allowing getent groups
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 74166c380c5ad110d93c4e7141eaa7b1d069ced8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Feb 17 09:51:41 2010 +0100
s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible against Windows Server 2008
This is a reworked version of the mentioned test which passes against Windows
Server 2008. The previous version, also mainly written by me passed only against
Windows Server <= 2003.
commit 9995a37a8cffb5e20e2b0ef5abfee602673d362d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 11:09:57 2010 +0100
s4:netlogon RPC - "LogonGetDomainInfo" - make the call compatible with >= Windows 2008
Add more security checks and other corrections to imitate Windows Server >= 2008.
commit 1deefcaee1f3de97c0377b513a6f9c3d1181e2b0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Mar 9 17:12:02 2010 +0100
libcli/auth/schannel_state_tdb.c - fix an obviously wrong error handling
commit 48cdca0d474cc6ae6fa6be88580d5f2fbcb0dd84
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 9 16:10:40 2010 +0100
s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
Guenther
commit 8fd43f44efcf0a5ee3ccf8ad1d2b69d1570e6ac4
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 9 15:36:08 2010 +0100
s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-)
commit deebbe7cfae309baed9654e6e8354886eb3c568f
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Mar 9 14:56:46 2010 +0200
A helper function to get the Infrastructure DN.
commit 4b8961bc6f7aaf2c420d7b2bc2ef6eb07ab42429
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Tue Mar 9 13:53:41 2010 +0200
Fixed a bug in acl tests - python error when we create user/group/ou with a descriptor.
commit f742623b7b8a19ff3230754562deeac7657cd8cd
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Sun Mar 7 21:42:53 2010 +0200
Added a check for permissions to modify the RDN attribute on rename.
Necessary because rdn module will be moved lower than acl in the stack.
commit ec53a0ca5a568627df8dac91ec2c736b0d106829
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 16:01:15 2010 +0100
s4:dsdb/dns: change callers of samba_runcmd()
metze
commit 6ea339379890fa1f99e802cac4f705b96ffcff8d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 12:43:45 2010 +0100
lib/util: change samba_runcmd() to use tevent_req _send/_recv
metze
commit 56b13ee8edfa434cbca69af17aeea58cc5502b40
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Mar 8 20:34:39 2010 +0100
Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write."
This reverts commit a6ae7a552f851a399991262377cc0e062e40ac20.
This fixes bug #7222 (All users have full rigths on all shares) (CVE-2010-0728).
(cherry picked from commit 1c9494c76cc9686c61e0966f38528d3318f3176f)
commit 9113e14b291c10c824d2d8ea5cb28ffc0adcb63b
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 8 22:32:41 2010 +0100
s3:build: Fix automatic building of vfs_tsmsm if gpfs and dmapi are present.
Michael
commit b845025daf2da85eb1af6cbfa7878cf59a32f2a6
Author: Michael Adam <obnox at samba.org>
Date: Mon Mar 8 23:37:21 2010 +0100
s3:release-scripts: fix create-tarball to treat vendor patch level correctly
commit 8a76352544ccbac7e9aca2c3357256a01493cc7b
Author: Jeff Layton <jlayton at redhat.com>
Date: Mon Mar 8 15:05:05 2010 -0500
samba: remove Linux cifs-utils files from samba master branch
This patch removes all of the files from the samba tree that should now
be provided by the cifs-utils package. It also drops a
"README.cifs-utils" into the topdir with a URL to the main cifs-utils
webpage. This is for people who don't want the lists and might be taken
by surprise by the change. That's optional, but I think it's a good idea
for a least a release or two.
Signed-off-by: Jeff Layton <jlayton at samba.org>
commit fde707aa0c563d239c2f8c442cddfee0b6ff057f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 20:36:16 2010 +0100
s4:"dns_update_list" file: install it properly into the private directory
This is what the "samba_dnsupdate" script requests (line 220).
commit a34eafc693d8750c0883823068e5c6f7355efa04
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 20:30:06 2010 +0100
Revert "s4:script/installmisc.sh - install "dns_update_list" to target setup folder"
This reverts commit b49276e291274652d46eed39249c07531e32b591.
commit 8d3b7d418edc6955271d262bbdbf307a45b7fb7f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:asq module - change counters to "unsigned" where appropriate
commit df17e1b962d084315ebcba78a7ebe1d659781dbf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:sort module - change counters to "unsigned" where appropriate
commit 8248069c91922c93bf9020cc1f94b8cf59c43e28
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:rdn name module - change counters to "unsigned" where appropriate
commit 681c88798a1e16da9dc13688c1ed18659127684b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:paged searches module - change counters to "unsigned" where appropriate
commit 7e7d9a8a4827f283d13f393404da978130baaa93
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 18:01:32 2010 +0100
LDB:paged results module - change counters to "unsigned" where appropriate
commit a4dc50ef1273259c53f96ee4aaaef917e8daeffe
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 17:53:18 2010 +0100
s3: add missing Makefile.in changes for vfs_crossrename
commit 2f1fa4f8ca020c5d96bd3ac8706c54cd881aaa03
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 12:38:38 2010 +0100
s3: add man page for vfs_crossrename
commit 0769a1833aff2057e7f6ab05713d7fd6886d6040
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 12:59:40 2010 +0100
s3: add vfs_crossrename
this module adds optional server-side support for limited rename operations
beyond filesystem boundaries, which was the previously the default.
commit 583de7b582956d3bec7e875d88ef16b3b8ac6e53
Author: Björn Jacke <bj at sernet.de>
Date: Mon Mar 8 12:52:13 2010 +0100
s3: remove cross-device rename support from vfs_default
cross-device rename support has some major limitations:
- on huge files clients will timeout or hang
- ACLs and EA information is not retained
Usually a client will have to handle this. A Windows Server with a reparse
point will also just return NT_STATUS_NOT_SAME_DEVICE. We will now by default
do the same.
I will add a vfs module which will restore the old cross-device renames.
commit f4cb528ac510d3381a92a303e858edaf9e3d908a
Author: Jeff Layton <jlayton at redhat.com>
Date: Mon Mar 8 09:06:40 2010 -0500
samba: remove cifs-utils tools from build systems
Now that cifs-utils are their own project, we need to go ahead and pull
them out of the samba tree. This patch represents the first step toward
that end.
Remove the cifs-utilities from the source3 and source4 builds. Please
pay particular attention to the source4 piece. I'm not at all familiar
with the build system there, and would appreciate someone sanity
checking my changes.
It also adds a small README.cifs-utils file in the topdir. This is
optional, but I think it's a good idea to carry this for a release or
two.
Once this patch looks ok, I'll plan to do another patch to actually
remove the client dir and the relevant docs-xml files from the tree
altogether.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 4e16a285c7c34732ba95fb5ec201e6f11cf88bef
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:common - Change counters to "unsigned" where appropriate
To count LDB objects use variables of type "unsigned (int)" or "long long int"
on binary or downto searches.
To count characters in strings use "size_t".
To calculate differences between pointers use "ptrdiff_t".
commit 30ff229a3e32549073424b423302e976c988d563
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 11:43:40 2010 +0100
s4:LDB TDB index code - reintroduce accidentally removed code part
This was removed by 95d726f3018ef5d249f89d56bde24b7ee0c24ecf. Sorry.
commit f8dba773a5174055e3c206d006317b5275481636
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 09:58:28 2010 +0100
s4:ldb_ldap.c - fix indentation
commit 2d03011858ca33ee56b4c36ac6a901850ff69864
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:TDB backend - change counter variables to "unsigned" where appropriate
commit 4a2b78a6f36d4eb2a8763464f33720936921650c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:SQLITE3 backend - change counter variables to "unsigned" where appropriate
commit 95d726f3018ef5d249f89d56bde24b7ee0c24ecf
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:LDAP backend - change a counter variable to "unsigned"
commit b33a340e0a2dcf972f0e53d3ff28a17eb42e4582
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:map - make LDB "signed-safe" on counter variables where appropriate
commit 7a7cb5e9c25131e6eadc24f2e5a5a020e015731d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 8 08:02:32 2010 +0100
s4:ldif_handlers - Change "unsigned int" to "uint32_t" which fits better here
commit 818d51862c6234d0ffb08fcae6e8425907facde4
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Mar 3 15:15:03 2010 +0100
s4-gensec: Fixed wrong usage of error_string.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 85598be1f967765f65b78940b73187609fc9694d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:03:21 2010 +0100
s4:extended_dn_out LDB module - change counter variables to "unsigned" where appropriate
commit 632adf73288fe65c19ece464994f8e2c5021116c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:02:47 2010 +0100
s4:repl_meta_data LDB module - change counter variables to "unsigned" where appropriate
I used "unsigned int" counters where we count LDB objects (LDB specification
prescribes to use "unsigned" index variables).
But on DSDB replication object counters I used "uint32_t" typed variables as it
is suggested.
If a counter variable counts both types of objects I used "unsigned int" since
size(unsigned int) >= size(uint32_t), but on most platforms equal.
commit 3bb3667b4378702ba63352bfc172869379249302
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:04:11 2010 +0100
s4:local_password LDB module - change counter variables to "unsigned" where appropriate
commit 6997185e36a0f497e78ff18481ee3a1a0a9aa059
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:18:39 2010 +0100
s4:ranged_results LDB module - change counter variables to "unsigned" where appropriate
commit a973d9eedb2e2db78b5985984f5f04ace4daf4da
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:18:02 2010 +0100
s4:objectguid LDB module - change counter variables to "unsigned" where appropriate
commit cd43dd04af47e210dbab13826642c2434a1f2053
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:17:28 2010 +0100
s4:objectclass LDB module - change counter variabls to "unsigned" where appropriate
commit 2932df57ae77da81bf007996013ed29b170caef5
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:16:55 2010 +0100
s4:anr LDB module - change counter variable to "unsigned"
commit 77e1497a7b466569d5c733fc929d4e663a766fef
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:16:24 2010 +0100
s4:acl LDB module - change counter variable to "unsigned"
commit f9f7199250486aebf4829f708b5f934d097c3245
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:15:37 2010 +0100
s4:linked_attributes LDB module - change counter variables to "unsigned" where appropriate
commit 049f9d3c1a62f00b5f6eae97cfebddd45bf2edbc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:14:16 2010 +0100
s4:kludge_acl LDB module - change counter variables to "unsigned" where appropriate
commit 4ad912d2daed57b08f75b59638aa940109d8f167
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:13:11 2010 +0100
s4:proxy LDB module - Change counter variables to "unsigned" where appropriate
Use "size_t" when counting string index positions.
commit 90e236544f60c847e3fc7e3c183f9759850d3575
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:12:30 2010 +0100
s4:schema_data LDB module - change counter variables to "unsigned" where appropriate
commit ad7dd1cf71a80f707a01af9874777ba88d79dcd8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:11:48 2010 +0100
s4:resolve_oids LDB module - change counter variables to "unsigned" where appropriate
commit b85b9b364faca9c3c3aef467f3825b3055de9622
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:11:03 2010 +0100
s4:rootdse LDB module - change counter variables to "unsigned" where appropriate
commit d1dd0a560cb6a847f9fdd47b3a4d2ff9d8c09f2b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Mar 7 19:10:00 2010 +0100
s4:partition LDB module - change counter variables to "unsigned" where appropriate
commit 5a54b204c3d2b6c9282cdd459a3d1030fde48926
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:schema - Change also here counters to "unsigned" where needed
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I
modified to "unsigned" since for sure we don't want to have negative array
indexes there.
commit bd5f08f3d10d12a34a9b3f40594d36f0d6d37eb9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:schema_syntax.c - Change also here counters to "unsigned" where needed
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I
modified to "unsigned" since for sure we don't want to have negative array
indexes there.
There were many counter variables typed "uint32_t". This isn't fully correct
since those count LDB objects. The amount is saved in a "num_*" variable which
is "unsigned" without a bitlength specification. Therefore change also these
counters to be plain "unsigned".
commit ae049c49df88fcbcce490cd81361912e67775b12
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 18:30:10 2010 +0100
s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue and tstream_context
metze
commit acd3a2729e02d765e31166c3211c3f3fcc3c6252
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Mar 7 16:59:12 2010 +0100
s4:wrepl_out_helpers: add a WREPLSRV_PUSH_NOTIFY_STAGE_WAIT_UPDATE stage
This makes the logic more consistent.
metze
commit 8c16d5e4dc9312475c7d5dcc07022dbf316500cf
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 16:03:23 2010 +0100
s4:libcli/wrepl: add wrepl_socket_is_connected()
metze
commit f1e28a0b410169d3bfc0a069bf5de50c6cc8a27c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 15:49:27 2010 +0100
s4:libcli/wrepl: make struct wrepl_request private to winsrepl.c
metze
commit 2450fc1c271b9f944455370510062164e68a8d59
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 15:22:10 2010 +0100
s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapper
metze
commit cb4f2699453b8092be0c0ff42fa0f31582d38da5
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 15:03:29 2010 +0100
s4:libcli/wrepl: rename enum wrepl_request_state => enum wrepl_request_internal_state
metze
commit 311a60df9cdbbe8641e7a69ddc1dadd5a7ac7f05
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:44:23 2010 +0100
s4:libcli/wrepl: move wrepl_request_send/recv => wrepl_request_internal_send/recv
metze
commit fc41e4791f3a59cd391d63ebc155407ea4787bae
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:34:36 2010 +0100
s4:torture/nbt: use wrepl_associate_stop() instead of build the request by hand
metze
commit 6dfc96c329421979e7367ceee3a65633e4738472
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:29:36 2010 +0100
s4:torture/nbt: use wrepl_request() instead of wrepl_request_send() followed by wrepl_request_recv()
metze
commit db051f0db6d45d4293d58c48ae620d8945ba8c65
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 14:17:08 2010 +0100
s4:libcli/wrepl: add my copyright
metze
commit 6870313db5600c2dd68c51e757f233dad56aa250
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 19:39:45 2010 +0100
s4:lib/registry/ldb.c - fix trailing whitespaces
commit ed678a2234dda656d0a2d5bbf65b22afa7a47144
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 19:36:01 2010 +0100
s4:registry library - fix up "reg_ldb_set_value"
The previous logic was wrong since it tried to add empty data in some cases
which always ended in an error. This problem should be fixed with the new logic.
commit f5b86cdac52c1eb7f30c1900cce880ed868789c8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 19:20:48 2010 +0100
s4:registry library - make "reg_ldb_pack/unpack_value" more robust
This to prevent segmentation faults, wrong server inputs ecc.
commit 73e7aa863bddd717e1556b0c7b8fdc80922609c3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 18:51:41 2010 +0100
s4:provision.reg - call us Windows 2008 from the current version point of view
commit 89ab6818e170b305a70b7258ac11e11a2eb53aeb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:07:20 2009 +0100
s4:libregistry - change counters to be "unsigned"
Also the s4 registry library has to have "unsigned" counters like the Windows
one.
commit 5a3633faf12cdec41dc18064d5364a3fd067a22d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Mar 6 12:57:35 2010 +0100
s3: Fix the build of net_afs.c with --fake-kaserver=yes, bug 7216
Thanks to Geza Gemes <geza at kzsdabas.hu> for filing this bug
commit e10fa46f3e5b3481e3c95e52f9d666eafd50ed25
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:tools - change counters to be unsigned
In most cases we do count LDB objects which are enumerated within the "unsigned"
type. Therefore no need to use "signed" counters.
commit 24049e8fc58c5216b3af8fdaf327471eaff882a1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Mar 6 11:19:04 2010 +0100
s4:lsa RPC - fix up "gendb_*" result codes
Make the resultcodes consistent: that means:
result < 0 -> NT_STATUS_INTERNAL_DB_CORRUPTION since our DB had a critical
error
result >= 0 -> depends on the function usage. I tried to let the logic always as
it was before.
commit a6cf89228f2daf5a95284ec57b9c38326e5574dc
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:26:02 2009 +0100
s4:lsa RPC - Change some counters to be "unsigned" where needed
The "count" size specifiers I typed "uint32_t" since they're often returned as
an "uint32_t" (consider the IDL file). LDB counters need to be "signed" if they
count till a limit of a "gendb*" call or "unsigned" if they count directly the
number of objects.
commit 9442a5593d6de13e14e5df3b62e9fa295f42b3bd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:26:02 2009 +0100
s4:samr RPC - Change some counters to be "unsigned" where needed
The "count" size specifiers I typed "uint32_t" since they're often returned as
an "uint32_t" (consider the IDL file). LDB counters need to be "signed" if they
count till a limit of a "gendb*" call or "unsigned" if they count directly the
number of objects.
commit c61c9c3a4cda79fb82adf59bcb563d85797b9b76
Author: Jeremy Allison <jra at samba.org>
Date: Fri Mar 5 15:10:30 2010 -0800
Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.
Ensure we don't use any of the create_options for Samba private
use. Add a new parameter to the VFS_CREATE call (private_flags)
which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS
and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code).
Rev. the VFS interface to version 28.
Jeremy.
commit 95f22262656f38e5e0ea0b918ee68e958a9277f4
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 18:00:15 2010 +0200
s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warnings
Signed-off-by: Günther Deschner <gd at samba.org>
commit b2ff159034cfe87494b01a62f136ea4e3a7a5aa7
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 22:03:26 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit f258e98e177f0f75bab99654b9f32b10bb7ce37f
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 21:56:50 2010 +0100
winreg: fix winreg_QueryValue IDL.
Note that before this change pidl generated code that just dereferenced size_is
and length_is values from unique pointers without checking whether these
pointers were actually NULL.
With this change, pidl now throws a warning like:
warning: Got pointer for `data_size', expected fully derefenced variable
which is not correct, probably because pidl does not evaluate the C expression.
Guenther
commit 47d366b5729b21e630760c36ef743dd5374a29fd
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 5 11:15:35 2010 +0100
s3-rpcclient: Leave setprinterdata directly if not enough args were passed.
If we don't pass enough arguments we don't have to close the connection.
Signed-off-by: Günther Deschner <gd at samba.org>
commit f40550335019aad82180f813f6299d440f4a5977
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Mar 5 15:54:31 2010 +0100
s3-rpc_server: Document rpc_pipe_open_internal.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 58c9070746a3e0725f5d3a3ce6deda8fad0c5974
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 20:32:16 2010 +0100
s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.
Guenther
commit f24dfbfb181b1d550d30c6942aa9ca75d164524d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 18:57:24 2009 +0100
s4:drsuapi RPC - Change also here counters to "unsigned"
No need to have "signed" counters at those places.
commit 61ae4be2567738456be07b36c6ea9012906e3e7d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:dsdb/util - Change also here counters to "unsigned"
No need to have "signed" counters at those places.
commit 3ec4c643a4e1d3f2532b68cec816fa3f847eac1c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:repl - change also here the counter variables to "unsigned"
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't
specify the bitlength of the unsigned type.
commit 6a91bf60e212082622c57448105154e7350d0028
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:15:17 2009 +0100
s4:wrepl_server - change also here the counter variables to "unsigned"
I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't
specify the bitlength of the unsigned type.
commit fce6e1def8539f1516827118d0cf10a12d1d91a0
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 17:06:08 2010 +0100
s3: Make "smbcontrol xx debuglevel" print the correct cluster pid
commit 91ff11d50458a951ab0adc9b37bcb0ef4ee09e15
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 16:34:17 2010 +0100
s4-spoolss: fix dcesrv_spoolss_GetPrinterData build.
really not my day today...
Guenther
commit 6cbb8fdc48c5e418a56eb4348bcf6c66142ea0bf
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 16:00:14 2010 +0100
s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...
Guenther
commit a5db27936e9c6aad99300ea46808481803f57e08
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 15:30:22 2010 +0100
s3: Remove the unused parameter "persistent" from fetch_locked_internal
commit c7835a4845bbc7e4d340a75229866b2d4946f6eb
Author: Volker Lendecke <vl at samba.org>
Date: Fri Mar 5 15:28:39 2010 +0100
s3: db->persistent==true was handled earlier, make this more obvious
commit d4db966c06c079f9f837c4d181f4b2b75f4a9b36
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 14:42:10 2010 +0100
s4-smbtorture: when checking PrinterData matrix, include winreg cross reference checks.
Guenther
commit f385f4aeb0e74fc87a22927a23b2289a038af98d
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 14:03:03 2010 +0100
s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.
Guenther
commit c5fb6551d92f50ee7b29d330b4458e8a4224be20
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 00:56:52 2010 +0100
s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.
Guenther
commit 65f453ce71fa5911aa5f99b80df9834135052d4b
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 23:13:10 2010 +0100
s4-smbtorture: remove check for selfmade parsing artefact.
We were checking against a phenomenon that we created ourselves at the pidl
layer...
Guenther
commit 8e6dd25391d77b69859a3b622a1b116fa8000a40
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:58:49 2010 +0100
s3-libads: fix get_remote_printer_publishing_data after spoolss_EnumPrinterDataEx IDL change.
Guenther
commit 55326549852a3ab1114a8cb1536578ae02183eb8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:47:33 2010 +0100
s3-spoolss: fix _spoolss_EnumPrinterDataEx after idl
Guenther
commit becbb624eb90b84ff20b128de1aee5f5acfc3dbc
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:47:10 2010 +0100
s3-rpcclient: fix rpcclient after spoolss_EnumPrinterDataEx IDL change.
Guenther
commit a99ac4f236d9a93d4ca8bd874cbab89b155c644a
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:46:53 2010 +0100
s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.
Guenther
commit 80d2e22cd8b1d6ef8c6d5b40f465995d5ba14fe8
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:04:19 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 4df1047e8398a9af4df94c7e245d993d1f60ef5f
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 16:40:31 2010 +0100
spoolss: fix spoolss_EnumPrinterDataEx IDL.
Guenther
commit f797ec9d8154a7dfc12256b24c92d3cf02d33359
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 22:40:31 2010 +0100
s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.
Guenther
commit 8e499ec847fb2d342a544edf705bb9398967ca24
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 18:21:50 2010 +0100
s4-spoolss: fix spoolss_GetPrinterData implementation after IDL change.
Guenther
commit 7643afa70e879efc059c75b8309bf89dbb3c459b
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:46:28 2010 +0100
s3-rpcclient: fix rpcclient after spoolss_GetPrinterData{Ex} IDL change.
Guenther
commit fbb6d00eed6bca960aa53a5967a2dea426cacfe2
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:39:59 2010 +0100
s3-spoolss: fix _spoolss_GetPrinterDataEx after IDL change.
Guenther
commit 63c0821b0b5c79afcff62e52891641cf42386e90
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:02:42 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 0e779b573bf5c27bf08ceefa09a7e2b07691f948
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:38:18 2010 +0100
spoolss: rollback GetPrinterData[Ex] IDL.
Guenther
commit ca319bfff2f2e73fb83587d032fd78553314eae0
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 22:22:45 2010 +0100
s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.
Guenther
commit 4956650369156dfff96ccc827e55697ec642240d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:34:49 2010 +0100
s3-rpcclient: fix rpcclient after spoolss_SetPrinterData{Ex} IDL change.
Guenther
commit 37ca9288d2631b48a8eb50c01d6c0cc462d8ee31
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 15:34:22 2010 +0100
s3-net: fix net after spoolss_SetPrinterData{Ex} IDL change.
Guenther
commit 9a934832797c3e72859770719e05d19a5eefa14d
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:00:34 2010 +0100
s3-spoolss: fix _spoolss_SetPrinterData{Ex} after IDL change.
Guenther
commit 3b01ab82482c249e7f7420a9769432ace79183d3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 17:00:09 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit 0528515be44c40603827bb153ff0e2bac7b0f041
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 3 18:22:57 2010 +0100
spoolss: rollback SetPrinterData{Ex} IDL.
Guenther
commit ce296d2a53674668b9e4e6f18b88ff34f2dd2190
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 15:01:07 2010 +0100
s4:dcesrv_samr_AddAliasMember - wrap a long "DEBUG" statement
commit 013184a1822d2117078f9e0b89a3471a692cbded
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 18:35:55 2010 +0100
s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_req
metze
commit 28033bf635f0925f24e5f5f580e8ff8830338441
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 17:18:23 2010 +0100
s4:libcli/wrepl: convert wrepl_connect_send to tevent_req
metze
commit 883b10983ba3d1c4d0f692b9c661316d8027a83b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 18:38:16 2010 +0100
s4:libcli/wrepl: convert wrepl_associate_send to tevent_req
metze
commit 2e24def8063f15f6d29fae667e7d1c50b90d1cd5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 15:14:28 2010 +0100
s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_req
metze
commit 50f1dc9db8fbe0da7a6c6d5dde54da08994be318
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 15:12:05 2010 +0100
s4:libcli/wrepl: convert wrepl_pull_names_send to tevent_req
metze
commit 1a8815abd32b1a888c4fc202000891233f9437fe
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 13:38:08 2010 +0100
s4:libcli/wrepl: use UTIL_TEVENT
metze
commit 0dfc77891509f056352748e3082794cb360200c7
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 09:45:01 2010 +0100
s4:libcli/wrepl: avoid neested named structures
metze
commit 4c51c073806048c6ad65e2ea44877a144f560699
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 3 11:31:03 2010 +0100
s4:torture/nbt: avoid the usage of wrepl_pull_table_send()
metze
commit 6eedba102b58944c462e913e2c97a37b0b83254c
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 08:22:36 2010 +0100
libcli/auth: add a const to des_crypt112_16()
metze
commit 31293c64a323eb59fd8e81cd44bb33768a43e0c0
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Mar 5 11:16:12 2010 +0100
s3:winbindd: add DEBUG(10,...) for the end of each top level
That will hopefully make debugging a bit easier (at least for me).
metze
commit 6f118189230da5764d8f8dd7c234a43298b6115d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:kcc - Change some counter variables to be unsigned
The upper limits are unsigned variables therefore also the counter variables
need to be like that.
commit 82c2448573e9093307af42f7249d6b41fcccfb06
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:samdb_privilege.c - Change two counter variables to unsigned
Also here in both cases the unsigned counter fits better than the signed one.
commit c695ce729b0e92a1033d505df04cd7813cb3b1b7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:cracknames - Change two counter variables to unsigned
In both cases the unsigned counter fits better:
- in the first one since we are counting LDB objects starting from 0
- in the second since we are counting an array starting from 0
commit e8788808da604e867c8e1b31349abdd934a6789f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 23:07:26 2010 +1100
s4-pvfs_sys: build on systems without O_NOFOLLOW or O_DIRECTORY
commit 568f0851f0fceca1511b689040340e19ef1b538b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:58:18 2010 +1100
s4-pvfs_sys: talloc_free should be before errno restore
talloc can potentially change the errno
commit 2c2156ea9539a818625b0914aa2e1596571f428f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:48:09 2010 +1100
s4-pvfs: use pvfs_sys_fchmod()
commit dae9d20e14cafb7b688a7aa3f3680dafd727fa3f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:47:50 2010 +1100
s4-pvfs: set default for perm override based on system features
If the system has O_NOFOLLOW and O_DIRECTORY then we allow for
overrides by default. If not, then we disable by default, as we will
be more vulnerable to symlink attacks
commit f7c97c8597a2ac375983909c26027abde060edb4
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:46:44 2010 +1100
s4-pvfs: use O_FOLLOW one level at a time for security overrides
To prevent symlink attacks we need to use O_NOFOLLOW one level at a
time when processing a root security override
commit f3c738f8193665a80835471f6754a66b20725afa
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 22:45:27 2010 +1100
replace: added get_current_dir_name()
commit ace6d75ae6f953b76fa9709857af4744020cd6fb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:52:35 2010 +1100
s4-pvfs: use pvfs_sys_*() functions to wrap posix calls
This allows for root override, which fixes many problems with
mismatches between NT ACL permissions and unix permissions.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 034bcaf14d1bc651c8b51b489aebcfa392158f2c
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:51:12 2010 +1100
s4-pvfs: new pvfs_sys module
The pvfs_sys_*() calls provide wrapper functions for posix file
functions which use root privileges to override EACCES failures if
PVFS_FLAG_PERM_OVERRIDE is set
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit edd5a572d8f5d94511013e55744fcde48b16a3eb
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:50:18 2010 +1100
s4-pvfs: added new pvfs flag PVFS_FLAG_PERM_OVERRIDE
This flag indicates that we should use root privileges to override
unix permissions when the NT ACLs indicate that access should be
granted
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ee4ae0e7add840e1702b5630e6d23be19833a612
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 17:49:11 2010 +1100
s4-privs: add root_privileges_original_uid()
This can be used to get the uid we changed away from when we gained
root privileges
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6c52a37ac191679245a1175f40ef961af3b3e0b1
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 11:06:46 2010 +0100
s3-selftest: enable RPC-WINREG against Samba 3.
Guenther
commit b3765afd3878856f8a4580de2da5032a81929ea2
Author: Günther Deschner <gd at samba.org>
Date: Fri Mar 5 11:06:18 2010 +0100
s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.
Guenther
commit 12ae05939ff681b3d11b8eea85adf47a49766bd1
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 08:50:08 2010 +0100
s4:torture/rpc/samr.c - add some decision possibility constants to some switch
At the moment nothing is done when the enumeration variable is set to one of
those constants as before. This is only to quite nasty warnings.
commit ce82f91614c569c3e9349ba877de326f3e78fb3b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 08:49:25 2010 +0100
s4:torture/rpc/samr.c - make some argument of function "test_SamLogon_with_creds" constant
This to quiet warnings.
commit bfd31db9a9ea167650b109362f3a03cb64ff774e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Mar 5 08:47:48 2010 +0100
s4:torture/winbind/struct_based.c - fix up (un)signedness of a function argument
Otherwise always a warning is generated.
commit 2e1637833bb5e1d5c44b10761a8f6bbd88bde32d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 14:59:08 2010 +1100
s4-pvfs: log more error conditions in NTVFS backend
This should make is easier to track down some bug reports
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 80a37beb53519fdbb907a01f29ef150bafdd74e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 14:57:50 2010 +1100
s4-pvfs: move the private ntcreatex flags to private_flags
Re-using two of the create_options bits was bound to eventually
cause problems, and indeed, Windows7 now uses one of those bits
when opening text files.
Fixes bug 7189
commit f01f124969b3e75accfc82fb85487fdab2046e82
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 13:49:49 2010 +1100
s4-rpc: don't use s->credentials after it is freed
commit 2e1e446ba3f9fd177a29876a9d7173d11b334f40
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 13:02:16 2010 +1100
s4-torture: fixed commas separating C statements
commit aaafadb7d5a835f88fce3fbea8127d9c5ddb7181
Author: Bo Yang <boyang at samba.org>
Date: Sat Mar 6 20:58:23 2010 +0800
s3: Fix unnecessary traversing winbindd_cache.tdb in SIGHUP handler.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 25a0750b8184e434e30717bb47f0b36a00e41629
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:53:19 2010 +1100
s4-python: only install external python libs that are missing
commit 7d86257d54cb59d016a051b91bdee62ab2f8a0d5
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:45:40 2010 +1100
s4-python: import a copy of the python dns library
This library is not installed on enough systems for us to rely
on it being available. We use the system copy if possible, and
fallback to this local copy
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit f3ca7a4696cadbb74f41dd71ef9336445682d406
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:45:10 2010 +1100
s4-dns: use samba.external to pull in the dns.resolver library
commit 8c7cf499abf880cd4915e1b831298feb8990245b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 11:44:45 2010 +1100
s4-python: allow us to have samba copies of python libraries we depend on
For python libraries like dns.resolver it is useful to be able to install
a copy of the library with Samba. This set of functions allows us to do that
while using the locally installed version if it is available
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 2d30f4fb4fd39fb0949cd948559725917f95742f
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 10:43:34 2010 +1100
s4-dns-ex: use autoclose on the dns child pipe
I'm hoping this will fix an occasional segfault I've noticed where
epoll still calls events on a closed fde
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5573d049414d75e9991d53627235cafefbe67470
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Mar 5 10:42:41 2010 +1100
s4-messaging: use auto-close on the socket
commit cb06eee86af1839996e9298ad4612d4a4f7865cc
Author: Jeremy Allison <jra at samba.org>
Date: Thu Mar 4 14:59:29 2010 -0800
srv_pipe.c doesn't reference current_user anymore. Remove it.
Jeremy.
commit 13b1bf5d47cb764365f6a14e35a4aa55b9a7e355
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 22:18:10 2010 +0100
s4:auth/sam.c - change base context for the "tmp_ctx" context in "authsam_expand_nested_groups"
Better use the "res_sids_ctx" as base context for the "tmp_ctx" and not the
long-living "sam_ctx"/"ldb" context to prevent memory leaks.
commit 3d94b284411d912449b6a316439cc3d013bf1570
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 17:54:45 2010 +0100
s4:ldap.py - give the "primaryGroupToken" test a better name
It tests also some other constructed attributes in a basic way.
commit 4546b6b7dfd7f0e59e11b63c6cf91a4594b8ca54
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 17:51:09 2010 +0100
s4:ldap.py - add test for "tokenGroups"
commit 8297302e989c62092b50a275207046e83cd52800
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 16:28:03 2010 +0100
s4:operational LDB - don't accidentally "ate" search helper attributes if we need them for more constructed attributes
With this patch we delete the helper attributes at the end where all constructed
attributes have already been computed.
commit ffa03820f1352779988f7cf19190ef6ec2eae33d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 15:44:10 2010 +0100
s4:operational LDB module - make the counters unsigned
No need to have signed counters here.
commit bf94d68df82f3c7085a6e468b4247fa55d4648ba
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:58:16 2010 +0100
s4:operational LDB - implement the "tokenGroups" constructed attribute
It contains the transitive SID closure (expand member/memberOf attributes) of a
certain SAM object. The "tokenGroups" attribute never contains the SID of the
object itself.
References: http://msdn.microsoft.com/en-us/library/ms680275(VS.85).aspx,
http://support.microsoft.com/kb/301916,
MS-ADTS 3.1.1.4.5.19.
commit 1f371cdbe5a5c2f02ca82a492530fc00b67960d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:49:18 2010 +0100
s4:sam.c - make "authsam_expand_nested_groups" public
This is needed by the "tokenGroups" work in the operational LDB module.
commit 7587665d928b3297259950ccad0947c192360765
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:48:17 2010 +0100
s4:sam.c - cosmetic indentation fix
commit 0049c9ed1c0585b81eeaddd2770e545409b307ed
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 13:46:34 2010 +0100
s4:sam.c - change variable types to unsigned in "sids_contains_sid"
Should also be unsigned - no need for a signed "i" and "num_sids" here.
commit e34ee26169a893e4219e49803885718261faf82b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 14:28:04 2010 +0100
s4:operational LDB module - use right memory context int "construct_primary_group_token"
Use the "msg" as temporary context and not "ldb" which lives much longer.
commit bc2ff7abc9c2b8c7c295e7164a02ef6820ebdae0
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Mar 4 16:18:44 2010 +0100
Revert "s3:configure: add --enable-as-needed"
This reverts commit 22d316926b9589608d332143c1fa134229b75b3c.
Please see bug #7209 for details.
commit 8cb416a0b569017e1928a7a1cead723ce64ca314
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Mar 4 15:22:30 2010 +0200
Refactored ACL python tests
Made each type into a separate class to be easily run individually,
removed code duplication
commit 22d316926b9589608d332143c1fa134229b75b3c
Author: Stefan Metzmacher <metze at sernet.private>
Date: Thu Mar 4 11:14:51 2010 +0100
s3:configure: add --enable-as-needed
On some broken systems like RHEL5, we need to be able
to disable --as-needed.
metze
commit af6f59468ab157d125e14a649ee1d55bd17e8d1a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Mar 4 10:29:33 2010 +0100
s4:provision - use the new "interface_ips" python call to detect the right host IPv4 address
Inform the user when there are more possibilities (so he can check for the
right address and otherwise he is able to do an immediate reprovision) and no
possibility at all (then we fall back to the loopback address "127.0.0.1" - this
is thought for testing purposes).
I think this should be enough for closing bug #5484.
commit 8a8c2de29f95ac81e9899264cf86ebea22053782
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:ldif_handlers - Use "unsigned int" for counting purposes
I changed "uint32_t" to "unsigned int" since the LDB specification prescrives
"unsigned (int)" for counter variables (number of attributes,
number of values...).
commit a319eb9700bb6ae8aa217877181eaa37268e1c3b
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:35:33 2010 +0100
testprogs: add test_PrinterDataW.
Guenther
commit 55946ddd1db070cc94f8208aaf8f0f10eeef30b6
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:33:06 2010 +0100
testprogs: use dump_data in dump_printer_data.
Guenther
commit 74ba0b71891ce180079cc801e9fe11b4ea268e84
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:31:30 2010 +0100
testprogs: add print_printer_dataw and dump_data to printlib.
Guenther
commit 66b4463fc1a8c9aa0caf12765c4899ee0058a2b3
Author: Günther Deschner <gd at samba.org>
Date: Thu Mar 4 01:29:16 2010 +0100
testprogs: add some multibyte versions of PrinterData calls.
Guenther
commit 6384f45f5253203ad4356dc94d2f520f310625a5
Author: Bo Yang <boyang at samba.org>
Date: Sat Mar 6 01:59:55 2010 +0800
s3: Rerun genmsg after adding more strings.
Signed-off-by: Bo Yang <boyang at samba.org>
commit ef0b4e4687d9ea02554fe22f02cc615527e917ee
Author: Bo Yang <boyang at samba.org>
Date: Sat Mar 6 01:53:13 2010 +0800
s3: Add i18n/l10n strings in pam_winbind.c coming from winbindd.
Signed-off-by: Bo Yang <boyang at samba.org>
commit fd00867e8558cce30459316fddc4a10c95697577
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 20:14:41 2009 +0100
s4:samdb.c - Make it signed-safe
Use an unsigned argument for the numbers of groups and the counter "i" since
the function is called only by "auth_generate_session_info" with an unsigned
number of groups argument.
commit 6a1a7ce9ebb331eba7bf94d16bede2d6472da106
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 20:12:30 2010 +0100
s4:srvsvc RPC - "srvsvc_create_ntvfs_connect"
Previous commit was incomplete. The "service" parameter in the "tcon" structure
should point to "scfg->name". I'm not sure if "share" is right but the first
was used before commit f390daef475126b4ff5a3d0ffd2babbd87d4c22b.
commit 9b4d208ce8482e63a56fff3447179ff786062c48
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 18:26:15 2010 +0100
s4:srvsvc RPC - fix up the "ntvfs_connect" in "srvsvc_create_ntvfs_connect"
This should be the right fix (set the service name in the tcon union to the
share name/path). That should be the solution for bug #6784.
commit a21b49bb389f8f98fe43a6abe3b0fde51ec43210
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 17:41:43 2010 +0100
s4:torture/rpc/samr - Fix up SAMR-USERS test
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal
ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
commit 051eb0b575d715e5b7bbd03a201aa88167ccee4f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 12:01:40 2010 +0100
s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding universal groups
Find the "Enterprise Admins" group which does exist on s4 and Windows
directories and is always per default universal. Test this only when the target
is set to s4 (s3 deployments don't contain this group). If the number of
returned objects is "0" (count) then we are likely testing the builtin domain of
an AD deployment.Then we ignore the inexistent "Enterprise Admins" group.
I didn't enhance the test for "QueryDomainInfo" since this does itself a
comparison of all returned objects with the "EnumDomainGroups" call. Therefore
if the latter passes, and the "QueryDomainInfo" test passes also the
"QueryDomainInfo" call is okay regarding groups.
commit 8d0fbfe987f4cefda872bb7a9caca0d9a77bf258
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 13:38:34 2010 +0100
s4:dcesrv_samr - Also "OpenGroup" needs to support universal groups
commit f92c28bf4e93524217ac8eb4c3f21c0ab360ba26
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Mar 3 11:22:07 2010 +0100
s4:dcesrv_samr - Fix up "EnumDomainGroups" and "QueryDisplayInfo" calls
We need to look for both global and universal group types when querying them.
Found by ekacnet (http://lists.samba.org/archive/samba-technical/2010-March/069777.html).
commit 340797f3fa39278c214c12cbe374a29f0988ecd3
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Mar 3 16:03:13 2010 +0100
Fix typo in comments.
commit 892213c7b72b8d22c56c6bd827c8e8785db83849
Author: Günther Deschner <gd at samba.org>
Date: Wed Mar 3 12:32:41 2010 +0100
testprogs: fix boolean return code of test_PrinterData.
Guenther
commit d8ae32ec4183b121b207fbfb84d4be726f0cdb8f
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 3 14:28:42 2010 +1100
dns: make dns update script use unbuffered IO
Otherwise we can lose debug output when a timeout happens
commit 8fe783edaf79bcae5c55c9eb5159104537ccf930
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Mar 3 14:25:39 2010 +1100
s4-posix: allow change ownership of files if the user has the right privileges
When a user has SEC_PRIV_TAKE_OWNERSHIP or SEC_PRIV_RESTORE they have
permission to change the ownership of a file.
This should fix bug 6987
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e0726d4d661cfc508e8e8fd210a2cfba7ed53682
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 28 23:02:00 2010 +0300
s4-build: fix SMB_LIBRARY and change its name so it didn't collide with s3 one
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 92785f9af6a124097fcc653375984499b441676d
Author: Matthieu Patou <mat at matws.net>
Date: Mon Mar 1 00:21:09 2010 +0300
s3: Fix build file due to file move. Use the new path of iniparser
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b953c4c67cfc6f0de38526e97eb5fc6031d61c81
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 28 22:48:16 2010 +0300
s3: Move source3/iniparser to lib/iniparser to allow sharing between s3/s4
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1af5a6d35966ddb5435214a6d1f8ba34be697001
Author: Matthieu Patou <mat at matws.net>
Date: Mon Mar 1 00:21:09 2010 +0300
s3: Allow pam_winbind.c to build without localedir.c
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit db6781833ddae85190a270f481cc2432ff8dc702
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 28 22:53:04 2010 +0300
nsswitch: libpam remove depedance on locale.h use directly LOCALEDIR
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3f946240fa892f79c83f9c00f1b16ea73c2ad237
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Jan 20 14:21:47 2010 +0100
s4-winrepl: Migrated the wins replication server to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 27ae935a8df409ce7557bd369250fa450120fdfe
Author: Michael Adam <obnox at samba.org>
Date: Tue Mar 2 14:43:53 2010 +0100
s3:net: add a command "net registry setsd_sdd"
This permits to set the security descriptor of a registry
key from the unix command line.
Michael
commit 6f4bdbccf79eecadf3092c397a8aa9dd45b9c866
Author: Michael Adam <obnox at samba.org>
Date: Tue Mar 2 14:43:26 2010 +0100
s3:net: fix some i18n messages in net_registry_getsd_internal().
Michael
commit d8b828d4a9aaca2ca99454a1b3d3868915a53f8f
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 09:41:43 2010 +0100
s3:net: add i18n macro _() to one message
Michael
commit caa27bb165a69766585ec4a13a6c09fa774d3b48
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 09:37:45 2010 +0100
s3:net: add new subcommand "net registry getsd_sddl" to print secdesc in sddl format
Michael
commit 93d438d9709e8e6462721f010c9a484a92a6649a
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 09:31:03 2010 +0100
s3:net: refactor getting of secdesc out of net_registry_getsd()
New net_registry_getsd_internal does the work(),
net_registry_getsd() just prints the result.
This in preparation to add support for other output formats
than the currently used display_sec_desc().
Michael
commit 9cea4d5969d3061689e7399e0a97f7f83ed31976
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 28 22:20:03 2010 +0100
s3:smbcacls: add switch "--sddl" to output acls as sddl encoded strings
commit 6fa767fbb24b7f18c9ead96f08a862f5178319d1
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 28 22:15:23 2010 +0100
s3: build sddl.c in samba3
commit f37030b33afa989adaafa6d3d02751bd286f879b
Author: Michael Adam <obnox at samba.org>
Date: Sun Feb 28 22:01:49 2010 +0100
libcli/security: fix sddl.c to be able to build it from source3
commit 15b60a7e3f7d106af6dd7e83e820629401e6f9c1
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 26 18:32:21 2010 +0100
s4:move the sddl code down to the top level
Michael
commit 5338e42182ee34f20fde104006a752662099af22
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 02:33:31 2010 +0200
s4/ildap: fine tune ildb_callback()
Actually ildb_context pointer is not supposed to be
valid after calling ildb_request_done().
This is due to the fact that when calling ildb_request_done()
caller will (most probably) free any locally built
ldap_request objects - thus rendering ildb_context invalid.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e3c2e1a30375c393f0ee0d50e814e7c7482c5182
Author: Holger Hetterich <hhetter at novell.com>
Date: Tue Mar 2 23:17:20 2010 +0100
s3: net_share.c: fix argc handling
The "net share" command was no longer possible because it enters
the net_share function with argc == 0.
commit f36dafd852b1ed608e0c988c3c5f8823e909a4d6
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 18:35:01 2010 +0100
s4-smbtorture: fix WINBIND-STRUCT assumptions about getpwent() for s3.
In samba3 it is not an error when no users are returned in getpwent() calls
(e.g. on a DC w/o interdomain trusts).
Kai, please check.
Guenther
commit 8492f92843aa17eaf4a3ea9d5a9c6319afc97854
Author: Simo Sorce <idra at samba.org>
Date: Mon Mar 1 14:50:50 2010 -0500
s3:ads fix dn parsing name was always null
While there also use ldap_exploded_dn instead of ldb_dn_validate()
so we can remove a huge dependency that is hanging there only for one very
minor marginal use.
Signed-off-by: Günther Deschner <gd at samba.org>
commit 74703e4897028db72242d9187d726c6f0ebd1540
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 17:25:35 2010 +0100
testprogs: make sure to do the same tests as in smbtorture in test_PrinterData().
Guenther
commit f73c27116c60e492158c6d40823691c38a290a94
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 17:24:14 2010 +0100
testprogs: fix REG_SZ in print_printer_data.
Guenther
commit e50c9826794f4a80b7200712afacb0752ccf8d6f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Nov 6 18:35:17 2009 +0100
LDB:NSS - make LDB "signed-safe" on counter variables
"i" needs to be unsigned on both places since it counts till a "count" variable
of a "struct ldb_result" object which itself is unsigned.
I see counting variables much better as "unsigned" since in most cases we don't
use negative values at all. We've only to be careful on binary searches and
downto counts regarding them.
commit 5c73ecd2b3b178dd57d7251342e966ea4f8044e0
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 18:58:26 2009 +0100
s4:echo RPC - make this one "signed-safe"
"i" needs to be unsigned here since it counts until "r->in.len" which itself is
unsigned and not signed.
commit 8919a58583f3e7c610d4182ac589f1445606e46f
Author: Günther Deschner <gd at samba.org>
Date: Tue Mar 2 15:19:57 2010 +0100
testprogs: test result of GetPrinterDataEx against SetPrinterDataEx args.
Guenther
commit 0e9844c70a8df89da5e9b7c0b5139fe022bab59f
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 2 14:05:19 2010 +0100
s3: Fix some C++ warnings
commit 2330b625ccb505d2e98533a93b433f3453f9a687
Author: Volker Lendecke <vl at samba.org>
Date: Tue Mar 2 13:51:08 2010 +0100
s3: Fix an uninitialized variable warning
commit d18840830e3950a91c2adb4866b3c8819b15869b
Author: Björn Jacke <bj at sernet.de>
Date: Tue Mar 2 13:00:19 2010 +0100
s3:vfs_aixacl2: add missing semicolon
fixes #7197. Thanks to William Jojo for the correction.
commit c54699faf2796e1e8acbb2215fab835a6d86318e
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Jan 29 16:05:22 2010 -0600
s4:provision - Moved default FDS SASL mappings deletion from post_setup() to init().
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 7ad931dda929e230b90d6ce3f35db7480321d6b0
Author: Endi S. Dewata <edewata at redhat.com>
Date: Fri Jan 29 03:24:20 2010 -0600
s4:provision - Moved setup_db_config() into OpenLDAPBackend class.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit fc6d9e7b4f191ec7efea4c87fdeb461f8ed43bba
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Jan 28 19:51:11 2010 -0600
s4:provision - Moved backend-specific variables into backend class.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 02533c9f1ba9434aabc92fac06995a858874c002
Author: Endi S. Dewata <edewata at redhat.com>
Date: Thu Jan 28 19:35:29 2010 -0600
s4:provision - Use netbios name for FDS instance name.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 07669b0704eac9db46e241e681c92b09ee5a4c2e
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jan 18 20:57:01 2010 -0600
s4-libcli: Added NULL handlers for DSDB_CONTROL_DN_STORAGE_FORMAT_OID and LDB_CONTROL_AS_SYSTEM_OID
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit be026a6fd89b44ba7e6bdf5bef049959b242c61e
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 26 15:16:23 2010 -0500
s3:groupmap revert to tdb storage
Group mapping needs to be cluster aware, and this means using the tdb backend.
Remove ldb group mapping as this is not cluster aware.
commit 05bd8c17be83057b9bcfe405fb29d27a794b9b40
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 1 21:11:39 2010 +0100
s4:srvsvc RPC - revert one unsigned integer "i" back to signed
This is needed since this particular "i" counts until "count" which itself is
signed. "count" is set through a signed integer variable parameter from the
"share_list_all" call.
commit cf12d4556a12edb032eaef51a60bfc815f38be61
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 21:12:49 2010 +0100
testprogs: better usage text.
Guenther
commit 36d3aa69f1a090ac4054f06883a2fae85070f202
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 21:00:20 2010 +0100
testprogs: add very basic PrinterData test for printers.
This very basically tests SetPrinterDataEx, GetPrinterDataEx and
DeletePrinterDataEx.
Guenther
commit 0d0d778b212a5409a2632745c842b4270341c8b8
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:58:41 2010 +0100
testprogs: rename test_PrinterData to test_PrinterData_Server.
Guenther
commit d44dd1005bad8e95ea3c35376488083ebe9261d7
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:57:52 2010 +0100
testprogs: add SetPrinterDataEx test.
Guenther
commit b797481b8dd99a6e67c69ea5ce4b1c6739c45666
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:56:36 2010 +0100
testprogs: add DeletePrinterKey test.
Guenther
commit 1b6f1e8c30808c50485b8fecf47e12b45a3ac31f
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 17:42:19 2010 +0100
testprogs: add DeletePrinterDataEx test.
Guenther
commit 61568cf4c8f12148390435cba7845acf0b00e941
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 20:15:51 2010 +0100
testprogs: allow to test a single printer when given on the cmdline.
commit 32371e9ba6b93e6a235054a2db7a34838443e86c
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 18:01:42 2010 +0100
testprogs: add RPC_X_NULL_REF_POINTER error code
commit 522e4f3d2bcd260f7037fbafd4340a9a4513c89d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:16:56 2010 +0100
s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async rpc over ncacn_np
metze
commit 340bcf646baf0a01ca55f66e787d1d49ddea6086
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 1 15:20:19 2010 +0100
s4:rpc_server/remote: do async calls
metze
commit ff17d8ab1ee809e1c464b9c8cb088f2e8fbf3cb3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:08:42 2009 +0100
s4:srvsvc RPC - make this one "signed-safe"
commit b963741aae82b721655e36e8c62b678acff2e210
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:03:59 2009 +0100
s4:unixinfo RPC - make this one "signed-safe"
commit 932a986a4f3122555654d36d838996a90b1e69a7
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:03:18 2009 +0100
s4:spoolss RPC - make this one "signed-safe"
commit 246742b30eb90da4d2c314e7b60bfc62ef0275ec
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 19:01:53 2009 +0100
s4:remote RPC - make this one "signed-safe"
commit c953b262419b8f67a7976b1f82d14e76893a7ec2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 21 18:59:30 2009 +0100
s4:epmapper RPC - make this one "signed-safe"
commit d6a687250625b62242efc8be0aa50ffc448a503a
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 16:18:23 2010 +0100
s3: Abstract access to sessionid.tdb, similar to conn_tdb.c
commit c103fbc919d0f5df24fbfefd5153683ab938b779
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Mar 1 16:48:03 2010 +0100
s4:LDB - cosmetic fix for a "for" loop
commit 24d52dc362210328e16545830835361ac82432c4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 16:24:29 2010 +0100
Fix the build, add filtered subunit runner.
commit 4e4e341c68473d92516a3e3c612153a792017bb9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 14:42:38 2010 +0100
Add testrepository configuration.
commit 86e2b251861055d770327639808fddc84cdb0b56
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 05:04:23 2010 +0100
More formatting fixes, pointed out by pylint.
commit 719cecba848b3e446ea3bc06f14cf90e9cddab9e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:02:40 2010 +0100
s4:RPC-NETLOGON: remove useless rpc callback
If we got a failure from one request we bail out early.
metze
commit 22b1e0bf324113db12e40567cc1cb9d645049681
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:01:50 2010 +0100
s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'
metze
commit 56b97000bd7842d3b861656880b68ad333594d71
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:00:42 2010 +0100
s4:libnet_become_dc: don't look at the internals of 'struct rpc_request'
metze
commit 0547af244a46e5647eb7dfc9b4a92924d15ab15d
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 09:46:30 2010 +0100
s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request'
metze
commit 1955cde46c33409da85617dfe058a9a965e4b4f7
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 09:43:21 2010 +0100
s4:drepl_notify: don't look at the internals of 'struct rpc_request'
metze
commit 8ba2128e1e4b242bba582b4c8b419c3dc5cd4016
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:librpc/rpc: make use of explicit dcerpc_*_recv functions
metze
commit c84b4b23c8b7f7c32ce0a17b5dfb526dbda66f6a
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:torture/rpc: make use of explicit dcerpc_*_recv functions
metze
commit 598cf9f5097aafac95c9e9b420b849ad6090c30e
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:winbind: make use of explicit dcerpc_*_recv functions
metze
commit c4e72add67c05ce502e448a49094a3e3006d6384
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:dsdb/repl: make use of explicit dcerpc_*_recv functions
metze
commit f995e596bbc0e1b44335b10bf23458ac7328188b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:59:14 2010 +0100
s4:libnet: make use of explicit dcerpc_*_recv functions
metze
commit 5d33c6d4f9719e36a3ed0f6b54c4365324ff352c
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 1 13:56:01 2010 +0100
s4:libnet_become_dc: make use of explicit dcerpc_*_recv functions
metze
commit 20980eb7870cf3478d9e8e78fb412c5bd299cca5
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 27 10:34:04 2010 +0100
pidl:NDR/Client.pm: generate explicit _recv functions
metze
commit 1a64d3cbc65b70df1f1b3f473cdbfdce5c8f2ae9
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 14:35:59 2010 +0100
s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.
Guenther
commit 4f6634e56dde97552fec69c99cbf63f80609f9f4
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 14:27:43 2010 +0100
s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.
Guenther
commit 74c7c1cc7fcaed83a86ef0708c0faf4735bc5737
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 14:26:30 2010 +0100
s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.
Guenther
commit e76b8a07002dc3d01d5f4624c8cae25e75020099
Author: Günther Deschner <gd at samba.org>
Date: Mon Mar 1 12:53:11 2010 +0100
s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.
Guenther
commit 8bebb380e8b581b41f3057c128d73094c1bde332
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 14:28:22 2010 +0100
s3: Add connections_forall_read()
In a cluster, this makes a large difference: For r/w traverse, we have to do a
fetch_locked on every record which for most users of connections_forall is just
overkill.
commit 3deba6349ca751d669e2af817ec7e2c7eb6195b3
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 25 16:31:12 2010 +0100
s3: Make the difference between r/o and r/w in connections_db_ctx more obvious
commit c571ecdfc4eae8aa4bfffefacb9eb9306cbc6389
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 13:57:36 2010 +0100
s3: Make connections_forall open connections.tdb r/w
connections_forall is called from count_current_connections() which potentially
deletes dead records. This needs r/w access to connections.tdb.
connections_traverse says it does not provide this. Does not really matter in
the smbd case, because we have opened it before r/w, so this is "just" cleanup.
commit f79ff9582f3c5e1c1d756ef3b3dc0379fdb9912d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Mar 1 12:22:23 2010 +0100
selftest/gdb_backtrace: call "info locals" too
metze
commit b73437fbaa1003f4737e237569489f7b2ba99486
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Mar 1 14:16:59 2010 +0200
s4/rodc: Implement samdb_rodc with ldb context
commit c65abcf9d31e346f43c537e18d209b0e4ce04e48
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Mon Mar 1 13:10:39 2010 +0200
s4/libnet: Fix misleading comment
commit 747a0b440f2a7de390a1a58fe7374c77e65643d0
Author: Volker Lendecke <vl at samba.org>
Date: Mon Mar 1 12:15:41 2010 +0100
s3: Remove unused "mypid" from count_current_connections() state
commit 8448ece9de85f0776513d03cc7542c3b2f30f4b4
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:56:42 2010 +0100
python: Add 'make pylint' convenience rule.
commit 31a718aa27bcf3f56347a109f6d0bb553814c052
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:46:40 2010 +0100
General cleanups of python code, hinted by pyflakes.
commit 1ef50d5de4e1341703a35200e4c90ec4fba0ce89
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:45:43 2010 +0100
Add 'pyflakes' rule.
commit 6d9c0724a6dbc8afc736e64a11d4aed0de5776f5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 04:39:53 2010 +0100
ntacl: Use existing infrastructure.
commit da96d3fdba8dd317d931d36d101d956e829c07d8
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:46:56 2010 +0100
Remove __contains__ from mock object for consistency with actual
implementation.
commit e49041065f1a91ba49667c32964866538b77dad7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Feb 8 03:26:18 2010 +0100
getntacl: Remove manpage for removed utility.
commit 8edab1b96c47e75b2f2c61739f9283fa2ecf5cfe
Author: Ricardo Jorge <rvelhote at gmail.com>
Date: Mon Feb 8 01:13:48 2010 +0100
Fix SharesContainer.__len__.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 20e1d5a72e8a7d8b3334f6f79bf586cedaa96431
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:41:52 2010 +0100
More formatting fixes.
commit 44c2d696bdcb8fecdce8120c7e3ecff1b12ad976
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:29:47 2010 +0100
Fix formatting.
commit 93d377424a0236ad5b1c58973f597ce69e123239
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Mar 1 03:25:07 2010 +0100
upgradeprovision: Remove unused imports, use shutil.rmtree rather than
rmall.
commit 254e007bd99ebbd351e78b634c483d604ebdcefc
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 21 21:29:36 2010 +0300
upgradeprovision: Move to pythondoc format
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 8f1f50daa5963d336f7505a2605e1008edf3ce29
Author: Matthieu Patou <mat at matws.net>
Date: Sun Feb 21 21:28:35 2010 +0300
upgradeprovision: Allow script to be called with pydoc
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2bc3631db8546a44fb2bb29db8e380ea15c6441a
Author: Matthieu Patou <mat at matws.net>
Date: Sat Feb 20 10:51:25 2010 +0300
upgrade provision: change the meaning of handle_security_desc to be similar to handle_special_case
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 5054bdb4f2008216f4591be9064002c3750474e4
Author: Matthieu Patou <mat at matws.net>
Date: Tue Feb 23 16:45:51 2010 +0300
upgradeprovision: code cleanup
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 3bd16415d29d074c7a8f9bf949a35b7e8f8b61a2
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jan 31 22:06:01 2010 +0300
upgradeprovision: split the big script to put reusable functions appart
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit 2238260aa3f85cdb0057dae437f454c8c54d08f7
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 26 17:53:34 2010 +0100
s3: Use talloc_tos() in yield_connection()
commit 5c40aa59d7d0740b2cdb0201b8d0ea7c3f9f3882
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 26 17:47:44 2010 +0100
s3: Remove unused count_all_current_connections()
commit 9ad1b4cda04269dd50a719b4f65de2579d0da220
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 28 18:45:41 2010 +0100
s3: Fix the CHAIN1 torture test
I've tried to solve this just within cli_smb_recv(), but I could not find a way
to sanely determine when we are receiving the last entry in the chain just from
looking at the blob. This solves it in an a bit more brutal way...
commit fb98f60594b6cabc52d0f2f49eda08f793ba4748
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 27 19:26:01 2010 +0100
tdb: If tdb_parse_record does not find a record, return -1 instead of 0
commit 0e9882a65e91e4ab55dc103c7f6aec4ccd966db0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 28 14:38:14 2010 +0100
s3: Fix but 7145 -- duplicate sam and unix accounts
For me this survives the
TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test
reproducer. Günther, please check!
Volker
commit 99fc004e409ba5e535f1662e92370952777e55ff
Author: Holger Hetterich <hhetter at novell.com>
Date: Thu Feb 18 15:13:59 2010 +0100
s3: vfs_full_audit.c: implement negated vfs_ops in the success/failure list
Supports negated arguments in configuration like:
full_audit:success = all !readdir !telldir !closedir
Update the manpage accordingly.
Part of BSO#4025
commit a050c79fabdb73f6437f846777b94f31fe15fc86
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 27 11:17:27 2010 +0100
s3: Copy the mapping.c license header to mapping.h
We need some license header there. If this does incorrect copyright
attributions, please correct this.
commit cfc79f222d0fae7f976bb843da3565c58b2c375e
Author: Roel van Meer <rolek at alt001.com>
Date: Fri Feb 26 14:54:22 2010 -0800
Fix one of the valgrind warnings from bug #6814 - Fixes for problems reported by valgrind
The timeval passed to event_add_to_select_args() must be initialized
as event_add_to_select_args() uses a timeval_min() on this and next_event.
commit b28afd2bcc825e9fef415f3a256e39e4af1ae84e
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 10:53:06 2010 +0100
s4:ldb_dn: fix an uninitialized variable (found by make valgrindtest)
metze
commit 47fafe801b5a4a054dcde301b892cda9c0ababb0
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 15:48:02 2010 +0100
s4:ldb_dn: remove dn->ext_linearized when ext_components is modified.
metze
commit c7432e49506561316f42bf0a26dd21de563c8eda
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 23:19:53 2010 +0100
s4:ldb_dn: reset dn->ext_comp_num in ldb_dn_explode()
metze
commit 4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 16:48:09 2010 +0100
s4:dsdb/schema: fix validation of DNs
ldb_dn_extended_filter() removes all but the listed components,
I didn't noticed that when writting the code.
Doing a ldb_dn_remove_extended_components(dn2) is wrong.
This was hidden by some bugs in the ldb_dn code.
metze
commit 2caa2a045dd4f56cffb3a5af82a1f992198e4412
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 21:00:10 2010 +0100
s4:provision.zone - fix port of "_ldap._tcp.gc._msdcs"
commit b49276e291274652d46eed39249c07531e32b591
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 20:41:38 2010 +0100
s4:script/installmisc.sh - install "dns_update_list" to target setup folder
commit 87c96f0023fcf9c12a53171e70b53acf7303a89e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 19:15:01 2010 +0100
.gitignore - ignore display of "mit_samba.so"
commit 3ca8d28bb7c33fe7733f036c8a6254545b0410ce
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 14:45:07 2010 +0100
spoolss: fix build and version in spoolss_PrinterInfo0 (aka PRINTER_INFO_STRESS).
Guenther
commit b1f18fb808d56e5c29e78e838802553c5e95f824
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 14:44:22 2010 +0100
spoolss: add spoolss_Build to IDL.
Guenther
commit 062a8cf0068d9833b68d6569eae6fdb0fc622726
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 26 10:21:10 2010 +0100
s4-winbind: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit b80071602ffa127ab1857b0203ff868c15b8ce6b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 26 10:19:55 2010 +0100
s4-ntp: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c3b90f00d4c76694060124a34eecb099584d3667
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 26 10:35:01 2010 +0100
s4-kdc: Fixed the memory context of tstream_bsd_existing()
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e0e549a77004fc45bfc01db03df267bc003a81cb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 26 11:53:49 2010 +0100
s4:dcesrv_samr.c - Remove unused variable
commit b792e5575c8dcd1ec4f5a572561a48ea5744000c
Author: Matthieu Patou <mat at matws.net>
Date: Thu Feb 25 20:41:57 2010 +0300
s4: Winbind allow to behave more correctly when we have more than a few users
commit 25723914c5f5b18a25f758f1098ddded3c5aa074
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 25 20:22:52 2010 +1100
s4:python Add bindings to set GENSEC flags on credentials in python
This should allow these to be manipulated by python scripts that need
encrypted connections.
Andrew Bartlett
commit ee547e715eff60fd26fa65655b00b80202088319
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 02:51:21 2010 +0100
s3: remove unused schannel_auth_struct.
Guenther
commit 274baba4ab191e4b357ef5babc01a1c5501afebf
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 26 02:50:28 2010 +0100
testprogs: print the directory paths as well in spoolss test.
Guenther
commit d671b80cf5ebd4a4a2d832d90aeef27cacfb521a
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 26 10:09:36 2010 +0100
libcli/auth: print the error in the debug message
metze
commit 81bb8f67fa50acb914a428b5468fe39643cecb78
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Feb 4 17:03:04 2010 +0100
s4-smb: Migrate named_pipe_server to tsocket.
This is an improved version of commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0,
which was reverted by commit 71c20f703b0c603d6aada63ed5634070a26df052.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1983256c70cf07b8c8afddd024ee5fd2522ee83c
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Feb 25 14:32:39 2010 +0100
tsocket: Improve the tsocket_address_bsd_sockaddr documentation.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 27e7578e2763f0e9de2e0c94521d552678244cf2
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 15:09:15 2010 +0100
s4:provision: use generate_random_password()
metze
commit d2cd0a783b059fc2a938f7e2a5f5d002e83be967
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 14:44:22 2010 +0100
s4:pyglue: add generate_random_password()
metze
commit 9ada48ffdb3b7ab4bc1bce0f6b2179f67292bcf8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 15:12:17 2010 +0100
s4:torture/rpc: use generate_random_password()
metze
commit 7473ca2d33e04d9b9dbb7fa56b0cb44603988036
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 15:09:50 2010 +0100
s4:libnet: use generate_random_password()
metze
commit 792dd38d7c0be5319db1eef625c142a6490cd12b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 15:58:38 2010 +0100
lib/util: add generate_random_password()
metze
commit c2edea5ccfb1eadabc3fd4a6d1eb9c5c0a8251e2
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 18:19:23 2010 +1100
devel: get the ownership of the directories right in tmpfs.sh
commit 1e2ac9b8967f820cdabcc32578685cea9f644c03
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:49:01 2010 +1100
s4-provision: fixed use of rndc command from python
rndc command is now a list
commit 97d65774d4c91ab046bf67c7c99a47a37b340d08
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:22:44 2010 +1100
s4-provision: also create the dns_update_list when running net vampire
We need the list when joining a windows domain, so we can
automatically maintain the right DNS entries on the Windows DNS server
commit 8cb721b2936e09f1db2a0b565e144041d4294173
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:09:51 2010 +1100
s4-dns: fixed CNAME automatic DNS updates
commit b0b857d6ca842fb516b3330a11e0d6d78f35aded
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 17:09:35 2010 +1100
s4-dns: use a loadparm list for samba_runcmd() commands
This allows commands with multiple arguments and quoting to be used,
while still avoiding running a shell (and this having shell expansion
problems)
commit 336ebeabad687dd81c87e0ac01e68853e15f27b1
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 14:27:28 2010 +1100
s4-provision: added dns_update_list
This contains the list of DNS names we should have as a DC
commit 5bf9db7e315c392be7aa610e922c63bf2510bce6
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 14:25:07 2010 +1100
s4-provision: setup the dns_update_list at provision time
This file is substituted at runtime by samba_dnsupdate
commit 44f9d5aadcd3d86e754b5e899c9ecbaa82dd41e8
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 14:24:38 2010 +1100
s4-provision: if we aren't doing variable substitution then don't check for vars
commit 721bcfa01c28996891893e56a303c42d495c9fcd
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:58:32 2010 +1100
dns: auto-delete incorrect SRV entries for our hostname
commit ab4f170216c5bdd8b6f46df562d0a21ba8321a4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:30:44 2010 +1100
s4-dns: add automatic dynamic DNS updating script
This script checks a list of DNS names that we should have, and does
dynamic DNS updates using our machine account credentials to add any
missing DNS entries.
This allows us to correctly add all the DNS entries we need when we
join an existing domain as a DC
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c796b6c52e376447e7f3b1573e157f50fa35c3a9
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:27:26 2010 +1100
s4-provision: fixed port number for gc ldap DNS SRV entry
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c8fd7924a14f36c668245285bf144de7781b4007
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 13:25:42 2010 +1100
s4-param: added 'nsupdate command' option, default to /usr/bin/nsupdate -g
commit cb8d1e01f0b64f4a01ea101b8a0229f2085b744d
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 10:15:43 2010 +1100
samdb: added get_ntds_GUID() method
commit 390f7b535d9625beb9f203fdc2eb2890b69ed404
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:35:14 2010 +1100
py-samdb: added server_site_name method
commit 1e66ec832e1e4b1c6c71c96259328a64552de57c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:35:01 2010 +1100
pyglue: added py_samdb_server_site_name()
commit 8f763e046cf80863fa089724118a4efb4c7e450e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:15:47 2010 +1100
py-samdb: added get_invocation_id() method
commit abf55033dfbd84a49c494bd13daee7793921559d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 18:15:19 2010 +1100
pyglue: added py_samdb_ntds_invocation_id()
commit af70728b51d88717c571ebf3d5886006e34db57f
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 16:29:47 2010 +1100
pyglue: don't return 127.0.0.0/8 IPs in interface_ips()
We don't generally want loopback addresses in the python code
commit 781ad038c96195031053291414a12225eb818fd9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 16:16:33 2010 +1100
s4-krb5: propogate errors from a lot more kerberos functions
We need to be able to give sensible error messages when a kerberos
calls fails. This propogates the kerberos error up the stack to the
caller.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit ad7223b9bd31f71b8af2ae83361d7e054a433cc5
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 15:13:45 2010 +1100
dns: install samba_dnsupdate
commit cf14fa5a5c59700e6bc1a9d000588b86f677f8f9
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 25 15:12:53 2010 +1100
dns: dummy samba_dnsupdate script
The merge from metze of my dns tree means we now depend on this. This
is a placeholder until Andrew and I have finished the full script.
commit 64911507a0952f52940450b4802e8b85f74b86f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 12:36:17 2010 +1100
s4-dsdb: fixed the fetch of the server site name
when the ntds objects were moved by a recent change it broke the
calculation of the server site
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 9a72806dc9dfa4c2248a536102ccb94c3b448171
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 26 12:31:57 2010 +1100
Revert "s4:AD content - adequate some revision levels to match Windows Server 2008"
This reverts commit 973ea198677c581064fad62cdac30baac7103ef8.
This change breaks DRS dcpromo.
commit 525a1fe7751d4ba470e9185009fc455e57470c76
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 18:10:56 2010 +0100
s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a name
metze
commit 3751485c8432c0f6d3955f2b03a81cf4002d7a1b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 12:47:38 2010 +0100
s4:torture: use a connected CLDAP socket.
This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.
Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.
metze
commit b6737c1a7cfe68ff45a2114b48e99176dd32d2ae
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 25 12:47:38 2010 +0100
s4:libnet: use a connected CLDAP socket.
This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.
Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.
metze
commit 314a926179b02d7139016e56abc63a037e60ba43
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 25 11:57:54 2010 -0800
Fix up debug info on smb2_rename code.
Jeremy.
commit 3551eb7cbfb3bf7573c00d349def884cd70c89c7
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 25 11:15:16 2010 -0800
Implement rename/move in SMB2 from Windows7.
Jeremy.
commit 166a3821c985696572359a38a1b75cc96b600a15
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 19:31:06 2010 +0100
s3-nltest: fix uninitialized query level.
Guenther
commit 8ee516eb9efdc07852de0f2785075323cfd3ead3
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 19:06:39 2010 +0100
s4-smbtorture: define environment in one place in RPC-SPOOLSS test.
Guenther
commit d8cbc6ccdb9b4e2906094f1f3b7793ed98a2fcf8
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 13:29:57 2010 -0500
s4:kdc add mit plugin code
commit 489f78d19e3429c6598426c6b0872caef7caec86
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 13 18:30:36 2010 -0500
s4:kdc make function static
commit 10c8b0fb73d4976bb5f49d2a36780b89c85a8f60
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 13:12:38 2010 +0100
s3-spoolss: Save entire devicemode.
found by RPC-SPOOLSS-PRINTER torture test.
Guenther
commit d6cb1cc85f466c0c61dcba122afd48e755e6881e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 25 13:11:47 2010 +0100
s4-smbtorture: try to set every single devicemode component in RPC-SPOOLSS-PRINTER.
Guenther
commit bbdd1412b21b9f26984a2b0be21256ae5ea4dc0b
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 24 12:00:36 2010 +0100
s4-smbtorture: move ChangeID test to the list of tests we run against created printers.
Guenther
commit d1950d66c4ed38918323bdb8c0bb11700a47bdc3
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 24 18:11:07 2010 -0800
Make conn_close_all() safe to call from SMB2 sessions (fix crash bug).
Ensure we don't call close_cnum() with SMB2, also talloc_move the
compat_conn pointer from the NULL context onto the tcon context
in SMB2 as it's conceptually owned by that pointer.
Jeremy.
commit 3c202519eccfa1922f315e2f2910d832016ad3f1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 25 11:46:41 2010 +1100
s4:ldb Fix segfault in ldbsearch store_referral callback
sctx->refs_store was not initialised, and that made talloc_realloc
grumpy once we started actually returning referrals regularly from
Samba4's partitions module (0be57c747825737fa9d64411223e693b055b5f8f
by mdw).
We now just use talloc_zero() and forget about this manual
initialisation work. Tracking down use of uninitialised variables
with valgrind was the grand idea when this started, but in practice we
just get segfaults in unusual places.
Andrew Bartlett
commit 26891651ec8dd68113ff0f49d996c3e70d55933e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 24 16:16:30 2010 -0800
Change the credential handling so that we start with maxmux creds,
and then return to the client the number of credits per operation
that they asked for. This is a more sensible algorithm than just
blindly returning "20" on every reply, although we will probably
still need more changes to this going forward.
Jeremy.
commit 76f4e6f16b624c6a680122b4bed7f5922bc1f236
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 17:55:25 2010 -0500
idl:lsa change string type
comapring win<-> traces it looks like this is an lsa_StringLarge
commit a7057e69c72f2c42a76cf67ccdb5927023c6aac2
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 17:10:59 2010 -0500
s4:lsa use the correct way to store a domain sid
Converting the sid to a string and then storing a string does not save the sid
in the right format. Causing following retrievals to fail to read back a sid
with samdb_result_dom_sid().
commit 376fa0d66e61fe8165298b5dc1b49265f666a363
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 17:07:26 2010 -0500
s4:lsa avoid confusing ourselves over sam_ldb
Do not use policy_state->sam_ldb and trusted_domain_state->policy->sam_ldb
interchangeably all over the place. Just use sam_ldb everywhere and make the
code slightly more readable.
commit 4930de5cd922a24eb2ffb88620f23e2260487ec3
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 16:54:16 2010 -0500
s4:lsa cleanup trailing spaces and tabs
commit 71c20f703b0c603d6aada63ed5634070a26df052
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 16:35:35 2010 -0500
Revert "s4-smb: Migrate named_pipe_server to tsocket."
This reverts commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0.
This commit causes issues with the RPC server, revert it until we find the
exact issue and possibly have a torture test to avoid it happening again.
Found playing with w2k8r2 and forest trusts.
commit 8d03b5e2246ddb234cc3199daff03d4763e6d030
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 24 19:19:41 2010 +1100
s4:install Fix bug #7149 reported by JHT.
We need to install named.conf.update for provision to succeed from the
installed setup file.
Andrew Bartlett
commit 612eec4aa737de40cc18ef10722d35a36803816f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 18 19:24:45 2010 +1300
s4:scripting/devel Allow tmpfs script to be re-run
By doing the unmount, we can avoid double-mounting st and bin
commit fc4c839bc839faadefc3283d2c2bdfc6d5279c9b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 11 11:49:26 2010 +0100
s4:DNS update - change "i" to be unsigned
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit ec536a0121a752b9211ba258ed015a821b8391ba
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:21:26 2009 +0100
s4:ldap_server - make it "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit e912d507093b7c22130158ef0bf2c0c4ffc78bac
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:20:12 2009 +0100
s4:auth - make some parts "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f10fc7c16e3c71603e34c58fc0329f6d01d89603
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Nov 7 21:20:56 2009 +0100
s4:cldap_server - make it "signed-safe"
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 68caf9060621b8c0da183c38a9288a2c0a53b087
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 20:36:34 2010 +0100
s4:torture/ldap/basic.c - add a basic test for referral return
I implemented this referral test in C since the LDB python API isn't capable
to extract referrals from search result sets (there the result sets are simple
lists which contain only the matching entries).
First I enhanced the RootDSE test to return all partition base DNs in a new
null-terminated list "partitions". Then I used this in my referrals test which
I've implemented in the LDB api since I needed some certain DN functions.
commit 0be57c747825737fa9d64411223e693b055b5f8f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 22:07:12 2010 +0100
s4:partition DSDB module - Generate basic referrals
This is a first, very basic implementation of the referrals (more informations
at MS-ADTS 3.1.1.4.6 and 3.1.1.3.4.1.12).
To have the full referral support (and to always point to the right host) the
full implementation using DNS will be needed (at the moment we always point to
the main DC which is referenceable through the DNS domainname).
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit cd5b5428781128b11de6bb3270828cc83a45cc03
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 11:19:10 2010 +0100
s4:partition DSDB module - change the search and domain scope control handling
The domain scope control is always removed, from the search one only the two
interesting flags (which are handled) and it is marked as non-critical.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 545889a048da0bc58c4a4db4500839ab050518fa
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 11:56:12 2010 +0100
s4:LDAP server - Enable support for returning referrals through it
This is needed for my work regarding the referrals when the domain scope control
isn't specified.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 0efa8f4fbb3206512c69d74024c7a937ee035285
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 23 17:59:55 2010 +0100
s4:SAMLDB module - ignore referrals
They don't cause any harm to our functionality - so ignore them were not needed.
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit f09802cfc8fae8ce06cf65372e2d4b29e962b95b
Author: Simo Sorce <idra at samba.org>
Date: Wed Feb 24 11:02:18 2010 -0500
s4:netlogon remove wrong ZERO_STRUCT of output
This was causing marshalling faults when we returned errors.
commit d980268680dd34c461467a1da835de099dafa191
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 24 15:38:06 2010 +0100
s3: Make connections_fetch_record() static
commit 8b4b602e1ac181521442c2bcea7877ee7488fa97
Author: Matthieu Patou <mat at matws.net>
Date: Fri Feb 19 23:09:57 2010 +0300
python: ntacls, fix a leftover that is not in the try/except branch
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 00aeca7d7f6a940b208e7549e0d7c88f744f1d63
Author: Matthieu Patou <mat at matws.net>
Date: Tue Feb 23 16:03:16 2010 +0300
dsdb: Add a more explicit error message for constructed attributes
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 8416570ea31a3370774fe6884f443876ea2cba3c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Feb 17 21:32:50 2010 +0200
s4/drs_util: 'net drs showrepl' command implementation
commit 2f20a4b23ef5df9fe7a9f9cb43f75180e0676673
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:50:13 2010 +0200
s4/idl: Regenerate IDL for DRSUAPI interface
commit 83007e06c177b13fe56ae0247e8c2086bb59d563
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:49:40 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest2 changes in source code
commit 0f6a453f9f802d5d69c0698672a6f3ef04ad6a27
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:49:02 2010 +0200
s4/idl: drsuapi_DsReplicaGetInfoRequest2 - 'string2' to 'value_dn_str'
commit 10fce687fe5f21ab3ba2591bebc04c2f46d1d5f3
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:47:57 2010 +0200
s4/idl: drsuapi_DsReplicaGetInfoRequest2 - 'string1' to 'attribute_name'
commit 30ac3caade8d204b859d9b3ed4c51bdbeaaa3cbf
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:40:07 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code
commit fb9880d6e89a48d2588edbe753bbb4c90fb01173
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sun Feb 14 02:38:11 2010 +0200
s4/idl: rename 'guid1' to 'source_dsa_guid' in drsuapi_DsReplicaGetInfoRequest description
commit 3f5e9e9974ef66b827f4c9094146d642690b5b80
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 13 03:27:27 2010 +0200
s4/drs_util: 'net drs replicate' command implementation
commit ff94094dfa7dd8a07d4e200bc887cd1d58569f12
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 06:13:22 2010 +0200
s4/drs_util: Add public function for binding to a DC
commit 394746285e42111c221e4926afa0376d21544618
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 06:02:05 2010 +0200
s4/drs_util: Refactor code to use net_drs_connection object for DRSUAPI connecitons
commit 9ddb10869c19ac303e85e9e51872bb322834ac0f
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 06:01:06 2010 +0200
s4/drs_util: Move DRSUAPI connection data into separate object
We need this so we can create independent DRS connections to
different DCs.
commit e5aae24b3fef0048a33a682989935776f3415dc6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 01:47:55 2010 +0200
s4/net_drs: Utility macros for conditions checking
commit 99db858b155a9a12bcbaae631d34d12062206e12
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 13 04:57:28 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaSync changes in source base
commit 8747e695fe4ff732537f6fc822f4c24f3cfd9d39
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 00:20:52 2010 +0200
s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source base
commit 58318960b78f4d65cd7a2930703296520115ea3e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 00:17:52 2010 +0200
s4/idl: Regenerate IDL for DRSUAPI interface
commit e9438b4c12f135ca01d6e0c65e88176459570907
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 13 04:53:20 2010 +0200
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSync definition
- Function should accept pointer to drsuapi_DsReplicaSyncRequest.
While this doesn't generate essentially different code for
NDR parser, using pointer will make drsuapi_DsReplicaSync
descritpin with the rest of the functions in DRSUAPI interface.
Another benefit is that this way we could create Wireshark
dissector directly from Samba's verions for drsuapi.idl
- 'level' and thus the switch_type() should be uint32
commit f1a33a6cfeafe5dd34ab1e9176bc2ffbf136a117
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 12 00:15:10 2010 +0200
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSyncRequest1 description
- pointer to naming_context should be [ref] pointer
(i.e. not NULL pointer)
- other_info is actually the DNS name for Source DSA and is used
if DRSUAPI_DRS_SYNC_BYNAME is passed
ref: [MS-DRSR] 5.39
commit 6346ec0c1cadd54f2fa10f7dc0a39a3791bed822
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 10:09:32 2010 +0100
s3:selftest: handle spaces in test names
metze
commit 654f1147e1bcf146d3c706682c8d3ccef2d31ae4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 24 09:33:19 2010 +0100
s3:selftest: make wbinfo_s3 work on the "member" server too.
metze
commit 9f2f738a3c7ca5d16094d2ffa100b7135607b06f
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 23 14:15:00 2010 +0100
s3:test_wbinfo_s3: test --check-secret and --change-secret
metze
commit 911287285cc4c8485b75edfad3c1ece901a69b0b
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Feb 20 09:08:16 2010 +0100
s3:rpc_transport_np: handle trans rdata like the output of a normal read
Inspired by bug #7159.
metze
commit 1b78573c2d70b896e1ed3853f596e34523f6f227
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 23 13:05:52 2010 +0100
s4-smbtorture: verify that the client cpu architecture has no influence on the
calculated buffer size in RPC-SPOOLSS.
Guenther
commit ec96ea690edbe3398d690b4a953d487ca1773f1c
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 13:23:58 2010 +1030
tdb: handle processes dying during transaction commit.
tdb transactions were designed to be robust against the machine
powering off, but interestingly were never designed to handle the case
where an administrator kill -9's a process during commit. Because
recovery is only done on tdb_open, processes with the tdb already
mapped will simply use it despite it being corrupt and needing
recovery.
The solution to this is to check for recovery every time we grab a
data lock: we could have gained the lock because a process just died.
This has no measurable cost: here is the time for tdbtorture -s 0 -n 1
-l 10000:
Before:
2.75 2.50 2.81 3.19 2.91 2.53 2.72 2.50 2.78 2.77 = Avg 2.75
After:
2.81 2.57 3.42 2.49 3.02 2.49 2.84 2.48 2.80 2.43 = Avg 2.74
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 1bf482b9ef9ec73dd7ee4387d7087aa3955503dd
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 13:18:06 2010 +1030
patch tdb-refactor-tdb_lock-and-tdb_lock_nonblock.patch
commit ececeffd85db1b27c07cdf91a921fd203006daf6
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:53:05 2010 +1030
tdb: add -k option to tdbtorture
To test the case of death of a process during transaction commit, add
a -k (kill random) option to tdbtorture. The easiest way to do this
is to make every worker a child (unless there's only one child), which
is why this patch is bigger than you might expect.
Using -k without -t (always transactions) you expect corruption, though
it doesn't happen every time. With -t, we currently get corruption but
the next patch fixes that.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 8c3fda4318adc71899bc41486d5616da3a91a688
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:50:41 2010 +1030
tdb: don't truncate tdb on recovery
The current recovery code truncates the tdb file on recovery. This is
fine if recovery is only done on first open, but is a really bad idea
as we move to allowing recovery on "live" databases.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9f295eecffd92e55584fc36539cd85cd32c832de
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:49:22 2010 +1030
tdb: remove lock ops
Now the transaction code uses the standard allrecord lock, that stops
us from trying to grab any per-record locks anyway. We don't need to
have special noop lock ops for transactions.
This is a nice simplification: if you see brlock, you know it's really
going to grab a lock.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a84222bbaf9ed2c7b9c61b8157b2e3c85f17fa32
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 11:02:55 2010 +1030
tdb: rename tdb_release_extra_locks() to tdb_release_transaction_locks()
tdb_release_extra_locks() is too general: it carefully skips over the
transaction lock, even though the only caller then drops it. Change
this, and rename it to show it's clearly transaction-specific.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit dd1b508c63034452673dbfee9956f52a1b6c90a5
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 12:42:24 2010 +1030
tdb: cleanup: remove ltype argument from _tdb_transaction_cancel.
Now the transaction allrecord lock is the standard one, and thus is cleaned
in tdb_release_extra_locks(), _tdb_transaction_cancel() doesn't need to
know what type it is.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fca1621965c547e2d076eca2a2599e9629f91266
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 15:42:15 2010 +1030
tdb: tdb_allrecord_lock/tdb_allrecord_unlock/tdb_allrecord_upgrade
Centralize locking of all chains of the tdb; rename _tdb_lockall to
tdb_allrecord_lock and _tdb_unlockall to tdb_allrecord_unlock, and
tdb_brlock_upgrade to tdb_allrecord_upgrade.
Then we use this in the transaction code. Unfortunately, if the transaction
code records that it has grabbed the allrecord lock read-only, write locks
will fail, so we treat this upgradable lock as a write lock, and mark it
as upgradable using the otherwise-unused offset field.
One subtlety: now the transaction code is using the allrecord_lock, the
tdb_release_extra_locks() function drops it for us, so we no longer need
to do it manually in _tdb_transaction_cancel.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit caaf5c6baa1a4f340c1f38edd99b3a8b56621b8b
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:45:26 2010 +1030
tdb: suppress record write locks when allrecord lock is taken.
Records themselves get (read) locked by the traversal code against delete.
Interestingly, this locking isn't done when the allrecord lock has been
taken, though the allrecord lock until recently didn't cover the actual
records (it now goes to end of file).
The write record lock, grabbed by the delete code, is not suppressed
by the allrecord lock. This is now bad: it causes us to punch a hole
in the allrecord lock when we release the write record lock. Make this
consistent: *no* record locks of any kind when the allrecord lock is
taken.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9341f230f8968b4b18e451d15dda5ccbe7787768
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:45:14 2010 +1030
tdb: cleanup: always grab allrecord lock to infinity.
We were previously inconsistent with our "global" lock: the
transaction code grabbed it from FREELIST_TOP to end of file, and the
rest of the code grabbed it from FREELIST_TOP to end of the hash
chains. Change it to always grab to end of file for simplicity and
so we can merge the two.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 1ab8776247f89b143b6e58f4b038ab4bcea20d3a
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 15:01:07 2010 +1030
tdb: remove num_locks
This was redundant before this patch series: it mirrored num_lockrecs
exactly. It still does.
Also, skip useless branch when locks == 1: unconditional assignment is
cheaper anyway.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit d48c3e4982a38fb6b568ed3903e55e07a0fe5ca6
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:40:57 2010 +1030
tdb: use tdb_nest_lock() for seqnum lock.
This is pure overhead, but it centralizes the locking. Realloc (esp. as
most implementations are lazy) is fast compared to the fnctl anyway.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 4738d474c412cc59d26fcea64007e99094e8b675
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:44:40 2010 +1030
tdb: use tdb_nest_lock() for active lock.
Use our newly-generic nested lock tracking for the active lock.
Note that the tdb_have_extra_locks() and tdb_release_extra_locks()
functions have to skip over this lock now it is tracked.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 9136818df30c7179e1cffa18201cdfc990ebd7b7
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Mon Feb 22 13:58:07 2010 +1030
tdb: use tdb_nest_lock() for open lock.
This never nests, so it's overkill, but it centralizes the locking into
lock.c and removes the ugly flag in the transaction code to track whether
we have the lock or not.
Note that we have a temporary hack so this places a real lock, despite
the fact that we are in a transaction.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit e8fa70a321d489b454b07bd65e9b0d95084168de
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:37:34 2010 +1030
tdb: use tdb_nest_lock() for transaction lock.
Rather than a boutique lock and a separate nest count, use our
newly-generic nested lock tracking for the transaction lock.
Note that the tdb_have_extra_locks() and tdb_release_extra_locks()
functions have to skip over this lock now it is tracked.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit ce41411c84760684ce539b6a302a0623a6a78a72
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:35:54 2010 +1030
tdb: cleanup: find_nestlock() helper.
Factor out two loops which find locks; we are going to introduce a couple
more so a helper makes sense.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit db270734d8b4208e00ce9de5af1af7ee11823f6d
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:41:15 2010 +1030
tdb: cleanup: tdb_release_extra_locks() helper
Move locking intelligence back into lock.c, rather than open-coding the
lock release in transaction.c.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fba42f1fb4f81b8913cce5a23ca5350ba45f40e1
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:34:26 2010 +1030
tdb: cleanup: tdb_have_extra_locks() helper
In many places we check whether locks are held: add a helper to do this.
The _tdb_lockall() case has already checked for the allrecord lock, so
the extra work done by tdb_have_extra_locks() is merely redundant.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit b754f61d235bdc3e410b60014d6be4072645e16f
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:31:49 2010 +1030
tdb: don't suppress the transaction lock because of the allrecord lock.
tdb_transaction_lock() and tdb_transaction_unlock() do nothing if we
hold the allrecord lock. However, the two locks don't overlap, so
this is wrong.
This simplification makes the transaction lock a straight-forward nested
lock.
There are two callers for these functions:
1) The transaction code, which already makes sure the allrecord_lock
isn't held.
2) The traverse code, which wants to stop transactions whether it has the
allrecord lock or not. There have been deadlocks here before, however
this should not bring them back (I hope!)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 5d9de604d92d227899e9b861c6beafb2e4fa61e0
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:26:13 2010 +1030
tdb: cleanup: tdb_nest_lock/tdb_nest_unlock
Because fcntl locks don't nest, we track them in the tdb->lockrecs array
and only place/release them when the count goes to 1/0. We only do this
for record locks, so we simply place the list number (or -1 for the free
list) in the structure.
To generalize this:
1) Put the offset rather than list number in struct tdb_lock_type.
2) Rename _tdb_lock() to tdb_nest_lock, make it non-static and move the
allrecord check out to the callers (except the mark case which doesn't
care).
3) Rename _tdb_unlock() to tdb_nest_unlock(), make it non-static and
move the allrecord out to the callers (except mark again).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit e9114a758538d460d4f9deae5ce631bf44b1eff8
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:19:47 2010 +1030
tdb: cleanup: rename global_lock to allrecord_lock.
The word global is overloaded in tdb. The global_lock inside struct
tdb_context is used to indicate we hold a lock across all the chains.
Rename it to allrecord_lock.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 7ab422d6fbd4f8be02838089a41f872d538ee7a7
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:18:33 2010 +1030
tdb: cleanup: rename GLOBAL_LOCK to OPEN_LOCK.
The word global is overloaded in tdb. The GLOBAL_LOCK offset is used at
open time to serialize initialization (and by the transaction code to block
open).
Rename it to OPEN_LOCK.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit a6e0ef87d25734760fe77b87a9fd11db56760955
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 24 10:39:59 2010 +1030
tdb: make _tdb_transaction_cancel static.
Now tdb_open() calls tdb_transaction_cancel() instead of
_tdb_transaction_cancel, we can make it static.
Signed-off-by: Rusty Russell<rusty at rustcorp.com.au>
commit 452b4a5a6efeecfb5c83475f1375ddc25bcddfbe
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Wed Feb 17 12:17:19 2010 +1030
tdb: cleanup: split brlock and brunlock methods.
This is taken from the CCAN code base: rather than using tdb_brlock for
locking and unlocking, we split it into brlock and brunlock functions.
For extra debugging information, brunlock says what kind of lock it is
unlocking (even though fnctl locks don't need this). This requires an
extra argument to tdb_transaction_unlock() so we know whether the
lock was upgraded to a write lock or not.
We also use a "flags" argument tdb_brlock:
1) TDB_LOCK_NOWAIT replaces lck_type = F_SETLK (vs F_SETLKW).
2) TDB_LOCK_MARK_ONLY replaces setting TDB_MARK_LOCK bit in ltype.
3) TDB_LOCK_PROBE replaces the "probe" argument.
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit fffdce62fc1c9959f17c2dbb0a3939e95095fe54
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Feb 24 01:45:26 2010 +0200
s4/schema: Move msDS-IntId implementation to samldb.c module
msDS-IntId attribute should be replicated, so it must be
implemented in a module that is before repl_meta_data module
(thanks abartlet for pointing this out).
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
commit 2523b20349930be693674be915bcb423bc1fcb82
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Mon Feb 22 12:38:26 2010 -0800
s4/torture/smb2: Add two new SMB2 compound tests
These tests server behavior when a client compounds both synchronous
and asynchronous requests.
commit 805f7507e23f95c479114c44cd175b6b668ffaf9
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 09:43:46 2010 -0500
s4:cleanup remove unused schannel ldb code
commit 1203de99b178a2d7f6c7c6534c42d05242322fe3
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 15:11:25 2010 -0500
s4:schannel merge code with s3
After looking at the s4 side of the (s)channel :) I found out that it makes
more sense to simply make it use the tdb based code than redo the same changes
done to s3 to simplify the interface.
Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet
that does not solve the lookup speed, with ldb it is always going to be slower.
Looking through the history it is evident that the schannel database doesn't
really need greate expanadability. And lookups are always done with a single
Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated.
The schannel database is not really a persistent one. It can be discared during
an upgrade without causing any real issue. all it contains is temproary session
data.
commit 1d0938c629904e14c3769036d1a8d1a6d7b3f34b
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 16:17:06 2010 -0500
schannel_tdb: make code compilable in both trees
commit 3b12c38ac09ad253cf56099c243659a3a362ea67
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 14:44:09 2010 -0500
s3:schannel streamline interface
Make calling schannel much easier by removing the need to explicitly open the
database. Let the abstraction do it instead.
commit e5ab64a79902e710636352b01ccd0012d5df1c31
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 09:34:48 2010 -0500
s3:schannel fix memory hierarchy
passing mem_ctx was causing creds->sid to be allocated on mem_ctx and not be
child of creds as expected. When later in schannel_check_creds_state() we
stole the creds on a different memory context the sid was left behind and the
memory it points to freed when the temporary context was freed.
commit bb9014d5cbbc2ebb8fbd9fab05a3f3fc57e725b8
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 14:10:26 2010 -0500
schannel: merge header files
One almost empty header file was simply including another not included by
anything else. Just merge them together.
commit 8e2f5fe7c5bc0fce0564c751a68e0feb370e0857
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 10:26:24 2010 -0500
s4:schannel more readable check logic
Make the initial schannel check logic more understandable.
Make it easy to define different policies depending on the caller's
security requirements (Integrity/Privacy/Both/None)
This is the same change applied to s3
commit b4c9dc3724b5c34661b6986e81af2dc6c191dde9
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 18 10:19:09 2010 -0500
s3:schannel more readable check logic
Make the initial schannel check logic more understandable.
Make it easy to define different policies depending on ther caller's security
requirements (Integrity/Privacy/Both/None)
commit 61b7a24f16c9d3a3c41df19ac7073571164eb47a
Author: Simo Sorce <idra at samba.org>
Date: Tue Feb 23 11:11:37 2010 -0500
s3 move the sitename cache in its own file
commit c31cf0a1b5b113c1221477238efa6b131e884bcf
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 23 17:17:58 2010 +0100
s3: Consolidate some pid_to_procid() calls to procid_self()
commit 0278ef8ce30518c3a3e4c20a51c751ea2aab9add
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 23 17:02:37 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit d22b54c4eb1da075041b640f6b9eeb5ec263b9be
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 23 17:01:26 2010 +0100
spoolss: some fixes for devicemode dm extra structs.
Guenther
commit f6497a58079621fd0d8b0d9a8365371263c6a1e3
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 11 00:15:58 2009 +0200
s3: re-run make samba3-idl.
Guenther
commit 2288e16d72443d946a53744cb2b57e71e9950d10
Author: Günther Deschner <gd at samba.org>
Date: Tue Aug 11 00:14:55 2009 +0200
spoolss: add various DM extradata formats (including PostScript and UniDriver).
Guenther
commit a2cd2039824181494eb1496068d2121ee6150839
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 19 09:09:40 2010 +0100
s3:spoolss: construct the devmode the same way for level 2 and 8
metze
commit 1e9df26ef970df41de54142a78606a15374acbac
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 19 23:22:40 2010 +0100
s3:cli_netlogon: keep the the correct negotiate_flags on the cli->dc structure
This should fix the rpccli_netlogon_set_trust_password() against DC's
without netr_ServerPasswordSet2 support.
This fixes bug #7160.
metze
commit ddfd5b69a0512937c101ef4338b57526c9f188bb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 23 16:12:31 2010 +0100
s3:selftest: $WORKGROUP doesn't exist, we should use $DOMAIN
metze
commit 752bffc53fcf296f841d62ffbf8d424f9e8e66bd
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 23 15:04:10 2010 +0100
s3: Consolidate server_id_self into the equivalent procid_self()
commit ce7727c1cc2fe4caa9b2d6e33530c3483dd5f980
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 23 15:23:27 2010 +0100
s3: add explicit configure option whether or not to enable dmapi support
commit 975a7a3d1b075bcaca820b2431c04734a139062f
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Feb 16 11:23:58 2010 +0100
tstream: Added a typedef for the function prototype.
commit 69d5cea2e59162f19460e7ce4b6382fc5fdd6ca0
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Feb 4 17:03:04 2010 +0100
s4-smb: Migrate named_pipe_server to tsocket.
commit 394a7ceeeb0d9aa81dfd2b76a841c7f3380e63dc
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 18 07:41:40 2010 +1100
s4-selftest: disable rndc and dns update in build farm
commit 7593b6d03b0cfb4bbe43a89f33610f513a0bfa9b
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 22:20:18 2010 +1100
s4-dns: improved logging, and run name check at startup
commit cb7ab80ee883a69f575940bfa6b4c99242c7f646
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 22:19:57 2010 +1100
s4-pyglue: added interface_ips() call
This allows a python script to query the internal network interface
lists from Samba
commit 61af327e5d2bb97909f349fbc918d6981aa1f196
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 21:15:08 2010 +1100
s4-dns: call out to the dns update command every 10 minutes
This periodically calls samba_dnsupdate to update our DNS entries if
needed
commit ae209d488ec00b0527057331f84b7d0d99305b4c
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 21:14:10 2010 +1100
s4-param: added "dns update command" smb.conf option
defaults to SBINDIR/samba_dnsupdate
This command will do periodic dynamic DNS updates using TSIG-GSS
commit 95ee01bb3047eb65de2a6812e003450d068e677e
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 21:12:17 2010 +1100
s4-config: add dyn_SBINDIR
commit 13e2f5f971eeaa7b342baeaee55ff52b089ac881
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 11:27:56 2010 +0100
libreplace: Remove the obsolete signal type cast.
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
commit 8ac0c9fc67c8c07d0680cb069677f58434dc893e
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 12:44:07 2010 +0100
libutil: Remove obsolete signal type cast.
commit 95a0ab5f1118727325c2bede31edd53ece6afb85
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 12:49:08 2010 +0100
s4-smbd: Remove obsolete singal type cast from the thread process model.
commit f33b69753d7939a08003bfe4763baafe8b4aa96b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:33:40 2010 +0100
s3-smb: Remove the obsolete signal type cast.
AC_SIGNAL_TYPE is already obsolete in autoconf. C89 requires signal
handlers to return void, only K&R returned int.
commit c6c21f489d1288326ee2511d173af2dd7430e62b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:32:45 2010 +0100
s3-lib: Remove obsolete signal type cast.
commit 5ad801beb94d9120e2951e3c5fd1a1115d2dfd35
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:29:47 2010 +0100
s3-libads: Remove obsolete signal type cast.
commit 38b0e6b4d7375740234fff7834621ce3bb54ada8
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:28:11 2010 +0100
s3-nmbd: Remove obsolete signal type cast.
commit 069350d7e4d9e13ea5451273db51023e972a9373
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 15:25:09 2010 +0100
s3-pam_smbpass: Remove obsolete signal type cast.
commit b9cf55cfeae854cd90cd4bd7b55b7313f34af828
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 16:14:47 2010 +0100
s3-passdb: Remove obsolete signal type cast.
commit d9f31fea6a31acb7fd02166a69ec575de4acec1b
Author: Andreas Schneider <asn at redhat.com>
Date: Fri Feb 19 16:13:46 2010 +0100
s3-print: Remove obsolete signal type cast.
commit f924b7749280b31ece19885de1c3ad1bd71942ac
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 23 08:42:41 2010 +0100
s3:winbindd: never mark external domains as internal!
This way we can endup with silently using builtin_passdb_methods
for an ad domain without an inbound trust.
This fixes bug #7170.
metze
commit 4ef82accfe41eebabf26714d0a074d48d7134a26
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 23 09:51:25 2010 +0100
s4:netlogon RPC - fix the indentation
Simo, I'm not really sure that those checks are valid. I read MS-NRPC section
3.5.4.1 about LOGONSRV_HANDLEs ("server_name" is of this type). There isn't
stated that the server name has necessarily to be in the DNS form and should
also be valid when it's NULL (if DCE server and client are the same - I don't
know if me make use of it in s4).
commit 0c8608bbab93b0d00255424335deed27738d69c6
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 21:18:07 2010 -0500
s3 Fix the build
I didn't mean to puch the GetForestTrustInformation patch just yet,
now that it is in fix the s3 build ...
commit d4b8be513cf1707000f2870ce42c968e17f6ab27
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 13:15:44 2010 -0500
s4:netlogon GetTrustedDomainInformation
start implementing calls related to trusted domain information
commit dbcc7ad7e4efc550b6937647995e8d74fe538d35
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 18:47:34 2010 -0500
s4:netlogon fix segfault
commit 6c0cd488e5998b058ce472cfb0f41f11dc19327b
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 22 15:01:16 2010 -0500
ldb:web Fix typo
commit 2a5060fcefd515b344281c75558e370dce78cdba
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 22 15:34:15 2010 -0800
A test "store create time" parameter got commited by accident. Remove it.
Jeremy.
commit 3aee8e73b0c175ece7790427e28ce7c0f4cbaaa5
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 22 15:04:10 2010 -0800
Ensure STREAMERROR deletes any files in the \\testdir
before rmdir and mkdir.
Jeremy.
commit f1fe808978ac420387a80a6862762ba3dd090af0
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 22 14:36:40 2010 -0800
Add an "attributes" string to allinfo.
Jeremy.
commit 82f6f3920c3127caf5e32de4c81830e74300e0f8
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:27:48 2010 +0100
s3: Explicitly handle inbuf in cli_trans_done
commit 964210b89a9438356c3c37a4f9d227ce6cf09c8f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:27:22 2010 +0100
s3: Explicitly handle inbuf in cli_write_andx_done
commit 78d7f27993ee67f6df48e437b994c5b8e1aba165
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:26:06 2010 +0100
s3: Explicitly handle inbuf in cli_read_andx_done
commit 486f734fd8794fb424d44b21695973cbd01a348b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:25:34 2010 +0100
s3: Explicitly handle inbuf in cli_message_start_done
commit be62ca140335c7f841e44195450090201e09437a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:23:31 2010 +0100
s3: Explicitly handle inbuf in cli_dskattr_done
commit 327f93bf1c49d725964a637e657915ccf460e8e4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:21:01 2010 +0100
s3: Explicitly handle inbuf in cli_getatr_done
commit 41ebf583e86a17fd2d1dc4443b81ef1ad27e1f4c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:20:38 2010 +0100
s3: Explicitly handle inbuf in cli_getattrE_done
commit 409fd662b062c282fc748200ccbd62e415e87f8a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:19:45 2010 +0100
s3: Explicitly handle inbuf in cli_open_done
commit 12863ffa5667acca1b7e34cad599a26d6d1ae20c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:19:28 2010 +0100
s3: Explicitly handle inbuf in cli_ntcreate_done
commit 1fab94a31bd6060fe64e1ac5245a19149b97e035
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:18:38 2010 +0100
s3: Explicitly handle inbuf in cli_echo_done
commit fdd82e69abfa05fe11523f5b158384cb82d3bc8b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:17:29 2010 +0100
s3: Explicitly handle inbuf in cli_negprot_done
commit 160c459b54c5e18c59a0c155c3b94896267715bb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:16:55 2010 +0100
s3: Explicitly handle inbuf in cli_tcon_andx_done
commit 036fcafe242363bd290b179c21406dafc0d3a678
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:15:28 2010 +0100
s3: Explicitly handle inbuf in cli_sesssetup_blob_done
commit 47c61b4f15a8b366e51bc0de0a3427eecd0d65a3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 15:14:43 2010 +0100
s3: Explicitly handle inbuf in cli_session_setup_guest_done
commit 299d9c409dd20b1b5abe4abf2a11c121c8a76abb
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 11:50:05 2010 +0100
s3: Explicitly handle inbuf in cli_smb_oplock_break_waiter_done
commit d122bfc064a0265b1e08dd52bbce61caac1d6a6b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 09:53:58 2010 +0100
s3: Add a talloc_move for the inbuf to cli_smb_recv
commit 91bf841c2e2997f7b39e3e757d3b88054829ed62
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 22:15:03 2010 +0100
s4:registry/regf.c - specify the context when freeing the "regf" variable
Otherwise we get a "talloc_free with references" warning.
commit 1e986c1cb3243f7f7de4e7866e78584615ecd13e
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:46:46 2010 +1100
More spelling fixes across source4/
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7a23b9769be2c3c25cfb8fa280efb0ab34cd24b2
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:35:11 2010 +1100
Various source4 spelling fixes.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 4b024683acba72c1b8618155a45f32e6437878d1
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:33:28 2010 +1100
Spelling fixes for source4/auth.
The comment for USER_INFO_INTERACTIVE_LOGON looks like a cut-n-paste from the line above.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 3eacc83b35f65603e41bc36d6c42608fc22912f6
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:24:08 2010 +1100
Spelling fixes for source4/lib/registry.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7def87cb17edac48ed21041e6cbbda372a8a46da
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:23:15 2010 +1100
Typo fix.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 1683d090ccfb8b2959e091bdb9281a4991d943dc
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 17:22:45 2010 +1100
LDB related spelling fixes.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit dd89dc2c3166d4bbcb3aacfb7222488c69e10485
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:58:07 2010 +1100
Spelling fixes for libutil
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit e4c2f4dc75ad38bfeb7c8b8015a48b6b49b22b90
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:51:01 2010 +1100
Spelling fixes in lib/zlib.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 198b17abf0c8d1d07f4e22a757acd60d4a570af4
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:35:10 2010 +1100
Spelling fixes for libreplace.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 319d3bf9d93ddfc1afbfb0c759f6d91906f915c1
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:34:22 2010 +1100
Spelling fixes for tsocket API documentation.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 11b211cf989ab3f6d4d3aa352e3fc8163ea09d72
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:33:24 2010 +1100
Spelling fixes for lib/compression.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 7863bb1511aac0234d1beb48f8163bbc67fc2588
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:32:29 2010 +1100
Spelling fixes for nss_wrapper.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 842fb05b1111fbf607f05f51d2f271d32bd052a8
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:31:46 2010 +1100
Spelling fixes for popt API documentation.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 119a8230ebeaf1eb95682a3d5c7b8675791c02fd
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:31:01 2010 +1100
Spelling fixes for tevent.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 09e756b1d651caef203a4b7e02234f6dea374b08
Author: Brad Hards <bradh at frogmouth.net>
Date: Sun Feb 21 16:07:43 2010 +1100
Spelling fixes for tdb.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 6de98ba10bc9c66a068b0e37f0910a6b073f75c2
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 21:19:27 2010 +0100
s4:torture/ldap/basic.c - add some "const"
In addition I removed a "talloc_free(req)" since we never free elsewhere the
requests explicitly and do it only indirectly with freeing the "conn" object
when the testsuite terminates.
commit 73bfd9de5de17de4b1fcccad1162fc8fb588c751
Author: Simo Sorce <idra at samba.org>
Date: Sun Feb 21 16:07:00 2010 -0500
s4:netlogon enhance DsrEnumerateDomainTrusts
Actually return trust relationships by searching the appropriate
entries in the SAM database.
Add checks and return the correct flags, type and attributes.
commit 280a8a70fdf362fbd94308f8dcb6ba7ae0a6db88
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 11:55:48 2010 +0100
s4:operational LDB module - enable support for passing referrals through it
commit c16d4fb76d3a0c9c0f51790e3f448d6083f0f836
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 20:31:41 2010 +0100
s4:partition DSDB module - Cosmetic fixups
commit 461987bc26c89253f5ee71e3c374d4b0db79c84b
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 16 19:48:46 2010 +0100
s4:password_hash - Fix up request message pointers
For add requests we need the add request messages, for modify requests we need
the modify request messages.
commit eca8697d6181f1b7c1261393de72411227680065
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Feb 17 18:24:03 2010 +0100
s4:dsdb/util.c - Use LDB result constants in some more helper functions
Always better to rely on the standards rather than on custom results.
commit f2eac3b6ea6103823dfe034cb30a610599df44ce
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 21 21:30:42 2010 +0100
s4:provision.py - try to use other addresses than "127.0.0.x" and "::1"
On production systems a user for sure strongly disagrees to use local IP
addresses (how should the server be accessible?). Therefore if the user didn't
specify an IP as provision option and in the "/etc/hosts" file we have at
least one not-local IP which resolves to our hostname use this or one of them.
Notice: if a host has more public IP addresses with the same name assigned the
behaviour is non-deterministic (well, okay - by the entries order it is). But
then the user is invited to specify the host IP manually.
This should address bug #5484.
commit 017e401dedcd22feeb28c49aee9592befdce1e69
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 11:17:23 2010 +0100
s4:AD content - Implement the new password settings container
commit 973ea198677c581064fad62cdac30baac7103ef8
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 11:16:58 2010 +0100
s4:AD content - adequate some revision levels to match Windows Server 2008
commit e592deeb1ae587f1fe18e1f12531dec1f39d3553
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 20 11:15:25 2010 +0100
s4:AD content - Add the DFSR objects which exist on Windows Server >= 2008
Those replace the FRS ones.
commit 65914ed8194b141a44516d626e71a1851bccff5f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 21 20:39:36 2010 +0100
s3: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send
I hate macros....
commit 0679c774697563bc0b1f57462018051b75d0e581
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 20 14:21:36 2010 -0500
cleanup
remove trailing spaces, tabs and blank lines
commit 15edc96f4914db7b478aa321d8a596993a591822
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 21 11:41:54 2010 +0100
s3: Use the status from cli_raw_ioctl in torture_ioctl_test
commit 77dd1b29bb34500c5643670dcca6094ab526ce44
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 21:32:07 2010 +0100
s3: Make string_to_sid survive the LOCAL-string_to_sid test
commit e38908ea65966387076b59352fd1ac6bccf13e33
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 21:31:16 2010 +0100
s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests
commit 1e8a84aac73f02ac6eec53b5a13ec31347070210
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 20 21:07:08 2010 +0100
s3: Add printf why LOCAL-dom_sid_parse failed
commit 2beaa190295bc6e4c9e7f8a3768c74ad0a4359fe
Author: Volker Lendecke <vl at samba.org>
Date: Thu Feb 18 22:52:41 2010 +0100
s3: Slightly simplify the logic of completion_remote_filter
commit 48d6ed7cac1e948b604ff44eee3528c396d5ecef
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 22:07:22 2010 +0100
s3: Fix some nonempty blank lines
commit 1f451d122e869ae7c880e6d347ff127aa9d87d72
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 23:53:18 2010 +0100
s3: Remove a "typedef struct"
commit f27857e655c410559b8717ce03049b7d7be3aa1f
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 23:52:51 2010 +0100
s3: Fix a typo
commit 8930a9c52008c7c9a755b213f857dfa2247f6823
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 14:07:17 2010 +0100
s3: Convert cli_qpathinfo_basic to use cli_trans()
commit b69a74eeca6acbfb1be0ef3eb8f84e2f4700f2a9
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 13:36:49 2010 +0100
s3: Convert cli_raw_ioctl to use cli_smb()
commit 89e6a5263e29759c4edd1a8e856443f59dff0c31
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 13:24:41 2010 +0100
s3: Add cli_smb()
This is a sync wrapper around cli_smb_send/cli_smb_recv. This is a hack to
speed up converting libsmb/ away from cli_send_smb/cli_receive_smb. Some
routines in libsmb/ are only called in one place in smbtorture for example,
where making it async right now is not worth it. With cli_smb_send/cli_smb_recv
in place, pushing the asynchronosity out one level is "just" boilerplate code
that is easy to do should it become necessary.
commit a7036a9e47382e738f6ebedf13719222950611d6
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Feb 20 11:51:47 2010 +1100
librpc/ndr Remove unused macros
Since the change to the way we pull these OIDs from the wire, these
macros are unused.
Andrew Bartlett
commit a9d9447d5a448e13d4373c3c4b48f0edd49dc38a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Sat Feb 20 11:44:41 2010 +1100
s4:credentials Add hooks to extract a named Kerberos credentials cache
This allows the integration of external tools that can't be linked
into C or python, but need to authenticate as the local machine
account.
The machineaccountccache script demonstrates this, and debugging has
been improved in cli_credentials_set_secrets() by passing back and
error string.
Andrew Bartlett
commit da1970c0ff4cd3556102e9357b2e0cf65728c8d6
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 18:09:48 2010 -0500
s4:lsa open trusted domain also with dns name
When searching for a trusted domain object to open, search also the DNS Name
attributes for a match. W2K8R2 uses the DNS domain if available.
commit c8a3c015850b91c991da10d388ec33ea02c5e155
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 17:46:42 2010 -0500
remove trailing tabs and spaces
commit 0055e33dbed0e81548464d01bcf864255bab3159
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 19 14:24:17 2010 -0800
Second part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.
If server returns zero on a NP read. Report pipe broken.
Prevents client from looping if it thinks there should be
more data.
Jeremy.
commit ad77ae1d5870e06f8587ecf634e0b6bdcbb950d7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 19 14:18:51 2010 -0800
First part of fix for bug #7159 - client rpc_transport doesn't cope with bad server data returns.
Ensure that subreq is *always* talloc_free'd in the _done
function, as it has an event timeout attached. If the
read requests look longer than the cli->timeout, then
the timeout fn is called with already freed data.
Jeremy.
commit fff7750618ca7e92b7eaea541cd917d778b51a35
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 19 16:56:45 2010 -0500
readability reformatting
stop this function from maiking my eyes bleed
commit f74ce57cb584d9e9d99b26e0467cc0c4b541f84d
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 18:02:46 2010 +1100
s4:rpc_server Add a 'if_version' parameter to the bind operation.
This allows the interface version to be forwarded to the remote server
in the RPC proxy, both in the endpoint lookup and the subsequent bind.
Andrew Bartlett
commit 9f222841fedd3796c238146081c20591ae72747b
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 16:33:45 2010 +1100
librpc When sending endpoint mapper requests, include the minor if_version
The minor version (in the upper 16 bits of syntax->if_version) needs
to be pushed as the right hand side of the endpoint mapper floor (the
same floor as the interface UUID and major if_version).
Andrew Bartlett
commit ec0aa8a5c92c634ca3264b65c987b2072875df5c
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 15:25:42 2010 +0100
s4-smbtorture: more work on devicemode tests.
Guenther
commit 0e95a6a09cda6579be7d01c9e4c78f9f7f7cc54e
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 14:27:31 2010 +0100
s4-smbtorture: explain failure conditions in printer device mode tests a little more.
Guenther
commit f2ecec3dcdafd63cd72d13019a998bf99539a9ba
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 14:25:19 2010 +0100
s4-smbtorture: add --option=torture:spoolss_check_size=yes.
This disables the size calculation comparison by default.
Guenther
commit 299e5bc2ba767a4f23553c247a32d17395c53786
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 14:14:18 2010 +0100
s4-smbtorture: print more comments while running SD and DM tests in RPC-SPOOLSS-PRINTER.
Guenther
commit e40310a64bb8fccefeca720948130b9d23490ec6
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 19 10:11:19 2010 +0100
testprogs: ignore GetJob level 3 and 4 against samba for now.
Guenther
commit 76aa37f653fec2d511921768381db7da661750cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 19 08:11:24 2010 +0100
librpc/ndr: don't overwrite the content in ndr_push_relative_ptr2_end()
metze
commit 809dd8c4137e8dcb52613067fea49357b71355fa
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:57:59 2010 +1100
s4:selftest Add test for the RPC proxy
commit a8b2088a0eb6cd5b8f9a7fba276ca31418a7989a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:56:30 2010 +1100
s4:selftest Add infrastructure for testing against an RPC proxy
This also changes the 'testenv' code to use a new environment 'all'
(we may wish to make other complex tests depend on this in future),
and exports more names in more namespaces.
Andrew Bartlett
commit e4523e3c8f68752da65bedd3c1559c78b3be67a2
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:55:28 2010 +1100
misc.idl: Add reference to the slightly odd representation of if_version
I found this confusing, so explian for the next poor programmer who
has to get up to speed with this quickly.
Andrew Bartlett
commit 10fed057cde7649b8fc8ee6611ea588a471c2483
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 15:53:31 2010 +1100
s4:rpc_server Record the remote connections association group ID
By recording the association group the remote server assigned to our
proxied RPC connection, we can ensure we use the same value when the
client wishes to use it.
This isn't stored in a private pointer, as mapiproxy will want to use
this feature too.
Andrew Bartlett
commit af4a7c0f4be4bb94d6299e93f22d26e2f8340e69
Author: Andrew Bartlett <abartlet at samba.org>
Date: Fri Feb 19 11:14:15 2010 +1100
s4:winbind Make the 'no SID found' message even more detailed
Now we give the user a clue as to what may be wrong, and the file path
that we could not find the domain SID in.
Andrew Bartlett
commit 91a4db635802a391a560b739c996b5599a3df1a4
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 16:12:04 2010 -0800
More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.
Alignment space calculations are tricky :-).
Jeremy.
commit 13533e12fd33df5ac75839cf4cb145b247941205
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 21:54:45 2010 +0100
s3-spoolss: add support for _spoolss_SetPrinter level 8.
Guenther
commit 1a42b020fd8fdd96fa7433f3bb7589167040719a
Author: Michael Adam <obnox at samba.org>
Date: Fri Feb 19 00:33:45 2010 +0100
nss_wrapper: fix segfault in print_group() in the testsuite
Running
'TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test'
from s3 made smbtorture4 crash on my box.
Michael
commit 11a87cd31eedaf4e43864bf51ac1f53bca53e327
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 15:03:30 2010 -0800
More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.
Ensure we calculate the space correctly (including the ss_padding_len)
when constructing reply packets.
Jeremy.
commit 2eb83f29648c7647cff4ac6eb38830ae35fcbcb5
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 23:23:28 2010 +0100
s4-smbtorture: add LOCAL-NSS-WRAPPER-DUPLICATES test.
Guenther
commit 9b9c9fd1759eb1f76cb54d0b6aec600c3c3a8f8f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 23:22:52 2010 +0100
s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.
Guenther
commit c0ebca237c6748365b2400529e02b5c8342e6ecc
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 18 10:01:26 2010 +0100
s3: optimize strict allocate for XFS on IRIX
commit 77164a8a5de22c67cf8d86bda92408aef2ea146b
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 16:40:20 2010 +0100
testprogs: add tests for GetJob() to spoolss test.
Guenther
commit a4e8210ba7d6d471cb9f17754244393b9c1e5930
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 12:21:10 2010 -0800
Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised value(s) error when "mangling method = hash"
The charset array allocated in init_chartest() is allocated
by MALLOC, but only some elements of it being set after allocation. Fix is to
memset to zero after allocation.
Jeremy.
commit df13b1303a751962d8f7d5298b39e4a7500fef15
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 18 11:22:44 2010 -0800
Fix bug #7154 - mangling method = hash can crash storing a name not containing a '.'
Fix use of uninitialized variable. This can lead to crashes if
mangling = hash processes names with no '.'.
Jeremy.
commit 0bf9c5ecf60d0264b4a7ba3070b3511adb7bd28c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 14:48:57 2010 +0100
testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error.
Guenther
commit 0a8011aa98ccaa81dc6ba2d30672ef4856fc31d8
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 13 03:45:25 2010 +0100
spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves devmode relative pointer down to sd).
Guenther
commit 28817424935e5b6eaf465fe993dedc2b0a0cf177
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 02:48:01 2010 +0100
spoolss: add spoolss_security_descriptor.
Guenther
commit 70f8b34f513ceeb736061d79e9d44dda39b51642
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 16:47:32 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit f10a2d773d141f67319e19b45c40101bb9cb6cf4
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 10:46:07 2010 +0100
security: make two bitmaps public.
Guenther
commit 8c4ff98ea11ff06e20bea73596e9643d8194a890
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 13 04:27:05 2010 +0100
spoolss: make two bitmaps public.
Guenther
commit 8f52957369bf8ce7591d5d9a1436ccb7e384c612
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 15:36:08 2010 +0100
spoolss: make all security descriptors and devicemodes 4 byte aligned and add missing subcontexts.
Guenther
commit 6d0a39741dacd81e33b25a91fa28cdf983d10d84
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 17:22:39 2009 +0100
spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative pointers.
Guenther
commit 2059a165ee6f4d231aa4075d8ddea70b8df8944f
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 15:17:42 2010 +0100
ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*
metze
commit a4c3aeb79306190b09e284a6a28e3b40fbc5823b
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Dec 23 15:52:39 2009 +0100
spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.
metze
commit 8310f02414efd3b792857ed20c636c4c114e1ba2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 15:13:20 2010 +0100
libndr: fix ndr_size_* calculation with relative reverse buffers
metze
commit 4a76d29374769ba4c075b8d5767498848d2e17d6
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 18 13:40:44 2010 +0100
libndr: for now align reverse relative pointers to 2 bytes by default.
This is just a hack and we should let the callers use FLAG_ALIGN2
explicit in future.
metze
commit 31c7780c16651b284009874cf3da04587dc36d19
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 21:24:40 2010 +0100
libndr: implement LIBNDR_RELATIVE_REVERSE handling
This is based on Guenther's initial code.
metze
commit 05347754ee61f06466d6d9b7f390001992f793ce
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 15:33:32 2009 +0100
libndr: store a subcontext buffer size in ndr_push_subcontext_start.
Guenther
commit b5f9c44da55abb28222441a7e064a2a25891981f
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 20:27:08 2010 +0100
libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used with the RELATIVE_REVERSE flag
metze
commit a2c34296fa6ca2ffb69cb69698a9b5f81803e8a8
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 18:27:37 2010 +0100
libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processing
can be disabled for single structure elements.
Guenther
commit ee13a51b0514ec3ac4ca9c532c2b101a08ec9784
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 15:09:00 2009 +0100
libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.
Guenther
commit c9fa97b01774d767acfabaf1eec7a6aad1510440
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 16 22:54:02 2009 +0100
libndr: change subcontext buffer allocation to allocate on subcontext_start.
Guenther
commit 98e143cd31fe10a039a4110f4d3755dee62ee826
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 20:00:36 2010 +0100
librpc/ndr: make ndr_push_relative_ptr2() static
metze
commit e03591111a1b9c2f05c29a7afac4641f23f455f4
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 20:00:04 2010 +0100
librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end()
metze
commit b423bd2115e006f9af5d40cf5b651e03739d53a0
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 19:59:19 2010 +0100
librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()
metze
commit bfd6edb3e9339d602eb6514ff50c3bb6c671174e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 18:54:31 2010 +0100
spoolss: fix relative pointers in ndr_push_spoolss_DriverInfo101.
Guenther
commit c869328b1642043480f9600c88bcce9da37959b1
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 14:17:05 2009 +0100
s3: re-run make full_idl.
Guenther
commit a049d75193b284fe9efb28d303ea46ba407e5a7a
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 14:09:22 2009 +0100
pidl: use ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.
Guenther
commit bc20d3446aa6de9f1d21d167c384e9eb4edd55eb
Author: Günther Deschner <gd at samba.org>
Date: Mon Dec 14 14:08:34 2009 +0100
libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.
Guenther
commit 494819773d61daa32d4ee2a0a15088f3b4abe6e2
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Feb 18 13:10:21 2010 +0100
s3-docs: Remove trailing whitespaces and fix a typo.
Karolin
commit 37115f91aebec9c846e54790c6bcf433ae35888a
Author: Björn Jacke <bj at sernet.de>
Date: Wed Feb 17 23:03:32 2010 +0100
s3:docs: add some advice for usage of strict allocate
commit b3c2b2260a503079b9abf22f6b35b56c61c2b372
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 12:40:00 2010 +0100
s3-spoolss: Fix _spoolss_EnumPrinters servername handling.
Guenther
commit b6f58e25b5bbce25d4e8825e680afe3986f10e8c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 11:20:49 2010 +0100
s3-selftest: fix return code for modprinter.pl -a.
Background is: the SetPrinter level 2 calls "addprinter command" an fails if a
share already existed (and the addprinter command returned a non-0 return code).
Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to
see if a share already exists before calling out the addprinter command.
Maybe one day, we need to have a "changeprinter command"...
Guenther
commit c42d9c4ec410e205091784cd97cbceb5572609d8
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 19:11:11 2010 +0100
tsocket/bsd: fix comment in tdgram_bsd_recvfrom_handler()
metze
commit 9abce9f7c95e5b98acff990ff0f7d4adec31282f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 19:42:49 2010 -0800
Revert "Got back to 16-byte padding on auth RPC. S3 clients and servers now cope with this. Jeremy"
This reverts commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f.
As tridge requested, we need this to work with older S3
servers, not just for smbtorture4.
Jeremy.
commit 867daf6e0a48b26286efdbc220a5572d6e0c92e2
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:17:01 2010 +0100
s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.
Guenther
commit 34ad5da5cd5b891c2aa18d06cbb1023e8b5c5ddc
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 00:48:58 2010 +0100
s3-selftest: include addprinter/deleteprinter command.
Guenther
commit 43e3d8f51da4bbdb3108af45e2fddab7e2e91f04
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:14:26 2010 +0100
s3-spoolss: fix return code of spoolss_DeletePrinter.
When the printer has been removed by the "deleteprinter command", we need to
check if it is still there and then fail, not fail if we successfully removed
it (found by RPC-SPOOLSS-PRINTER).
Guenther
commit 8ce66fba03f782c0b9948a9835bb488cfa74acf9
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:03:53 2010 +0100
s3-spoolss: in spoolss_EnumPrinters r->in.server is a *unique* pointer!
Guenther
commit 2d2db2a8226f6a3a8e114abc9a37aea66dba912e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:58:56 2010 +0100
s3-spoolss: more AddPrinter{Ex} checks.
Windows will allow to add a non-shared printer that is returned by EnumPrinters.
Samba has no notion of non-shared local printers yet, so just make sure to
behave like we do elsewhere: a printer autoloaded by samba or added to samba is
shared.
Guenther
commit 5cff7e1692e4caa308271581f3df3f72c4f31261
Author: Günther Deschner <gd at samba.org>
Date: Tue Jul 14 14:34:30 2009 +0200
s3-spoolss: add some printer info validation for AddPrinter calls.
Guenther
commit 9ff2c1ea64a267bb459eaba4a273c8300bb82c5a
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 16:21:02 2010 +0100
testprogs: print SDDL string of printer security descriptors
commit 6cf10cc1020dd7ef483887caebcbd76d28572432
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 02:13:07 2010 +0100
s3-modules: fix get_acl_blob in the acl_tdb VFS module.
Shuttle-reviewed by jra :)
Guenther
commit 998a7b4e3f50c49df3ad391a21c14e3df5e377eb
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:45:06 2010 +0100
s4-smbtorture: skip printer info cross tests against samba 3 for now.
Not even w2k8r2 passes them atm.
Guenther
commit 97d36377d3521c762c20c9a81482741d0f325964
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:43:08 2010 +0100
s4-smbtorture: try more combinations to find printers in test_EnumPrinters_findname().
Also take a note of servers returning full UNC printer paths although we did not
set the servername.
Guenther
commit a1ba72f84c6256e2b6cacfe4d6016ba2c1b832d1
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 18 01:41:46 2010 +0100
s4-smbtorture: simplify test_PrinterInfo_DevMode a bit.
Guenther
commit 57847c2fee1a19c388ab84f5c629212f70cde62d
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 17 20:45:26 2010 +0100
s4-smbtorture: avoid potential loop while adding a new printer in RPC-SPOOLSS-PRINTER.
Guenther
commit d5e30dec8bbc695d640df335a83554f1666907b5
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 17 15:15:47 2010 +0100
s3-rpcclient: fix uninitialized variable in wkssvc_enumerateusers.
Guenther
commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 16:40:28 2010 -0800
Got back to 16-byte padding on auth RPC. S3 clients and servers now cope with this. Jeremy
commit 7202dcdcc06080f0227b82993b446bda4c0782df
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 18 10:54:53 2010 +1100
s4:param Modify secrets_get_domain_sid to give more useful errors
This also moves the calls to secrets_get_domain_sid back into
winbind_task_init(), so that we can terminate with a much more
detailed error message. (The previous message was simply
NT_STATUS_CANT_ACCESS_DOMAIN_INFO).
Andrew Bartlett
commit 7b4387f765e34177000c8218f51e2c1d227504e6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 15:27:59 2010 -0800
Fix bug #7146 - Samba miss-parses authenticated RPC packets.
Parts of the Samba RPC client and server code misinterpret authenticated
packets.
DCE authenticated packets actually look like this :
+--------------------------+
|header |
| ... frag_len (packet len)|
| ... auth_len |
+--------------------------+
| |
| Data payload |
... ....
| |
+--------------------------+
| |
| auth_pad_len bytes |
+--------------------------+
| |
| Auth footer |
| auth_pad_len value |
+--------------------------+
| |
| Auth payload |
| (auth_len bytes long) |
+--------------------------+
That's right. The pad bytes come *before* the footer specifying how many pad
bytes there are. In order to read this you must seek to the end of the packet
and subtract the auth_len (in the packet header) and the auth footer length (a
known value).
The client and server code gets this right (mostly) in 3.0.x -> 3.4.x so long
as the pad alignment is on an 8 byte boundary (there are some special cases in
the code for this).
Tridge discovered there are some (DRS replication) cases where on 64-bit
machines where the pad alignment is on a 16-byte boundary. This breaks the
existing S3 hand-optimized rpc code.
This patch removes all the special cases in client and server code, and allows
the pad alignment for generated packets to be specified by changing a constant
in include/local.h (this doesn't affect received packets, the new code always
handles them correctly whatever pad alignment is used).
This patch also works correctly with rpcclient using sign+seal from
the 3.4.x and 3.3.x builds (testing with 3.0.x and 3.2.x to follow)
so even as a server it should still work with older libsmbclient and
winbindd code.
Jeremy
commit 5564e7147fdbb136775b990d9a5d37d4d232d936
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 11:13:35 2010 -0800
Fix bug #6557 - Do not work VFS full_audit
Re-arrange the operations order so SMB_VFS_CONNECT is done
first as root (to allow modules to correctly initialize themselves).
Reviewed modules to check if they needed CONNECT invoked as
a user (which we previously did) and it turns out any of them
that cared needed root permissions anyway.
Jeremy.
commit 94074eb2e6d260e467ad3b6d354beeb282fe1ada
Author: Lars Müller <lars at samba.org>
Date: Wed Feb 17 19:00:01 2010 +0100
s3: go straight to winbindd_dual_pam_auth() in case of !NT_STATUS_OK
At the formerly used process_result statement we have alone one
NT_STATUS_IS_OK() which never could be hit in our case as we only go here
if NT_STATUS_EQUAL is not ok.
commit bc0b1528896feb42765a46c5d235c766677e9c5f
Author: Lars Müller <lars at samba.org>
Date: Fri Feb 5 22:47:39 2010 +0100
s3: let the pam_winbind po files reference the correct location
commit 936828de71023d90aaec6c1dba84052246bbad11
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 17 09:24:34 2010 -0800
Fix commit d07cd37b993d3c9beded20323174633b806196b5
Which was:
tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD
Metze, this has to have been wrong - you are throwing away the talloc_realloc
pointer returned. Also no error checking. Please review.
Thank goodness for gcc warnings :-).
Jeremy.
commit 968bd16b4908611c6f745154124588b92e3c0062
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Feb 17 18:01:31 2010 +0200
s4/rodc: change the libnet_become_dc code to do RODC join
commit 55f7c74cea12e14b4d4160889a45fdbc1c2a24e6
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Feb 17 18:00:41 2010 +0200
s4/drs: add DRSUAPI_ATTRIBUTE_options attribute
commit 0e8fe821c9408a7ef6dd81cf760cf62b58b77572
Author: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
Date: Wed Feb 17 01:21:28 2010 +0200
s4/drs:kccdrs_replica_get_info_obj_metadata implementation
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
commit 80786148145e128c961a6f80a05585a17dfca63b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Jan 29 19:05:51 2010 +0200
s4/ldap: Refactor the fix for ldap nested searches
Current implementation synchronizes processing for
all types of LDAP request, not only LDAP_Search ones.
Synchronization for ldap replies processing is done
locally in ldb_ildap module as this concerns only
ildb_callback() function.
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov at postpath.com>
commit d07cd37b993d3c9beded20323174633b806196b5
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 13:53:02 2010 +0100
tsocket/bsd: fix bug #7115 FreeBSD includes the UDP header in FIONREAD
metze
commit 1ffcb991a900b78c9175f6b093839fe96b1bd7d9
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 09:33:18 2010 +0100
tsocket/bsd: set IPV6_V6ONLY on AF_INET6 sockets
Some system already have this as default. It's easier
to behave the same way on all systems and handle ipv6
and ipv4 sockets separate.
metze
commit 8a0949dfc8d2ecf577dfc5ef38496421101b734e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 08:49:28 2010 +0100
tsocket/bsd: fix bug #7140 autodetect ipv4 and ipv6 based on the remote address if the local address is any
metze
commit 6637b2f4b06fcee1e8e1b1782dd96e3273f8caac
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 08:45:58 2010 +0100
tsocket/bsd: fix bug #7140 use calculated sa_socklen for bind() in tstream_bsd_connect_send()
This is needed because, we can't use sizeof(sockaddr_storage) for AF_UNIX
sockets. Also some platforms require exact values for AF_INET and AF_INET6.
metze
commit 135543b4c300e2fc31ee4165ce630644e1aef455
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 08:42:22 2010 +0100
tsocket/bsd: fix do_bind logic for AF_INET
We want the explicit bind() when we don't use the any address.
metze
commit 0b3e950731fe72a258a631e39ca1304d54663536
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 17 09:43:00 2010 +0100
socket_wrapper: also ignore AF_INET6 in swrap_setsockopt()
metze
commit a8cc2fa09ed43a167f62711bef363a5ac335dc78
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Feb 16 09:16:42 2010 -0500
cifs.upcall: allocate a talloc context for smb_krb5_unparse_name
cifs.upcall calls smb_krb5_unparse_name with a NULL talloc context.
Older versions of this function though will conditionally use
SMB_REALLOC instead of TALLOC_REALLOC when a NULL context is passed
in. To make it more consistent, just spawn a talloc context that
we can pass into this function.
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=565446
https://bugzilla.samba.org/show_bug.cgi?id=6868
Reported-by: Ludek Finstrle <luf at seznam.cz>
Signed-off-by: Jeff Layton <jlayton at redhat.com>
Signed-off-by: Günther Deschner <gd at samba.org>
commit 8aef63d2430a3e96b1dbf3f6595bdf78f703c778
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 23:29:48 2010 +0100
s3: Fix bug 7139
To provide the user with the same SID when doing Kerberos logins, attempt to do
a make_server_info_sam instead of a make_server_info_pw.
commit 3a9dc490b459514c2117572824dca3830c3a9951
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 17 11:21:56 2010 +0100
s4-smbtorture: unify test list to run against single created printers in RPC-SPOOLSS-PRINTER.
This is to make sure we run the same tests for printers created via AddPrinter
and via AddPrinterEx.
Guenther
commit b32c1e2975bc00ce94e8d02460d98ca3277cf5b6
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 17:42:58 2010 +0100
s4-smbtorture: also test level 2 sets for devicemodes and see if they persist.
Guenther
commit ff5bfb9708962e2d30d3edc2c8a186ccd5dfddd1
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 17:42:19 2010 +0100
s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER.
Guenther
commit 986627cd67f4ff48152fa5147977813e2b190a93
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 19:43:26 2010 +1100
s4-provision: freeze the DNS zone before creating the zone file
This prevents bind from getting confused if it has a journal for the
zone.
commit fd2556317f22ee02b341ca7ebbd02d7197fb1e4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 19:29:37 2010 +1100
s4-dnsupdate: use samba_runcmd() in the dns update task
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8633d8126bdf5c31c079d64428492bf1ab2d4cb2
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 18:18:28 2010 +1100
s4-param: added "rndc command" smb.conf option
commit 8756e130098254564ebbfb878efdc9f2a24a0696
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 18:18:05 2010 +1100
util: added samba_runcmd()
This allows us to run a child command in an async fashion, with
control over logging of stdout and stderr (which appears in the Samba
log file). This is useful for ensuring we don't miss important
messages from rndc commands (for example).
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5c716146e8aee16b46a2144c199b922c13fd00ba
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 16:34:33 2010 +1100
examples: add bind9 patches for TSIG-GSS support
We will point at these from the Samba4 HOWTO
commit 72c0cd75e4b0aa5e59af6f54800f7a63d95da790
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 16:29:17 2010 +1100
s4-provision: fix permissions on generated DNS zone file
The zone file needs to be writeable by bind to allow for it to flush
its journal on dynamic updates
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d14c3756e82412da93fc19f75167be9f2b46bf33
Author: Simo Sorce <idra at samba.org>
Date: Sun Feb 14 03:33:15 2010 -0500
s3:rpc streamline memory handling
commit eb8800e6118c2f77cef5a27f1c1b6118dd52d4ca
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 17 10:23:14 2010 +1100
s4-rpc: paranoid check for auth_length
This is not strictly needed as the ndr_pull_advance() checks it a few
lines further down, but I want to save Jeremy getting more grey hairs :-)
commit 77fc30b4811d78f79b8af2fef70eba7b9fa03e79
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 16:12:52 2010 +0100
testprogs: add rather simple device mode tests to spoolss test.
Guenther
commit f8b246e44c819b909b23b4b98ef0999c84d2f4ff
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 15:21:25 2010 +0100
s3: Fix timeout calculation if g_lock_lock is given a timeout < 60s
Detected while showing this code to obnox :-)
commit 83542d973ca771353109c7da4b0391d6ba910f53
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 12:31:58 2010 +0100
s3: Slightly increase parallelism in g_lock
There's no need to still hold the g_lock tdb-level lock while telling the
waiters to retry
commit be919d6faed198cdc29322a4d9491946c0b044b3
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 12:28:53 2010 +0100
s3: Avoid starving locks when many processes die at the same time
In g_lock_unlock we have a little race between the process_exists and
messaging_send call: We only send to 5 waiters now, they all might have died
between us checking their existence and sending the message. This change makes
g_lock_lock retry at least once every minute.
commit 725b3654f831fbe0388cc09f46269903c9eef1d7
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 12:22:08 2010 +0100
s3: Avoid a thundering herd in g_lock_unlock
Only notify the first 5 pending lock waiters. This avoids a thundering herd
problem that is really nasty in a cluster. It also makes acquiring a lock a bit
more FIFO, lock waiters are added to the end of the array.
commit 07978bd175395e0dc770f68fff5b8bd8b0fdeb51
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 16:57:16 2010 +0100
s3: Optimize g_lock_lock for a heavily contended case
Only check the existence of the lock owner in g_lock_parse, check the rest of
the records only when we got the lock successfully. This reduces the load on
process_exists which can involve a network roundtrip in the clustered case.
commit f3bdb163f461175c50b4930fa3464beaee30f4a8
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 16:49:46 2010 +0100
s3: Fix handling of processes that died in g_lock
g_lock_parse might have thrown away entries from the locks array because the
processes were not around anymore. Don't store the orphaned entries.
commit eda16f2410d7a6d79505b102aca8f111de4871d9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 22:41:45 2010 +1100
s4-kcc: remove a qsort() that snuck into the new topology code
commit e3a272c3f23139e69c4e671e6b7b756d727c4e61
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 22:18:16 2010 +1100
s4-rpc: don't use auth padding in rpc bind requests as it breaks s3
The s3 RPC server returns a bind_nak if it gets a rpc bind with auth
padding. This change forces a padding length of zero to maximimise
compatibility with s3 servers.
I've left the padding code in as a #if 0 to make it easier for us to
test/fix the s3 server code, which should be changed to correctly
handle arbitrary auth padding in all rpc requests with auth trailers.
commit 1e13d3fb076fca596f8c480134c6b6f877824360
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 20:21:29 2010 +1100
s4-dcerpc: fixed auth padding to be relative to the stub, not packet
The recent dcerpc padding changes made our padding relative to the
packet header, instead of the start of the stub. Surprisingly, this
broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2
is very fussy about the padding it gets in some circumstances.
commit 018fb2d1ae4f1fa2b85afdc8c90dd7ebb8c3fa47
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 16:39:49 2010 +1100
s4-dsdb: return LDB_ERR_CONSTRAINT_VIOLATION on num_recs != 1
In a single record search, LDB_ERR_CONSTRAINT_VIOLATION is more useful
than the generic LDB_ERR_OPERATIONS_ERROR
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 86f8ddf75458582195954cd0b3ad3dcea28c9d0f
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 16:09:07 2010 +1100
s4-samdb: use dsdb_search() in cracknames
greatly simplifies some of the cracknames code
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6d65f4c64739094f3657fbf5c081477d04b3cfe3
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:54:01 2010 +1100
s4-kcc: remove search_onelevel_with_deleted() in kcc
Use dsdb_search() instead
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 0bedb9cf5ec592dfdf84994a9ace64a2c5d1e987
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:49:29 2010 +1100
s4-dsdb: removed gendb_search_single_extended_dn()
Use dsdb_search_one() instead, which allows for arbitrary controls
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit b630530730a710b7e850be2f848b1b85dbc25b4d
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:40:44 2010 +1100
s4-dsdb: added dsdb_search_one() and cleanup dsdb_find_dn_by_guid()
dsdb_find_dn_by_guid() now takes a struct GUID instead of a
guid_string. All the callers in fact wanted a struct GUID, so we now
avoid the extra conversion.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 8f4a34272eb26e7c86ce8c0e158b5f6eabd10234
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 15:15:35 2010 +1100
s4-dsdb: replace dsdb_find_dn_by_guid() with a dsdb_search() call
much simpler code by using dsdb_flags
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit e9be1fc41d8f541efb447e373ae089cab3b19586
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:55:19 2010 +1100
s4-dsdb: change dsdb_search_dn_with_deleted() to dsdb_search_dn() with dsdb_flags
Allows for arbitrary controls
commit 90203f87e7da3346ae9236e4d30c93b95a2ddad9
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:45:16 2010 +1100
s4-dsdb: change samdb_replace() to dsdb_replace() and allow for dsdb_flags
This allows for controls to be added easily where they are needed.
commit c6d85d67f9b52e4071c84749a1f55de646a5451c
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:29:07 2010 +1100
s4-dsdb: replace dsdb_modify_permissive() with dsdb_modify() and dsdb_flags
commit 67950c27e473ebf8f7f81ef0ef92d2bd7931622a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 16 14:23:21 2010 +1100
s4-dsdb: move dsdb_request_add_controls() into dsdb/common/util.c
This will be used to allow the flag based ldb functions to work on
both a ldb or a module, thus saving a lot of specialist functions.
commit f6c39cec27eea2522c62e6f1ff85efdafde351ac
Author: Volker Lendecke <vl at samba.org>
Date: Tue Feb 16 11:00:08 2010 +0100
s3-docs: Document 'smbclient -C'.
commit 020c8df2815b5ccf9d63ec690f329ea83d5c900f
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 10:45:29 2010 +0100
s4-smbtorture: fix spoolss SD test against w2k8r2.
Guenther
commit 41bb8767a2440d3c6db76c1547c988f4adabe5b9
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 03:28:43 2010 +0100
s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.
Guenther
commit 1e59e5d8c91ed4daedac7ea80fd0daa9d946b5e4
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 16 03:26:10 2010 +0100
s4-smbtorture: allow to call OpenPrinterEx with devicemode.
Guenther
commit 351f694d6102611fc65a0f02dc1c580bcab2e9d6
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 23:03:48 2010 +0100
testprogs: add "samba3" and "architecture=" options to spoolss tester.
Guenther
commit 23d1dd5189e0662efb532c31b26c71434a00cff4
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Thu Feb 11 19:04:00 2010 -0200
s4-drs: DsGetReplInfo() refactoring
commit 3e2a8676c3beff03c9eb3507b0d3bacbd97c147e
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Fri Jan 29 20:07:47 2010 -0200
s4-drs: DsReplGetInfo() for DS_REPL_INFO_REPSTO infoType
Implements the DS_REPL_INFO_REPSTO infoType of DsReplGetInfo().
commit bb05595b0af6939ddcad138e006b9c463cf33992
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 22:06:42 2010 +0100
s4-smbtorture: more work on SD tests for RPC-SPOOLSS.
Guenther
commit 71cfcee6ba1d0d96def2b44cbac0757d6fe98995
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 22:16:25 2010 +0100
s4-smbtorture: add rather simple spoolss device mode test.
Guenther
commit a6192d766fad88cf1425d77c303d977e08fba208
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 21:55:06 2010 +0100
s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests.
Guenther
commit cdf2f6b672a17c34e7c16cc22c179e01d8281bcf
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 19:23:35 2010 +0100
s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.
Guenther
commit 1988f4274c3de5e4d1b807c83d27cd97cfc5bc0d
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 15 21:45:59 2010 +0100
testprogs: fix EnumJobs debug output in spoolss test.
Found by Kai, thanks!
Guenther
commit bac235dd302570850bb25194ff4bd39b6d653f0d
Author: Volker Lendecke <vl at samba.org>
Date: Mon Feb 15 16:35:06 2010 +0100
s3: Fix a typo
commit 595982a47517bcae156820b34e7f21e56d2c25e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 23:49:26 2010 +1100
s4-rootdse: we don't need DSDB_FLAG_OWN_MODULE here
commit 9c46f425a231543c20ce9953621e1f077bb7bdec
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Fri Feb 12 14:18:27 2010 -0200
s4-drs: enable the recyclebin optional feature
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit aba73767c05c16121ffc5cb3c9a997457222ece4
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 23:05:33 2010 +1100
s4-kcc: remove C++ comment
commit 0cf4e8aae6a2d4155c067137e5e4a391031df930
Author: CrÃstian Deives <cristiandeives at gmail.com>
Date: Wed Feb 10 03:42:28 2010 -0200
s4-kcc: initial code for the topology algorithm
this patch contains the data structures declarations and the functions to
setup the graph.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 4edbb255998269f848636669c6d358f194c5eedd
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 22:49:35 2010 +1100
s4-dsdb: don't change replPropertyMetaData if the value hasn't changed
When updating replPropertyMetaData, check if the value being stored is
the same as the current value, and skip the update if it is.
This is based on a patch by Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
commit 694ab7c5fffa6a4599ee1d80717f11b8ae7983a1
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Feb 15 12:23:11 2010 +0100
s4-heimdal: Fix typos in comment.
Karolin
commit 2dff1f45f72f77dd94fcab6552e2c957df9aac5f
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 21:21:55 2010 +1100
s4-test: use local ldb for urgent_replication test
This test only currently works on a local ldb, as it needs system
access.
commit 3035c7c2ad2cb41ca01405ea7b2566fcc058fbe7
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 21:18:13 2010 +1100
s4-ldb: fixed permissions on urgent_replication.py
commit 1ca2bd78b95ad5a0852620ba56481f19a9d3a084
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 21:14:42 2010 +1100
s4-test: minor fixes to urgent_replication.py
- fix usage name
- remove unnecessary python functions
- remote unused gc ldb
commit f5de126b858cdfed5c763662dce270a7c4e42e57
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Feb 4 17:03:41 2010 -0200
s4-drs: Test situations for Urgent Replication
Checks if the partition's uSNUrgent is updated or not, depending
on the class of the object which is created, modified or deleted.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit cf1ed0678acaf1a802d4b90c464edb638ab1364f
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Feb 4 16:58:31 2010 -0200
s4-drs: Function for accessing dsdb_load_partition_usn from Python
Returns both uSNHighest and uSNUrgent as a dict object in Python
from a given partition dn.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 5aa42f8010d0895b5bc5018567c431f79c40f8f6
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Feb 4 16:46:52 2010 -0200
s4-drs: Fixes bugs regarding Urgent Replication on wrong situations
It fixes the bug which causes an urgent replication to be enabled
incorrectly when an object is modified, but it should happen only
when it was created. This patch also fixes the bug that enable an
urgent replication when an object is deleted, but it should happen
only when it was modified and fixes the bug that does not enable
an urgent replication when an object is deleted and it should happen
only when it is deleted (not when it is modified).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ddbda92f87aeedb1a1a976a43a1e5ada3897646e
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 12:54:57 2010 +0100
spoolss: disable GetPrinterDriver level 101 (as called by XP).
We still dont get the marshalling right, disable and XP will just fall back to
level 6.
Guenther
commit 72f250ac16df43ae8d5a7bd294fc82c477f3e2da
Author: Günther Deschner <gd at samba.org>
Date: Sat Feb 13 02:11:31 2010 +0100
s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and RPC-SPOOLSS-PRINTER.
Guenther
commit 28bd9719e527d4c127df51567636dc71160b4f59
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 15 10:29:47 2010 +0100
s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULL
The realm can be NULL when this function is called by "libnet_Join_primary_domain".
This seems to be a valid value since "libnet_JoinDomain" is allowed to return an
empty realm if we are not in a ADS domain.
commit 05425fcf14f0695e5e230a698885203cc7c7ab2b
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 17:39:20 2010 +1100
s4-drs: replace manual checks with dsdb_modify_permissive()
Much simpler to use the permissive control instead of manually munging
the SPN list.
commit 2908f21c65ad8385f645cd841a25fe0f8f45feb0
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 17:38:47 2010 +1100
s4-drs: use a permissive modify in addentry
It is not an error if entries already exist.
commit 4694b4677ac58cd99d005d33aaf8c1b154e63b29
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 15 17:38:16 2010 +1100
s4-dsdb: added dsdb_modify_permissive()
This will be used in the drsuapi server
commit 6ec6fa0ac4e71f9b14a3cbfef328d50e321b0544
Author: Holger Hetterich <hhetter at novell.com>
Date: Sun Feb 14 19:05:00 2010 +0100
s3: eventlogadm.c: add -s option to use alternative config file.
Update the manpage accordingly.
commit d3a42946cc7d98070e90122341d234119ed94089
Author: Peter Watkins <treestem at gmail.com>
Date: Sun Feb 14 12:43:13 2010 +0100
s3: Fix initgroups return check
A return code of 1 from initgroups() is OK since apparently it means
the gid has already been set. The man page doesn't mention this.
commit 05b6e3f4f43ef5dacbc69b59c6373c536ae2a1c6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Feb 14 10:48:13 2010 +0100
s4:dcesrv_lsa.c - remove a superfluous empty line
One empty line is enough for code part divisions.
commit eb5fc899b0a17d86eef4f40d71b023d8db1708b4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 17:09:55 2010 +1100
s4-rpcserver: teach the rpc server to cope with bad sig_size estimates
commit 259129e8f4bc8cacd1850eba3f6551134835d079
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 11:56:28 2010 +1100
a4-dcerpc: another attempt at dcerpc auth padding
The last change broke net vampire against w2k8r2
commit ccfa40fdc3eb785b71a4d2d59933a2fdc352fb24
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:25:06 2010 +1100
util: update three other copies of our dlinklist.h macros
ldb and tevent have their own copies of these macros. This brings them
in sync with the master copy of dlinklist.h
commit 862a17e9ba0aac382a4301d1d60c9d5ea4888959
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:03:55 2010 +1100
s3: last part of TYPESAFE_QSORT() conversion
convert smbcacls, sharesec and web/
commit 3f0898a9f50a35ae94fda9b89809edae0cd9bbb3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:03:12 2010 +1100
s3-smbd: convert lanman and notify code to TYPESAFE_QSORT()
commit bc5d203eeb49ad4c6ff85cff6b05577d81cf1816
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:02:54 2010 +1100
s3-rpc: convert wkssvc to use TYPESAFE_QSORT()
commit 93a33597292eee51b1f8714526cd145d4abe56c1
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:02:35 2010 +1100
s3-locking: convert brlock to TYPESAFE_QSORT()
commit 7cff685c7ecb7dbb126d3bd45217d13fa85ad751
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:02:19 2010 +1100
s3: convert registry and printing code to TYPESAFE_QSORT()
commit c804102d0ff71f5c5664953020e46304d78de4bc
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:01:49 2010 +1100
s3-nmbd: note TODO item for qsort
This uses another char* cast hack. Left alone for now.
commit 95e26884a85118713faea943115dd003d2442dd5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:01:17 2010 +1100
s3-vfs: use TYPESAFE_QSORT() in s3 VFS modules
commit 8120bc2ba957fa78e04f6f5fc257c91a7f735e82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:00:49 2010 +1100
s3-lib: use TYPESAFE_QSORT() in remaining s3 library code
the sort_query_replies() in nmblib.c is a TODO. It uses a hack that
treats a char* as a structure. I've left that one alone for now.
commit 7347ca359d6050575be70274a55b18628d0f3c5b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:59:26 2010 +1100
s3-libsmb: use TYPESAFE_QSORT() in namequery code
This one was a bit trickier. I'd appreciate it if someone else can
look over this.
commit 007f24f29dd61d4585933362529f13c005cf1ed2
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:58:33 2010 +1100
s3-lib: use TYPESAFE_QSORT() in s3 interfaces code
commit 76a7382346f0c9d945adf39da19d69616e2463b3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:58:13 2010 +1100
lib: use TYPESAFE_QSORT() in lib/ and libcli/
commit cebbc9a6f1a97aaee633b6eeb6d93faff6c0afb5
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 09:57:36 2010 +1100
s3-includes: enable TYPESAFE_QSORT() in s3
commit 282cc79454f7b708085a04d04e98d11ffec8b293
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 14 10:37:20 2010 +1100
s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code
commit 0c39fbc94ed6ad3aa18a6b3c15743707236f35c3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 20:05:22 2010 +0100
s4:loadparm.c - prevent memory leaks
If a "logfile" was already set, free the content up before setting a new
location. This can happen on a loadparm reload.
commit 195bda569e541a49ab3406deca8c8b864ec327d4
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 19:41:43 2010 +0100
s4:loadparm.c - the logfile parameter value needs to be duplicated
Otherwise the "logfile" pointer tracks all changes of "pszParmValue" which
content is only temporal. This was the cause of bug #6212.
commit 3598409951c223958765a52359423cd8237919b6
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 19:19:02 2010 +0100
s4:popt_common.c - fix intendation
commit 415c615dbf50e810e26d40169c78bbaf9de88e3e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 18:20:54 2010 +0100
s4:util.c - Corrected the location of the "Directory Service" object
I wonder why nobody noticed this since for sure this "tombstone" functionality
was broken till now.
commit eed65ed337ae89f864dd833cc39c2f75c5ac3e67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Feb 13 18:03:08 2010 +0100
s4:server.c - use always "return" instead of "exit" in the "binary_smbd_main" function
Just to be consistent - no functional change
commit 9848086aa82d97e7cff33135065df64a6799f0a7
Author: Kai Blin <kai at samba.org>
Date: Sat Feb 13 17:54:27 2010 +0100
libwbclient: Fix s4 build failure by fixing up includes.
Sorry about this, folks.
commit b00d223f87a35498e58ce87dafda7d01582a487f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 17:42:24 2010 +0100
s3: Fix Coverity ID 629: DEADCODE
We have already returned if (argc < 1) above
commit 2ea2d2a81e0666f478c5daf1469c8447a3096e8e
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 13:26:06 2010 +0100
s3: Fix bug 5198 -- parse chfn(1)-change gecos field
commit 271a4c60dbec0d001dc55df58de8e54274137853
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 16:38:25 2010 +0100
s3: Fix typo found by jhell <jhell at DataIX.net>
commit b99d9f86e42fd5ffe660166b34d097eff25f18f8
Author: Kai Blin <kai at samba.org>
Date: Sat Feb 13 13:42:56 2010 +0100
libwbclient: Separate out the async functions
commit 613777e6dce53fc3c8794ef6cf5d00688ee442e5
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:49:13 2010 +0100
s3: Remove unused comparison fn from "struct sorted_tree"
commit 3ab78e31f095639a77ea3c086e765d91424fa6fa
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:47:07 2010 +0100
s3: Make adt_tree data definitions private to adt_tree.c
commit 22607320841100148dbaed17983be7703d2172b1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:45:42 2010 +0100
s3: SORTED_TREE -> struct sorted_tree
commit ceebed6ce19a5821b01a30f6ebc47871b27b413a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:42:26 2010 +0100
s3: TREE_NODE -> struct tree_node
commit 65b26ba985c0882a3380f8fdde8405d98df6de55
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 15:01:57 2010 +0100
s3: Fix some nonempty blank lines
commit e3713176860dce07255c8ee773eaa4715323c9e7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 17:57:56 2010 +0100
use ZERO_STRUCT
commit 95ca53f3e05ac31b05df64412ed1644fa03f99cb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 17:59:51 2010 +0100
Use ZERO_STRUCTP
commit 1a995ab51e1ce236d713e20e264b8c65146b8ec4
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 17:53:29 2010 +0100
s3: Fix a typo
commit ece99c763acdc8a9b98ace4b8b08dfccbb1c9cb3
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 13:02:15 2010 +0100
s3: Fix a C++ warning
commit f69135e0e985200d62d4618b742bd642ecfdbf31
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 23:09:59 2010 +1100
s4-smbd: fix crash in notify code on client termination
We need to free the lp_ctx after we free the event context, otherwise
the teardown code in the notify backend dies when it tries to use the
iconv_convenience ptr
Fixes bug 7053
commit da86f08605f8ec9fa6d3e1c122ec47309deef994
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 15:32:23 2010 +1100
s4-rpc: be more careful about DCERPC auth padding
Cope with a wider range of auth padding in dcerpc bind_ack and
alter_context packets. We now use a helper function that calculates
the right auth padding.
commit 3ae75a424890fdeddd12535c9330186ec2fcd899
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:26:51 2010 +1100
s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort()
commit 46dfa9dfbdd7649cd8a71e9727aff830a58e4d55
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:26:16 2010 +1100
s4-ldb: added LDB_TYPESAFE_QSORT()
Like TYPESAFE_QSORT() but for the ldb_qsort() function
commit 1da87fc988d0660f9c868ec9350664a3f7f51942
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:01:22 2010 +1100
s4-wrepl: use TYPESAFE_QSORT() in wins repl code
commit 700f4649511dbef417e639509d2f3374b5c8c6f3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:01:08 2010 +1100
s4-torture: use TYPESAFE_QSORT() in smbtorture
commit f954f522a457a44e7b298e553907d59d670c9051
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:55 2010 +1100
s4-rpcserver: use TYPESAFE_QSORT() in rpc servers
commit e5c83e1adba59416a31fd78aaea6c99fff499ddd
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:41 2010 +1100
s4-ntvfs: use TYPESAFE_QSORT() in notify code
commit 828b5cd451f88ef267eb3b0dcf819b389ad55ed9
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:22 2010 +1100
s4-socket: use TYPESAFE_QSORT() in netif code
commit 0f50f4440d870d0f83b20141f23354a2734c83e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 13:00:03 2010 +1100
s4-auth: use TYPESAFE_QSORT() in gensec
commit 5549190b37a2bfc01f5cbff89da47b7ca4bd84fa
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:59:43 2010 +1100
s4-dsdb: use TYPESAFE_QSORT() in dsdb code
commit 1373e748aa53fbd3afe4d2377208257d42628d86
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:57:37 2010 +1100
tdb: use fdatasync() instead of fsync() in transactions
This might help on some filesystems
commit f435538576878cca81af42e34979a6e4125fe136
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:57:13 2010 +1100
libreplace: add fdatasync() if not available
commit 63844609dafb58860a4058bbd7fee10b1f69876b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 13 12:53:15 2010 +1100
util: added TYPESAFE_QSORT() macro
This makes it much harder to get the type of a qsort comparison
function wrong.
commit 6824c6f46ba7c15e8af91d5aa8b21a946b63107b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 13 12:17:00 2010 +0100
tdb: Apply some const, just for clarity
commit 9252df53d95d6ebe43314ffd87a9dda940b1ae10
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 23:18:53 2010 -0800
Use sec_initial_uid() in the places where being root doesn't matter,
and 0 in the places where it does.
Jeremy
commit d46d7717c7bdc1b404ff53d7831ed00d556a940f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 22:45:37 2010 -0800
Simplify the logic in make_connection_snum(), and make it match Windows behavior.
Cause all exit paths to go through one place, where all cleanup is
done. change_to_root_user() for pathname operations that should succeed if
the path exists, even if the connecting user has no access.
For example, a share can now be defined with a path of /root/only/access
(where /root/only/access is a directory path with all components only
accessible to root e.g. root owned, permissions 700 on every component).
Non-root users will now correctly connect, but get ACCESS_DENIED on
all activities (which matches Windows behavior). Previously, non-root
users would get NT_STATUS_BAD_NETWORK_NAME on doing a TConX to this
share, even though it's a perfectly valid share path (just not accessible
to them).
This change was inspired by the research I did for bug #7126, which
was reported by bepi at adria.it.
As this is a change in a core function, I'm proposing to leave
this only in master for 3.6.0, not back-port to any existing releases.
This should give us enough time to decide if this is the way we want this to
behave (as Windows) or if we prefer the previous behavior.
Jeremy.
commit 10e54fb422d9f1ae6d33e5fabbf8c651b0e57a8c
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 22:21:19 2010 -0800
Fix warning messages on compile in g_lock.c Volker & Michael please check.
Jeremy.
commit c7f16abc47a2d291d3da95b4c8e654010e36bc0f
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 21:29:58 2010 -0800
Fix error in docs. Should be milliseconds, not microseconds.
commit cb0ea273696fc9024e6da18eb3e319024f8643f5
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Fri Feb 12 15:42:50 2010 -0800
s3/smbd: change locking behavior when "lock spin time = 0".
The "lock spin time" parameter mimics the following Windows
setting which by default is 250ms in Windows and 200ms in Samba.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\LockViolationDelay
When a client sends repeated, non-blocking, contending BRL requests
to a Windows server, after the first Windows starts treating these
requests as timed blocking locks with the above timeout.
As an efficiency, I've changed the behavior when this setting is 0,
to skip this logic and treat all requests as non-blocking locks.
This gives the smbd server behavior similar to the 3.0 release with
the do_spin_lock() implementation.
I've also changed the blocking lock parameter in the call from
push_blocking_lock_request() to true as all requests made in this
path are blocking by definition.
commit 465ffbadb8ec6f98d337319473c17720cb41bacd
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 18:50:54 2010 -0800
Remove #if SOFTLINK_OPTIMIZATION code.
This hasn't been turned on or been capable of doing so for
many years now. Makes this jumbo function smaller...
Jeremy.
commit 1f89ffd0357bd226fc599f527b0570b3eba9f2b9
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 18:17:32 2010 -0800
Revert "Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PATH_INVALID error"
This reverts commit 2fdd8b10c6abadd27c579e772c0482214d2363a5.
This fix is incorrect. The original code works as desired,
I made a mistake here.
Jeremy.
commit 2fdd8b10c6abadd27c579e772c0482214d2363a5
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 12 15:45:20 2010 -0800
Fix bug #7126 - [SMBD] With access denied error smbd return wrong NT_STATUS_OBJECT_PATH_INVALID error
As tridge's comment says, we should be ignoring ACCESS_DENIED
on the share path in a TconX call, instead allowing the mount
and having individual SMB calls fail (as Windows does). The
original code erroneously caught SMB_VFS_STAT != 0 and errored
out on that.
Jeremy.
commit 72242ef7cd6d2c9b4cc4f82ef1138560cad78df1
Author: Michael Adam <obnox at samba.org>
Date: Tue Feb 9 08:00:06 2010 +0100
packaging(RHEL-CTDB): adapt configure.rpm to match the spec-file configure call
Michael
commit a6338c01b7a20b2e4786c74d3cc00027e23420e7
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 14 18:26:01 2010 +0100
v3-4-ctdb: Do not do any logrotation
commit a752bbd10d661ebc93b8d51bd583eb62eb00ad18
Author: Michael Adam <obnox at samba.org>
Date: Mon Feb 8 11:01:47 2010 +0100
s3:registry: eliminate race condition in creating/scanning sorted subkeys
Called, from key_exists, scan_sorted_subkeys re-creates the sorted
subkeys record of the given key and then searches through it.
The race is that between creation and parsing of the sorted subkey
record, another process that stores some other subkey of the same
parent key will delete the sorted subkey record, resulting in an
WERR_BADFILE of an operation that should actually succeed.
This patch fixes the issue by wrapping the creation and parsing
into a transaction.
Michael
commit 09f3ed102472304d6b4446a6fab9cf6f05c9176a
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 29 15:04:25 2010 +0100
s3:make "net conf addshare" atomic by wrapping all writes in one transaction
Michael
commit 83fffbeb44441a87569e543054af21d975eb20ae
Author: Michael Adam <obnox at samba.org>
Date: Sat Jan 23 01:17:06 2010 +0100
s3:g_lock: remove a nested event loop, replacing the inner loop by select
This made smbd crash in g_lock_lock() when trying to start a
transaction on a db with an already started transaction,
e.g. in a tcon_and_X where the share_info.tdb was not yet
initialized but share_info.tdb was already locked by another
process or writing acces to the winreg rpc pipe where the
registry tdb was already locked by another process.
What we really _want_ to do here by design is to react to
MSG_DBWRAP_G_LOCK_RETRY messages that are either sent
by a client doing g_lock_unlock or by ourselves when
we receive a CTDB_SRVID_SAMBA_NOTIFY or
CTDB_SRVID_RECONFIGURE message from ctdbd, i.e. when
either a client holding a lock or a complete node
has died.
Doing this properly involves calling tevent_loop_once(),
but doing this here with the main ctdbd messaging context
creates a nested event loop when g_lock_lock() is called
from the main event loop.
So as a quick fix, we act a little corasely here: we do
a select on the ctdb connection fd and when it is readable
or we get EINTR, then we retry without actually parsing
any ctdb packages or dispatching messages. This means that
we retry more often than necessary and intended by design,
but this does not harm and it is unobtrusive. When we have
finished, the main loop will pick up all the messages and
ctdb packets. The only extra twist is that we cannot use
timed events here but have to handcode a timeout for select.
Michael
commit e4af0bc5af2c3ee025ca7fac251c3672ba2c8dd5
Author: Michael Adam <obnox at samba.org>
Date: Sat Jan 23 00:05:15 2010 +0100
s3:ctdb_conn: add ctdbd_conn_get_fd() to get the fd out of the ctdb connection
Michael
commit 8e306b51b79d3dacd68be9f13aa8455e2eb4c03f
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 15:56:28 2010 +0100
s3:g_lock: remove an unreached code path.
Michael
commit 1933214108d1a71bc6473a696ce35020a427d8f4
Author: Michael Adam <obnox at samba.org>
Date: Mon Jan 18 17:26:04 2010 +0100
s3:dbwrap_ctdb: fix reading/storing of special key __db_sequence_number__
The key for reading and writing was inconsistent due to a
off by one data length.
Michael
commit c311697aded87ce624d40cbf14e05d6e6377c257
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 13 23:53:54 2010 +0100
s3:dbwrap_ctdb: exit early when nothing has been written in transaction_commit.
This skips update of the __db_sequence_number__ record when nothing else has
been written. There are transactions that are just openend and then nothing
is written until transaction_commit is called. This is for instance the case
with registry initialization routines: They start a transaction and only
write somthing when the registry has not been initialized yet.
So this change will skip many db_seqnum bumps and TRANS3_COMMIT roundtrips.
Michael
commit 1d594bd734a2f7146ed52872456a16c5e41816f1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 13 23:51:34 2010 +0100
s3:dbwrap_ctdb: fix brown paperbag bug in ctdb_transaction_commit.
I carefully prepared the return value only to "return 0;" at the bottom. :-(
This may well have hit us for instance in the nested cancel case
and produced random errors.
Michael
commit 524072b56bf659002410a817749bf86fe6f51e83
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 6 00:37:21 2010 +0100
s3:dbwrap_ctdb: fix logic error in pull_newest_from_marshall_buffer().
The logic bug was that if a record was found in the marshall buffer,
then always the ctdb header of tha last record in the marshall buffer
was returned, and not the ctdb header of the last occurrence of the
requested record.
This is fixed by introducing an additional temporary variable.
Michael
commit 1505b69dea6044a13a59f672e22f5833256cb981
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 5 16:17:27 2010 +0100
s3:dbwrap_ctdb: fix an uninitialized variable.
Michael
commit fb981cdb8282d3b9b46d9ca515a5685add232a72
Author: Michael Adam <obnox at samba.org>
Date: Sat Dec 12 00:38:14 2009 +0100
s3:dbwrap_ctdb: fix two "may be used uninitialized" warnings
Michael
commit 10a44ee6930bb51b4b20ce42f35bc455ac1b7293
Author: Michael Adam <obnox at samba.org>
Date: Sat Dec 12 00:30:37 2009 +0100
s3:dbwrap_ctdb: fix db_ctdb_fetch_db_seqnum_from_db() when NT_STATUS_NOT_FOUND.
Don't treat this as an error but return seqnum 0 instead.
Michael
commit a66c40ff3853d109f13ad3a0dd79b170bb1c5366
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 11 16:51:40 2009 +0100
s3:dbwrap: If "-n" is given to dbwrap_torture, open db with CLEAR_IF_FIRST
commit 9113ce82b59c718ac709eb01b125e9e6746a96b7
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 16:45:38 2009 +0100
s3:build: remove checks for deprecated ctdb controls.
Michael
commit 3fe7ce141d6afe3825b06c5feb90558911e4df1e
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 14:07:28 2009 +0100
s3:dbwrap_ctdb: maintain a database sequence number that bumps in transactions
For persistent databases, 64bit integer is kept in a special record
__db_sequence_number__. This record is incremented with each completed
transaction.
The retry mechanism for failing TRANS3_COMMIT controls inside the
db_ctdb_transaction_commit() function now relies one a modified
behaviour of ctdbd's treatment of persistent databases in recoveries.
Recently, a special treatment for persistent databases had been
introduced in ctdb (1.0.108) to work around the problems with the
orinal design of persistent transactions.
Now with the rewrite we need to revert to the old behaviour that
ctdb always takes the newest copies of all records.
This change also paves the way for a next step, which will make
recovery use the db seqnum to tell which node has the newest copy
of a persistent db and use that node's copy. This will greatly
reduce the amount of data transferred with each recovery.
Michael
commit 26225d3e798892b39b3c238b0bee465bffac6550
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 12:30:57 2009 +0100
s3:dbwrap_ctdb: change db_ctdb_transaction_store() to return NTSTATUS.
The return values calculated by the callers were wrong anyways since
the new marshalling code does not set the local tdbs tdb error code.
Michael
commit 5a0c42770b349877928a2b3fd8316903dd62e5b7
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 11 10:35:50 2009 +0100
s3:dbwrap_ctdb: update (C)
Michael
commit d4c0afa841ecdae1cab955cc73360deae23f5873
Author: Michael Adam <obnox at samba.org>
Date: Fri Dec 4 11:49:21 2009 +0100
build: Add a configure check for CTDB_CONTROL_TRANS3_COMMIT.
This is the new implementation of ctdb transactions using the
global lock feature. It is needed by the current dbwrap_ctdb code.
Michael
commit ebc08b9938a4d266be16ca7e06d27813952cd00f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Dec 3 18:43:49 2009 +0100
s3: Add tdb_data_equal
commit a035062f11f831875e397b16e0e4c6e2d7ba5c76
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 11 15:37:52 2009 +0100
s3:torture: add a test LOCAL-DBTRANS to torture dbwrap with transactions.
commit 16bc6ba2268e3660d026076264de8666356e00bf
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 3 17:29:54 2009 +0100
s3:dbwrap_ctdb: start rewrite of transactions using the global lock (g_lock)
This simplifies the transaction code a lot:
* transaction_start essentially consists of acquiring a global lock.
* No write operations at all are performed on the local database
until the transaction is committed: Every store operation is just
going into the marshall buffer.
* The commit operation calls a new simplified TRANS3_COMMIT control
in ctdb which rolls out thae changes to all nodes including the
node that is performing the transaction.
Michael
commit b13dd17840a598ae3441e48b130a2b2a2b940572
Author: Volker Lendecke <vl at samba.org>
Date: Mon Dec 7 00:36:51 2009 +0100
s3: setup debug for smbtorture
commit 12abab711b58237ddccfa1d9bb526f8c7dbb6e9f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Dec 4 13:22:30 2009 +0100
s3: Add ctdb_conn_msg_ctx()
commit 4c1c3f2549f32fd069e0e7bf3aec299213f1e85b
Author: Volker Lendecke <vl at samba.org>
Date: Sun Oct 25 16:12:12 2009 +0100
s3: Implement global locks in a g_lock tdb
This is the basis to implement global locks in ctdb without depending on a
shared file system. The initial goal is to make ctdb persistent transactions
deterministic without too many timeouts.
commit 30797cec7d826a75e6e458829fc3b2203d841ba3
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 12 16:24:22 2010 -0500
s4:kdc Fill in created_by principal field
commit 2e2b7e82592dc5dbb818b621cafafdab05796a12
Author: Simo Sorce <idra at samba.org>
Date: Fri Feb 12 14:54:18 2010 -0500
s4:kdc Fix double free and uninitialized memory.
In samba_kdc_trust_message2entry() on error, hdb_free_entry()
may end up trying to access uninitialized memory or double
free the hdb_entry.
commit 89621d8d19e66130fadcc2f87af90aacbb5935c0
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 12 20:31:46 2010 +0100
testprogs: print all printerinfo levels in spoolss test.
Guenther
commit d5af819b1a1f293dda108e77b4dfb64afb894035
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 12 14:58:27 2010 +0100
s4:auth/credentials/credentials.c - Initialise the "lm_response" and "nt_response" structures
In some cases those structures are not initialised and the whole authentication
system crashes with a SIGSEGV. Bug discovered by Matthieu Patou in bug #6755.
commit de555895e59ffa691b5c8e910fe0d93cacc9281e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 12 13:55:14 2010 +0100
s4:getopt.py - set the password callback only when no password has been provided
Previously the "no_pass" and "no_pass2" variables weren't handled correctly.
Since at the initialisation of the "CredentialsOptions" we don't have any
password at all. Only afterwards we could get one through "set_password".
If a password is specified, use it. If no password is specified, consider the
use fo an input mask on STDOUT. But if the loadparm context contains one prefer
it over the input.
commit e82ac8655e95e9df818d8b74c79c06f090a01d70
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 12 12:20:03 2010 +0100
s4:net_drs_bind: make some more stuff static
metze
commit eee98110b3c4f3a24465a71fc5ae7db891c2a46f
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 12 12:19:15 2010 +0100
s4:net/drs: use the full path to "utils/net/drs/net_drs*.h"
This fixes the build with automatic dependecies.
metze
commit 44f75eded1a707b1afff271844fa533fd5c77a55
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 12 12:06:50 2010 +0100
s3: notify_onelevel does not use seqnums, so don't open asking for it
commit 7e328e1e1c0918bfde3e2cba4dfbbf9d52b45f46
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 12 11:32:08 2010 +0100
spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ndr64 changes.
Guenther
commit 95846bfee6961177c7676c8a5081de35e7d8228a
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 18:58:11 2010 +0100
spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles relative_highest_offset.
Guenther
commit 8f07339b6d979cbc75682303821a7ece43ddf0cc
Author: Günther Deschner <gd at samba.org>
Date: Fri Feb 12 11:25:59 2010 +0100
spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ndr64 changes.
Guenther
commit 9fc76f86fa2c60b81ec8afee515bb823a5cd616f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 15:59:41 2010 -0800
Remove the code replaced by widelinks warning.
Jeremy.
commit a6f402ad87ff0ae14d57d97278d67d0ceaaa1d82
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 15:16:23 2010 -0800
Remove lp_safe_widelinks() -> convert to just lp_widelinks. Suggestion from Volker.
Create widelinks_warning(int snum) to cover the message needed in make_connection.
Jeremy.
commit 4ff7f6ed3634f9a45b1ebdc965152bbada72b49d
Author: Kai Blin <kai at samba.org>
Date: Tue Feb 2 15:18:01 2010 +0100
s3 test: Make the netbios name test pass again
commit ea055e8c7905ec5d229fd5b50ca9ec8f60073b53
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 23 16:37:11 2009 +0200
s4: Switch to S3-style id mapping data types.
commit 86d70ae94425c34fcb7cc7791a6e54b1a47f21cc
Author: Kai Blin <kai at samba.org>
Date: Wed Apr 22 18:10:12 2009 +0200
s4 idmap: Make the sid_to_xid and xid_to_sid calls static.
Looking at the winbind interface, we should only be using the bulk conversion calls.
commit 5d848053a7f62519beed6b5ac7fb0076ae8fa9e3
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 29 12:09:18 2010 +0100
libwbclient: Test wbcLookupName async functions
commit cf968371ef207719424d2eb58dbddcf0d0c7952d
Author: Kai Blin <kai at samba.org>
Date: Thu May 28 00:57:32 2009 +0200
libwbclient: Implement wbcLookupName_send/recv
commit 145f2c751b5de2864a472363cb478596c5040ee4
Author: Kai Blin <kai at samba.org>
Date: Thu May 28 00:55:57 2009 +0200
libwbclient: Implement wbcAuthenticateUserEx_send/recv
commit 749fb039719e60d82c496a2e1587bfa32d0360b8
Author: Kai Blin <kai at samba.org>
Date: Fri Apr 24 16:24:56 2009 +0200
libwbclient: Implement wbcLookupSid_send/recv
commit 57886720bb1a0e93d8903a0fa677f3820fa3cb07
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 2 09:45:39 2009 +0200
libwbclient: Implement wbcGidToSid_send/recv
commit ada6e26d5e6bacaacbe9cdebdabe41c383e5f8c8
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 2 09:22:43 2009 +0200
libwbclient: Implement wbcSidToGid_send/recv
commit 446b4aa17c03993a0fa0c77bd7e8bdec938be991
Author: Kai Blin <kai at samba.org>
Date: Thu Apr 2 09:57:40 2009 +0200
libwbclient: Implement wbcUidToSid_send/recv
commit 4ff1906357659a040aa90bcd51dd1974ec405001
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 31 23:10:48 2009 +0200
libwbclient: Implement wbcSidToUid_send/recv
commit 33bbe1cafda93d493509f5dabfdb0ed7bbe69a71
Author: Kai Blin <kai at samba.org>
Date: Sun Feb 15 11:01:44 2009 +0100
libwbclient: Add wbcInterfaceDetails_send/recv
commit 861ef367c839d44b185ae3dd9191e849a5e33027
Author: Kai Blin <kai at samba.org>
Date: Sat Feb 14 10:06:05 2009 +0100
libwbclient: Add wbcDomainInfo_send/recv calls
commit 99c0f569f9a62b63e1d26418a777302b03c3fc7f
Author: Kai Blin <kai at samba.org>
Date: Fri Feb 13 22:51:52 2009 +0100
libwbclient: Add wbcDomainName_send/recv call
commit 7cb070f2b346ed486ee24926965290890f72786f
Author: Kai Blin <kai at samba.org>
Date: Fri Feb 13 22:37:56 2009 +0100
libwbclient: Add wbcNetbiosName_send/recv calls
commit fd6b1457935e3d6e156a85cce27aae43b3475723
Author: Kai Blin <kai at samba.org>
Date: Wed Mar 25 10:08:10 2009 +0100
libwbclient: Add async wbcInfo_send()/wbcInfo_recv() calls
commit a0895222be4e0227f26a625474c89fdf5aa9875c
Author: Kai Blin <kai at samba.org>
Date: Thu Feb 12 00:11:45 2009 +0100
libwbclient: add wbcInterfaceVersion send/recv calls
commit 1ca727420a0d2f3d0f4a14b06c1a8d1ea6c40339
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 29 11:22:14 2010 +0100
libwbclient: torture-test wbcPing async functions.
commit 3204113efe0eccbb502914699cb5a4ddcf4efdfa
Author: Kai Blin <kai at samba.org>
Date: Tue Mar 24 22:51:11 2009 +0100
libwbclient: Add async wbcPing_send/_recv
commit f9d041ccd358f6e91a44369c70eebcbf605de2cd
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 29 11:54:33 2010 +0100
libwbclient: Zero out context on initialization
This prevents a segfault when using wbcDebug without prior call to wbcSetDebug
commit 02a5078f1fe6285e4a0b6ad95a3aea1c5bb3e8cf
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 14:45:53 2010 -0800
Final part of jumbo patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
Volker pointed out that the preexec scripts get passed the conn->connectpath
as a parameter, so call canonicalize_connect_path() both *before* and after
the preexec scripts. Ignore errors on the call before the preexec scripts,
as the path may not exist until created by the preexec scripts.
Jeremy.
commit 5d92d969dda450cc3564dd2265d2b042d832c542
Author: Simo Sorce <idra at samba.org>
Date: Thu Feb 11 16:12:29 2010 -0500
Introduce lp_safe_widelinks()
This way we avoid any chance that a configuration reload may turn
back on wide links when unix extensions are enabled.
commit 94865e4dbd3d721c9855aada8c55e02be8b3881e
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 11:00:45 2010 -0800
Fine changes to previous fix for bug #7104 - "wide links" and "unix extensions" are incompatible.
Make sure we match the previous allow widelinks behavior, in that
non-root preexec scripts can create share directories for a share
definition.
Jeremy
commit cd18695fc2e4d09ab75e9eab2f0c43dcc15adf0b
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 11 10:19:33 2010 -0800
Suplementary patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
Bug reported by Ralf Zimmermann <r.zimmermann at siegnetz.de>. Reproduced by jra.
If the target directory of a share doesn't exist, but is designed to
be created by a "root preexec" script call, then the widelinks check
is done too early - thus preventing the user from connecting to the
share.
Fix is to re-arrange the order of checks in make_connection_snum()
to always do the following order of operations:
(1). Turn off wide links if unix extensions = yes.
(2). Call any root preexec scripts.
(3). Canonicalize the share path to remove any symlinks (ie. end
up with the realpath in the connection_struct).
Jeremy.
commit 14c4c2c735d6b263d167bf5255fcf60de2c91110
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 11 15:42:48 2010 +0100
ldb_match - Ignore ":dn" part of extended matches for now
It's not fully clear what this ":dn" part means for us. What we know is that
older AD implementations (Windows Server 2000, 2003) need it to have extended
matches working in the expected way.
To be able to interoperate with s3's winbind and other tools I and gd decided
to transform this into a warning until we know what to do.
This should fix bug #6511.
commit 45defdb90c93ed9876cacb8e3b77ce024bd02590
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 12 00:33:13 2010 +1100
s4-provision: import the R2 functional level
this makes it easier to modify the script to set us at R2 level in
provision. We should make this a parameter.
commit 960fab4bba9b52aacba46de5895afaf908f002df
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 12 00:11:11 2010 +1100
s4-build: avoid finding python symlinks
emacs creates symlinks to .py files while you are editing them. This
could cause build failures.
commit 4aaa7fe43b207abab886b6ba3e1895a42162480c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:39:56 2010 +1100
s4-provision: fixed --function-level option to provision
we need the DS_DOMAIN_* levels imported
commit 802f6b71dd0c43c44ecf91ec042e7f4a08a12dec
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:38:23 2010 +1100
s4-script: make enablerecyclebin use system_session
This allows it to work against our local ldb
commit 9ba0d105ccd5599987c17e2474ecfe8ac3547f1b
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:37:44 2010 +1100
s4-pyldb: null terminate string ldb message elements from python
We need to eventually get rid of ldb_msg_find_attr_as_string() (or add
a mem_ctx to it), but meanwhile we have too many places that break if
we don't add a nul to the end of ldb msg strings from python.
commit 76a2e936a02ba99a474dd20822ed170787b55a45
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 23:35:31 2010 +1100
libds: added recyclebin feature GUID
commit 2a0b16c430ca40c762d81832bb1cd2bddc709465
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 13:32:44 2010 +0100
s3: re-run make samba3-idl.
Guenther
commit a16e97459342a838a77cd9f17df5347b0632219c
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 13:07:38 2010 +0100
spoolss: allow to set server architecture via parametric option.
This allows to set "spoolss:architecture = 'Windows x64'" for debugging purpose.
Guenther
commit 25001bbd1b0b32073073dab7cf5b78a2b902163f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 00:44:06 2010 +0100
s3-spoolss: implement spoolss_EnumJobs level 3.
Level 3 has been added with NT 4.0 and Windows 7 (at least 64bit version) makes
use of it in order to display queued jobs. Windows 7 will *not* fall back to
level 2 if we just return WERR_UNKNOWN_LEVEL, instead there will be no printjobs
displayed at all.
Guenther
commit 5e1dd19221a412d88540422004b18d190e9caa28
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 01:24:12 2010 +0100
testprogs: one more error code for spoolss test.
Guenther
commit 4f8a4cb81b073e3339744cfec334d8fce34cb03f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 00:06:20 2010 +0100
testprogs: print secdesc->Control in spoolss test.
Guenther
commit 490e1f84fede5585c6c611a5720b9f2362a9214f
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 11 00:04:53 2010 +0100
testprogs: use ConvertSidToStringSid in order to print sids in spoolss test.
Guenther
commit 7bd7194c2b319d260ef1d98f138b9dfcf59db8a7
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Fri Feb 5 16:33:03 2010 -0200
s4-drs: Add DRSUAPI_DRS_NONGC_RO_REP bit to DRS_OPTIONS
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit f78a534dd20d0afa0a63abf693add4286c0e3f37
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 21:28:48 2010 +1100
s4-net-drs: fix some coding style issues
We should use the system/*.h headers for system includes. We also try
to avoid C++ comments.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 976201d24a7c0734ef99c72e476a6caab97e21de
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Feb 6 03:13:33 2010 +0200
s4/net_drs: 'net drs kcc' command implementation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fedc1152b5cead39cb0ce085c2a1f66ceed0b726
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:36:36 2010 +0200
s4/net_drs: 'net drs bind' command implementation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 61246da63cb280b6b3e277583b84c2dfacb6be68
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:36:10 2010 +0200
s4/net_drs: 'net drs' utility initial creation
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 0a05af92778666e869dfd41d20b24b46d069e3ec
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:37:54 2010 +0200
s4/idl: regenerating drsuapi.idl
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 7dde20ae4545df8cebb692ec5ee22ec973239d0c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Feb 5 22:37:27 2010 +0200
s4/idl: Naming reserved flags for DRSUAPI_SUPPORTED_EXTENSION_ field
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit a4d056339235d436dfdbf82e14975151ee1bc7c3
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jan 27 02:03:15 2010 +0300
provision: Use short name for assignee of ACE (BA, SA, CO, ...)
Use short name (shortcut for wellknown SID/RID) for assignee in each entry of ACL (when possible)
of sysvol files (GPO objects and netlogon folders).
This avoid error prone substitution of DOMAINSID in ACL and make ACL clearer by using shortname
for assignee accordingly with SDDL synthax rules. Translation to real SID is handled internaly by the
from_sddl function.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit bcba41c351bc78d739fb174338d8c71148053b5d
Author: Matthieu Patou <mat at matws.net>
Date: Wed Jan 27 01:32:29 2010 +0300
python-s4: use secrets.ldb instead of sam.ldb for reading domain SID
This allow to be able to run net acl set xxx yyy on DC, but also on domain
member.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit d1c29231511376f4379909401f723b1ea9c538ea
Author: Matthieu Patou <mat at matws.net>
Date: Mon Feb 8 15:36:07 2010 +0300
provision: Fix an error with eadb when using not default install dir and running as a non root user
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 2cf97c403f73946693bb147daa6a618af6fdb526
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:49:29 2010 +1100
s4-dns: don't leave behind a tmp file
If the dns update file doesn't need updating we need to delete the tmp
file
commit 1e1b081189a7dafa0717e3e3deb4a46e079b146e
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:48:47 2010 +1100
s4-selftest: don't run rndc reload in selftest
We don't want rndc calls on the build farm
commit 89b6a80e7261422011e92d8ef1bc7ef2f2fd06af
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:21:15 2010 +1100
s4-dns: added a dns update task
This task watches for changes in the list of DCs, and creates a bind9
formatted file that grants update permission to all DCs, plus to the
administration, and machines update for their own names.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 6bfb216293e7416e1164766d6f96c769d76fca8d
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:20:11 2010 +1100
s4-provision: cope with umask in creating private/dns
commit ae95d611b6e0754f130707f23fa6ae0997c40b66
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:19:40 2010 +1100
util: added file_compare() utility function
file_compare() returns true if two files are the same. It is meant for
small files.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit d6fb64c51244529388b1f79ba8220ff608e1e4de
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 20:18:50 2010 +1100
libreplace: added replacements for dprintf() and vdprintf()
these are very useful for writing files with formatted writes
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit c986bfb22ec6ee1bda8a7c4053770831f582cbb3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 15:25:13 2010 +1100
s4-provision: pre-create a named.conf.update file
The named.conf.update file will be filled in at runtime by Samba to
contain the list of bind9 grant rules for granting DNS dynamic update
permissions on the domain.
commit 5a72eca574f2cb330a0d62936ca901b8ebee4194
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 11 13:17:09 2010 +1100
s4-provision: move zone file to dns subdirectory
This allows the permissions to be correctly set for bind to write to
a journal file. It also sets the right group ownership and permissions
on the files that bind needs to access.
Pair-Programmed-With: Andrew Bartlett <abartlet at samba.org>
commit 5a2ff4d16f67a2617a3b54e30900e5b4825d6617
Author: Andrew Bartlett <abartlet at samba.org>
Date: Thu Feb 11 17:13:42 2010 +1100
s4:provision Be more polite to long-suffering Samba testers.
Our testers put up with a lot of odd things when testing out Samba4.
Andrew Bartlett
commit 0f0229c45473dd58d633fe6a98865db9aeff1e0e
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 17:20:21 2010 -0800
Fix unused variable warning after change to new DLINK macros.
Jeremy.
commit ed0e0a20059aeadddd69c4618d35dfb3aca69ba4
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 16:23:33 2010 -0800
Fix bad use when freeing linked list. Todd Stecher (Original author) please check !
Jeremy.
commit 91cb7b7c604d6d3c0dcb3dbcdabb0a6db6097035
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 16:06:31 2010 +1100
test:local added LOCAL-DLINKLIST testsuite
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
commit 32809bd8c17c9c522338722177539aa3d60c4cbc
Author: Andrew Tridgell <tridge at samba.org>
Date: Wed Feb 10 15:53:58 2010 -0800
util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1)
This changes the meaning of the ->prev pointer in our doubly linked
lists to point at the end of the list from the front of the list. That
allows us to implement DLIST_ADD_END() and related functions in O(1)
time, which can be a huge saving in many places in Samba.
This also means that the 'type' argument to various DLIST_*() macros
is no longer needed, but I have left it in for now to keep the
patchset small, which will make it easier to revert if any problems
are found. In the future we should remove the 'type' arguments.
(jra. Move the one use of DLIST_TAIL over to the new macros).
commit 13ac4ad52187df7093904d4ad9c47d51bd1eda6f
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:42:29 2010 +1100
s3-smbd: update to use new DLIST macros
(cherry picked from commit 365b408c458c848a818637d9b36a0423aeb1ba54)
commit aa52a0925d4c07117cc6eb62c6e80eda24f8cc40
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:41:57 2010 +1100
s3-registry: update to use new DLIST macros
(cherry picked from commit 3437713ad7e5bccafde30553a8232119fd2a9eb9)
commit f592d42047d0b5d7ea115b9cd44a55ee443b64f7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:41:39 2010 +1100
s3-perfcount: update to use new DLIST macros
(cherry picked from commit a13b507f2d8be7f90c8872094cd0732926a6fcbb)
commit 4689826e391eb83ac639b9afdae641a6e3f34b9a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:41:07 2010 +1100
s3-locking: update to use DLIST_ADD_AFTER()
(cherry picked from commit 6c6df527e14514027cbcaa6deac25adf04363926)
commit d5506215610f95c161ad45dba00a0b180de3a00b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:40:38 2010 +1100
s3-libsmb: update libsmb to use new DLIST macros
manipulating p->prev directly is not safe any more
(cherry picked from commit 3c650ac1e3e1cdbbabecfddcd29325f20b5dcb48)
commit 7842b391b9ad1f6aaa77c0b8397e1dcc0b79e7e7
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:40:03 2010 +1100
s3-memcache: update memcache to use new DLIST macros
we don't need a separate lru pointer any more
(cherry picked from commit 4ffd7aca3e38728077bd80c2a65c4efbcfd216fc)
commit 54fc99e04b3475a9cc04274fa365edbd700d3491
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:38:47 2010 +1100
s3-ldb: update the old ldb in s3 to use new DLIST macros
(cherry picked from commit a7d8bfd373392eecf4fff33d39b85e1b55ad901d)
commit ece7089918e37f407f84d13df9d816d5a6d90f2e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:38:24 2010 +1100
s3-nmbd: update nmbd to use new DLIST_ macros
(cherry picked from commit 4d23d777bc6d4fad20d0f3084fe658635812bee9)
commit a5d2fb752cdb7e27a4949635b6486834d9fac313
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 12:37:48 2010 +1100
s4-ldb: update ldb_tdb to use new DLIST_ macros
(cherry picked from commit 6ede911654566a7e21ded70dacac68df3b6a1bca)
commit f017edc59f06121db08dcbdfaa0b75b808560955
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 15:35:38 2010 -0800
s4-dsdb: update repl_meta_data.c to use new DLIST_ macros
commit 32575ed70f3210a2fe10edfd801ad1cb8f5caffa
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 15:30:59 2010 -0800
Temporary changes to dlinklist to keep the implementation static whilst
uses of (list)->prev are moved over to DLIST_PREV. This will be replaced
when the final (new) version of the dlinklist.h header is added.
Jeremy.
commit f2d7d9774e3dafc643567605dd1eef908b6ded1a
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 12:42:27 2010 -0800
Revert "Change the default of "nmbd bind explicit broadcast" to "no""
This reverts commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8.
Now we have a "processed packet queue" in nmbd we can go back
to doing this by default.
Jeremy.
commit c2f3ed48c5ac253bb17387800579f94d933b71e1
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 12:32:05 2010 -0800
More of the fix for bug #7118 - nmbd problems with socket address.
Add a simple "processed packet queue" cache to stop nmbd responding to
packets received on the broadcast and non-broadcast socket (which
it has opened when "nmbd bind explicit broadcast = yes").
This is a very simple packet queue - it only keeps the packets
processed during a single call to listen_for_packets() (i.e. one
select call). This means that if the delivery notification for a
packet received on both broadcast and non-broadcast addresses
is done in two different select calls, the packet will still be
processed twice. This is a very rare occurrance and we can just
live with it when it does as the protocol is stateless. If this
is ever flagged as a repeatable problem then we can add a longer
lived cache, using timeout processing to clear etc. etc. But without
storing all packets processed we can never be *sure* we've eliminated
the race condition so I'm going to go with this simple solution until
someone proves a more complex one is needed :-).
Jeremy.
commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8
Author: Jeremy Allison <jra at samba.org>
Date: Wed Feb 10 08:39:37 2010 -0800
Change the default of "nmbd bind explicit broadcast" to "no"
until the double processing problem in bug #7118 is fixed.
Jeremy.
commit 1cd9df8da2a1ef0e2a45ea67ea7766cbbe9984f0
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 10 13:17:36 2010 +0100
testprogs: add more error codes for spoolss test.
Guenther
commit 9b75650f1a963e36a6dd697b5ad2725a8c7c9250
Author: Björn Jacke <bj at sernet.de>
Date: Wed Feb 10 13:48:11 2010 +0100
s3: change ldap filter to what really was intended
commit b37b452cb8c1f56b37b04abe7bffdede371ca361
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Thu Feb 4 23:59:54 2010 +1030
tdb: fix recovery reuse after crash
If a process (or the machine) dies after just after writing the
recovery head (pointing at the end of file), the recovery record will filled
with 0x42. This will not invoke a recovery on open, since rec.magic
!= TDB_RECOVERY_MAGIC.
Unfortunately, the first transaction commit will happily reuse that
area: tdb_recovery_allocate() doesn't check the magic. The recovery
record has length 0x42424242, and it writes that back into the
now-valid-looking transaction header) for the next comer (which
happens to be tdb_wipe_all in my tests).
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit 6269cdcd1538e2e3cead9e0f3c156b0363d607a0
Author: Rusty Russell <rusty at rustcorp.com.au>
Date: Fri Feb 5 00:00:24 2010 +1030
tdb: give a name to the invalid recovery area constant (0)
Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
commit f299fe565ae5dba76ffc708da9a47405d61b0af9
Author: Andrew Bartlett <abartlet at samba.org>
Date: Wed Feb 10 13:56:24 2010 +1100
s4:provision Just 'do the right thing' with empty smb.conf files
For some reason, JHT keeps on creating an empty smb.conf file,
expecting it to be the same as a non-existant one. It is easier to
just realise what he meant.
Andrew Bartlett
commit f8778ba8f4c234648230dba0249cd189fcd0d4d1
Author: Günther Deschner <gd at samba.org>
Date: Wed Feb 10 00:43:51 2010 +0100
s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.
Guenther
commit 8ddc977c1421a47bedba8d5494f7ae67692b772a
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 15:14:38 2010 -0800
Fix bug #7122 - Reading a large browselist fails (server returns invalid values in subsequent SMBtrans replies)
There are two problems:
1). The server is off-by-one in the end of buffer space test.
2). The server returns 0 in the totaldata (smb_vwv1) and totalparams (smb_vwv0)
fields in the second and subsequent SMBtrans replies.
This patch fixes both.
Jeremy.
commit a056eb85ff8cabc05970c789abba890d914e7ecb
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 14:56:12 2010 -0800
Missed one check on the memcpy for bug #7063.
Jeremy.
commit 539bbf8653e0117dea139015b4b71be768e3f3d7
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 14:48:15 2010 -0800
Second part of fix for bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.
Ensure we have no naked memcpy calls. This isn't a crash bug (it's
already checked in the data_blob_talloc_zero() above, but I want to
get into the pattern of having all memcpy's covered by safety checks.
Jeremy.
commit 9ad6f432f3f5844b4b419e7cbaf3c3e70b052d29
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 9 12:17:08 2010 -0800
Fix off-by-one error in working out the limit of the NetServerEnum comment.
Jeremy.
commit bc8242a08e1bb9489cc8171b1ec02bd2518b1857
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 18:58:36 2010 +0100
s3:smbd: use StrCaseCmp() instead of strcasecmp
metze
commit 1686a5e7e7eb1b411b003cbbde5c0d28741c6d02
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 18:54:41 2010 +0100
s3:smbd: Fix really ugly bool vs. int bug!!!
A comparison function for qsort needs to return an 'int'!
Otherwise you'll get random results depending on the compiler
and the architecture...
metze
commit 45cbf49477b963bd39a57bac0682f36acbc9f6b3
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Feb 9 17:48:44 2010 +0100
check_python.m4 - Raise the minimum python version up to 2.4
This is needed since we at the s4 side have some code which requires this. I
think everybody should be fine since we got no complaints on the mailing list
about this change.
Patch template: Jelmer Vernooij <jelmer at samba.org>
commit 04cf9b81eb37898f8251daf302341f1b639ab827
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 4 11:25:06 2010 +0100
pidl - Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
commit e34637b2a69b5af6f6ac997d5e0d4b786f3c9935
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 4 11:17:40 2010 +0100
s4:Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
commit a0ac6a86321c2eea404a22ef6330a261f03547a4
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Feb 9 17:21:01 2010 +0100
s3-docs: Fix make manpages3.
Karolin
commit a5b003e1f7c61c8f37e7063f2fdc1c59643195bf
Author: Karolin Seeger <kseeger at samba.org>
Date: Tue Feb 9 16:36:39 2010 +0100
s3-docs: Add missing para end tag.
Karolin
(cherry picked from commit b78de63ef3cde53e3aabbe46654aac5a335f16a8)
commit 7c95d559c3583cb1609af1d84ad1002b7f4ef070
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 16:16:54 2010 +0100
testprogs: regenerate printlib prototypes for spoolss test.
Guenther
commit 73e6212a32a6392361320ee924a040e3573f9abb
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 16:14:45 2010 +0100
testprogs: print job info levels in EnumJobs() spoolss tests.
Guenther
commit bf7156b6dd89a7f4cb33fac4b13d66e9a099661e
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:59:29 2010 +0100
testprogs: print datatypes info levels in EnumPrintProcessorDatatypes() spoolss tests.
Guenther
commit dcad5447cf32eba0296bdca07668333004cc50ef
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:54:25 2010 +0100
testprogs: print printprocessor info levels in EnumPrintProcessors() spoolss tests.
Guenther
commit 5db64e88c7f8e1e689e0dabc67db1074eb1fef86
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:24:34 2010 +0100
testprogs: print monitor info levels in EnumMonitors() spoolss tests.
Guenther
commit 5afae257249d0034d999d5c588732c86732ee9d2
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 15:00:54 2010 +0100
testprogs: print port info levels in EnumPorts() spoolss tests.
Guenther
commit 8088a1712868b645e273c35ab06c0511892dd3d3
Author: Günther Deschner <gd at samba.org>
Date: Tue Feb 9 14:49:04 2010 +0100
testprogs: print form info levels in EnumForms(),GetForm() spoolss tests.
Guenther
commit e0472c59c8f9e0fe5aafd539ca901468cd599a30
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 12:58:29 2010 +0100
s3:selftest: make selftest requires bash for now
So force bash until we removed the dependency to bash.
metze
commit 4dc2be2264926fe415e4e40e212f94793c9831d1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Feb 9 12:57:01 2010 +0100
s3:passdb: only use gid_to_sid() result if the result is a group of our local sam
Otherwise retry with pdb_gid_to_sid().
metze
commit fb0c03209773059caad8d0aad5899828e5f5e64e
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 9 09:07:54 2010 +0100
s3: fix some wrong newlines in de translation strings
commit d1c7d7d21aae536f80bba0d5fa5136c598392394
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 9 09:09:57 2010 +0100
vfs_catia: fix return type warnings
commit 580f955664a0bafc2258bd94d7e4e6ca049cd68a
Author: Andrew Tridgell <tridge at samba.org>
Date: Tue Feb 9 13:18:31 2010 +1100
s4-torture: allow host-only in unc lists in smbtorture
Allow UNC lists like this:
192.168.2.1
192.168.2.2
192.168.2.3
the share name will be taken from the command line
commit 3f2415c9bf9342aeb5a70901018527ed1f109754
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 8 14:35:02 2010 -0800
Make "nmbd bind explicit broadcast" on by default.
Fix a comment typo.
Jeremy.
commit e425162933cd7a589e224da057b390d3d7e9b47a
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 8 11:04:38 2010 -0800
Fix bug #6876 for acl_tdb module.
As pointed out by bj at sernet.de, the rmdir module initializer was
duplicated. Fix this properly.
Jeremy.
commit 9b5198dd443a00fdad4faa1f9cdabedd81012d93
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 18:38:03 2010 +0100
s3:libsmb: fix NetServerEnum3 rap calls.
metze
commit 30eec0656c926d3d85a438dc28f17649b53318f8
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 5 18:08:46 2010 +0100
s3:smbd: implement api_RNetServerEnum3
This is needed to support large browse lists.
metze
commit 495ac4616654c9e62e14031b7439aff21e42ec91
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 18:45:18 2010 +0100
s3:smbd: add/improve some DEBUG messages in api_RNetServerEnum2()
metze
commit dc58672c6588a1715698721153b35ed2d594bc67
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 5 16:55:15 2010 +0100
s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2
metze
commit 9887751f6fa6f7e4fd5c79c637e0576405000c01
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 12:59:13 2010 +0100
s3:docs-xml: document "nmbd bind explicit broadcast"
metze
commit 0140bc389d56511c3255720856bdb64803ba8930
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 12:51:29 2010 +0100
s3:nmbd: change "nmbd:bind explicit broadcast" into "nmbd bind explicit broadcast"
metze
commit 30a1bc365071befd07e68e24ca4fa3843159ab13
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 28 11:04:05 2010 +0100
s3:nmbd: also listen explicit on the subnet broadcast addresses
And send replies always via the unicast address of the subnet.
This behavior is off by default (as before)
and can be enabled with "nmbd:bind explicit broadcast = yes".
metze
commit 6339de7f4fef46fb3ad32d1ecf9379f5b5d24ccb
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 8 10:25:13 2010 -0500
release-scripts: parametrize scripts
This should make it easier to keep all release scripts alined as it will reduce
the difference between them to ideally a few variables
Also moves the tdb script in the scripts directory.
commit 6bf2a821b7a5fb0890b6fc9cd439a915252477a1
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 8 10:05:24 2010 -0500
talloc: Fix abi checks in release script
We must perform abi checks against the version we are going to release.
Not against the current tree we are in.
commit 1422a9465482deeba1218755e1d4d0a02e6abc3f
Author: Simo Sorce <idra at samba.org>
Date: Mon Feb 8 10:02:49 2010 -0500
talloc: Fix abi checks and ifdefs
teach the abi check scripts to skip the DOXYGEN sections
fix the header to use #ifdef DOXYGEN and not #if DOXYGEN
commit aa72950b3d08c1964cd734e7b49ef43c959a2fcc
Author: Günther Deschner <gd at samba.org>
Date: Wed Dec 9 11:21:08 2009 +0100
s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
Guenther
commit a8d6549cccb375c95a047fea68f5af2a186979ea
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 8 12:08:36 2010 +0100
s4:subtree_delete - "NULL" as format string isn't allowed on FreeBSD
I changed the format string into "(objectClass=*)" which should be an
equivalent expression for choosing all available objects.
Consider bug 7115 for the issue.
commit 89c089d9934d233a6753d0536c900a2f264fc03d
Author: Günther Deschner <gd at samba.org>
Date: Mon Feb 8 11:53:59 2010 +0100
s3-net: fix net ads dns usage calls.
Bjoern, please check.
Guenther
commit 6753fb1cf6a834b12b2a9dce3b1a9555390c17be
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Feb 5 16:20:21 2010 +0100
s3:pdb_ldap: don't search for the users primary group, if we already know it
metze
commit 49ace81e19de231825216cbf07c7422687131bb6
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Feb 3 11:32:41 2010 +0100
s3:pdb_ldap: optimize ldapsam_alias_memberships() and cache ldap searches.
ldapsam_alias_memberships() does the same LDAP search twice, triggered
via add_aliases() from create_local_nt_token().
This happens when no domain aliases are used.
metze
commit 25038fa85ff69962ca0975f31802218a897aa1ec
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 17:19:57 2010 +0100
s3:pdb_ldap: try to build the full unix_pw structure with ldapsam:trusted support
And also store the gid_to_sid mappings in the idmap_cache.
metze
commit e10d0869567436902c8b8cfb50f8c64148d554cb
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 17:16:59 2010 +0100
s3:passdb: speed up pdb_get_group_sid()
Use the cached version gid_to_sid() instead
of pdb_gid_to_sid().
And also avoid the expensive lookup_sid() call
for wellkown domain groups.
metze
commit b99046fed1bf4a908ed856afb17c3c934c6d305d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 31 15:18:51 2010 +0100
s3: Make pdb_copy_sam_account also copy the group sid
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 779821df8ecfe3ed2392582b500d26332f0b80fc
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 30 22:28:19 2010 +0100
s3: shortcut gid_to_sid when "ldapsam:trusted = yes"
The normal gid_to_sid behaviour is to call sys_getgrgid()
to get the name for the given gid and then call the
getsamgrnam passdb method for the resulting name.
In the ldapsam:trusted case we can reduce the gid_to_sid
operation to one simple search for the gidNumber attribute
and only get the sambaSID attribute from the correspoinding
LDAP object. This reduces the number of ldap roundtrips
for this operation.
metze
commit 4a4b2a5eafe89e87798d231522c756750d14ce60
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 09:57:31 2010 +0100
s4:heimdal: regerenate files
Andrew using cp like in commit ca12e7bc8ff4a91f2044c0a60550fec902e97a78
is wrong as that removes #include "config.h" and breaks the build on AIX.
metze
commit 42efa323ca7933f894a740765fd080ffe4c207c3
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 09:29:22 2010 +0100
s4:heimdal_build: allow flex-2.5.35:bison-2.4.1 to regenerate files
metze
commit 02320cb0e2728bb18e013e3ee22351293f3dd64e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 8 08:55:44 2010 +0100
libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLE
metze
commit 6e7bcaa878af80be338b18bfe4ec45c51ebbeeed
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 18:09:11 2010 +0100
libreplace: Attempt to fix bug 5910, detect a broken getaddrinfo
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9fed9011ffcd76c5a5dbf16f7d5e657b94f9fa50
Author: Bo Yang <boyang at samba.org>
Date: Tue Feb 9 16:35:40 2010 +0800
s3: Don't invalidate cache for uninitialized domains.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 8c8bb51de1ac2baa46ac0736fae12c034288e5d4
Author: Bo Yang <boyang at samba.org>
Date: Tue Feb 9 17:02:20 2010 +0800
s3: signals are processed twice in child.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 2aff1d6bcaba6d1bcc9bace064dd4b70c38a4bf6
Author: Björn Jacke <bj at sernet.de>
Date: Mon Feb 8 00:08:38 2010 +0100
s3: quiet the unresolved symbol warnings of the Compaq compiler when linking our vfs modules
commit f692c6dbc4776cd0dc69bd8d6cf65fbfadc57c9b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 21:12:14 2010 +1100
s4-torture: more useful error message in SMB2-DIR
commit 6b01ca95a8e2858f43726eacd59f1fab5da63865
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 21:08:56 2010 +1100
nbt: don't reference the event_ctx in nbtsock
This causes talloc_free with references errors
commit 7fed22eb0aa108e245a24f77a08c626f3a92ad48
Author: Andrew Tridgell <tridge at samba.org>
Date: Mon Feb 8 10:58:48 2010 +1100
talloc: fixed doc typo
commit da0e396deb895554b88e3e1326e429620b82af6d
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Feb 8 00:40:07 2010 +0100
Move the talloc details to the mainpage.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 52c0cd38fae91e7f3ec2823c4116784d0a3e288b
Author: Andreas Schneider <asn at redhat.com>
Date: Sun Jan 17 11:25:34 2010 +0100
talloc: Added doxygen config file.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit fbd646a78356002d48795de61d5655029c4afcc2
Author: Andreas Schneider <asn at redhat.com>
Date: Sun Jan 17 11:25:02 2010 +0100
talloc: Documented talloc with doxygen.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 328a6264a7b64dce9378bf9c9c2ab3aeb7d755c7
Author: Björn Jacke <bj at sernet.de>
Date: Sun Feb 7 20:10:57 2010 +0100
s3: fix build issue on Tru64
Thanks, Volker for the hint - acl_type is a macro on Tru64. Renamed it
to acltype. This fixes #7103.
commit 1b4a3cc3f49055b4fcdaa021e826660e7e33095a
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 20:55:13 2010 +0100
s3: Fix some DEBUG statements
commit 6e510b49c03be9caba4f587f3f6cec547841b0d7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 12:08:39 2010 +0100
s3: Make cli_get_fs_volume_info() use cli_trans()
commit c73ffb728099e453110ffeb0e665811b9fcec34d
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 12:01:36 2010 +0100
s3: Remove some unused code
commit ff2d7d9b82a2c03cf193ed346198d396525063bc
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 11:14:22 2010 +0100
s3: Fix some comments
commit 5552b44960c5bb95f6478b41b42d7537d03cd8fd
Author: Volker Lendecke <vl at samba.org>
Date: Sun Feb 7 11:05:07 2010 +0100
s3: Fix some nonempty blank lines
commit e2ddda32897f96a336aa1c0f6198381a2843dd04
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 16:56:29 2010 +0100
libwbclient: wbc_create_logon_info is always called with mem_ctx==NULL
commit 2607dc5ee87c84fc6b1419e5207f2ffaa5714af4
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 16:54:05 2010 +0100
libwbclient: wbc_create_password_policy_info is always called with mem_ctx==NULL
commit 1b2aad29a837d04580ee4ab5336b65cfb172ed1d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 16:53:07 2010 +0100
libwbclient: wbc_create_error_info is always called with mem_ctx==NULL
commit 5ab6a8d077712c789bbd245f5f7cac7fc71cba81
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Feb 7 18:11:42 2010 +1100
s4-registry: fixed byte order assumptions
the registry tests were broken on big-endian systems
commit 70534adee10fc6f5bba2d9304668dc6508e5de5a
Author: Simo Sorce <idra at samba.org>
Date: Sat Feb 6 10:48:39 2010 -0500
tdb: raise version to 1.2.1
after recent fixes we need to raise the version to 1.2.1 so that
we can require also the right patched version.
commit 65710dae847273edb99495241e6d7b7acd303c5f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 12:56:19 2010 +0100
pam_winbind: Remove a nested if-statement. Bo, please check!
commit 8cb6f7ec1bdaa086e77fc865c2226151dcd602a7
Author: Volker Lendecke <vl at samba.org>
Date: Sat Feb 6 12:55:00 2010 +0100
pam_winbind: Use strchr instead of strstr for a single character
commit b93f07ef41fedf9cdb3f48fe77ed070c69ec3608
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 5 22:51:11 2010 -0800
Fix trailing whitespace errors I added (sorry).
Jeremy.
commit 913a9f4e420c7a4177e6a7874e8ec2703f447918
Author: Bo Yang <boyang at samba.org>
Date: Sun Feb 7 14:45:42 2010 +0800
s3: Fix malformed require_membership_of_sid.
Signed-off-by: Bo Yang <boyang at samba.org>
commit 5dbf175c75bd6139f3238f36665000641f7f7f79
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 19:14:45 2010 -0800
s3-events: make the old timed events compatible with tevent
tevent ensures that a timed event is only called once. The old events
code relied on the called handler removing the event itself. If the
handler removed the event after calling a function which invoked the
event loop then the timed event could loop forever.
This change makes the two timed event systems more compatible, by
allowing the handler to free the te if it wants to, but ensuring it is
off the linked list of events before the handler is called, and
ensuring it is freed even if the handler doesn't free it.
commit dd498d2eecf124a03b6117ddab892a1112f9e9db
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 21:08:56 2010 -0800
s3-smbd: add a rate limited cleanup of brl, connections and locking db
On unclean shutdown we can end up with stale entries in the brlock,
connections and locking db. Previously we would do the cleanup on
every unclean exit, but that can cause smbd to be completely
unavailable for several minutes when a large number of child smbd
processes exit.
This adds a rate limited cleanup of the databases, with the default
that cleanup happens at most every 20s
commit 74267d652485cdcb711f734f0d80da0fb1495867
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 21:02:24 2010 -0800
s3-brlock: we don't need these MSG_SMB_UNLOCK calls now
These have been replaced with the min timeout in blocking.c
commit 5b398edbee672392f2cea260ab17445ecca927d7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Feb 5 20:59:43 2010 -0800
s3-brlock: add a minimim retry time for pending blocking locks
When we are waiting on a pending byte range lock, another smbd might
exit uncleanly, and therefore not notify us of the removal of the
lock, and thus not trigger the lock to be retried.
We coped with this up to now by adding a message_send_all() in the
SIGCHLD and cluster reconfigure handlers to send a MSG_SMB_UNLOCK to
all smbd processes. That would generate O(N^2) work when a large
number of clients disconnected at once (such as on a network outage),
which could leave the whole system unusable for a very long time (many
minutes, or even longer).
By adding a minimum re-check time for pending byte range locks we
avoid this problem by ensuring that pending locks are retried at a
more regular interval.
commit 5bb89bc47cbba73c732ea6873b72849e9f239503
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Feb 6 14:26:22 2010 +1100
s4-ldb: fixed api.py selftest
subunitrun seemed to be calling a test from its own source, instead of
the samba test. Fix this by calling the test directly.
commit fac6d5212be3e7159896a9c67e15faa4a557c213
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 5 16:20:34 2010 -0800
Remove now unused variable.
Jeremy.
commit bd269443e311d96ef495a9db47d1b95eb83bb8f4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Feb 5 15:20:18 2010 -0800
Fix bug 7104 - "wide links" and "unix extensions" are incompatible.
Change parameter "wide links" to default to "no".
Ensure "wide links = no" if "unix extensions = yes" on a share.
Fix man pages to refect this.
Remove "within share" checks for a UNIX symlink set - even if
widelinks = no. The server will not follow that link anyway.
Correct DEBUG message in check_reduced_name() to add missing "\n"
so it's really clear when a path is being denied as it's outside
the enclosing share path.
Jeremy.
commit abbd0f9195fe9b4feb29b86a04c88be001e2737a
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:55:14 2010 +0100
s3: Make use of ZERO_STRUCTP
commit 3ea602a7c3f71a5cc1b2f867d86d8baa24bfe661
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:53:19 2010 +0100
s3: Remove a pointless if-statement
commit dcc850e3b30f84513c4b38dac88dffa19aac53cd
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:50:11 2010 +0100
s3: Make guest_user_info() static
commit 004e3e400d0f404ffd9515c1f502c5287a4bff1c
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:40:12 2010 +0100
s3: Hide some uses of pdb_get_init_flags (which I would love to remove...)
commit 1cd7223b8e380813b5324eb903e980c6eeefda5f
Author: Volker Lendecke <vl at samba.org>
Date: Fri Feb 5 15:43:26 2010 +0100
s3: Fix some nonempty blank lines
commit e4d29bb4fd0564c39863b56c1a285d6e23e257ab
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jan 30 14:25:51 2010 +0100
s4:UID wrapper - Make it work on older distributions
On my older CentOS 4 installation I had the problem with the missing
substitution prototypes ("uwrap_*"). So I added them to "uid_wrapper.h".
Also, I made the head of the "uid_wrapper.c" file more like the one of
"nss_wrapper.c" - it shouldn't change that much, I did it only to be consistent.
This patch should fix the build on older distributions while keep it running on
newer ones.
commit 16aa0744c6820c5400b73fd4889608c38fc55b39
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jan 30 14:25:51 2010 +0100
s4:UID wrapper - Fix includes
The includes of the UID wrapper headers werent't really efficient according
to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html).
To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c",
"lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c".
commit a51d750652671a41a2828b80feaa9e4d81219002
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sat Jan 30 14:18:57 2010 +0100
NSS wrapper - add dependency to "nsstest"
The code part makes use of the "NSS wrapper" if it is enabled. Surprisingly
the build process doesn't break with the missing dependency on more recent
systems. But with an older CentOS 4 installation it has been broken.
This patch should fix the problem on older distributions while keep the build
running on newer ones.
commit 44b95bc72777ab42f2b089f37b0b84b3b4c0736c
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Feb 5 16:58:32 2010 +0100
s4:Heimdal build - never require the NSS wrapper for Heimdal Kerberos
Disable the use of it in the heimdal code.
Notice: This doesn't need to be ported upstream since it only affects the
build in conjunction with s4.
commit f9f1db18834648da73b7b1f6d9472523941e8277
Author: Lars Müller <lars at samba.org>
Date: Fri Feb 5 17:38:04 2010 +0100
s3: normalize "Changing password for" msg IDs and STRs
An additional space at the end of the "Changing password for" msgid lead
to untranslated pam_winnind messages.
commit 8823a549ca6102e9bf6710361eedc832d4317926
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 14:28:57 2010 +0200
s4/drs: propagate DRS_ extension flags in code base
commit f9d820ed52274806202da0f44ddc7d2555131b38
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 14:27:46 2010 +0200
s4/idl: Regenerate IDL for DRSUAPI interface
commit 5c7f55ba26504d48bdf08031bb5f80a1e6639362
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:48:01 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_RECYCLE_BIN ext. flag for DRSUAPI
This flag corresponds to DRS_EXT_RECYCLE_BIN extended
flag in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC has enabled
the Recycle Binoptional feature.
commit 386f2c3d128878434813d5fdcc4923c56866c793
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:46:20 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10 flag for DRSUAPI
This flag corresponds to DRS_EXT_GETCHGREQ_V10 flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V10.
commit d8a7718b9e73df1f0ddf1d78a6d07de395460101
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:44:49 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V5 flag for DRSUAPI
This flag corresponds to DRS_EXT_GETCHGREQ_V5 flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports DRS_MSG_GETCHGREQ_V5.
commit 6687c6e1826588e64ca2bbbc10251a17c6e6b179
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Feb 2 13:34:55 2010 +0200
s4/idl: add DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY flag for DRSUAPI
This flag corresponds to DRS_EXT_ADDENTRY flag
in [MS-DRSR] documentation.
Reference:
[MS-DRSR] - 5.37
Description:
If present, signifies that the DC supports IDL_DRSAddEntry.
commit d8990326361c215e9da90fd587b3cd51c113376f
Author: Jeremy Allison <jra at samba.org>
Date: Thu Feb 4 16:23:32 2010 -0800
Fix bug 7075 - bug in vfs_scannedonly rmdir implementation.
Check for NULL on opendir, correctly call next rmdir.
Jeremy.
commit 0c93aa3cd5dde4697cd8d2dd59229e5a77fe688b
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 15:19:50 2010 +0100
s3:passdb: fix a type Domain Users has RID -513
metze
commit c2e4746fa9d68e7601e8e90cc0144d2e65a695b6
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Feb 4 14:03:20 2010 +0100
s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum()
When we need to do more than one network operation to get the
browse list we need to use the same 'stype' value each time.
metze
commit 6cf5bdd3d389a2bf30a2cd7118061d037888ab94
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Feb 4 20:19:05 2010 +1100
s4-torture: handle NT_STATUS_CONNECTION_RESET
a CONNECTION_RESET is now the normal "client disconnect" status code
commit 259ba3ab8751d0792c0ce4ddecd68f8f98cf1bd9
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Thu Feb 4 09:22:39 2010 +0100
s4:mark the SYSTEM control always as non-critical
It is needed to not break the various LDAP backends. For reference look at
bug #7040.
commit 55d65ba7213e5b30711b5b5939d53e3d3990d86a
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 4 11:03:55 2010 +0100
s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might require it
commit acedd1c8320afa672ca70c6594bc90ccb7e75a6a
Author: Björn Jacke <bj at sernet.de>
Date: Thu Feb 4 10:35:45 2010 +0100
s3: fix build on Tru64 after it broke with deactivating pthread pool support
commit ae95e8028c294ee1e2dc66a7a62d006572142629
Author: Björn Jacke <bj at sernet.de>
Date: Wed Feb 3 23:28:38 2010 +0100
s3:vfs_scannedonly: fix build on HP-UX
commit bb83ffdc21a05e7b1d47e34400a466aa1ba88793
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Feb 3 23:55:58 2010 +0100
net: Fix python 2.4 compatibility.
commit e00e6a2c96760b4c64a3a0badefdb582caabd31a
Author: Volker Lendecke <vl at samba.org>
Date: Wed Feb 3 07:37:29 2010 +0100
s3: Simplify the code a bit: Catch (len==0) early
commit e1a1468dd73e1e1edb2cf2d8a09dffebb49e56b6
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date: Wed Feb 3 14:20:16 2010 +0100
update samba schema for IBM Directory Server
this increases the sambapasswordhistory field length to 64 and
fixes a warning about a wrong booleanmatch setting
Signed-off-by: Christian Ambach <christian.ambach at de.ibm.com>
commit de24209f0a745ada4220a1751c4ed88ae6eea575
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 2 16:43:41 2010 -0800
Fix bug 7081 - vfs_expand_msdfs doesn't work correctly (with fix identified)
Fix inspired by idea from Eric Horst <erich at cac.washington.edu>.
Jeremy.
commit 110a6f29f0d130753419d5fc5c7b238ab30822ec
Author: Jeremy Allison <jra at samba.org>
Date: Tue Feb 2 16:32:51 2010 -0800
Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.
Reported and found by Martin Hochreiter <linuxbox at wavenet.at>.
Ensure we copy the right amount of registry data into the outgoing
buffer.
Jeremy.
commit 27920f4f90424fa6055d9611713b2df481bc73c2
Author: Björn Jacke <bj at sernet.de>
Date: Tue Feb 2 18:27:49 2010 +0100
s3:configure: check complete set of EA functions only when we found at least one
this saves us some time in configure
commit d8071e7ed7c57e8b0f2d80420e27f9ea7ab63022
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:42:54 2010 -0800
Change uint_t to unsigned int in source4
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a47b6ebb3036f5073fdb2320b584345d3604c38d
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:42:23 2010 -0800
Change uint_t to unsigned int in source3
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3ee9d1a3d1e934eccd0846b4dac30aae40dc70f8
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:41:53 2010 -0800
Change uint_t to unsigned int in pidl
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit aa6a507e76685f2a8d1f3bd33cbf0fbdeb0d69ce
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:41:24 2010 -0800
Change uint_t to unsigned int in libcli
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a7250eb14270101d4ca580acd8fdcaf7e308e515
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:40:54 2010 -0800
Change uint_t to unsigned int in lib/util
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2cb2d5317f8428b5eaef2365c815aa34739a80b5
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:40:26 2010 -0800
Change uint_t to unsigned int in lib/talloc
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d4fc2e82012277e5e8570da5d08d62c6847a99c0
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:39:56 2010 -0800
Change uint_t to unsigned int in lib/crypto
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a2c95a5d961594f2accbb032cd7e8da9767e2e47
Author: Matt Kraai <mkraai at beckman.com>
Date: Tue Jan 5 09:43:24 2010 -0800
Change uint_t to unsigned int in lib/replace
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e3aeea29a4e730ccbe7367645703cdc9ee8e7a7e
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 17:30:30 2010 +0100
s4:NBT-WINSREPLICATION: don't mark a local variable as static
This was somehow introduced in commit 8773e743c518578584d07d35ffdafdd598af88b0.
metze
commit 86bf5eac678d54037d8fcf81bade1f464dd97299
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 19:21:35 2010 -0800
Add debug to make it clear when EA dosmode set is invoked.
Jeremy.
commit f3ee1516e631274531439e0ab7c384d02aff789c
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 18:50:43 2010 -0800
Fix bug #7084 - Create time on directories not stored properly in an EA in new create time code.
Remove erroneous optimisation that caused no EA to be set
if calculated btime matched st_ex btime, and calculated DOS
attribute matched existing file attribute.
Jeremy.
commit a35be8c0c2d804638d9eda5afb6c96ef2f090549
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 18:49:50 2010 -0800
Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
Ensure new files in a directory don't reset the create time.
Jeremy.
commit 4e08d0d0d60be0fc4a080cd616ecb36253e490db
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 15:57:16 2010 -0800
Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown when logged as root.. Doh !
Jeremy.
commit b3009819c55043aca81d5b53c805696dd4c88aac
Author: Jeremy Allison <jra at samba.org>
Date: Mon Feb 1 15:55:55 2010 -0800
Fix bug #7080 - Quota only shown when logged as root.
conn->server_info->utok.uid == 0
isn't the correct check to see if we're root anymore. As rpc_samr_nt.c does,
the correct check is :
geteuid() == sec_initial_uid()
Jeremy.
commit 431d75fc9c7f942dcbd31f80380dda59887ac229
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 15:32:37 2010 +0100
s4:NBT-WINS: test large scopes
metze
commit 70779a46a7b7f6e5c00eba048dbf653d86bc07d4
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 14:55:14 2010 +0100
s4:NBT-WINS: pass the expected rcode of the name registration to the test code
metze
commit c1d8dc01fc6f0fa3a22a405419917d880b832761
Author: Stefan Metzmacher <metze at samba.org>
Date: Sat Jan 30 10:50:33 2010 +0100
s4:NBT-WINSREPLICATION: test replication with names including scopes
metze
commit 331505f09d61cdc5c920293fc36ac1853235177b
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 16:42:24 2010 +0100
s4:NBT-WINSREPLICATION: fix compiler warnings
metze
commit 07b06e51bbf95168899081ba2aa92a4e6a5bac12
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 16:33:58 2010 +0100
s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names
metze
commit ea7ec4fb30a261cedb882c9325815679e5e20d57
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 14:39:13 2010 +0100
s4:winsserver: reject name registrations with a scope length > 237
This matches Windows 2008 behavior. Name releases are just ignored.
metze
commit 7a02a2ba80c2997947a2b2c48c33f8c7647f7471
Author: Stefan Metzmacher <metze at samba.org>
Date: Sun Jan 31 18:59:41 2010 +0100
s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as Windows 2008 does
metze
commit e37dc56e971f44c00791529a39144d1a972e3ca2
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Feb 1 15:18:15 2010 +0100
libcli/nbt: fix ndr_push_nbt_string() string labels with a length of 63 (0x3F) are allowed
metze
commit 93142e4a3a0a7dbe5f8ba737bd45f01c61d997da
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Jan 20 18:10:05 2010 +0200
s4/ldif: Handle Schema:prefixMap blobs in W2K3 and W2K8
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 83068b42ae22af18c5a06dc05a86021db0e25634
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Jan 20 17:58:39 2010 +0200
s4/ldif: Better control on ldif_write_NDR() errors processing
Current implementation mask NDR_ errors implicitly.
Thus the caller has no opportunity handle such an error.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a342e3a419058e28f073a6c5b96ede15a8bdec91
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Jan 19 16:54:09 2010 +0200
s4/idl: drsblobs IDL regeneration
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 20db3211ae406004425dd2e2b4294b03b4c4ecbf
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Jan 19 16:53:32 2010 +0200
s4/drsblobs: Custom ndr_print_ implementation for drsuapi_MSPrefixMap_Entry
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit cd3d165778e51987f185a58ff49c124a555e14e7
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Tue Jan 19 16:52:10 2010 +0200
s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attribute
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 531059696e17d1ee538310d81af309c107d08e3e
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 29 18:21:09 2010 +0100
tdb: fix an early release of the global lock that can cause data corruption
There was a bug in tdb where the
tdb_brlock(tdb, GLOBAL_LOCK, F_UNLCK, F_SETLKW, 0, 1);
(ending the transaction-"mutex") was done before the
/* remove the recovery marker */
This means that when a transaction is committed there is a window where another
opener of the file sees the transaction marker while the transaction committer
is still fully functional and working on it. This led to transaction being
rolled back by that second opener of the file while transaction_commit() gave
no error to the caller.
This patch moves the F_UNLCK to after the recovery marker was removed, closing
this window.
commit 42f512552190396f69404a135d19e4325bde7d16
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:39:36 2010 +0100
s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in RPC-SPOOLSS-NOTIFY.
Guenther
commit 0c6aae4d53488738d2180947a31c6373bf6ec81d
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:31:00 2010 +0100
s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in RPC-SPOOLSS-NOTIFY.
Guenther
commit 377abba0e9c2a62c7f59191a843ae81104e7b1ba
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:30:09 2010 +0100
s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.
Guenther
commit 55ae3d1729170dfd462ad8375a9dc01889165f3d
Author: Günther Deschner <gd at samba.org>
Date: Sun Jan 31 20:23:35 2010 +0100
testprogs: also print printer info during GetPrinter spoolss test.
Guenther
commit f77714c8874a5caaca74d8176259604bc8c32117
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 13:28:04 2010 -0500
s4:kdc streamline context initialization
Allow other plugins to init the context without having it try to grab sockets
or set samba specific logging.
commit b116d4e5b9ca402743c3ac8b6a37f9a8550f5505
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 12:49:07 2010 -0500
s4:kdc Streamline client access verification call
Move the core to pac-glue so that other plugins can use it.
commit 0520bd77822f494fe044ca8368c7964e560839d3
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 12:53:50 2010 -0500
s4:kdc Fix netbios name retrieval
The code was looping but always checking only the first address.
commit 08a20006c84f8460c8f261f07e28fc345b0dfc1f
Author: Simo Sorce <idra at samba.org>
Date: Sun Jan 31 13:24:18 2010 -0500
s4:ldb quiet down rootdse control registration
commit 0beac794b68388a197e19fbb49ae18345633dbd2
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 31 15:38:16 2010 +0100
s3: Fix some DEBUG messages
commit 687e4eba3cced6015fdcaac2c6ba675cdebc1273
Author: Jeremy Allison <jra at samba.org>
Date: Sat Jan 30 19:24:28 2010 -0800
Fix bug #7079 - cliconnect gets realm wrong with trusted domains.
Passing NULL as dest_realm for cli_session_setup_spnego() was
always using our own realm (as for a NetBIOS name). Change this
to look for the mapped realm using krb5_get_host_realm() if
the destination machine name is a DNS name (contains a '.').
Could get fancier with DNS name detection (length, etc.) but
this will do for now.
Jeremy.
commit f42971c520360e69c4cdd64bebb02a5f5ba49b94
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Sat Jan 30 13:29:23 2010 -0800
s3/smbd: Fix string buffer overflow causing heap corruption
The destname malloc size was not taking into account the 1 extra byte
needed if a string without a leading '/' was passed in and that slash
was added.
This would cause the '\0' byte to be written past the end of the
malloced destname string and corrupt whatever heap memory was there.
This problem would be hit if a share name was given in smb.conf without
a leading '/' and if it was the exact size of the allocated STRDUP memory
which in some implementations of malloc is a power of 2.
commit 772d808ac862862330dd792ba8e83ba2b3c785b3
Author: Simo Sorce <idra at samba.org>
Date: Sat Jan 30 02:57:33 2010 -0500
s4:ldb Fix check made conditional by mistake
commit df7be036d7b4e08b18bd03399847dad41b78be50
Author: Simo Sorce <idra at samba.org>
Date: Sat Jan 30 00:33:22 2010 -0500
s4:ldb add support for permissive modify control
commit 1876b5a7e33a1376a5e275a52f8fbab69fa82ab6
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 29 16:41:53 2010 -0800
Fix a really interesting problem found by Volker's conversion of sessionsetup SPNEGO to asynchronous code.
Normally clistr_push_fn() can depend upon cli->outbuf being
initialized by negprot and sessionsetup packets, and cli->outbuf[smb_flgs2] being
correctly set with FLAGS2_UNICODE_STRINGS when cli_setup_packet() is called. When
all the sessionsetups are async, then cli_setup_packet() is never called, the async
code uses cli_setup_packet_buf() - which initializes the allocated async buffer,
not the cli->outbuf one. So the first time clistr_push_fn() is called is from
libsmb/clidfs.c:cli_dfs_get_referral(), just after the connection and tconX.
In this case cli->outbuf has never been initialized, and cli->outbuf[smb_flgs2] = 0
so the DFS query pushes ASCII on the wire, which is not what we want :-).
Remove the dependency on cli->outbuf[smb_flgs2] in clistr_push_fn(), and
fake up a SVAL(cli->outbuf, smb_flg2) value using cli_ucs2(cli) function
instead, which has been initialized. We only care about the FLAGS2_UNICODE_STRINGS
bit anyway.
I don't think this is an issue for 3.5.0 as the sessionsetup is still
synchronous there, but Volker PLEASE CHECK !
Jeremy.
commit ce73f91ee2681862e26e84e5572336d84cf341c4
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 29 14:36:36 2010 -0800
Fix const warning.
Jeremy
commit d89427ad271470bee11cfb0283e76d7b8a48e416
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 29 21:36:23 2010 +0100
Revert "s4:include/includes.h - Need to include "system/network.h""
This reverts commit 97fd03a15a694450e80310fc776a58c6fde58a52.
This obviously broke the build. Revert it for now.
commit 97fd03a15a694450e80310fc776a58c6fde58a52
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 29 20:13:38 2010 +0100
s4:include/includes.h - Need to include "system/network.h"
Otherwise I don't get the definition of "struct in_addr" for "lib/util/util.h" on CentOS 4.
commit dfd93fc7e3d2991abb67be63d8e859b50f99b473
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Jan 29 20:01:34 2010 +0100
s4:libcli/util/tstream.c - Need to include "system/network.h"
Otherwise I don't get "struct iovec" through "<sys/uio.h>" on CentOS 4.
commit 6442b0fcc1931c9b41dd66b3450a216f673d4fe2
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 28 18:58:23 2010 +0100
libcli/nbt: fix off-by-one bug in ndr_pull_wrepl_nbt_name()
The scope starts at byte 17 with index 16.
metze
commit c50a17cc8d6bc23f03c3d44ceccebce06417ba21
Author: Stefan Metzmacher <metze at samba.org>
Date: Thu Jan 28 18:52:46 2010 +0100
libcli/nbt: fix ndr_pull/push_wrepl_nbt_name()
[MS-WINSRA] â v20091104 was wrong
regarding section "2.2.10.1 Name Record"
If the name buffer is already 4 byte aligned
Windows (at least 2003 SP1 and 2008) add 4 extra
bytes. This can happen when the name has a scope.
metze
commit a20b43f23f2254edb1fcd6d3916dd57e6a4778ee
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jan 29 15:23:29 2010 +0100
s3: link thread objects in libsmbclient only and adjust linker flags
commit e95e3270d1f3fece7292359d276ce45913a699ac
Author: olivier <olivier at virtscano.fakenet>
Date: Fri Jan 29 12:04:35 2010 +0100
AIX doesn't have MSG_DONTWAIT
commit adc38b00a90897da0ccf0120638b520153d0f4d6
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Jan 29 15:42:46 2010 +0200
Fixed a bug caused by a typo. Infrastructure role didn't work.
commit 2dc56d68faabea23d1a2677f404220339180ab1a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Jan 25 03:17:29 2010 +0200
s4/ldap: Test to expoit ldb_ildap bug in case of nested search requests
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a4d0ed5a1027f4cb58732c78cb63464dbf9cc287
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Mon Jan 25 12:22:39 2010 +0200
s4/ldap: Fix nested searches SEGFAULT bug
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e3d50e89ab5081ae858017f83f3258283baaf978
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Jan 22 15:23:17 2010 +0200
s4: Ignore few more auto-generated files
commit f450d1f43a4d4968428a882166ce28231cb67949
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 13:07:39 2010 +0100
librpc: rerun 'make idl'
metze
commit 34a5d56d5568ed2d50cc618469df1de9e602beba
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Jan 29 13:07:00 2010 +0100
security.idl: add wellknown TrustedInstaller SID
metze
commit 118725c892e445fcc1dc5947cb919cf99c49373f
Author: Björn Jacke <bj at sernet.de>
Date: Fri Jan 29 12:42:25 2010 +0100
s3: by default don't use pthread pool support
commit ad6ea7b189a467833fcde6a0acdb8ceb7e7198c9
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 20:14:04 2010 +0100
lib/util: remove data_blob_talloc_reference()
We want to avoid the usage of talloc_reference() in Samba.
metze
commit 1c76df6219a4859bc0b7be1e57c1844df78237e7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 20:11:29 2010 +0100
s4:auth_sam: avoid usage of data_blob_talloc_reference() and copy the session keys
metze
commit ddd595e687aa24f78de71ba0f0ea74354f95e3d1
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 27 11:01:25 2010 +0100
s4:libcli: remove unneeded talloc_reference() usage
metze
commit 14e006747eb28b473e5c8070ef021600e1adeeca
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 19:32:38 2010 -0500
s4:kdc remove dead code and comments
commit 7b355d41b52e9ff0ae705da7a7620f03a1868a19
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 08:58:44 2010 -0500
s4:kdc Fill in more data fields
commit 3ce54a4a973d79012e0ea5a1351393d6b006c809
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 01:27:11 2010 -0500
s4:kdc move db functions in their own file
Keep all heimdal related plugin code within hdb_samba4.c
Move interfaces needed by multiple plugins in db-glue.c
Move sequence context in main db context so that we do
not depend on db->hdb_dbc in the common code.
Remove unnecessary paremeters from function prototypes
commit a097527ab73c781322d643f6f444c0d146d0ce87
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 00:19:59 2010 -0500
s4:kdc Use a clearer name for the samba kdc entry
Renames hdb_samba4_private to samba_kdc_entry
Streamlines members of the entry and the kdc db contextto avoid
unnecessary duplication.
commit c6865af4450432bec3f5383d6c815934ac89d434
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 00:08:36 2010 -0500
s4:kdc Use better db context structure
This allows to use a common structure not tied to hdb_samba4
Also allows to avoid many casts within hdb_samba4 functions
This is the first step to abstract samba kdc databse functions
so they can be used by the MIT forthcoming plugin.
commit f387ed88e8b5b32eb121724d99d73d8ce55e745e
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 28 10:38:24 2010 -0800
Fix bug #7069 - smbget does not return an error status after some errors
A combination patch from Johannes Poehlmann <johannes at lst.de> and
Jeremy. Fix the return codes from smb_download_file() and smb_download_dir().
Jeremy.
commit 139634563824a92c98091786e17b82d480df4a8a
Author: Karolin Seeger <kseeger at samba.org>
Date: Thu Jan 28 15:10:54 2010 +0100
s3/winbind_ccache: Fix typo in debug message.
Karolin
commit 88099bcc93fabebe3d4548f8a5aa26b585886a1c
Author: Kai Blin <kai at samba.org>
Date: Thu Jan 28 11:16:24 2010 +0100
tsocket: Fix the description of tstream_writev_queue_send/recv
commit 9184f524f0e5fe828b723200182969e0e3e8685d
Author: Kai Blin <kai at samba.org>
Date: Thu Jan 28 11:11:33 2010 +0100
tsocket: Fix description for tstream_readv_pdu_queue_send/recv
commit 2fdff7f596268b53084f3fc15102c9e000966f02
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 28 18:02:39 2010 +1100
s4-ldbtest: fixed python import
commit 882feb39a28c1a130a38c5406bdebd3eaff0d06c
Author: Eduardo Lima <eduardoll at gmail.com>
Date: Mon Jan 18 15:03:48 2010 -0200
s4-drs: implementation of some delete test cases
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 61a4ab36d9b453f597ed61117c63491e676f3d16
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 28 02:05:05 2010 -0500
cleanup: remove trailing spaces and tabs
commit 28420fe68aee1e7b70192573ff88a03e44ded563
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Jan 21 09:20:44 2010 -0200
s4-drs: Reads uSNUrgent and sets Urgent Replication Bit for DS_ReplicaSync when necessary
If an urgent replication is necessary, so the uSNUrgent stored is equal to the
uSNHighest stored, then when sending the DS_ReplicaSync message it sets the
DRSUAPI_DRS_SYNC_URGENT bit on DRS_OPTIONS.
Signed-off-by: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 69fd8461b8792f4fee1b61db03953044565492c6
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 27 16:52:40 2010 -0800
Second part of fix for bug #7072 - Accounts can't be unlocked from ldap.
Missed read of entry_timestamp (was entry->entry_timestamp).
Jeremy.
commit 627fb85092f728065b6d772c41aeb75018154e86
Author: Jeremy Allison <jra at samba.org>
Date: Wed Jan 27 16:42:06 2010 -0800
Fix bug #7072 - Accounts can't be unlocked from ldap.
Fix suggested by Andy Hanton <andyhanton at gmail.com>. The LOGIN_CACHE
struct contains two time_t entries, but was being written to and
read from via tdb_pack/tdb_unpack functions using explicit 32-bit int specifiers.
This would break on machines with a 64-bit time_t. Use correct int
sizes for tdb_pack/tdb_unpack.
We have to fix this properly before 2037 :-).
Jeremy.
commit 8e26aa3d7cec968584283634fe3dce5553387c8c
Author: Lars Müller <lars at samba.org>
Date: Thu Jan 28 00:40:39 2010 +0100
testsuite/libsmbclient use source3 in the path of the C and LFLAGS
commit 97c4c63990fceb01fd1110d4fcc97b70f623b201
Author: Lars Müller <lars at samba.org>
Date: Thu Jan 28 00:38:04 2010 +0100
Link testsuite/libsmbclient against required libtdb and libwbclient
commit 1f7e97a8a257b3280ca14168adf2d59ca9e1074c
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 27 23:43:23 2010 +0100
s3: syntax fix
commit 2f9eb6bff5faa2c00c901fdf7b7c3489b473a1d3
Author: Lars Müller <lars at samba.org>
Date: Wed Jan 27 22:40:19 2010 +0100
s3: Install and uninstall the static version of libwbclient
This requires to call configure with --enable-static which isn't the case
by default.
commit b63b9bcd42e864d4b7024944c9d0b467487348f0
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:56:16 2010 -0500
s4:windc move windc plugin in its own file
Keep all heimdal related plugin code within wdc-samba4.c
Leave only interfaces common to multiple plugins in pac-glue.c
commit 1f2e9e90bdbd609dc6316c6dd71faa25a0138915
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:43:54 2010 -0500
s4:PAC make common functions public
commit 82a80b7f71d549e93995603a20ba119003c923fa
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:09:32 2010 -0500
s4:PAC Streamline pac-glue step 2
Split functions so that no assumption is made about which plugin
is using them
commit 85e3561dc9883aa957de85ad2ff82e0cc13c81b4
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 26 11:06:00 2010 -0500
s4:PAC Streamline pac-glue
First step, preparing to share the code between multiple plugins.
commit 6bade10a1eb21689613770f9a54e0a080663029c
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 27 18:54:55 2010 +0100
s3: get pthread detection also on HP-UX right
commit dffb5ad2bf75fc0bcb69dce5cde52c8a1ea9c4f9
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Jan 27 17:57:37 2010 +0200
Implemented net fsmo command for transferring fsmo roles
The command allows the user to transfer a fsmo role to the server to which
the connection is established. Roles can be transferred or seized. By default a
transfer is attempted even if seize option is chosen, as it is dangerous to
seize a role if the current owner is still running.
example use:
net fsmo show --host=hostnameoraddress --username=username --password=password
net fsmo transfer --role=role --host=hostnameoraddress --username=username --password=password
net fsmo seize --role=role --host=hostnameoraddress --username=username --password=password [--force]
Tested against Win2008. Does not work for samba 4 yet as we are missing the GetNCChanges extensions.
commit 0e2d1cf9c4067dfce80a21ebf735d7d6a823d55e
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 27 15:04:00 2010 +0100
s4-smbtorture: pick correct last packet while checking backchannel replies in RPC-SPOOLSS-NOTIFY.
Guenther
commit 1ead83947fce60a74ca88460c2453d8e7e0f58c4
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 27 13:39:24 2010 +0100
s3-selftest: try to get RPC-SPOOLSS-NOTIFY running during make test on the buildfarm.
Guenther
commit 098fc8c09c64c9fa37ae70638e3b30340a7ae183
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 00:47:42 2010 +0100
s4:torture: refactor querying of domain info out into test_QueryDomainInfo2_level()
Used in several places.
(Note: The _level suffix in the function name is just because
test_QueryDomainInfo2() already exists as an overall test for all levels.)
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit 0a33b20f70506d0a01b4c543ab57ca2488187ee9
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 00:46:19 2010 +0100
s4:torture: create new test_SetDomainInfo_ntstatus()
for checking for SetDomainInfo giving a desired return code.
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit c1d157a48102c50c72a85b60fba5237436377ffd
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 22 00:21:29 2010 +0100
s4:torture: refactor setting of domain inf out into test_SetDomainInfo()
and use it in several places.
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit 50a46cff76e33dc8828c49bf0665afeeb2b7c1eb
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 21 23:55:51 2010 +0100
s4:torture: refactor setting account flags out into test_SetUserInfo_acct_flags()
and use this in four places (enabling/disabling accounts).
Michael
Signed-off-by: Günther Deschner <gd at samba.org>
commit 899bd0005f56dcc1e95c3988d41ab3f628bb15db
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 26 16:51:57 2010 -0800
Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to respond to a read or write.
Only works on Linux kernels 2.6.26 and above. Grants CAP_KILL capability
to allow Linux threads under different euids to send signals to each other.
Jeremy.
commit 2dd301e5cd6ff97943c4bf9c7cd9b820d6193b45
Author: Lars Müller <lars at samba.org>
Date: Tue Jan 26 22:54:15 2010 +0100
Add dependency of bin/smbfilter to libwbclient.
commit dee1b41ae7e3531f508a7a79adb3118a3af78da5
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Jan 26 14:57:15 2010 +0100
s4-libcli: Fixed a talloc_reference error.
Signed-off-by: Andreas Schneider <asn at redhat.com>
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 137fd79f445c30b04d443288c03db2b1cc5dcba3
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 26 15:22:09 2010 +0100
s4:winsrepl.idl: add random interface uuid
This is needed to include the wrepl interface into
ndrdump.
metze
commit 601642d92369ca9c572e40aa32b5b3b53eeb8dbf
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 26 15:20:57 2010 +0100
s4:smbtorture: add BASE-BENCH-HOLDOPEN
This is useful for manual performance testing with a large
number of share mode entries.
metze
commit a0c31ec1c8d1220a5884e40d9ba6b191a04a24d5
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Jan 26 08:15:41 2010 -0500
mount.cifs: don't allow it to be run as setuid root program
mount.cifs has been the subject of several "security" fire drills due to
distributions installing it as a setuid root program. This program has
not been properly audited for security and the Samba team highly
recommends that it not be installed as a setuid root program at this
time.
To make that abundantly clear, this patch forcibly disables the ability
for mount.cifs to run as a setuid root program. People are welcome to
trivially patch this out, but they do so at their own peril.
A security audit and redesign of this program is in progress and we hope
that we'll be able to remove this in the near future.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit a065c177dfc8f968775593ba00dffafeebb2e054
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Jan 26 08:15:41 2010 -0500
mount.cifs: check for invalid characters in device name and mountpoint
It's apparently possible to corrupt the mtab if you pass embedded
newlines to addmntent. Apparently tabs are also a problem with certain
earlier glibc versions. Backslashes are also a minor issue apparently,
but we can't reasonably filter those.
Make sure that neither the devname or mountpoint contain any problematic
characters before allowing the mount to proceed.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 3ae5dac462c4ed0fb2cd94553583c56fce2f9d80
Author: Jeff Layton <jlayton at redhat.com>
Date: Tue Jan 26 08:15:41 2010 -0500
mount.cifs: take extra care that mountpoint isn't changed during mount
It's possible to trick mount.cifs into mounting onto the wrong directory
by replacing the mountpoint with a symlink to a directory. mount.cifs
attempts to check the validity of the mountpoint, but there's still a
possible race between those checks and the mount(2) syscall.
To guard against this, chdir to the mountpoint very early, and only deal
with it as "." from then on out.
Signed-off-by: Jeff Layton <jlayton at redhat.com>
commit 7148eff0b7f3a58be2d2c47516a8b9e3bc3d3c64
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 26 12:10:17 2010 +0100
s4-smbtorture: also test smbc_getOptionUseCCache
commit 08fa57335a2e1ac44764330c0d95aaf099aa0c15
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 26 10:51:32 2010 +0100
s3: Enable use of ccache by default for libsmbclient
Disable this by setting the environment variable LIBSMBCLIENT_NO_CCACHE, which
has the advantage over an smb.conf option to be easily settable per
application.
commit 1e2e92f54d90c59a2a340728d3adc3cac1dd8133
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 25 17:38:55 2010 -0800
Correct fix for unused variable return from ndr_decode. Use it :-).
Jeremy.
commit 2fff1e13f1d0f450a1efc771e209a3b3f94fb7c4
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jan 25 17:06:54 2010 -0800
Revert "s3: remove unused Variable"
This reverts commit 9536d94d5478b63fc05047964b40d8786a7246c4.
Bjorn, your change removed the ndr_decoding of the dos attribute.
Not a good idea :-).
Jeremy.
commit e87adf523bcf7521e643bc99003d5d35242b7abf
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jan 26 01:16:37 2010 +0100
Revert "libreplace: fix unused varibale warning on IRIX"
this one was broken
commit 5439e1a03f66ff9722987f908babfd71ebd698f1
Author: Björn Jacke <bj at sernet.de>
Date: Tue Jan 26 00:17:10 2010 +0100
s3: fix detection and flags for using pthread
I hope this fixes the build on Tru64, IRIX and maybe bug #6983
commit 60a3086d78d9cf445034172f594325cb7b929d24
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:24:35 2010 +0100
s3: remove unused variable
commit 38be40f63c9fd2eecb840badaff23b915bc20fee
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:23:49 2010 +0100
s3:async_smb: remove unused variable
commit b6839e1bfd10d28046f75f9f9c25f8af2665eda3
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:07:24 2010 +0100
libreplace: fix unused varibale warning on IRIX
commit 9536d94d5478b63fc05047964b40d8786a7246c4
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 23:00:14 2010 +0100
s3: remove unused Variable
Jeremy, please check!
commit 55d448254a9994ecace63c077dc7768675ea3c98
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 25 22:57:36 2010 +0100
s3:netapi: remove unused variable
commit 463aa06442f1d6c7088c5d47f003b82e4293b70d
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 25 19:54:24 2010 +0100
lib/popt: Fix typo in README.
Karolin
commit a3420bf7a52c3d9fa6cba75aa88d1f4087c0e3aa
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 25 19:53:42 2010 +0100
s3/docs: Fix typo.
Karolin
commit 9ce9fdd9f451a4d7b4b6cce454657eb2b00fbb7c
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 25 19:50:21 2010 +0100
s3/registry: Fix typo in comment.
Karolin
commit 005bbd0826f05794562a772e6fa05fd5ba9a43e7
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 16:44:38 2010 +0100
Revert "libcli/security: Remove a call to strncasecmp"
This reverts commit 7c687665eaf16b0c6f83c130f6d9e5459e0b2a32.
commit d86d5be63692220bc2ad5fb84eaeb70a7a03dca2
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 16:44:27 2010 +0100
Revert "libcli/security: Convert some strtol calls to strtoul"
This reverts commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b.
commit fa47dbb57ad43a97aaf03b371b0dd8addc4a5c47
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 16:42:49 2010 +0100
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"
This reverts commit f1c889a4e61d6d751cbabd8014b4345b8051b97c.
commit 4291e28a938695593dd90a30d3c2e49defba3e8b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Mon Jan 25 15:17:56 2010 +0100
s4-python: Fix formatting.
commit 0b7910b8bf32ba983d1b8e35d3eef8a73d7dd1e6
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 22 12:05:18 2010 +1300
upgrade_from_s3: Remove unused imports.
commit 8562bbdce5fd2711f527c3922b684f651f68c7f7
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 22 12:02:51 2010 +1300
pyxattr: Move to the same directory as the xattr code.
commit b35dcd7a1811c6151469fc023e6a40616ca83497
Author: Kai Blin <kai at samba.org>
Date: Mon Jan 25 12:51:35 2010 +0100
s4 includes: Include system/locale.h to get access to <ctype.h>
commit 2024d4fb27514869d78e9bb39085f98e80413529
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 12:41:48 2010 +0100
Revert "s3: Make string_to_sid a wrapper around dom_sid_parse"
This reverts commit dff03b61fd5d923562711b38cc7dbe996dc07283.
commit a53a8ec45245353d978e6f845c41d76b2e12a3c6
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 25 12:39:47 2010 +0100
Revert "libcli/security: Prohibit SID formats like S-1-5-32-+545"
This reverts commit 1fbeae41655b8305834f2149b1268077eba8633d.
Apparently this breaks the build of Samba4
commit b5d47263162856c423f484df44914271b76b1e53
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 22 16:27:39 2010 +0100
s4-smbtorture: test wbcResolveWinsByName/wbcResolveWinsByIP in WINBIND-WBCLIENT testsuite.
Guenther
commit e16e75a4f0e8887b1cce35384d1157743270439e
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 22 15:06:50 2010 +0100
s4-smbtorture: add test for wbcPingDc to WINBIND-WBCLIENT testsuite.
Volker, please check, you know best how this interface is designed :-)
Guenther
commit 5dfec4f36b90f0343e6ef4d457f67dccbfee8480
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 22:18:24 2010 +0100
s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into smaller parts.
Guenther
commit 818fb00381c4f89d4375f2f41f6fcbb42999d871
Author: Günther Deschner <gd at samba.org>
Date: Wed Jan 20 00:44:16 2010 +0100
testprogs: print all driver info levels in spoolss testsuite.
Guenther
commit 4eb1523d87e4ed1bcc5b1ec64da0b53ce2264000
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 19:24:10 2010 +0100
s3-libsmbclient: Add smbc_setOptionUseCCache()
Can we enable this by default? This would be a change in behaviour, but this
feature is just too cool for everyone to catch up in the apps.
The patch would be
commit dc1bcec73cb3c895ebd84614cc5a14ca0eae0505
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 18:50:48 2010 +0100
s3: Add --use-ccache to net
commit aa837d4aeed46a0ddbf6545d7e0474a0f5d86cec
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 18:50:31 2010 +0100
s3: add libnetapi_set_use_ccache()
commit bff48738a88875c5279e70f2886e894584f0cd7f
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 18:51:58 2010 +0100
s3: Fix a bug in net's use of popt
In order to add --use-ccache to net, I added another "bool opt_ccache;" to
struct net_context. popt did not like this, it took a while to figure out why.
Popt has the lines
/* XXX Check alignment, may fail on funky platforms. */
if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1)))
return POPT_ERROR_NULLARG;
The "bool opt_ccache;" was not aligned anymore...
commit b8996baba613edd1e50bffa87647c41e03b08db3
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:35:04 2010 +0100
s3: Enable -C in rpcclient
commit ca48d6ab778a49f7676b27a7df054d75f4c819c1
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:34:13 2010 +0100
s3: Add CLI_FULL_CONNECTION_USE_CCACHE
commit d016bdb72c3bd5993d0f4acb583512f25ea9521c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:08:56 2010 +0100
s3: Use -C in smbclient
$ bin/wbinfo --ccache-save=w2k3ad\\vl%Password
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
smb: \>
$ bin/wbinfo --ccache-save=w2k3ad\\vl%WrongPassword
saving creds succeeded
$ bin/smbclient //192.168.42.160/tmp -Uvl -N -C -W w2k3ad
Anonymous login successful
Domain=[W2K3AD] OS=[Windows Server 2003 R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
tree connect failed: NT_STATUS_ACCESS_DENIED
$
commit 21ec6a6cbd358f36aa9bf5974c5c53b8732cdceb
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 17:07:24 2010 +0100
s3: Add -C (--use-ccache) to popt_common_credentials
commit a03a83ad26b2cfa571b18f423915312c29fd33c7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:50:46 2010 +0100
s3: Add ccache use to cli_session_setup_ntlmssp
commit ff0274c519c036c28b70efbb8bf823347c91eb96
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:47:24 2010 +0100
s3: Add NTLMSSP_FEATURE_CCACHE
Uses the winbind ccache to do authentication if asked to do so
commit e879b50b32a86ca4392147ab5473766f74a61118
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:44:15 2010 +0100
libwbclient: Actually implement wbcCredentialCache()
commit 6ba9bf004f966a217e705b69fd8c713391941929
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 16:41:30 2010 +0100
s3: Add the session key to the ccache_ntlm_auth response
commit 7d18d058a1203ab7079f9dbdf37962803064d699
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 9 20:20:36 2010 +0100
s3: Add wbinfo --ccache-save
With this command you can give winbind your password for later use by
the automatic ntlm_auth
commit 185815a6472a7a09602b3c51198e20257241dfa7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 24 13:46:59 2010 +0100
s3: Remove some calls to memset -- reduces text size by some bytes for me
commit 96b12e0d59b27913e915ea28b3edaa7023b765c5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 19:38:28 2010 +0100
libwbclient: Use winbindd_free_response()
commit 5a313731f3960120c08a06f2c9e9f6ea56ed9f6f
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 19:26:51 2010 +0100
libwbclient: Remove a pointless talloc_strdup
commit d69d07ce62f2cb9468caf8d1a1dddc8082e0d492
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jan 18 21:47:24 2010 -0600
s4-provision: Added msDS-NcType into samba4Top object class
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 5cdd30011c5b09fd9aac669047e0c2f60f558feb
Author: Endi S. Dewata <edewata at redhat.com>
Date: Mon Jan 18 21:01:08 2010 -0600
s4-provision: Fixed typos and redundant code
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit ce709389e61cdc538f9c071ece37ce97abad9292
Author: Endi S. Dewata <edewata at redhat.com>
Date: Tue Jan 19 23:10:19 2010 -0600
s4-provision: Disable populating FDS during instance creation.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
commit 756444566f60fca62ae5f5a17ddbf5267c25dad2
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 18:20:36 2010 +0100
nsswitch: Move nss_err_str to its only caller
commit c821be415b6798d0eaf182e18234513c36d42336
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 18:06:53 2010 +0100
nsswitch: Make some functions static
commit dff03b61fd5d923562711b38cc7dbe996dc07283
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 15:24:20 2010 +0100
s3: Make string_to_sid a wrapper around dom_sid_parse
commit 397a6faed9061a6b814cc173cfe4056947ad88aa
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 14:55:11 2010 +0100
s3: Add a little torture test for dom_sid_parse
commit 1fbeae41655b8305834f2149b1268077eba8633d
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 14:53:54 2010 +0100
libcli/security: Prohibit SID formats like S-1-5-32-+545
commit f1c889a4e61d6d751cbabd8014b4345b8051b97c
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:53:48 2010 +0100
libcli/security: Fix a valgrind error in dom_sid_parse
commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:50:59 2010 +0100
libcli/security: Convert some strtol calls to strtoul
This tightens the dom_sid_parse syntax check a bit: "--" would have been
allowed in sid string
commit 7c687665eaf16b0c6f83c130f6d9e5459e0b2a32
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:48:49 2010 +0100
libcli/security: Remove a call to strncasecmp
commit a771c184b19cfabfebd77d61ea2d5c51b5f61ef7
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 3 18:46:21 2010 +0100
libreplace: Fix a C++ warning
commit dbf9017a807f317333596092fc3493d7c5a96c65
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:31:27 2010 +0100
s3: Remove string_sid_talloc
All but one call were pointless, so I think this API should go
commit 2002b4e4c23d1a5392c4c09ecfb9b0e9f34487ae
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:30:04 2010 +0100
s3: Remove a call to string_sid_talloc
commit c2c71b8e053ea5a619c94d9dc30a01ae3627da91
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:26:55 2010 +0100
s3: Fix sending NULL sids to lookupsids3
commit 9fcbe3a65c6f30754f3f705c3e0b4a4ae150c679
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:18:00 2010 +0100
s3: Remove some pointless uses of string_sid_talloc
commit 3e1a1616ec2b51993e988e43ecf0c0f78b1607e5
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:17:28 2010 +0100
s3: Use global_sid_Builtin in net_groupmap_memberships
commit 8905b599b467f0595cf5874b7e36d9a650f8544a
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 23 13:33:10 2010 +0100
s3: Fix some nonempty blank lines
commit 4c548048c55ab3b7c79f5317281988b446c7fbf2
Author: Simo Sorce <idra at samba.org>
Date: Thu Jan 21 09:57:41 2010 -0500
s4:kdc Simplify header files
commit 9acbed13e877cb4cf69c93598d89cb865aa7f194
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 22 13:31:44 2010 +0100
s3: Fix some nonempty blank lines
commit ee4a3606e606da5803d6e1ebac0c839c7a8a2a55
Author: Volker Lendecke <vl at samba.org>
Date: Fri Jan 22 13:31:30 2010 +0100
s3: Fix a typo in a comment
commit 253465456a994e1fcbeabd64f3924f173ea1b865
Author: Volker Lendecke <vl at samba.org>
Date: Mon May 18 16:04:04 2009 +0200
s3:pdb_ldap: Fix large paged search.
Fix bug #6981 (Paged Search with DirX LDAP server broken).
(cherry picked from commit 0a3b576c0a4298cbe600ad8943e401e3a0639359)
commit c531d00ab4444db19ff6ba4c60ebdcc8319949c6
Author: William Jojo <w.jojo at hvcc.edu>
Date: Thu Jan 21 14:21:03 2010 +0100
s3: Fix bug 7052: "DFS broken on AIX (maybe others)"
commit 9b4b9d26f18a50028cbc9f593b44882b4dced809
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 21 14:05:04 2010 +0100
s3: Initialize the seqnum in "init_smb_request"
This makes it a bit more obvious for me that the signing sequence number is
tied to the SMB request.
commit 33e397f9fde1346d4f6488128efcd6ecba06143c
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 21 13:58:39 2010 +0100
s3: Make "init_smb_request" static to process.c
commit fb4679638d03a555c722c08ee1de121fc8ff23f1
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 20 17:54:40 2010 +0100
s4:rpc-server:samr: fix setting of lockout duration < lockout window
This should return NT_STATUS_INVALID_PARAMETER.
This makes samba pass the first part of the samr-lockout test.
This constraint is documented here for the samr server:
http://msdn.microsoft.com/en-us/library/cc245667%28PROT.10%29.aspx
MS-SAMR 3.1.1.6 Attribute Constraints for Originating Updates
and here for the ldap backend:
http://msdn.microsoft.com/en-us/library/cc223462(PROT.10).aspx
MS-ADTS 3.1.1.5.3.2 Constraints
So the check should actually be moved down into the backend,
i.e. under dsdb/samdb/ldb_modules - TODO..
Michael
commit 24d4433bd75366774945ed59c0043428dedea4ba
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jan 21 12:57:07 2010 +0100
s3: Move "yesno" to the only place where it is used: client.c
commit 3d40d8461efbd9010487f1ef6cbd72a5c4754f55
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jan 21 09:25:43 2010 +0100
s3/doc: update vfs_shadow_copy2 man page according to new options
commit a5ca70a8676925a50ae014d25240726e70044aee
Author: Ed Plese <ed at edplese.com>
Date: Sun Dec 6 21:03:06 2009 -0600
Add localtime parameter to shadow_copy2.
commit 05cd30ba42e3468a102d791ddee65f36b1b4161c
Author: Ed Plese <ed at edplese.com>
Date: Thu Jan 21 08:30:01 2010 +0100
Add format parameter to shadow_copy2.
commit bb6a917ecef47370725893fdb2f3cbab53b23602
Author: Ed Plese <ed at edplese.com>
Date: Sun Dec 6 21:00:00 2009 -0600
Add sort parameter to shadow_copy2.
commit 9ddeac17f58273730be605a1f08097a15a3204d1
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 17:17:02 2010 +1300
pyxattr: Factor out helper functions.
commit 17d6f56646b79ba1acecab6eb661cb6205c9b408
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 17:16:19 2010 +1300
selftest: Cope with 'multipart' support in subunit.
commit 8b0f31994c38b9f349fdda88a74e95a961582902
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:56:23 2010 +1300
pyxattr: Simplify tests.
commit 05b4e29f7f35108a7a17f072dc1329fc14d6b9ea
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:45:06 2010 +1300
pyxattr: Fix tests by not opening tdb files multiple times.
commit 14b0fed96c5d5acf9118156d29e469aed584c33d
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:44:20 2010 +1300
pyxattr: Fix tests by avoiding opening tdb files multiple times.
commit 253a232d300ac6a508983bbbb6eb6d0235d48722
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:44:12 2010 +1300
pyxattr: Fix memory leaks.
commit 9a253808383e1a2777c3c05a25be88ed25c51a13
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:41:30 2010 +1300
pyxattr: Simplify tests.
commit 7092e220b57867c35425f17d09c4cc1031932eda
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:29:15 2010 +1300
pyxattr: Fix return value, raise exception, fix memory leak.
commit 342aff75c5400ef6be855094e2fe42f444cc40de
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:28:24 2010 +1300
pyxattr: Use standard functions for error handling.
commit 6afb16253399a58ac06b0061cd7ceb112bcd172b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 21 16:18:19 2010 +1300
pyxattr: Remove unnecessary hacks.
commit f679def4f2c4d878c8fac49ea248cfadb665168c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 16:27:38 2010 +1300
s4: Fix a few warnings.
commit 4b11e0c67cbd611b7f295256f0aa6c55a8b88699
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 16:27:15 2010 +1300
pidl: Include Python.h first, to avoid warnings.
commit c42242d132144fbbdce97bd95f0e24bdf58a2c84
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 15:07:09 2010 +1300
s4: Include Python.h early to avoid double definition errors.
commit e8a99ac980ef3700436dc44ad5cab32da642aea6
Author: Björn Jacke <bj at sernet.de>
Date: Thu Jan 21 01:08:07 2010 +0100
s3: fix dnsupdate configure check
commit fd6a79228347ec032294a1f462dda56095fc1d8b
Author: Andreas Schneider <asn at redhat.com>
Date: Sun Jan 17 10:21:21 2010 +0100
s4-winbind: Migrated winbind connection to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3471d3677a781e6a03e1a8010946aa82ad7aad83
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 15 14:08:26 2010 +0300
selftest-s4: set the posix:eadb at the global level
commit c12d5363d6789528c8b63c71d171d30ccecc7109
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 19:49:49 2010 +0300
s4-python: add some helper for converting ldb_flag to text
commit 8c6fc09f18757e49e90936266fa763e0267d2e57
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 15 14:09:06 2010 +0300
upgradeprovision: forbid running upgradeprovision when there is more than 1 DC
commit 929dbf8ef817cb1646a5f82b9a0f0eece4ab84ee
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 19 01:53:01 2010 +0300
upgradeprovision: mark rIDAvailablePool never upgraded
handle properly the fact that missing object might depend on some other in order to be correctly created
debug change also if we are in debugall mode
commit 4d6cda75e3f0536c71741051ae4c643d11ab95d8
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 15:43:39 2010 +0300
upgradeprovision: reformat + add groupType as possibly overwritten
commit 4c28e7ff0cbd9a1e8c981c9ee6f5c48a8c7a0002
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 19:53:38 2010 +0300
upgradeprovision: improve info messages
commit bd9fbdab4c6ebe703800baccc274206fc1bd4ada
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 20:13:33 2010 +0300
Revert "s4:upgradeprovision - fix up the script regarding linked attributes"
This reverts commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826.
commit 9704249ccc6d3d5f0a0c1860ab869d0304118849
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 19 01:56:30 2010 +0300
upgradeprovision: never use xattr it's pointless in this usecase
commit 0cdc39e7302adf86010d23ef0f08f3cbdcf6b1b2
Author: Matthieu Patou <mat at matws.net>
Date: Tue Jan 12 02:23:13 2010 +0300
Add a comment to tdb_wrap to explain why it should be used instead of directly using tdb
commit a4b01dd59c386c84776367b46b0fa726918dbebc
Author: Matthieu Patou <mat at matws.net>
Date: Sat Oct 24 15:34:31 2009 +0400
s4: utils recreate in python setntacl and getntacl
setntacl is able to set NTACL attribute from command line
getntacl now use getopt for parsing command line option and is also able to
dump the acl in the SDDL format.
commit 1a143b8a590f5173ccacb7368f3cf36a8785da33
Author: Matthieu Patou <mat at matws.net>
Date: Mon Jan 11 02:19:22 2010 +0300
s4: allow python code to dump NTACL object as well
commit c637c528762e5972bc47cc18f158186c670b4f7d
Author: Matthieu Patou <mat at matws.net>
Date: Sun Jan 17 22:50:31 2010 +0300
provision: use message and do not display warning if the user choosed delibarately posix:eadb
commit d4514a6539052b6944582ef8e5e1930b5f42ffd7
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 17:00:54 2010 +0300
provision: introduce use-xattr parameter for defining where to store attributes
This option allow simple user (non root) to invoke provision without facing an error
while insuring that ACL on shared files will always be set
commit 711c7606a5a2c36ea252ffd6d3aafc06fa5b675c
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:13:02 2010 +0300
s4-tests: register new unit tests
make unit test emit a visible warning
commit 10995d92565a5df6ba09ec6d209923f84184e99a
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:12:11 2010 +0300
s4-python: add unit test for ntacls manipulation in python
commit 3789ba2654fe958b80ebafeb380a1a2258dc9e32
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:10:30 2010 +0300
s4-python: add more unit tests for xattr manipulation in python
commit f0954c73723618f905cc8082546e9b4cf3e39ddf
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 13:06:47 2010 +0300
s4: update setntacl and getntacl to select the adaquate backend (fs/tdb) for storing xattr
commit c442b2534fd66bca262e1f27b43e085c75ec7989
Author: Matthieu Patou <mat at matws.net>
Date: Fri Jan 8 12:57:59 2010 +0300
s4: ntvfs, create push_xattr_blob_tdb_raw and pull_xattr_blob_tdb_raw that do not depend on pvfs objects
Following a talk with tridge on IRC, this patch allow (pull|push)_xattr_blob to be called without
having a pvfs object. It's handy for programs that wants to manipulate xattr directly.
commit e78626dc2e829e2fce2d63d9e313f5630f125e94
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 22 20:50:30 2009 +0300
s4: Set acls correctly on all sysvol and scripts shares
commit 9b70979bc9b39d8dd5bc7752951f855d2dd87294
Author: Matthieu Patou <mat at matws.net>
Date: Sun Nov 22 19:50:31 2009 +0300
s4: Make unixid optional
Make unixid optional, if value not supplied next id from id pool will be used.
Create a function to get next id in id pool.
commit 028c9b1c154ce9b5d7876df76b04aba1f976d1a2
Author: Matthieu Patou <mat at matws.net>
Date: Wed Nov 18 21:07:25 2009 +0300
s4: regroup gpo modification in one function, set acl on files accordingly with ACL in LDAP
commit 08c59c38a2b117b2f2481cc6a02186b7df6305f2
Author: Matthieu Patou <mat at matws.net>
Date: Mon Dec 7 19:13:00 2009 +0300
s4: Create unit tests for python "samba.xattr" module
commit c80ecd9964285f3c4a5128389c4e330ab25cca1c
Author: Matthieu Patou <mat at matws.net>
Date: Mon Nov 9 20:53:34 2009 +0300
s4: add python bindings for wrap_(s|g)etxattr
commit 45465cb7da75645f656e9c5dda136d782477ee68
Author: Michael Adam <obnox at samba.org>
Date: Wed Jan 20 16:38:00 2010 +0100
s4:selftest: add the samr-passwords-lockout test to knownfail
This is not implemented completely yet.
Needs fixing in the future.
Michael
commit 9764db806fe169cc3a3797b6785868922d5d7a80
Author: Michael Adam <obnox at samba.org>
Date: Fri Jan 15 18:08:57 2010 +0100
torture: add new test RPC-SAMR-PASSWORDS-LOCKOUT
This tests account lockout features.
Windows 2003r2 and Windows 2008r2 survice this test.
Note: Windows does not set the ACB_AUTOLOCK account flag when it
locks out an account.
One thing that could/should be added to this test is a check of
the lockout time property.
Michael
commit e1e6b19acff6d8ba3b70c3ab474a85de8b6f6a6c
Author: Karolin Seeger <kseeger at samba.org>
Date: Wed Jan 20 13:34:50 2010 +0100
s3-docs: Fix typos.
Thanks to the Debian samba package maintainers
<pkg-samba-maint at lists.alioth.debian.org> for providing the patch!
Fix bug #7017 (Typos and spelling errors in manpages).
Karolin
commit 30ea9932f5ea8a73c84dbab3ae3e997c2ae34e79
Author: Lars Müller <lars at samba.org>
Date: Wed Jan 20 12:41:43 2010 +0100
Add cross option to samba_cv_linux_getgrouplist_ok
"cross" as an option got removed accidentl with commit e5a95132 while
moving in direction of 3.2.
Patch proposed by Richard Sharpe <realrichardsharpe at gmail.com>.
commit 3bf9bbb275a9b70a2407e282ea2ea65add070077
Author: Björn Jacke <bj at sernet.de>
Date: Wed Jan 20 00:09:38 2010 +0100
s3: build with dnsupdate support when possible
commit 18943bba9c927578201b67e2384568b9789e7c5c
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Wed Jan 20 11:05:04 2010 +1300
selftest: Use SUBUNIT_FORMATTER command, if set in the environment.
commit 8067bf629c4c4a2a4c1e66af41fc387448d468c6
Author: Wilco Baan Hofman <wilco at baanhofman.nl>
Date: Tue Jan 19 12:06:01 2010 +0100
Fix unintentional free of the last value when adding a new value to a key.
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
commit f8314c27b3804dc95c973f1577e3e40d7c91ae43
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 17:15:05 2010 +0100
s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.
Guenther
commit 41a350f17e11946f4bf44de5a6d535bc6d2feccc
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 19 16:51:33 2010 +0100
s3: Fix a typo
commit 40d3408dd3fd908e1fe15ff81015ab4275b6ad74
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 16:22:45 2010 +0100
s4-smbtorture: also configure check smbc_setOptionCaseSensitive for LIBSMBCLIENT testsuite.
Guenther
commit add4edcd063591839111d474543ceea847413f6f
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 14:48:12 2010 +0100
s3 net/i18n: Update .po files
commit 66de52c4f4527ef43cfaf11c55616ec7602cce85
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 11:43:54 2010 +0100
s3 net: Fix compile warnings
commit 7d04c0fcfdd6cd52ce99d94cbe42fb698b7a0674
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 19 14:18:53 2010 +0100
s3: Remove a comment from ancient times that no longer applies
commit b5186b3e2397bd1a784d5ded2ddbb155cb061a4e
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:31:54 2010 +0100
s3-selftest: finally enable RPC-SPOOLSS-NOTIFY against s3.
Guenther
commit f720f7512e66687f745732b86305eecec8f66d77
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:33:57 2010 +0100
s3-spoolss: stricter name checks when opening back-channel notify connection.
Make sure to always check if the name the client passed in
spoolss_RemoteFindFirstPrinterChangeNotifyEx is not one of our names.
Guenther
commit c971c10a63841d9b850d10ce856e813e37cace36
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:55:48 2010 +0100
s3-selftest: use absolute path when setting SOCKET_WRAPPER_DIR.
Guenther
commit f5bba4034b362d354409932f0b0cef0e4d44a08d
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:27:50 2010 +0100
s4-smbtorture: support spoolss_ReplyClosePrinter server call in RPC-SPOOLSS-NOTIFY.
A handle obtained with spoolss_ReplyOpenPrinter will be closed with
spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side.
Guenther
commit 2b68215a226aab978e5f01470e8b4afbb291134b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:22:57 2010 +0100
s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.
Guenther
commit e0660ed1bc72effa5715587e105eb5096a3d70d0
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 00:19:47 2010 +0100
s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while testing s3.
Guenther
commit 7d1c1e0083362c3782b2481e11207f1ce286c129
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 19 14:10:47 2010 +0100
s4-smbtorture: strip trailing whitespace.
Guenther
commit 6d33bb25e1aab72bb3e12a0824a758bacba32672
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 10:06:26 2010 +0100
s3 net/i18n: update .po files
commit 09bc13728fc76cf784914a4066c793c297e50cff
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 09:23:42 2010 +0100
s3 net/i18n: Use only one spelling for "Usage:"
commit 28b512f904cee5a79aefd0aca2d839dbe37e5519
Author: Kai Blin <kai at samba.org>
Date: Tue Jan 19 09:36:55 2010 +0100
s3 net: Fix compile error with WITH_DNS_UPDATES
bd3c922e2bc1a163efc1d8c9cb59578bebb79616 introduced a compile-time error
when building with WITH_DNS_UPDATES.
commit bd3c922e2bc1a163efc1d8c9cb59578bebb79616
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 18 23:39:19 2010 +0100
s3/net: split up some printable stings to ease i18n
If we put strings like "Usage:" into separate _() macros and not the whole
"Usage:..." string we can cover much more messages by only one single
translation. The drawback is that the message in the sources looks less pretty.
commit c3ef7a3d96763719de1df679d50fb8a00d1f7391
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 18 23:25:41 2010 +0100
s3/i18n/de: improve some German translations
commit fb7a4621134b9054f33ccb48d7d8c1e4e4960b9a
Author: Björn Jacke <bj at sernet.de>
Date: Mon Jan 18 22:07:55 2010 +0100
Ñ3/i18n/de: fix typo
commit f2999157f9f7aad84c2030fb84875d616d5c6ec2
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 16:36:25 2010 +0100
testprogs: add tests for GetPrinterData{Ex} and EnumPrinterDataEx.
Guenther
commit ecd35d7ea6ca1e22cfffd9fc7f7e24ab4aad5cff
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 16:25:20 2010 +0100
testprogs: add tests for GetForm.
Guenther
commit ca646a82f872a9e65fe4d5bdc60125e39b49319f
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 16:24:40 2010 +0100
testprogs: pass down LPPRINTER_DEFAULTS in spoolss test.
Guenther
commit 286a27bd1e0771360bd82077253ccf28149bb780
Merge: 9e318129e0285e8fecf905187f2ca94a58b60316 46842a68618b4c9faba25580e68a286b97f9337e
Author: Lars Müller <lars at samba.org>
Date: Mon Jan 18 11:52:33 2010 +0100
Merge branch 'master' of git://git.samba.org/samba
commit 9e318129e0285e8fecf905187f2ca94a58b60316
Author: Lars Müller <lars at samba.org>
Date: Mon Jan 18 11:49:01 2010 +0100
Work around bad use of autoconf interna
Merge fix made by Andreas Schwab <schwab at linux-m68k.org>. This change
had been in use by SUSE since 2008-07-03.
commit 46842a68618b4c9faba25580e68a286b97f9337e
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Jan 14 19:49:18 2010 +0100
net: Add German translation, specially for the command listing
Signed-off-by: Kai Blin <kai at samba.org>
commit 3fb359aa5698e393f37765ab279b5a4ba366f965
Author: Olivier Sessink <oliviersessink at gmail.com>
Date: Mon Jan 18 11:40:33 2010 +0100
s3-docs: Add man page for vfs_scannedonly.
Fix bug #7028.
commit 661dada50336d35c2ca28431236b3bd888fb95b4
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 18 10:59:08 2010 +0100
s3-selftest: use testenv dc so that smbtorture4 actually uses the client configuration.
Found while trying to get RPC-SPOOLSS-NOTIFY working against s3.
Guenther
commit 7d5adf8dec81aa5b7863550aaa7b579b82e3ab80
Author: Marcin Gryszkalis <mg at fork.pl>
Date: Mon Jan 18 10:15:29 2010 +0100
s3: Show share path in swat statuspage
commit 971f6a4a5bd348b2e45ad8e9f354c714c8cf9e2c
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 17 23:07:39 2010 +0100
s3: Fix the format string for smbcontrol pool-usage
With the dot I have seen printf to not print anything
commit f461a72ec3aa990c357b754b5311add4bba48485
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 17 21:59:56 2010 +1100
idl: switched to using the WSPP names for the 'neighbour' DRS options
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
commit aa362e8e68b317fcc4fecbe44f62750e8cee6d32
Author: Volker Lendecke <vl at samba.org>
Date: Tue Nov 10 23:14:58 2009 +0100
s3: Protect against an invalid bcc in SMBsendtxt
commit f7adf534fdc8b0028028538d264e65d7dd45aa58
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 17 14:57:54 2010 +0100
s3: For "smbcontrol <pid> pool-usage", print the first 50 bytes of a string
commit a1015051c054428482efe1810025728a8987a2a0
Author: Volker Lendecke <vl at samba.org>
Date: Sun Jan 17 13:52:53 2010 +0100
s3: Fix some nonempty blank lines
commit 98a495f1e674b7562a3d8b5dfc958ee95d256896
Author: Jeremy Allison <jra at samba.org>
Date: Sat Jan 16 17:03:06 2010 -0800
Modification of fix for bug 6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object
Suggested by Volker. Reduce the surface area of the
become_root() unbecome_root() code to reduce the chance
of errors.
Jeremy.
commit dde836adbdb5c04cb43774c65fa1af713d9cdb7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 17 06:52:14 2010 +1100
s4-drs: allow for security bypass for DsReplicaGetInfo
Use --option=drs:disable_sec_check=true until the group membership bug
with the PAC is fixed.
commit 2985aeb8c930b3b2e4d4bba080b3d6ec0722c7d3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sun Jan 17 06:48:09 2010 +1100
s4-dsdb: isGlobalCatalogReady should be shown by default
This caused repadmin.exe to crash. Thanks to Hongwei for tracking this
down for us.
commit aa1fce645aed8be48c2fc09c86c2b5844114e93b
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 17 12:35:26 2010 +1300
ldap: Fix test failure that seemed to go unreported previously.
commit a18889fd77a5db582f32fd563b28d1e4185233a9
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sun Jan 17 12:26:53 2010 +1300
ldap.py: Remove unused imports.
commit 4dd0c5516aa0ff27093f9fc436f7817d048c0922
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jan 16 13:31:44 2010 +0100
s3: Fix a crash in libsmbclient used against the OpenSolaris CIFS server
A user has sent me a sniff where the OpenSolaris CIFS server returns "32" in
totalentries, but the array in ctr only contains 15 entries. Look at the right
delimiter for walking the array.
commit 791a2df656a1af81d3c016902ae4b4ceb1c732f0
Author: Kai Blin <kai at samba.org>
Date: Sat Jan 16 12:37:30 2010 +0100
s4 selftest: Fix and reenable WINBIND-STRUCT.NETBIOS_NAME test
commit 29d08bfe267836073ace454f467ed591d33f9d82
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 17:57:17 2010 +1100
s4-kerberos: raise the general kerberos debug level to 3
level 2 for every krb request is a bit much
commit 2ec5792a4ba0cefa079a6d7e1b0ec2472151e794
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Jan 16 19:56:21 2010 +1300
subunit/testtools: Include newer version.
commit 28577aae928847e64a0274b5922e26e1f15d9916
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Fri Jan 8 02:09:20 2010 +0100
Import testtools as well, required for subunit.
commit b6b46b4978dcaffa0cd9803c43b8a5f1c19e227e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:48:41 2009 +0100
subunit: Import new version.
commit 2e38cb2cbb7520b2630ed85c3df2eb678c737fda
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:32:17 2009 +0100
Add README about subunit.
commit 664b74d3669841059224fdf2fc94b53a36613888
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:31:23 2009 +0100
Add script for updating the copy of subunit.
commit 53d7c4c7a27ec351638b35458919c8a267b794db
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Dec 31 18:17:23 2009 +0100
Fix permissions - net subcommand modules don't need to be executable.
commit 4e0090c9170525bb0ec50d13d96afddd5eec5313
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 14:44:24 2010 +1100
s4-torture: fixed DsReplicaGetInfo elements
commit ee736083c07e953a5fee944d3e048e2a38f98b30
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:40:51 2010 +1100
s4-kcc: added DsReplicaGetInfo pending ops call
Just return 0 pending ops for now
commit 84b47d33349ff12fa5951f3348db20a05879f614
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:20:46 2010 +1100
s4-provision: added w2k8r2 ldap capabilities
commit 637d50b5d0eedced7c2cac6b0605a6c52eec2050
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:20:24 2010 +1100
s4-devel: added rebuild_zone.sh
This rebuilds a DNS zone file, including all DCs from sam.ldb
commit a9808ae83da936a2b93c9b8400ad2283a843ab4b
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 13:19:50 2010 +1100
s4-provision: added "check-names ignore;" to allow for _msdcs A records
commit 473345f8003a89a365a80963c24cb90d932c4e31
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 12:10:40 2010 +1100
s4-kcc: added DsReplicaGetInfo CURSORS2 level
commit 93531a52f030cad7d4237d7813fa1d73d641b35a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 12:03:01 2010 +1100
s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_context
commit c22973d88dbfb46e5c387ff03b7bb66bada7cac3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:49:39 2010 +1100
s4-kcc: added support for CURSORS info level in DsReplicaGetInfo
commit 8342d08f5c3ffd02f54c5d5ace9e76cf551acb51
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:49:09 2010 +1100
s4-dsdb: take advantage of local cursor and sort
in getncchanges and repl task we don't need the extra load and sort
any more.
commit db7eba7080e3f60da6751d638a31eaf3e36c9b12
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:48:25 2010 +1100
s4-dsdb: add our local cursor and sort in dsdb_load_udv_*()
This makes things much simpler for the callers
commit 0bba44094af9a1d88e0c2443d382993f1ebfb91e
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:08:59 2010 +1100
s4-drs: use dsdb_load_udv_v2() in getncchanges code
commit 09d947f77cda4eb62c21cfd7acd539b8fe305a6a
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:08:44 2010 +1100
s4-dsdb: use dsdb_load_udv_v2() in repl task
commit 4cef7427ec22df1a5c16a22820952f2f963dc1e3
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 11:08:15 2010 +1100
s4-dsdb: added dsdb_load_udv_v2() and dsdb_load_udv_v1()
commit 3ff3612e29c16d7f3d87e06e6327d6b5bf530e2c
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:37:26 2010 +1100
s4-kcc: simplify the ReplicaGetInfo implementation a bit
commit 900fea322cabaa279e016508c688107415ed0796
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:36:56 2010 +1100
s4-kcc: squash a warning
commit 3a9b33b4876349165e7e16777fa283b128d525be
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:36:40 2010 +1100
s4-drs: better debug info when security checks fail
show the security token of the user at debug level 2
commit 5efff3ad6a7fdfe71101b2debe7d79678432c5c4
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 10:36:06 2010 +1100
s4-dsdb: require admin access for DsReplicaGetInfo
commit 5bfeed89da6177adf9dfa49471adcbc25c7d0e7a
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 15 19:36:16 2010 +1100
s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS infoType.
This patch includes the framework for the implementation of all infoTypes of
the DsGetReplInfo() call, and includes the implementation for the first one,
the DS_REPL_INFO_NEIGHBORS.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 22d92157e35240b8b2f653a688dffd68a4b0e330
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 15 19:34:32 2010 +1100
s4-drs: give better debug info on unsupported DRS calls
commit 48bdf3e608acf79926a7bc3acd9b0588216c7d64
Author: Erick Nogueira do Nascimento <erick.nogueira.nascimento at gmail.com>
Date: Wed Dec 23 17:54:30 2009 -0200
s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit 51bf383c26cb3f867f376305c803dac04ff686a7
Author: Andrew Tridgell <tridge at samba.org>
Date: Fri Jan 15 19:13:26 2010 +1100
s4-dsdb: added isGlobalCatalogReady
needed for dcdiag.exe
commit f85b6ee90b88c7f7b2a92c8a5f3e2ebe59c1087b
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 15 17:33:24 2010 -0800
Second part of bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
Protect against SMB_STRDUP of null...
Jeremy.
commit 2d41b1ab78639abe4ae030ff482573f464564dd7
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jan 15 17:22:35 2010 -0800
Fix bug 7045 - Bad (non memory copying) interfaces in smbc_setXXXX calls.
In smbc_free_context libsmbclient just called free() on the string options
so it assumes the callers have malloced them before setting them via smbc_set
calls.
Change to corretly malloc/free string options to the library.
Jeremy
commit a56ede9027125aa9e70358661b2db1e9f993e939
Author: Andrew Tridgell <tridge at samba.org>
Date: Sat Jan 16 08:58:27 2010 +1100
s4-ldb: cope with bad ptr alignment in ldb_index.c
We can't assume that a rec_ptr will come back from a tdb traverse with
alignment sufficient for a pointer.
commit 5c016ad88e366db31e78db885b3a6edcbdec1e0c
Author: Kai Blin <kai at samba.org>
Date: Fri Jan 15 02:08:35 2010 +0100
s4 selftest: Ignore more winbind test known to fail
commit 9d881f4cfbeddf0f4c66d0986f6fc9168f4891b0
Author: Günther Deschner <gd at samba.org>
Date: Fri Jan 15 00:25:06 2010 +0100
s4-smbtorture: add setup_schannel_netlogon_pipe() function.
Guenther
commit 6653cc43233381a941cdd85550f04b087fe880ff
Author: Jeremy Allison <jra at samba.org>
Date: Thu Jan 14 15:39:30 2010 -0800
Fix bug #7036 - net rpc getsid fails in hardened windows environments.
Fix suggested by Dave.Daugherty at Centrify.com.
commit 33a4739090416c98a4f4d1a2dc6b25bc8afdba85
Author: Andreas Schneider <asn at redhat.com>
Date: Thu Jan 14 12:57:56 2010 +0100
s4-torture: Migrate ntp_signd test to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 3c42e11ff398d0307a480d49191aae3bf9869cd9
Author: Olivier Sessink <oliviersessink at gmail.com>
Date: Thu Jan 14 12:13:14 2010 -0800
Part 4 of bug #7028 - include scannedonly VFS module
Fix some issues with handling names ending in '/'.
commit e635b0074c55e0376495abe940355aa7b04f0b70
Author: Günther Deschner <gd at samba.org>
Date: Thu Jan 14 19:34:26 2010 +0100
s3-libsmbclient: Fix crash bug in SMBC_parse_path().
Patch from Tim Waugh <twaugh at redhat.com>.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=552658
LIBSMBCLIENT-OPENDIR torture test checks this as well.
Guenther
commit d95ad11bc583c99f9bf8faeac7935880da19684b
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 12 17:42:00 2010 +0100
s4-smbtorture: add rather simple libsmbclient torture testsuite.
Guenther
commit 8573471154d63644bc581d0b6a80f73927ca3e93
Author: Michael Adam <obnox at samba.org>
Date: Thu Jan 14 14:24:35 2010 +0100
s3:auth: fix account unlock regression introduced with fix for bug #4347
By an oversight, the patchset for #4347 made the unlocking of a locked
account after the lockout duration ineffective.
Thanks to Björn for finding this!
Michael
commit 743adfda911e9123132fcc0d599080d869f419ab
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 13:58:20 2010 +0100
s3 selftest: Enable the WINBIND-STRUCT tests
commit cf38a1f850dd3712e7cd71364cc86ecba7871d03
Author: Kai Blin <kai at samba.org>
Date: Thu Jan 14 13:21:44 2010 +0100
s3 test: Fix WINBINDD-STRUCT tests
The struct-based tests are working in make selftest, make them work in plain
"make test" as well.
commit 89e6eac290da6457b1d2259c32759d2b8a2b481b
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 16:46:17 2010 +0100
s3 selftest: Fix LOOKUP_SID test.
WINBINDD_LIST_USERS does not give a domain name if we're a DC and the user is
from our domain.
commit e95c04f0f19a6e00251f9eceb94c519a0f91b308
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 16:02:00 2010 +0100
s3 selftest: Fix WINBINDD_LIST_GROUPS test
If there's no groups in the database, there are no entries in extra_data. This
caused WINBINDD_LIST_GROUPS test to fail. Use the fact that
WINBINDD_LIST_GROUPS now reports the number of groups in data.num_entries to
identify the "no groups" case.
commit 932d4a874bb79ad76b95b43491b223d766ab4196
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 15:59:57 2010 +0100
s3 winbindd: Return number of groups in data.num_entries for WINBINDD_LIST_GROUPS
This allows to test if there's something wrong with the group list in
extra_data or if there's simply no groups in the database.
Volker, please check.
commit a4f21d5dc886b708d401a32d2208c316b537b07f
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 15:21:14 2010 +0100
s3 selftest: Allow the enumeration of users and groups
This fixes the WINBINDD_GETPWENT test.
commit a6015a858d9658730c0cc9b963ad86a740dd4bb8
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 14:49:26 2010 +0100
s3 selftest: Fix the WINBINDD_GETDCNAMEe test.
The WINBINDD_GETDCNAME test expected an NSS_STATUS_SUCCESS return from all
calls. However, this does not apply for BUILTIN and the DC's own domain.
Make the test work again by skipping those two.
commit 36db924446b8c6a1627e9abb22f774240678851a
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 14:10:33 2010 +0100
s3 winbindd: Get WINBINDD_CHECK_MACHACC torture test to work again.
WINBINDD_CHECK_MACHACC used to report an NTSTATUS error and appropriate error
strings. Make this work again.
commit b1d2bb3e51bdee1dd32d97af8d502adc374acefb
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Wed Jan 13 17:39:28 2010 +0100
s4:provision_users.ldif - Add a comment that some objects under "Users" are now located elsewhere
This is needed due to the new RID/SID distribution system
commit face5d3030b6d2c7dfbe6e2cb36a2e59e9efde67
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Sun Jan 10 14:20:09 2010 +0100
s4:provision_users.ldif - Add objects for IIS
Some WSPP locations point out that beginning with Windows Server 2008 they're
also per default present.
Compared against Windows Server 2008
commit 9ac39b659f00dc3737dff5be021cd0aefa0dc39e
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 22:12:01 2010 +0100
s4:provision_users.ldif - Add additional BUILTIN objects
Compared against Windows Server 2008
commit 2a05dd6fcc9ccbebeeebcb66407ae2e49d626307
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 22:01:42 2010 +0100
s4:provision_users.ldif - add the restant part of the objects needing for RODC support
RODC = Read Only Domain Controllers
Compared against Windows Server 2008
commit 71357053bb2b0695cbbf4661529fc81db3c8e4fd
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 21:57:32 2010 +0100
s4:provision_users.ldif - Fix up errors on existing entries
Compared against Windows Server 2008
commit 81053e9124057915402ddedb1b7b087516349829
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 21:44:18 2010 +0100
s4:provision_users.ldif - Simple reordering
Sorted according the SID - easier for later enhancements.
commit a0d7f3e3442d8baa23af0c0e74b3707eedc2158d
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Jan 11 21:36:40 2010 +0100
s4:provision_users.ldif - Remove system objects from the wrong place
Objects like the "Cryptographic Operators", "Event Log Readers" don't belong
here but into the builtin domain.
commit 40bc48dfa909fe8eda7e1c4ae072dc298d20e978
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Tue Jan 12 22:16:36 2010 +0100
s4:SAMR RPC - Fix the criteria for group searches
This should match the MS-SAMR documentation (section 3.1.5.5.1.1)
commit c663af8b7b39fd24aae7666540e4e6211230aae0
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:40:53 2010 +1100
s4-idl: get rid of the operation specific DRS options flags
It was confusing to have several sets of incomplete options when WSPP
uses a single set.
commit 74a571961464e104e6678ec249718138d7a6196c
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:38:18 2010 +1100
s4-torture: switch smbtorture to the generic DRS options
commit 2008d24e91ce38ac928a71d0dc5147ecca0f2b24
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:38:00 2010 +1100
s4-drs: switch the DRS server to the generic DRS options flags
commit a5d611706533bb23f11e4c10edad455e091b5073
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:37:40 2010 +1100
s4-torture: switch to generic DRS options flags
commit 88ec10b7576b8767b370db1c27ffe703eae852c3
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:37:22 2010 +1100
s4-drepl: switch drepl over to using the generic DRS options flags
WSPP uses a single set of flags for all these DRS operations.
commit 60c5a5f39f6b5b709d3ecf97cbaed68f12181941
Author: Andrew Tridgell <tridge at samba.org>
Date: Thu Jan 14 14:19:22 2010 +1100
s4-idl: update the DRS_OPTIONS bits based on the latest WSPP docs
commit 6f806b7079b7e1bde2bb3bccb08b33e4fc65edc5
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Wed Jan 13 14:08:56 2010 -0200
s4-drs: Uses dsdb_load_partition_usn() with urgent_uSN in s4 code
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit e30d009965a789e8a4495609f8d19adb621df6f4
Author: Fernando J V da Silva <fernandojvsilva at yahoo.com.br>
Date: Thu Jan 7 16:30:05 2010 -0200
s4-drs: Store uSNUrgent for Urgent Replication
When a object or attribute is created/updated/deleted, according
to [MS-ADTS] 3.1.1.5.1.6, it stores the uSNUrgent on @REPLCHANGED
for the partitions that it belongs.
Signed-off-by: Andrew Tridgell <tridge at samba.org>
commit ac224452b94865db346ed68dc517f84d40e6303c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 13:30:42 2010 +0100
s3:pdb_ldap: restore Samba 3.0.x behavior and use the first "uid" value.
See bug #6157 for more details.
metze
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit 25806f43ddee7e2653e907eea2c6fcc075960fa1)
commit 915b7552b71904baf6a452bdc1649e76d8286a14
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 5 13:30:19 2010 +0100
s3:smbldap: add smbldap_talloc_first_attribute()
metze
Signed-off-by: Stefan Metzmacher <metze at samba.org>
(cherry picked from commit c992127f8a96c37940a6d298c7c6859c47f83d9b)
commit 204e4b26aecb7e51da80cbf63efe952d17bbe856
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 11:14:33 2009 +0200
s4:dsdb: use validate_update module
metze
commit 1f2efef214d31fa13d197a3ee7ef589c4444b037
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 12 23:45:02 2010 +0100
s4:dsdb/schema: add dsdb_syntax_OID_validate_ldb()
This is a very heavy weight way of checking this syntax,
but it's very complex and using the existing function
should be ok for now. We can optimize it later.
metze
commit f0fed6cadd869134e801a652ac650b4a45fa9b42
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_STRING_validate_ldb()
metze
commit 83baa44c6737ffb08417221c12e2b7dd902ebdeb
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_BINARY_validate_ldb()
metze
commit 39dda462cd4fbbc1e9ece415f850f42fd8010b43
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_validate_ldb()
metze
commit 4fa2bf81843654ebad47cd36b441f337db95b1c6
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_PRESENTATION_ADDRESS_validate_ldb()
metze
commit ba8a930d0e428ef7a97cc29b345d02d2be68a1b3
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_UNICODE_validate_ldb()
metze
commit 674e8350b6dea6a04dc719932339d5097f59ca42
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DATA_BLOB_validate_ldb()
metze
commit e2b9454d36ab84d34db00301af9c46b0f57fcc24
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_NTTIME_validate_ldb()
metze
commit eb261a9fda9a471f70f892949b472d6bf08d0e7b
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_NTTIME_UTC_validate_ldb()
metze
commit 5f13a162954cbab8eaec9864c59601d244a0237a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_INT64_validate_ldb()
metze
commit ece3defd15246f232acaf0c2c29b66da2924438a
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_INT32_validate_ldb()
metze
commit a0f2a49b8a67a60c2ecc188043848140a3e944c2
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_BOOL_validate_ldb()
metze
commit bf1f067b0c46f1c8378e6a517feeaad9b5c2b17c
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 11:14:09 2009 +0200
s4:dsdb: add validate_update module
metze
commit b20707c11af4834693947265873e1b96d316b4e1
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add inftrastructure for dsdb_validate_ldb()
metze
commit 61589085c4207ab730654d9f881a2615e483a167
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 18:57:01 2009 +0200
s4:dsdb/schema: add dsdb_syntax_DN_STRING_* wrappers
metze
commit 24ecd19b30868829a2ffccaed2847e9ff4bb82e3
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Sep 29 12:00:39 2009 +0200
s4:dsdb/resolve_oids: also resolve oid in search attribute list
metze
commit f715414afa7cb06af07bfd362bf340f6b13f7acb
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 13 12:00:27 2010 +0100
s4:dsdb/schema_load: add a TODO about schema reloading
metze
commit 7d41afece70093e2debf2b57731c85ecc5009765
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 13 11:45:05 2010 +0100
s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ldap_schema.py
It seems that windows doesn't need that.
And we should think about a check for reloading the schema
at the start of each "write" operation.
metze
commit 92b87eb47405b884c0c736e28cd06e6e83d99a1e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Jan 13 16:00:20 2010 +0100
s4:dsdb/repl: reorder dreplsrv_op_notify* functions
This make the whole async dreplsrv_op_notify_send/recv()
readable.
metze
commit e886b6e240cde0b2985dcd291f223f5143be8acf
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:00:07 2010 +0100
s4:dsdb/repl: change dreplsrv_op_notify_send/recv() to tevent_req
metze
commit 232197e9ab20b68a848fd798c1e8be22a72c6bb5
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Jan 12 09:59:26 2010 +0100
s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation.
In lsa_BinaryString length and size are byte counts!
TODO: we may need to do byte order conversion in this functions too...
metze
commit ca9bc96b96425b7cb13797acf57704502bac1514
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:18:09 2010 +0100
s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned
LDAP only knowns about signed integers, so let
ldb_msg_find_attr_as_uint() and ldb_msg_find_attr_as_uint64() cope
with it.
metze
commit 5d08309204e475e85250a34ff7986c896e8c3c01
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:17:53 2010 +0100
s4:dsdb/common: let samdb_msg_add_uint() call samdb_msg_add_int()
This is important as LDAP servers always play with int32 values
and we have to encode 0x80000000 as "-2147483648" instead of "2147483648".
metze
commit 2d7ad938d0b9345af920d396d5098ee52e900f2d
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 20:00:43 2010 +0100
s4:dsdb/common: let samdb_msg_add_uint64() call samdb_msg_add_int64()
This is important as LDAP servers always play with int64 values
and we have to encode 0x8000000000000000LL as "-9223372036854775808"
instead of "9223372036854775808".
metze
commit 8d4b913ce24632eca2a6fc08ef8f553eaa9afa77
Author: Stefan Metzmacher <metze at samba.org>
Date: Mon Jan 11 13:11:48 2010 +0100
s4:ldb: be more strict in parsing ldb time strings
metze
commit 7147c8453e7174e5b6bf20172b48b065fb9b8e99
Author: Kai Blin <kai at samba.org>
Date: Wed Jan 13 10:07:25 2010 +0100
selftest: Print reason when a test fails unexpectedly
commit 129c15c08387dbef0d53f7ed092ed47fb0a86753
Author: Andreas Schneider <asn at redhat.com>
Date: Tue Jan 12 17:30:04 2010 +0100
s4-ntp_signd: Migrate to tsocket.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit a4eaa111342bfed4d31b9bffc60a1307e8a0d3c1
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Jan 13 15:16:38 2010 +0200
Fixed a problem with incorrect default SD owner/group.
commit 026b23062eeee23dffeb627800b3cb6f55d89ad6
Author: Volker Lendecke <vl at samba.org>
Date: Wed Jan 13 12:20:26 2010 +0100
s3: Fix a winbind segfault in "trusted_domains"
We have to initialize domain->backend by calling "get_cache" before doing a
query
Thanks to Christian Ambach to find this :-)
commit 5d1aa4c5b796ad5e65f7447414d09c059f060946
Author: Zahari Zahariev <zahari.zahariev at postpath.com>
Date: Wed Jan 13 10:41:56 2010 +0200
Comparison tool for LDAP servers (using Ldb)
This tool is integrated with Samba4 Ldb. It provides a useful output
where you can find easy differences in objects or attributes within
naming context (Domain, Configuration or Schema).
Added functionality for two sets of credentials.
commit 9b3871ed293f76e770e572cd6b59f59670f1f6f8
Merge: 309473f938d18b9993c2c4f120eeff7b4641985a ca847952054f5bbde1d40ad4260589b6fcc9721d
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Wed Jan 13 12:02:31 2010 +0200
Merge branch 'master' of git://git.samba.org/samba
commit ca847952054f5bbde1d40ad4260589b6fcc9721d
Author: SASAJIMA Toshihiro <sasajima_t at jp.fujitsu.com>
Date: Tue Jan 12 21:43:23 2010 -0800
Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV)
commit ed457e07b9bdc0acda9dc52307d8bc2118f32f06
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 21:18:36 2010 -0800
Fix two uses of strncat -> strlcat. Ensure proper use of strncpy when setting socket name.
Jeremy.
commit 33ee8b5a4e390f9aa43cceeec137c0ed82171340
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 21:06:09 2010 -0800
Make file access control decisions a lot easier to debug (at level 10).
Jeremy.
commit 105f876eb447e6839b9b19c2d264c4a168cf0cc9
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 16:55:31 2010 -0800
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
Argh. Missed the second (and essential) part of the fix for the above :-(.
Jeremy
commit ce8dcbe91ba0252140a0e4f84ea4bc746259ddde
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 16:50:40 2010 -0800
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
There is a codepath missing to propagate back error returns from the rmdir
POSIX call inside close_directory when delete on close is set. This means doing
an rmdir on a Windows command line will always report success, even when the
directory was not deleted. This fix adds that codepath back into Samba.
Jeremy.
commit 47c1d9b39f292772e8d8f7a737ddff6c8bdfdeae
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 16:04:44 2010 -0800
Fix bug #6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object.
Final fix for the vfs_acl_xattr and vfs_acl_tdb code.
Ensure we can delete a file even if the underlying POSIX
permissions don't allow it, if the Windows permissions do.
Jeremy.
commit 2f30aea3324f32f9b8555e961256fc1280da2871
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 12 14:48:23 2010 -0800
Remove the global char *LastDir.
This is no longer used for anything.
commit 2d4dda0688d5c88fb73ae17db970afe9d0f77f6a
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 12 22:58:51 2010 +0100
s3: Lift the version of the scannedonly VFS module
commit 31e142854bbb29132143f895dee9568576175dd5
Author: Olivier Sessink <oliviersessink at gmail.com>
Date: Mon Jan 11 21:53:37 2010 +0100
s3: Add the "scannedonly" vfs virus scanner interface module
commit 3d184399a5ac3604b78ca8cdd5d4e1e3f6412b2d
Author: Simo Sorce <idra at samba.org>
Date: Tue Jan 12 11:05:16 2010 -0500
Strip trailing spaces
commit 3b58b2ac39a91c0c9f074abf079f700c7e886841
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 12 12:29:14 2010 +0100
docs: fix xml tag in the pdbedit manpage
Michael
commit 444ecac2d28e02c6cc6da8ed97010fc475e834e5
Author: Michael Adam <obnox at samba.org>
Date: Tue Jan 12 12:25:32 2010 +0100
s3:auth: add comment to nulling out stolen sampass
Adding this comment makes me think, I could also
have changed make_server_info_sam() talloc_move
instead of talloc_steal, but that would have
changed the signature... Well the comment is a
first step. :-)
Michael
commit 373dcf45cf3d8782c6486958c2ee108e4c8ebba5
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jan 12 13:53:01 2010 +0100
s3: Remove a pointless if-statement
commit 3b8225490321bf29f195d93bb102cb311c61b5d6
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 12 12:34:55 2010 +0100
s4-selftest: RPC-SAMR-PASSWORDS-BADPWDCOUNT fails against s4.
Seems like account lockout is not implemented at all yet.
Guenther
commit 0ae4cc839d435bb974b456c9c0f91bf545e181f2
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 15:40:37 2010 +0100
testprogs: remove unused test_EachDriver from spoolss test.
Guenther
commit 3c1b51795dcf6b6e85701a49ea9d862b9ae610bd
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 15:40:16 2010 +0100
testprogs: add EnumPrinterKey test to spoolss test.
Guenther
commit 13dad3893085dfe2fc01f88b3bb46a0645ab22fb
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:40:01 2010 +0100
s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.
Guenther
commit a744dbcf2b29040d7d630201cef9f64edafd7eec
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 21:18:51 2010 +0100
s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.
This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute
in relation to password history and successfull and unsucessful netlogon
samlogons.
Michael, please check. This should help verifiying Bug #4347.
Guenther
commit c9e84ad3970cd3360313c1582d806c0393ce6228
Author: Günther Deschner <gd at samba.org>
Date: Tue Jan 12 11:48:23 2010 +0100
s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR family of tests.
Guenther
commit d75d14f8de0b1fe36028e605c9453631d9cd70bc
Author: Giovanni Bajo <rasky at develer.com>
Date: Mon Jan 11 22:18:40 2010 +0100
s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo
Windows seems to allow this
http://lists.samba.org/archive/samba-technical/2009-November/068116.html
has a dump of this.
commit e0e255fb241b7e7918f237df52de3551ac6534f5
Author: Simo Sorce <idra at samba.org>
Date: Mon Jan 11 11:48:12 2010 -0500
Fix comment/debug messages
commit 403dc10e8ff46282dd7f4afbd5e5f3fbcc73177d
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:38:22 2010 +0100
testprogs: fix driver levels in spoolss test.
Guenther
commit 9a1b298e3d32252dd83fd2146b578e5150a06c7b
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:37:45 2010 +0100
testprogs: test each printer, do not abort after first failure.
Guenther
commit 3e7b7bfd27fad1680f9f331e5b8d736bc3733e05
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:34:56 2010 +0100
testprogs: fix EnumPrintProcessorDatatypes spoolss test.
Guenther
commit 4aefb33b9fa4b93fea7035c505e480949bfb843b
Author: Günther Deschner <gd at samba.org>
Date: Mon Jan 11 12:33:22 2010 +0100
testprogs: add more error codes to spoolss test.
Guenther
commit 0ad83813ee5cbebd20d930356be61a9ebdddad46
Author: Volker Lendecke <vl at samba.org>
Date: Mon Jan 11 12:10:47 2010 +0100
s3: Add a zfsacl:denymissingspecial parameter
When setting an ACL without any of the user/group/other entries, ZFS
automatically creates them. This can at times confuse users a lot. This
parameter denies setting such an acl, users explicitly have to for example set
an ACE with everyone allowing nothing. Users need to be educated about this,
but this helps avoid a lot of confusion.
commit 04f3f27f7e7a4e7ae3584fe9b7ed7c5f5d556ec7
Author: Andreas Schneider <asn at redhat.com>
Date: Mon Dec 21 12:44:00 2009 +0100
tsocket: Added doxygen config file.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 574f77f89e78997844dd6e993f9bf53476555026
Author: Andreas Schneider <asn at redhat.com>
Date: Wed Dec 16 13:26:48 2009 +0100
tsocket: Added complete doxygen documentation.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit c32b0b6b0249e9f636667b779096b80c97038515
Merge: f6b10596ca7307b63b852d39229d2f2bcfb09e4a 5323fe99c30bad099645711feac5f2a8979a1ee1
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 17:10:32 2010 +1100
Merge remote branch 'origin/master' into alpha11release
commit f6b10596ca7307b63b852d39229d2f2bcfb09e4a
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 11 17:05:06 2010 +1100
and we move on towards Samba4 alpha12!
commit 5323fe99c30bad099645711feac5f2a8979a1ee1
Author: Steven Danneman <steven.danneman at isilon.com>
Date: Sun Jan 10 16:06:57 2010 -0800
s4/torture: Parameterize output in LOCK tests based off server support
Two new torture parameters:
* smbexit_pdu_support: if the Server supports the Exit command
* range_not_locked_on_file_close: whether the server returns the
NT_STATUS_RANGE_NOT_LOCKED error when a file is closed which has a
pending lock request. Windows returns this error, though per the
spec, this error should only be returned to an unlock request.
commit 309473f938d18b9993c2c4f120eeff7b4641985a
Merge: fb5383c69ee52fb5e6d066a43451dc8c806cc795 71a40d7e2c21bf3ac47be3ec57fb091ff420ba9a
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Thu Jan 7 12:34:06 2010 +0200
Merge branch 'master' of git://git.samba.org/samba
commit fb5383c69ee52fb5e6d066a43451dc8c806cc795
Merge: 60d8ab3b7b0bd2c9b633f0380d1fdf5bcf5e2621 a06e5cdb99ddf7abf16486d3837105ec4e0da9ee
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Mon Jan 4 11:24:10 2010 +0200
Merge branch 'master' of git://git.samba.org/samba
commit 60d8ab3b7b0bd2c9b633f0380d1fdf5bcf5e2621
Author: Nadezhda Ivanova <nadezhda.ivanova at postpath.com>
Date: Fri Dec 18 18:00:15 2009 +0200
Adapted acl module to skip checks if as_system control is provided.
-----------------------------------------------------------------------
--
Samba Shared Repository
More information about the samba-cvs
mailing list