LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-27-2004, 05:28 PM   #1
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Rep: Reputation: 30
Samba+windows printer=NT_STATUS_BAD_NETWORK_NAME


I have a windows box named compaq-inh906bt w/ a printer shared through parallel port. The other winboxen connect fine but have to provide username & password to authenticate. I have samba, swat & cups setup and running.

Code:
 smbclient -U administrator -L compaq-inh906bt
Password: 
Domain=[COMPAQ-INH906BT] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        E$              Disk      Default share
        IPC$            IPC       Remote IPC
        D$              Disk      Default share
        print$          Disk      Printer Drivers
        LexmarkO        Printer   Lexmark Optra
        QuickTime       Disk      
        Z$              Disk      
        Real            Disk      
        Y$              Disk      
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
Domain=[COMPAQ-INH906BT] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
I've tried both of these device URI's:
Code:
smb://compaq-inh906bt/Lexmark0
&
Code:
smb://Administrator:password@compaq-inh906bt/Lexmark0
But for both I get:
Code:
Connection failed with error NT_STATUS_BAD_NETWORK_NAME"
Here's smb.conf:
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/05/27 15:38:18

# Global parameters
[global]
	workgroup = CSCEW
	server string = %h server (Samba %v)
	security = SHARE
	obey pam restrictions = Yes
	passdb backend = tdbsam, guest
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	dns proxy = No
	panic action = /usr/share/samba/panic-action %d
	invalid users = root
	include = /etc/samba/dhcp.conf

[homes]
	comment = Home Directories
	create mask = 0700
	directory mask = 0700
	browseable = No

[printers]
	comment = All Printers
	path = /tmp
	create mask = 0700
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
	username = Administrator
	valid users = glenn

[Lexmark]
	comment = All Printers
	path = \Compaq-inh906bt\Lexmark0
	printable = Yes
	browseable = No
[code]# smbclient -L COMPAQ-INH906BT -N
Anonymous login successful
Domain=[CSCEW] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[CSCEW] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
[code]

I really have no idea where to go from here. Thanks for any ideas.

Last edited by rickenbacherus; 05-27-2004 at 05:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba & NT_STATUS_BAD_NETWORK_NAME wlfdgcrkz Linux - Software 10 05-19-2009 09:55 AM
samba: NT_STATUS_BAD_NETWORK_NAME sohmc Linux - Networking 7 12-21-2007 11:49 AM
samba and windows printer BobNz Linux - Newbie 1 04-25-2004 07:50 PM
samba and windows printer drives. deano Linux - Networking 4 10-16-2003 10:33 AM
Windows printer does not print using Samba ZhiYi Linux - Networking 0 02-28-2003 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration