search for: srv_spoolss_nt

Displaying 20 results from an estimated 194 matches for "srv_spoolss_nt".

2002 Sep 16
0
Samba & Windows 2000 printer support on AIX
...values. Download of the printer driver from the server works fine. The same configuration works without problems on Mandrake Linux 8.2. The following is printed in the Samba log at loglevel 2 when connecting as an end user (it is not printed on Mandrake Linux): [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: denied by handle permissions. [2002/09/16 10:15:27, 2] rpc_server/srv_spoolss_nt.c:_spoolss_addform(7114) _spoolss_addform: de...
2015 Oct 21
1
NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE when printing
...INTER [2015/10/21 11:31:14.966089, 1] ../source3/rpc_client/cli_pipe.c:482(cli_pipe_validate_current_pdu) ../source3/rpc_client/cli_pipe.c:482: RPC fault code DCERPC_NCA_S_OP_RNG_ERROR received from host KOROBKIN0-W.ad.corp.acme.com! [2015/10/21 11:31:14.966530, 0] ../source3/rpc_server/spoolss/srv_spoolss_nt.c:269(srv_spoolss_replycloseprinter) dcerpc_spoolss_ReplyClosePrinter failed [NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE]. <snip> [2015/10/21 11:31:23.969591, 3] ../source3/rpc_server/srv_pipe.c:1347(api_rpcTNP) api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX checking name: \\printserver-unst...
2002 Jul 02
2
Printing eats my CPU
...0", 21, 5192) = 21 pread(16, "\224\0\0\0\1\0\0\0\224\0\0\0\1\0\4\200\24\0\0\0\0\0\0\0"..., 160, 5213) = 160 fcntl(16, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=452, len=1}) = 0 ... This takes about 90 percent of my CPU. 2nd: I find messages like this in my samba logs: (from srv_spoolss_nt.c / _spoolss_enumprinterdataex()): talloc_realloc failed to allocate more memory for data! meminfo shows a memory usage of 25 percent, swap space is not used. I use a 2.4.4 kernel with reiserfs - I remember that there was something with flocks on journaling fs - but can't find the posts. A...
2003 Apr 22
1
Fw: INTERNAL ERROR Report
...ffective(502, 501), real(0, 0)] lib/util.c:smb_panic(1094) PANIC: internal error [2003/04/21 15:35:27, 2, pid=2801, effective(0, 0), real(0, 0)] lib/access.c:check_access(329) Allowed connection from (192.168.1.102) [2003/04/21 15:35:28, 2, pid=2801, effective(502, 501), real(0, 0)] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid hand le (OTHER:2798:2801) [2003/04/21 15:35:28, 2, pid=2801, effective(502, 501), real(0, 0)] rpc_server/srv_spoolss_nt.c:find_p...
2003 Apr 21
0
INTERNAL ERROR Report
...ffective(502, 501), real(0, 0)] lib/util.c:smb_panic(1094) PANIC: internal error [2003/04/21 12:09:23, 2, pid=2390, effective(0, 0), real(0, 0)] lib/access.c:check_access(329) Allowed connection from (192.168.1.102) [2003/04/21 12:09:28, 2, pid=2390, effective(502, 501), real(0, 0)] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not five(0, 0), real(0, 0)] lib/access.c:check_access(329) Allowed connection from (192.168.1.102) [2003/04/21 12:08:48, 1, pid=2389, effective(502, 501), real(0, 0)] smbd/ipc.c:api_fd_reply(292) api_fd_reply: INVALID...
2011 Mar 18
1
[PATCH] s3: Add "spoolss backchannel" parameter
--- .../smbdotconf/printing/spoolssbackchannel.xml | 16 ++++++++++++++++ source3/include/proto.h | 1 + source3/param/loadparm.c | 12 ++++++++++++ source3/rpc_server/srv_spoolss_nt.c | 6 ++++++ 4 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 docs-xml/smbdotconf/printing/spoolssbackchannel.xml diff --git a/docs-xml/smbdotconf/printing/spoolssbackchannel.xml b/docs-xml/smbdotconf/printing/spoolssbackchannel.xml new file mode 100644 inde...
2003 Apr 25
0
INTERNAL ERROR - followup on rpc_server/srv_spoolss_nt.c recommendation
...502, 501), real(0, 0)] > lib/fault.c:fault_report(41) > =============================================================== and the recommendation was: > This should be fixed in the latest SAMBA_2_2 cvs code. > Look at _spoolss_open_printer_ex() and open_printer_hnd() in > rpc_server/srv_spoolss_nt.c Bottom line, after implementing changes, we're still having the same problem. I've attached a message below from the same user's log file, from a timing standpoint, close to the startup of Samba. I turned on log level 3 and the messages below continue to appear (this group gets r...
2010 Apr 01
4
Printer Admin Difficulties
...major : UNKNOWN_ENUM_VALUE (2) minor : SPOOLSS_MINOR_VERSION_0 (0) processor : PROCESSOR_ARCHITECTURE_INTEL (0) checking name: \\LOCALHOST\ZZZ [2010/03/31 13:43:35, 10] rpc_server/srv_spoolss_nt.c:560(open_printer_hnd) open_printer_hnd: name [\\LOCALHOST\ZZZ] [2010/03/31 13:43:35, 4] rpc_server/srv_lsa_hnd.c:160(create_policy_hnd) Opened policy hnd[1] [0000] 00 00 00 00 02 00 00 00 00 00 00 00 B3 4B C7 89 ........ .....K.. [0010] F9 54 00 00...
2003 Jun 13
1
Printing from Windows to Samba takes a LOT of time.
...the system with the "top" utility and configured CUPS to dissalow printing jobs, I've noticed that the time was spent before CUPS. The smbd process takes a lot to end. I've looking at the /var/log/samba/log.user file and I've found this: [2003/06/13 21:19:41, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: Printer handle not found: close_printer_handle: Invalid handle (OTHER:2442:2255) [2003/06/13 21:19:41, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_inde...
2004 Jan 13
0
Printing Resources
Hello there. I've been having problems with printers, and I could not find anything on google, thats why I'm writing you. A piece of the logfile: [2004/01/13 17:03:51, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: _spoolss_fcpn: Invalid handle (OTHER:2730:3433) [2004/01/13 17:03:51, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(263) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd: P...
2003 Dec 12
1
CUPS + SAMBA3 +attempt_nebios_session_request:
...browseable = No Cups printers are RAW Printers. [2003/12/12 08:57:32, 0] libsmb/cliconnect.c:attempt_netbios_session_request(1496) attempt_netbios_session_request: AJENSEN rejected the session for name *SMBSERVER with error Called name not present [2003/12/12 08:57:32, 0] rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2595) spoolss_connect_to_client: machine AJENSEN rejected the NetBIOS session request. [2003/12/12 08:57:32, 0] libsmb/cliconnect.c:attempt_netbios_session_request(1496) attempt_netbios_session_request: AJENSEN rejected the session for name *SMBSERVER with error C...
2004 Feb 23
0
Unable to access printers
...ter shares as all other shares are behaving well (inc printers. It seems as though no matter which user connects, the backend attempts to authenticate the user as root... Case in point the following workstation log (level 10)... checking name: \\ftwork\HP_4000 [2004/02/23 14:00:28, 10] rpc_server/srv_spoolss_nt.c:open_printer_hnd(548) open_printer_hnd: name [\\ftwork\HP_4000] [2004/02/23 14:00:28, 4] rpc_server/srv_lsa_hnd.c:create_policy_hnd(142) Opened policy hnd[2] [000] 00 00 00 00 27 00 00 00 00 00 00 00 CC 6C 39 40 ....'... .....l9@ [010] 12 42 00 00...
2004 Mar 30
1
Windows printing problems to Samba3.2
...he log.smbd messages: [2004/03/30 15:42:35, 2] lib/util_sock.c:open_socket_out(746) error connecting to 192.168.115.56:139 (Invalid argument) [2004/03/30 15:42:35, 1] libsmb/cliconnect.c:cli_connect(1261) Error connecting to 192.168.115.56 (Invalid argument) [2004/03/30 15:42:35, 0] rpc_server/srv_spoolss_nt.c:spoolss_connect_to_client(2588) spoolss_connect_to_client: unable to connect to SMB server on machine LINUS2. Error was : SUCCESS This occurs for a few different clients, all running Windows 2000. Anyone have any ideas? I am also getting this error, but I'm not sure if it's related or...
2011 May 16
1
Problem printing from one user only
...11/05/15 14:41:13.466942, 4] rpc_server/srv_lsa_hnd.c:219(find_policy_by_hnd_internal) Found policy hnd[0] [0000] 00 00 00 00 36 00 00 00 00 00 00 00 D0 4D 71 46 ....6... .....MqF [0010] 57 19 00 00 W... [2011/05/15 14:41:13.467088, 4] rpc_server/srv_spoolss_nt.c:379(get_printer_snum) short name:F4440 [2011/05/15 14:41:13.467553, 3] rpc_server/srv_pipe_hnd.c:344(free_pipe_context) free_pipe_context: destroying talloc pool of size 26 [2011/05/15 14:41:13.467760, 3] smbd/process.c:1485(process_smb) Transaction 1819 of length 2196 (0 toread) [201...
2001 Nov 27
2
:445 (connection refused)
...name_query(415) Got a positive name query response from 10.1.1.111 ( 10.1.1.90 10.1.1.90 ) libsmb/namequery.c:name_query(415) Got a positive name query response from 10.1.1.111 ( 10.1.1.90 ) lib/util_sock.c:open_socket_out(898) error connecting to 10.1.1.90:445 (Connection refused) rpc_server/srv_spoolss_nt.c:close_printer_handle(254) close_printer_handle: Invalid handle (OTHER) rpc_server/srv_spoolss_nt.c:close_printer_handle(254) close_printer_handle: Invalid handle (OTHER) smbd/process.c:timeout_processing(1138) Closing idle connection 2. smbd/server.c:exit_server(456) Closing connections l...
2007 Jun 13
0
printer woes
.../12 23:54:49, 2] smbd/sesssetup.c:(772) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2007/06/12 23:54:49, 2] auth/auth.c:(307) check_ntlm_password: authentication for user [jgs] -> [jgs] -> [jgs] succeede d [2007/06/12 23:54:49, 2] rpc_server/srv_spoolss_nt.c:(271) find_printer_index_by_hnd: Printer handle not found: find_printer_index_by_hnd : Printer handle not found: get_printer_snum: Invalid handle (OTHER:1670:1812) [2007/06/12 23:54:49, 2] rpc_server/srv_spoolss_nt.c:(271) find_printer_index_by_hnd: Printer handle not found: find_printer_inde...
2002 Feb 20
0
samba 3.0 cvs compiling woes
...-Iinclude -I./include -I./ubiqx -I./smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I. LIBS = -lresolv -ldl -lcrypt -lnsl -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5 -llber -lldap -lpam -lpopt LDSHFLAGS = -shared -O LDFLAGS = Compiling rpc_server/srv_spoolss_nt.c rpc_server/srv_spoolss_nt.c:2061: `JOB_NOTIFY_STATUS_STZING' undeclared here (not in a function) rpc_server/srv_spoolss_nt.c:2061: initializer element is not constant rpc_server/srv_spoolss_nt.c:2061: (near initialization for `notify_info_data_table[37].field') make: *** [rpc_server/srv_s...
2013 Jan 23
0
I have a problem with printing on samba4
I have a problem with printing on samba4. Everytime I try to connect to my printer or even try to change its properties or anything it won't let me connect and do anything with the printer and when I do this the smbd log says: [2013/01/22 19:07:25.991058, 0] ../source3/rpc_server/spoolss/srv_spoolss_nt.c:1736(_spoolss_OpenPrinterEx) _spoolss_OpenPrinterEx: Cannot open a printer handle for printer \\ samba4server.samba4.keyedinsoft.com [2013/01/22 19:07:26.097079, 0] ../source3/rpc_server/spoolss/srv_spoolss_nt.c:1736(_spoolss_OpenPrinterEx) _spoolss_OpenPrinterEx: Cannot open a printer handl...
2003 Feb 21
1
PATCH: downloading drivers from Solaris [was Re: So SAMBA no longer ...]
...NATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+VXAYIR7qMdg1EfYRAo/EAKDefxRHBrxBFnqvvQVEXctW7Qc0TACeIMFw 6/EShEhvyOdlmRvHQOvwMQU= =FNI/ -----END PGP SIGNATURE----- -------------- next part -------------- Index: source/rpc_server/srv_spoolss_nt.c =================================================================== RCS file: /data/cvs/samba/source/rpc_server/srv_spoolss_nt.c,v retrieving revision 1.115.2.224 diff -u -B -b -r1.115.2.224 srv_spoolss_nt.c --- source/rpc_server/srv_spoolss_nt.c 13 Feb 2003 19:40:21 -0000 1.115.2.224 +++ source/...
2002 Jun 21
1
Samba 2.2.5 and srv_spoolss_nt error
...er/srv_lsa_hnd.c:find_policy_by_hnd_internal(16 8) Found policy hnd[0] [000] 00 00 00 00 67 00 00 00 00 00 00 00 63 1C 13 3D .. ..g... ....c..= [2002/06/21 13:31:01, 4] lib/util.c:dump_data(1537) [010] 66 0B 00 00 f... [2002/06/21 13:31:01, 4] rpc_server/srv_spoolss_nt.c:get_printer_snum(362) short name:preto [2002/06/21 13:31:01, 3] printing/print_generic.c:print_run_command(88) Running the command `/usr/bin/lprm -Ppreto 183' gave 0 [2002/06/21 13:31:01, 3] printing/print_generic.c:print_run_command(88) Running the command `/usr/bin/lpq -Ppreto' g...