summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
2011-06-01Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison1-8/+8
(or NULL). Part of the efforts to remove PATH_MAX on modern systems.
2011-06-01s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner1-2/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
2011-05-30s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner1-4/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
2011-05-20Fix bug #8157 - std_pcap_cache_reload() fails to parse a cups printcap file ↵Jeremy Allison1-8/+5
correctly. The parsing code made some strange assumptions about what is a printer name, and what is a comment. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 20 22:52:23 CEST 2011 on sn-devel-104
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-1/+1
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-16s3-printing: remove cups_pull_comment_location from header fileDavid Disseldorp1-4/+0
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 16:03:57 CEST 2011 on sn-devel-104
2011-05-16s3-printing: Remove obsolete and unused cups_pull_comment_location().Andreas Schneider1-157/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2011-05-16s3-printing: Get the location info from cups.Günther Deschner9-30/+80
Signed-off-by: Günther Deschner <gd@samba.org>
2011-05-13rpc_server: Always use rpc_pipe_open_interface()Simo Sorce1-1/+1
This way we can configure which rpc service we actually want to connect to. By default it uses an "embedded" interface and calls rpc_pipe_open_internal() Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 14:40:26 CEST 2011 on sn-devel-104
2011-05-11s3-printing: make cups_pull_comment_location() work again.Günther Deschner1-13/+2
we deal with lp_cups_server in cups_connect() already, inside the URI all our other cups functions we use ipp://localhost, do the same here. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 11 11:36:07 CEST 2011 on sn-devel-104
2011-05-10s3-printing: Fix double free of cups request.Günther Deschner1-4/+0
We never free the request in our cups api usage except for here. The reason is probably htis (from the cupsDoConnect API docs): "This function sends the IPP request to the specified server, retrying and authenticating as necessary. The request is freed with ippDelete() after receiving a valid IPP response." Revert "Fix a memory leak in cups_pull_comment_location" This reverts commit fee2664dad37536b05ce8bdae3e74d45b257f632. Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 10 17:32:58 CEST 2011 on sn-devel-104
2011-05-10s3-printing: very obvious fix for cups_pull_comment_location().Günther Deschner1-1/+1
This has been in there since 2008... Guenther
2011-05-06s3: only include tdb headers where needed.Günther Deschner7-1/+8
Guenther
2011-05-05More simple const fixes.Jeremy Allison2-3/+3
2011-05-05s3-printing: run minimal_includes.pl.Günther Deschner4-9/+0
Guenther
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison1-1/+2
2011-05-02s3: include ntdomain.h before including generated srv_ headers.Günther Deschner1-0/+1
Guenther
2011-05-02s3-printing: include ../librpc/ndr/libndr.h in ads printing.Günther Deschner1-0/+1
Guenther
2011-05-02s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner1-12/+11
Guenther
2011-05-02s3-proto: move remaining spoolss protos to own header file.Günther Deschner2-0/+2
Guenther
2011-05-02s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner1-0/+1
Guenther
2011-04-21Fix compiler warning in debug message.Jeremy Allison1-2/+2
2011-04-20s3-smbd: fix the AIX 5.3 build.Günther Deschner1-0/+1
(AIX defines open to be open64) Guenther
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2-0/+2
Guenther
2011-04-11s3-printing: Use become_user_by_session() function.Andreas Schneider1-3/+3
We create a fake connection here and don't have an vuid. So work with the session_info directly here. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 11 22:56:12 CEST 2011 on sn-devel-104
2011-04-05s3: Fix print_spool_endVolker Lendecke1-12/+0
We have to use the spoolss pipe instance opened in print_spool_open, otherwise the spoolss server won't be able to find the right printer and job.
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner4-4/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner4-0/+4
Guenther
2011-03-30s3-auth: printing needs auth.hGünther Deschner4-0/+4
Guenther
2011-03-30s3-locking: move locking prototypes out of proto.h.Günther Deschner1-0/+1
Will later become part of locking.h Guenther
2011-03-30s3: printing needs parts of smbd.Günther Deschner3-0/+3
Guenther
2011-03-30s3: include smbd/smbd.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-passdb: use passdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner7-0/+7
Guenther
2011-03-30s3-includes: only include system/passwd.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/syslog.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-29s3-spoolssd: Register spoolssd endpoints.Andreas Schneider1-0/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-spoolssd: Fixed logfile creation.Andreas Schneider1-2/+11
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-spoolssd: Added missing include.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-spoolssd: Pass down event and messanging context.Andreas Schneider1-20/+42
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3-spoolssd: Fixed reopening of logs.Andreas Schneider1-8/+10
Everytime the log was reopened a .spoolssd has been appended which resulted in long file names. Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3:spoolssd Initialize the spoolss rpc interfacesSimo Sorce1-0/+33
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3:spoolssd Add spoolss own signal handlersSimo Sorce1-2/+53
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3:spoolssd handle smb.conf reloads directlySimo Sorce1-0/+14
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3:spoolssd Create our own log fileSimo Sorce1-0/+18
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3:spoolssd Add skeleton for spoolss daemonSimo Sorce1-0/+83
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29s3:printing Make print_queue_receive publicSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-16s3-printing: fix memory leak in print_cups.cDavid Disseldorp1-16/+9
As found by valgrind, tmp_pcap_cache is not freed following printer list tdb update. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 16 16:37:58 CET 2011 on sn-devel-104