1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
Günther Deschner
279e0c9610 spoolss: fill in spoolss_SetPort IDL.
Guenther
2010-10-04 09:29:47 +02:00
Andrew Tridgell
6b266b85cf 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@samba.org>
2010-07-16 18:24:27 +10:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Stefan Metzmacher
772cf15eb9 s4:rpc_server/spoolss: use tsocket_address in dcesrv_spoolss_check_server_name()
metze
2010-04-27 13:00:25 +02:00
Stefan Metzmacher
580d491faa s4:rpc_server/spoolss: make use of dcerpc_binding_handle stubs
metze
2010-03-12 15:25:50 +01:00
Günther Deschner
eeb8c36326 s4-spoolss: remove unsed iconv handle from dcesrv_spoolss_GetPrinterData().
Guenther
2010-03-10 11:16:20 +01:00
Günther Deschner
91ff11d504 s4-spoolss: fix dcesrv_spoolss_GetPrinterData build.
really not my day today...

Guenther
2010-03-05 16:34:17 +01:00
Günther Deschner
8e499ec847 s4-spoolss: fix spoolss_GetPrinterData implementation after IDL change.
Guenther
2010-03-05 15:18:00 +01:00
Matthias Dieter Wallnöfer
932a986a4f s4:spoolss RPC - make this one "signed-safe" 2010-03-01 18:45:19 +01:00
Matthias Dieter Wallnöfer
e9686985cb s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed
For KERBEROS applications the realm should be upcase (function "lp_realm") but
for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch
implements the use of both in the right way.
2009-10-14 10:50:43 +02:00
Andrew Tridgell
86383f0003 s4-rpc_server: removed remaining unnecessary #includes 2009-09-19 14:11:34 -07:00
Günther Deschner
f3c94f4b40 s4-spoolss: add stubs for new idl opcodes in spoolss server.
Guenther
2009-08-20 14:25:41 +02:00
Matthias Dieter Wallnöfer
b08beed0db Small patch for SPOOLSS pipe
Prevents a crash of the SAMBA 4 daemon on the torture SPOOLSS test due to not
initialised structures.
2009-06-29 13:38:59 +10:00
Günther Deschner
4727e3fa97 s4-spoolss: use winreg_Type for GetPrinterData implementation.
Guenther
2009-03-17 11:14:54 +01:00
Günther Deschner
be9a34e75d s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.
Guenther
2009-03-17 10:58:28 +01:00
Günther Deschner
ca9d67bf18 s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.
Guenther
2009-03-07 09:59:12 +01:00
Günther Deschner
007f3f2319 s4-spoolss: fix spoolss server enum calls after pointer changes.
Guenther
2009-03-06 14:28:28 +01:00
Günther Deschner
7e01ec5560 s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.
Guenther
2009-02-25 23:48:29 +01:00
Günther Deschner
228e75112f s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.
Guenther
2009-02-25 23:06:56 +01:00
Günther Deschner
9877f3d574 s4-spoolss: fix spoolss server after out,ref count pointer changes.
Guenther
2009-02-17 16:15:52 +01:00
Günther Deschner
f34f4074f8 s4-spoolss: fix dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx server.
Guenther
2009-02-17 00:32:58 +01:00
Günther Deschner
876e926c0c s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Guenther
2009-02-11 22:36:17 +01:00
Günther Deschner
e3e03d7d83 s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
9bfca0bea0 s4-spoolss: try to fix dcesrv_spoolss_GetPrinterData.
Guenther
2009-02-07 01:52:01 +01:00
Günther Deschner
143a5b89ee s4-spoolss: fix dcesrv_spoolss_GetPrinterData.
Guenther
2009-02-06 18:37:16 +01:00
Günther Deschner
ab6d6c7c13 s4-spoolss: fix spoolss server w.r.t. needed out pointers (+ remove tmp macro).
Guenther
2009-02-06 17:36:16 +01:00
Günther Deschner
f157c1a07f s4-spoolss: fix s4 spoolss server build (using a temp macro).
Guenther
2009-02-06 14:59:22 +01:00
Stefan Metzmacher
5bca70a0c2 s4:rpc_server: s/private/private_data
metze
2009-02-02 13:08:49 +01:00
Jelmer Vernooij
ce47b69d8e Fix syntax errors. 2009-01-01 06:33:25 +01:00
Jelmer Vernooij
e72e2773c4 Remove another use of global_loadparm. 2008-10-24 18:15:09 +02:00
Simo Sorce
4e83011f72 Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162)
2008-04-21 18:12:33 -04:00
Jelmer Vernooij
21fc767378 Specify event_context to ldb_wrap_connect explicitly.
(This used to be commit b4e1ae07a2)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
a72c5053c5 r26353: Remove use of global_loadparm.
(This used to be commit 17637e4490)
2007-12-21 05:48:57 +01:00
Jelmer Vernooij
4c4323009f r26327: Explicit loadparm_context for RPC client functions.
(This used to be commit eeb2251d22)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
57f20ccd24 r26296: Store loadparm context in DCE/RPC server context.
(This used to be commit fc1f4d2d65)
2007-12-21 05:48:13 +01:00
Jelmer Vernooij
05e7c48146 r25553: Convert to standard bool type.
(This used to be commit b7371f1a19)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
8e2d624a58 r24937: Merge tests spoolss RPC callbacks.
(This used to be commit 9b256a0ca2)
2007-10-10 15:03:39 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
64e88a8ccf r20850: Prefix all server calls with dcesrv_
(This used to be commit 76c78b0339)
2007-10-10 14:43:39 -05:00
Stefan Metzmacher
b22ddfd61d r16523: pass spoolss_XcvData calls to the ntptr backends...
I wrote this code last year and found it in a working tree...

