Can't connect to linux machine/shares

Joseph Okomba Okomba at kabage.co.ke
Fri Oct 12 00:49:05 GMT 2001


I have set up a linux machine with samba 2.2.1a. From the linux machine I
can mount shares on the NT network but I can't see the linux machine from
the windows machines. 

Running nmblookup gives the following results:

[okomba at okomba /root]$ nmblookup okomba
querying okomba on 192.168.0.255
name_query failed to find name okomba

	======================

[root at okomba /root]# nmblookup dkibiro
querying dkibiro on 192.168.0.255
192.168.0.42 dkibiro<00>

where okomba is the name of my linux machine while dkibiro is a windows
machine on the network.

while running smbclient -L gives me the following results.

[root at okomba /root]# smbclient -L okomba
added interface ip=192.168.0.93 bcast=192.168.0.255 nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a
Tree Connect or Session Setup are invalid.)

	======================

[root at okomba /root]# smbclient -L dkibiro
added interface ip=192.168.0.93 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from 192.168.0.42 ( 192.168.0.42 )
Password:

        Sharename      Type      Comment
        ---------      ----      -------
        OKOMBATEST     Printer
        HP LJET ANN    Printer
        PRINTER$       Disk
        HPLASERJET4    Printer
        D              Disk
        C              Disk
        IPC$           IPC       Remote Inter Process Communication

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

        Workgroup            Master
        ---------            -------

It appears that there is something wrong with my linux machine but I don't
know what. I will be very grateful for any assistance.

I am using RedHat 7.1 with Samba 2.2.1a.

Thanks in advance.





More information about the samba-ntdom mailing list