summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-10 03:28:49 +0200
committerGünther Deschner <gd@samba.org>2009-04-10 13:25:09 +0200
commitbc5cd077643bc73d93fa73970761f8d1708d14a9 (patch)
treedfda6eab6ae5ebeaff399424a2d9e65c165c94f2
parent65ee4ae30b952841e97f54c5eaa4d43ca66a02c1 (diff)
downloadsamba-bc5cd077643bc73d93fa73970761f8d1708d14a9.tar.gz
samba-bc5cd077643bc73d93fa73970761f8d1708d14a9.tar.bz2
samba-bc5cd077643bc73d93fa73970761f8d1708d14a9.zip
s3-spoolss: implement dummy _spoolss_AddPort().
Guenther
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 08c6d4083f..718f69f6a9 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -9836,6 +9836,18 @@ WERROR _spoolss_AddPrintProcessor(pipes_struct *p,
}
/****************************************************************
+ _spoolss_AddPort
+****************************************************************/
+
+WERROR _spoolss_AddPort(pipes_struct *p,
+ struct spoolss_AddPort *r)
+{
+ /* do what w2k3 does */
+
+ return WERR_NOT_SUPPORTED;
+}
+
+/****************************************************************
_spoolss_AddPrinter
****************************************************************/
@@ -9880,17 +9892,6 @@ WERROR _spoolss_WaitForPrinterChange(pipes_struct *p,
}
/****************************************************************
- _spoolss_AddPort
-****************************************************************/
-
-WERROR _spoolss_AddPort(pipes_struct *p,
- struct spoolss_AddPort *r)
-{
- p->rng_fault_state = true;
- return WERR_NOT_SUPPORTED;
-}
-
-/****************************************************************
_spoolss_ConfigurePort
****************************************************************/