metze
(This used to be commit 9a685c5bef)
2007-10-10 14:09:32 -05:00
Andrew Bartlett
9628e714cc r14702: Accept our netbios aliases as valid names in the SPOOLSS server.
(Suggested by metze)

Andrew Bartlett
(This used to be commit 3dff2a0078)
2007-10-10 13:59:10 -05:00
Stefan Metzmacher
a949db7c6d r14486: remove the need of a stream_connection on a dcesrv_connection,
and let the transport set callbacks for getting the own and peer
socket_address

metze
(This used to be commit 56fac3ddbb)
2007-10-10 13:57:32 -05:00
Andrew Bartlett
f55ea8bb3d r12804: This patch reworks the Samba4 sockets layer to use a socket_address
structure that is more generic than just 'IP/port'.

It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).

This passes 'make test' as well as kerberos use (not currently in the
testsuite).

The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again.   It also removes nbt_peer_addr, which was being used
for a similar purpose.

It is a large change, but worthwhile I feel.

Andrew Bartlett
(This used to be commit 88198c4881)
2007-10-10 13:49:57 -05:00
Simo Sorce
56415ccacb r11597: revert a commit by mistake
(This used to be commit 09e6f494b4)
2007-10-10 13:45:56 -05:00
Simo Sorce
5c95905871 r11567: Ldb API change patch.
This patch changes the way lsb_search is called and the meaning of the returned integer.
The last argument of ldb_search is changed from struct ldb_message to struct ldb_result
which contains a pointer to a struct ldb_message list and a count of the number of messages.
The return is not the count of messages anymore but instead it is an ldb error value.

I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good
amount of places. I also tried to double check all my changes being sure that the calling
functions would still behave as before. But this patch is big enough that I fear some bug
may have been introduced anyway even if it passes the test suite. So if you are currently
working on any file being touched please give it a deep look and blame me for any error.

Simo.
(This used to be commit 22c8c97e6f)
2007-10-10 13:45:53 -05:00
Jelmer Vernooij
d611dd941f r10854: talloc_get_type() can return NULL..
(This used to be commit 8f7070055f)
2007-10-10 13:39:36 -05:00
Stefan Metzmacher
133d41d43d r8052: that looks nicer:-)
metze
(This used to be commit dad0371a9f)
2007-10-10 13:19:03 -05:00
Stefan Metzmacher
fe94ba6e71 r8046: - add somemore failure checks in the RPC-SPOOLSS test
- test AddForm on the PrintServer object

- GetForm() isn't allowed on the PrintServer object so remove NTPTR
  function for it

- accept the dns name as servername in the spoolss server

metze
(This used to be commit d8c308a465)
2007-10-10 13:19:02 -05:00