Günther Deschner
7770d1492b
s3-spoolss: cleanup _spoolss_EnumPrinterDrivers().
...
Guenther
2009-12-08 11:51:02 +01:00
Günther Deschner
0efbd932b6
s3-spoolss: remove unused architecture from fill_printer_driver_info1().
...
Guenther
2009-12-08 11:50:54 +01:00
Günther Deschner
af08962c94
s3-spoolss: remove ridiculous amount of duplicate driver code.
...
Guenther
2009-12-08 11:50:47 +01:00
Günther Deschner
1c9eba40ae
s3-spoolss: fully support level 8 drivers.
...
Guenther
2009-12-08 11:50:40 +01:00
Günther Deschner
35c50dcce3
s3-spoolss: use driver level info8 everywhere in spoolss server internally.
...
Guenther
2009-12-08 11:05:21 +01:00
Günther Deschner
ef9d6580ef
s3-spoolss: let _spoolss_DeletePrinterData call into _spoolss_DeletePrinterDataEx.
...
Guenther
2009-12-07 14:42:13 +01:00
Günther Deschner
167dca0cbf
s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx.
...
Guenther
2009-12-07 14:42:13 +01:00
Günther Deschner
778124ea32
s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx.
...
Guenther
2009-12-07 14:42:12 +01:00
Günther Deschner
1bc83b984d
s3-winreg: fill in some inline comments.
...
Guenther
2009-12-07 14:41:15 +01:00
Günther Deschner
5d46530053
s3-winreg: remove trailing whitespace.
...
Guenther
2009-12-07 14:41:15 +01:00
Volker Lendecke
da8b405065
s3: Fix a const discard warning
2009-12-06 13:07:04 +01:00
Volker Lendecke
3b8e85d68f
s3: talloc_array_length deals file with a NULL argument
2009-12-06 13:07:04 +01:00
Volker Lendecke
1ba91c0a51
s3: Small simplification: qsort deals fine with just one entry
2009-12-06 13:07:04 +01:00
Volker Lendecke
449045e75d
s3: Simplify usr_info_cmp by calling timeval_compare()
2009-12-06 13:07:04 +01:00
Ian Puleston
bbffd79f1c
s3: Complete support for NetWkstaGetInfo/NetWkstaEnumUsers
2009-12-06 13:07:04 +01:00
Volker Lendecke
7eaff9b300
s3: First cut at _wkssvc_NetWkstaEnumUsers
...
This needs access checks!
2009-12-06 13:07:04 +01:00
Volker Lendecke
a902c4cc50
s3: Support NetWkstaGetInfo 101 and 102
2009-12-06 13:07:03 +01:00
Günther Deschner
459a968fb4
s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.
...
In case someone (smbtorture4) requests SEC_FLAG_MAXIMUM_ALLOWED, translate it
to a request of PRINTER_ACCESS_ADMINISTER.
Guenther
2009-12-03 23:49:03 +01:00
Günther Deschner
5f60855ba2
samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.
...
This should finally resolve the endian issues we were seeing on sparc and is
much cleaner for spoolss clients and servers.
Guenther
2009-12-02 14:56:17 +01:00
Günther Deschner
753b9c6d56
s3-spoolss: fix fstrings in convert_devicemode() function.
...
Guenther
2009-11-30 23:29:29 +01:00
Günther Deschner
e512ccb5b6
s3-spoolss: simplify _spoolss_EnumPrinterKey a little more.
...
Guenther
2009-11-27 18:31:13 +01:00
Günther Deschner
49e464cef5
s3-spoolss: use macros to fillup driver levels.
...
Guenther
2009-11-27 01:09:10 +01:00
Günther Deschner
5d706a2fd4
s3-rpc: running minimal_includes.pl on rpc_client and rpc_server.
...
Guenther
2009-11-26 20:17:07 +01:00
Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Günther Deschner
85b6461174
s3-spoolss: pre cosmetics: reorder levels in construct_printer_info levels.
...
Guenther
2009-11-26 19:21:10 +01:00
Günther Deschner
e92470d442
s3-spoolss: re-arrange driver info level fillup functions.
...
Guenther
2009-11-24 16:48:19 +01:00
Günther Deschner
846aa18648
s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.
...
Thanks Metze for review!
Guenther
2009-11-24 15:49:35 +01:00
Günther Deschner
a6142987ac
s3-spoolss: Fix GetPrinter level 101.
...
Guenther
2009-11-23 16:56:03 +01:00
Günther Deschner
ec56895bde
s3-printing: use spoolss types and structs while getting and deleting drivers.
...
Guenther
2009-11-23 12:19:11 +01:00
Günther Deschner
68cc1166d9
s3-printing: use spoolss types and structs while adding drivers.
...
Guenther
2009-11-23 12:19:04 +01:00
Günther Deschner
d464151f3b
s3-spoolss: fix spoolss_EnumPrinterKey client and server code.
...
Guenther
2009-11-23 11:44:43 +01:00
Günther Deschner
bbff69384e
s3-samr: implement _samr_ValidatePassword().
...
Guenther
2009-11-10 13:08:29 +01:00
Günther Deschner
d7ce873391
s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.
...
Guenther
2009-11-09 17:36:53 +01:00
Volker Lendecke
e181b88978
Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly"
...
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a.
2009-11-08 19:43:47 +01:00
Volker Lendecke
27847e8386
Revert "s3: Consolidate getting the name out of a pipes_struct"
...
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f.
2009-11-08 19:43:47 +01:00
Volker Lendecke
47455b4d1a
Revert "s3: Do not reference the ndr_tables in the server calls directly"
...
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
2009-11-08 19:43:46 +01:00
Volker Lendecke
82c35e460e
Revert "s3: Do not reference ndr_table when calling rpc_srv_register"
...
This reverts commit 494b2aff8826947e3bd556aecb175746163da485.
2009-11-08 19:43:46 +01:00
Volker Lendecke
494b2aff88
s3: Do not reference ndr_table when calling rpc_srv_register
2009-11-08 13:12:15 +01:00
Volker Lendecke
98fb71782e
s3: Do not reference the ndr_tables in the server calls directly
...
This involves storing the interface table in the pipes_struct
2009-11-08 13:12:14 +01:00
Volker Lendecke
9621306351
s3: Consolidate getting the name out of a pipes_struct
2009-11-08 13:12:14 +01:00
Volker Lendecke
daa964013b
s3: Do not reference ndr_table_<pipe> in the cli_ routines directly
2009-11-08 13:12:13 +01:00
Volker Lendecke
2aa0af9867
s3: get_pipe_name_from_iface -> get_pipe_name_from_syntax
2009-11-07 09:14:15 +01:00
Günther Deschner
53d49bb728
s3-netlogon: implement _netr_GetDcName and _netr_GetAnyDcName.
...
Guenther
2009-11-06 15:01:39 +01:00
Günther Deschner
ccdd1462cc
s3-netlogon: make sure we protect some function codes in _netr_LogonControl2Ex().
...
Guenther
2009-11-04 00:55:49 +01:00
Günther Deschner
bb2e1ff631
s3-netlogon: let s3 pass against RPC-NETLOGON-S3 again.
...
Guenther
2009-11-04 00:55:45 +01:00
Günther Deschner
40f3f456bc
s3-netlogon: implement _netr_NETLOGON_INFO_4 in netr_LogonControl2Ex() and friends as well.
...
Guenther
2009-11-04 00:55:18 +01:00
Günther Deschner
b3a2147497
s3-netlogon: implement remote trust account changing in netr_LogonControl2Ex() and friends.
...
Guenther
2009-11-04 00:55:09 +01:00
Günther Deschner
97496bb3ca
s3-lsa: fill in some more info levels in _lsa_QueryInfoPolicy().
...
Add dummys (just like s4 does) and fill in some more appropriate error codes.
Guenther
2009-11-03 22:19:26 +01:00
Günther Deschner
a98832189a
s3-lsa: expand struct lsa_info to carry name and sd.
...
Guenther
2009-10-30 12:28:48 +01:00
Günther Deschner
820b2f4cfa
s3-lsa: use switch in _lsa_QuerySecurity().
...
Guenther
2009-10-30 12:28:48 +01:00