Jeremy Allison
110a6f29f0
Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.
...
Reported and found by Martin Hochreiter <linuxbox@wavenet.at>.
Ensure we copy the right amount of registry data into the outgoing
buffer.
Jeremy.
2010-02-02 16:32:51 -08:00
Volker Lendecke
0beac794b6
s3: Fix some DEBUG messages
2010-01-31 15:40:59 +01:00
Günther Deschner
f720f7512e
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
2010-01-19 14:14:30 +01:00
Volker Lendecke
86a73e6eba
s3: Use sid_check_is_domain instead of a direct sid_equal
2010-01-10 20:56:16 +01:00
Volker Lendecke
3ea64e0ad8
s3: Replace most calls to sid_append_rid() by sid_compose()
2010-01-10 20:56:16 +01:00
Volker Lendecke
081573091b
s3: Remove the typedef for "auth_serversupplied_info"
2010-01-10 20:56:16 +01:00
Volker Lendecke
9bb4766bba
s3: Remove the typedef for "auth_usersupplied_info"
2010-01-10 20:56:16 +01:00
Volker Lendecke
8289b46173
s3: Lock down some srvsvc calls according to what w2k3 seems to do
2010-01-07 12:05:33 +01:00
Jeremy Allison
d5995eec7e
Second part of the fix for bug #7020 - smbd using 2G memory.
...
There was a second leak in the processing of the out_data.frag
prs_struct. It needs freeing once the current pdu has been returned
asynchronously.
Jeremy.
2010-01-06 13:11:00 -08:00
Andrew Bartlett
802e9328ed
s3:ntlmssp: only include ntlmssp.h where actually needed
...
Andrew Bartlett
2009-12-22 21:07:53 +01:00
Volker Lendecke
20bcdf85f1
s3: Fix _samr_GetAliasMembership for results with 0 rids
2009-12-15 20:28:47 +01:00
Günther Deschner
f20effc437
s3-spoolss: fix enumprinter key client and server.
...
Guenther
2009-12-10 17:48:50 +01:00
Günther Deschner
e14fb8f913
s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code.
...
Guenther
2009-12-08 16:20:51 +01:00
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 daa964013b
.
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 9621306351
.
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 98fb71782e
.
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 494b2aff88
.
2009-11-08 19:43:46 +01:00