1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

3032 Commits

Author SHA1 Message Date
Andreas Schneider
6683b0d4b6 s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04 19:37:39 +02:00
Günther Deschner
1691eb73da s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).
Guenther
2010-04-28 00:10:40 +02:00
Günther Deschner
03a9ac4e2b s3-spoolss: fix some uninitialized variables.
Guenther
2010-04-27 17:55:55 +02:00
Andreas Schneider
251cd42ed5 s3-spoolss: Added a winreg_get_printer function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:33:07 +02:00
Andreas Schneider
e15d624c0a s3-spoolss: Added a winreg_create_printer function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:32:16 +02:00
Andreas Schneider
a61297647d s3-spoolss: Added a winreg_update_printer function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:31:04 +02:00
Simo Sorce
8cb79bf4cd s3-spoolss: Added a winreg_get_driver_list function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:30:57 +02:00
Simo Sorce
8db203a4a6 s3-spoolss: Added a winreg_del_driver function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:29:48 +02:00
Simo Sorce
16e0f80687 s3-spoolss: Added a winreg_get_driver function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:26:24 +02:00
Simo Sorce
a91f6f8b03 s3-spoolss: Added a winreg_add_driver function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:24:25 +02:00
Andreas Schneider
94a8482261 s3-spoolss: Fixed winreg_delete_printer_key if key is NULL or emtpy.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:49 +02:00
Simo Sorce
96a04b067e s3-spoolss: Add date and version winreg helpers.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:49 +02:00
Andreas Schneider
b33e877aad s3-spoolss: Added more winreg hepler functions.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:48 +02:00
Simo Sorce
d4f563d9d4 s3-spoolss: Added winreg helper functions
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:48 +02:00
Andreas Schneider
0ed5e36c67 s3-spoolss: Added a winreg function to query a dword.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:47 +02:00
Andreas Schneider
e7d6742821 s3-spoolss: Added a function to get the ChangeID from a printer.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:40 +02:00
Andreas Schneider
b04a260e4e s3-spoolss: Added a function to update the ChangeID of a printer.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:36 +02:00
Andreas Schneider
a18cd32a34 s3-spoolss: Added winreg helper functions to write registry values.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:07:09 +02:00
Andreas Schneider
b320fad6e4 s3-spoolss: Fixed return values of winreg_printer_deleteform1.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:07:04 +02:00
Andreas Schneider
012c1feda5 s3-spoolss: Added missing return value to winreg_printer_enumforms1 docs.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:07:00 +02:00
Günther Deschner
698b7780c9 s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear.
Guenther
2010-04-23 11:41:25 +02:00
Günther Deschner
a14938377e 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
2010-04-23 03:04:47 +02:00
Günther Deschner
413ffe9adb s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.
Found by torture test.

Guenther
2010-04-23 02:34:43 +02:00
Günther Deschner
58549ab44a s3-spoolss: fix winreg spoolss helper call documentation.
Guenther
2010-04-20 10:57:36 +02:00
Günther Deschner
7e4eb13ba4 s3-spoolss: avoid passing down full "struct pipes_struct".
Guenther
2010-04-20 10:57:36 +02:00
Günther Deschner
7b84d36f19 s3-spoolss: fix samr_ValidatePassword_Change.
Guenther
2010-04-19 11:53:59 +02:00
Volker Lendecke
f4b73f4e24 s3: Slightly simpify samr_ValidatePassword_Reset 2010-04-17 12:01:18 +02:00
Volker Lendecke
3a362b45c6 s3: Slightly simpify samr_ValidatePassword_Change 2010-04-17 12:01:18 +02:00
Andreas Schneider
4567bf9df5 s3-winreg_nt: Fixed QueryValue with data=NULL to get the length. 2010-04-16 15:17:59 +02:00
Volker Lendecke
8e95db9eea s3: Move serverinfo_to_SamInfoX to auth/server_info.c 2010-04-11 22:59:47 +02:00
Günther Deschner
357006bf07 s3-spoolss: Fix two uninitialized vars in spoolss util code.
Guenther
2010-04-09 18:44:19 +02:00
Günther Deschner
63b111bd32 s3: add iconv_convenience handle to pull/push sz helpers.
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
ffcaa73280 s3-winreg: add winreg_DeleteKeyEx stub.
Guenther
2010-04-09 00:27:58 +02:00
Günther Deschner
65c5b786ca s3-spoolss: Fix some issues in _spoolss_AddForm.
Found by torture test.

Guenther
2010-04-07 23:53:18 +02:00
Günther Deschner
34ada1d540 s3-spoolss: Fix potential memleak in _spoolss_AddForm and _spoolss_SetForm.
Guenther
2010-04-07 23:53:18 +02:00
Andreas Schneider
eebc66ce32 s3-spoolss: Added a winreg_getform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
c7fb84a58f s3-spoolss: Added a winreg_setform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
0d46ab0f3e s3-spoolss: Added a winreg_deleteform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
93575d6d70 s3-spoolss: Added a winreg_addform1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
fbd3235610 s3-spoolss: Added a winreg_enumforms1 function.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
20e96d9243 s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
adfd4854fa s3-spoolss: Added a delete_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
f0054d8361 s3-spoolss: Added a enum_printer_key function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
77d1b73a3e s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
e498338f6f s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
511dba5ae8 s3-spoolss: Added a get_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
bc23545909 s3-spoolss: Added a set_printer_dataex function using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
4f3893f814 s3-spoolss: Added a function to open a regkey using the winreg pipe.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Günther Deschner
dcec932279 s3-spoolss: return info for the correct printjob in _spoolss_GetJob().
Guenther
2010-03-26 14:36:47 +01:00
Stefan Metzmacher
dee63fe4ca s3:ntlmssp: use client.netbios_name instead of workstation
metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00