Quantcast

NT_STATUS_UNSUCCESSFUL message-- were to look?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

NT_STATUS_UNSUCCESSFUL message-- were to look?

Matt Price-3
Hi folks,

I'm trying to access a shared printer on a windows machine.  The
windows box (call it "Doze") is located behind a router/printserver,
and is set up thus:

-DOZE connects to the printer via the printserver using the PRTMATE
port, and then shares the printer via smb -- workgroup CHASS, server
name HIS-FACLAB, printer name his-fac-lex
-Router forwards all incoming connections on 137,138,139,445, and 1024
to DOZE

My linux box (Anarres) is outside the router, but I can browse the
router's network easily using Smb4K.  I can access all SMB "Shares" on
DOZE without any problems, and when browsing can see the printer,
which smb4K tells me is //HIS-FACLAB/his-fac-lex.  But when I try to
print to the printer (using either CUPS with URI
smb://HIS-FACLAB/his-fac-lex, or the smb4k native browser), I am
unable to do so, and get the error "NT_STATUS_UNSUCCESSFUL".
I'm pretty much entirely ignorant about windows so I'm not so sure
where to go next.  can someone point me in the right direction?

thanks very much,

Matt




-------------------------------------------
Matt Price    [hidden email]
History Department, University of Toronto
(416) 978-2094
--------------------------------------------

The following addresses are for you if you're an evil spambot:
[hidden email] [hidden email]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: NT_STATUS_UNSUCCESSFUL message-- were to look?

Gerald Carter-4
Matt Price wrote:

> Hi folks,
>
> I'm trying to access a shared printer on a windows machine.  The
> windows box (call it "Doze") is located behind a router/printserver,
> and is set up thus:
>
> -DOZE connects to the printer via the printserver using the PRTMATE
> port, and then shares the printer via smb -- workgroup CHASS, server
> name HIS-FACLAB, printer name his-fac-lex
> -Router forwards all incoming connections on 137,138,139,445, and 1024
> to DOZE
>
> My linux box (Anarres) is outside the router, but I can browse the
> router's network easily using Smb4K.  I can access all SMB "Shares" on
> DOZE without any problems, and when browsing can see the printer,
> which smb4K tells me is //HIS-FACLAB/his-fac-lex.  But when I try to
> print to the printer (using either CUPS with URI
> smb://HIS-FACLAB/his-fac-lex, or the smb4k native browser), I am
> unable to do so, and get the error "NT_STATUS_UNSUCCESSFUL".
> I'm pretty much entirely ignorant about windows so I'm not so sure
> where to go next.  can someone point me in the right direction?
My guess would be that you can't find the server (netbios name service
not working).  Run smbclient //server/printer --debuglevel=10 and look
for more information surrounding the failure.  NT_STATUS_UNSUCCESSFUL
is the generic "something went wrong" we use in Samba we we aren't given
a specific error back from the server.  Or it's not an obvious error
such as "out of memory".




cheers, jerry

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

signature.asc (264 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: NT_STATUS_UNSUCCESSFUL message-- were to look?

Matt Price-3
On Mon, Apr 25, 2005 at 03:51:04PM -0500, Gerald (Jerry) Carter wrote:

> Matt Price wrote:
> > Hi folks,
> >
> > I'm trying to access a shared printer on a windows machine.  The
> > windows box (call it "Doze") is located behind a router/printserver,
> > and is set up thus:
> >
> > -DOZE connects to the printer via the printserver using the PRTMATE
> > port, and then shares the printer via smb -- workgroup CHASS, server
> > name HIS-FACLAB, printer name his-fac-lex
> > -Router forwards all incoming connections on 137,138,139,445, and 1024
> > to DOZE
> >
> > My linux box (Anarres) is outside the router, but I can browse the
> > router's network easily using Smb4K.  I can access all SMB "Shares" on
> > DOZE without any problems, and when browsing can see the printer,
> > which smb4K tells me is //HIS-FACLAB/his-fac-lex.  But when I try to
> > print to the printer (using either CUPS with URI
> > smb://HIS-FACLAB/his-fac-lex, or the smb4k native browser), I am
> > unable to do so, and get the error "NT_STATUS_UNSUCCESSFUL".
> > I'm pretty much entirely ignorant about windows so I'm not so sure
> > where to go next.  can someone point me in the right direction?
>
> My guess would be that you can't find the server (netbios name service
> not working).  Run smbclient //server/printer --debuglevel=10 and look
> for more information surrounding the failure.  NT_STATUS_UNSUCCESSFUL
> is the generic "something went wrong" we use in Samba we we aren't given
> a specific error back from the server.  Or it's not an obvious error
> such as "out of memory".
>
ahhh...  ok. I don't understand much of what's going on in the log
file, so I've attached pretty much the whole thing -- hope that's ok.
so here it is, with a couple of comments:

INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter workgroup = CHASS
doing parameter server string = %h server (Samba %v)
doing parameter load printers = yes
doing parameter printcap name = /etc/printcap
doing parameter printing = cups
doing parameter invalid users = root
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 0
doing parameter encrypt passwords = true
doing parameter passdb backend = tdbsam guest
doing parameter socket options = TCP_NODELAY
doing parameter include = /etc/samba/dhcp.conf
Can't find include file /etc/samba/dhcp.conf
doing parameter dns proxy = no
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
doing parameter obey pam restrictions = yes
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'ISO-8859-1' for LOCALE
------------------------
--above line repeated about 20 times!
----------------------
Substituting charset 'ISO-8859-1' for LOCALE
added interface ip=128.100.34.9 bcast=128.100.34.127 nmask=255.255.255.128
Netbios name list:-
my_netbios_names[0]="ANARRES"
Client started (version 3.0.14a-Debian).
internal_resolve_name: looking up HIS-FACLAB#20
------------------
--ok, I see a bunch of erors starting up,  Is there some basic
--configuration I haven't done?
----------------------
Opening cache file at /var/run/samba/gencache.tdb
Cache entry with key = NBT/HIS-FACLAB#20 couldn't be found
no entry for HIS-FACLAB#20 found.
Deleting cache entry (key = NBT/HIS-FACLAB#20)
resolve_lmhosts: Attempting lmhosts lookup for name HIS-FACLAB<0x20>
getlmhostsent: lmhost entry: 129.100.34.144 TESTPC
resolve_wins: Attempting wins lookup for name HIS-FACLAB<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name HIS-FACLAB<0x20>
name_resolve_bcast: Attempting broadcast lookup for name HIS-FACLAB<0x20>
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Sending a packet of len 50 to (128.100.34.127) on port 137
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
Sending a packet of len 50 to (128.100.34.127) on port 137
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
Sending a packet of len 50 to (128.100.34.127) on port 137
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
lang_tdb_init: /usr/share/samba/en_US.msg: No such file or directory
------------------------------------------------------------------
so clearly there's something missing -- have I perhaps not installed
all the required packages (running debian unstable)?

thanks again for the help!

Matt

-------------------------------------------
Matt Price    [hidden email]
History Department, University of Toronto
(416) 978-2094
--------------------------------------------

The following addresses are for you if you're an evil spambot:
[hidden email] [hidden email]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: NT_STATUS_UNSUCCESSFUL message-- were to look?

Gerald Carter-4
Matt Price wrote:

> Sending a packet of len 50 to (128.100.34.127) on port 137

You netbios name services are misconfigured.  If the print server
in located acorss the router ( and the router is a NAT box ),
then setup a WINS server or define the IP address of the printer server
in an lmhosts file on the smb client.

This topic should be covered in the documentation fairly well.



cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

signature.asc (264 bytes) Download Attachment
Loading...