summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-20 15:49:57 +0100
committerGünther Deschner <gd@samba.org>2009-03-20 17:20:33 +0100
commitaa6dbcfc11b74c1e80728bc295d9612ba4eb1e64 (patch)
tree87626b829aa7712c92add0efd1e0f4f478eb9531 /source3
parent6713244d465b0cf69f1bba15744e05795ec2fda9 (diff)
downloadsamba-aa6dbcfc11b74c1e80728bc295d9612ba4eb1e64.tar.gz
samba-aa6dbcfc11b74c1e80728bc295d9612ba4eb1e64.tar.bz2
samba-aa6dbcfc11b74c1e80728bc295d9612ba4eb1e64.zip
s3-spoolss: implement enumprinters_level5.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 61d4e69506..ebb5ec4671 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4253,6 +4253,11 @@ static WERROR enum_all_printers_info_level(TALLOC_CTX *mem_ctx,
result = construct_printer_info2(info, ntprinter,
&info[count].info2, snum);
break;
+ case 5:
+ result = construct_printer_info5(info, ntprinter,
+ &info[count].info5, snum);
+ break;
+
default:
result = WERR_UNKNOWN_LEVEL;
free_a_printer(&ntprinter, 2);
@@ -4444,8 +4449,9 @@ static WERROR enumprinters_level5(TALLOC_CTX *mem_ctx,
union spoolss_PrinterInfo **info,
uint32_t *count)
{
-/* return enum_all_printers_info_5(mem_ctx, info, offered, needed, count);*/
- return WERR_OK;
+ DEBUG(4,("enum_all_printers_info_5\n"));
+
+ return enum_all_printers_info_level(mem_ctx, 5, flags, info, count);
}
/****************************************************************