search for: add_printer_hook

Displaying 4 results from an estimated 4 matches for "add_printer_hook".

2009 Sep 01
1
Samba 3.3.7 -> smbd panic in printing.
...] [2009/09/01 12:12:59, 0] lib/debug.c:reopen_logs(663) #4 smbd(reload_printers+0x25) [0x2b8c78353dfc] Unable to open new log file /var/log/samba/po-7678.log: Permission denied #5 smbd(reload_services+0x154) [0x2b8c78354043] [2009/09/01 12:12:59, 0] lib/debug.c:reopen_logs(663) #6 smbd(add_printer_hook+0x24d) [0x2b8c7807ed34] Unable to open new log file /var/log/samba/po-7678.log: Permission denied #7 smbd(_spoolss_addprinterex+0x205) [0x2b8c78088e2c] #8 smbd [0x2b8c78073c95] #9 smbd(api_pipe_request+0x42a) [0x2b8c780af529] #10 smbd [0x2b8c780aa9ac] #11 smbd(write_to_internal_pip...
2002 May 29
1
BUG: when using 'addprinter command'
...;info_2->sharename)) != -1) { DEBUG(5, ("_spoolss_addprinterex: Attempted to add a printer named [%s] when one already existed!\n", printer->info_2->sharename)); free_a_printer(&printer, 2); return WERR_PRINTER_ALREADY_EXISTS; } if (*lp_addprinter_cmd() ) if ( !add_printer_hook(printer) ) { free_a_printer(&printer,2); return WERR_ACCESS_DENIED; } slprintf(name, sizeof(name)-1, "\\\\%s\\%s", get_called_name(), printer->info_2->sharename); if ((snum = print_queue_snum(printer->info_2->sharename)) == -1) { free_a_printer(&a...
2010 Dec 16
2
Samba printer management commands
Hi I am trying to setup remote printer management commands, so the users could add and delete printers from "Printers" share of Samba in Windows. I have this script, that is launched using an administrator account, when I add a printer from there, using a new TCP/IP port: ================================================================ #!/bin/bash {
2006 Jan 12
9
windows print migrator + "add printer command"
Hi all. I was wondering if anyone had a successful exampel of using the "add printer command" with cups so that the windows print migrator could be utilised. Seeing as Jerry as spent time on this it would be a shame not to know how to use it. ;-) I'm guessing that it would be along the lines of: add printer command = lpadmin option1 option2 && cupsaddsmb option1 but