LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba+windows printer=NT_STATUS_BAD_NETWORK_NAME (https://www.linuxquestions.org/questions/linux-networking-3/samba-windows-printer%3Dnt_status_bad_network_name-186674/)

rickenbacherus 05-27-2004 05:28 PM

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.


All times are GMT -5. The time now is 01:08 PM.